Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to compute p-value when the chi-square value and degree of freedom are known in Stata?

    I know how to compute p-value when the chi-square value and the degree of freedom are known in R, (e.g. pchisq(15, df=2, lower.tail=FALSE).
    But I really don't know how to do this in Stata. Can anybody help me?
    Thank you!
    Last edited by smith Jason; 07 Oct 2021, 23:25.

  • #2
    dis chi2tail(2, 15)=1.713e-09

    Comment


    • #3
      Thank you! It is solved.

      Comment


      • #4
        Cross posted by Fan Lin at https://stackoverflow.com/questions/...quare-value-ar and answered there too.

        Please note our policy on cross-posting, which is that you should tell us about it.

        Please note our policy on names, which is that you are asked to use a real name here.

        Comment

        Working...
        X