Announcement

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

  • Hausman test - gives p value as dot, not even 0.00

    Please advice why Prob>chi2 is given as a . in my test, rather than a value for me to interpret.



    Click image for larger version

Name:	hausman test.PNG
Views:	2
Size:	30.1 KB
ID:	1494886
    Attached Files

  • #2
    Nishat:
    are you sure that you're not comparing the same specification (ie, -fe- vs -fe- or -re- vs -re-)?
    Kind regards,
    Carlo
    (StataNow 18.5)

    Comment


    • #3
      I do not believe so, but STATA is a program I have been struggling with, judging from my do file, is that a possibility?

      Click image for larger version

Name:	do file.PNG
Views:	1
Size:	18.0 KB
ID:	1494904

      Comment


      • #4
        You must do the estimates store following the xtreg whose results you want stored, before those results have been replaced by the results of a subsequent regression,.

        So your estimates store commands first saved the estimates from the immediately preceding (random effects) xtreg ..., re command with the name fixed, and then saved them again with the name random.

        This is consistent with the fact that the hausman output reports identical coefficients for both regressions, as Carlo suggested.

        Comment


        • #5
          Thank you Carlos and William! This is the updated do file and Hausman test, looks a lot better now

          Null: random effect model is appropriate
          Alternative: fixed effect model is appropriate

          I'm rejecting the Null hypothesis based on the p-value being so small, and less than 0.0005




          Does the result of the -hausman-test at 24.98 mean that the coefficients shared by -fe- and -re- specification are not that similar than because it is kind of a big number ?
          Appreciate the help, hopefully my inferences and understanding will be okay too

          Click image for larger version

Name:	updated do file.PNG
Views:	1
Size:	16.6 KB
ID:	1494951


          Click image for larger version

Name:	updated hausman test.PNG
Views:	1
Size:	22.7 KB
ID:	1494952

          Comment


          • #6
            The output tells you that the of 24.98 is a chi-square statistic with 5 degrees of freedom, and thus you can reject Ho with a p-value of .0001.

            Let me add some advice to improve future posts.

            Take a few moments to review the Statalist FAQ linked to from the top of the page, as well as from the Advice on Posting link on the page you used to create your post. Note especially sections 9-12 on how to best pose your question. It's particularly helpful to copy commands and output from your Stata Results window and paste them into your Statalist post using code delimiters [CODE] and [/CODE], and to use the dataex command to provide sample data, as described in section 12 of the FAQ.

            In particular, screen shots are generally not considered helpful except for the output of graphics commands.

            Comment

            Working...
            X