Announcement

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

  • questions for a fixed-effect regression

    Hi,everyone. I have a short panel data. N=32 T=18. The result of the hausman test is that ein fixed effect regression is perferred and I'm not sure if I should put i.year in the regression.

    Click image for larger version

Name:	73b5356eb1533b1e6661ce3d3e7697b.png
Views:	2
Size:	45.6 KB
ID:	1644321

    Click image for larger version

Name:	6cd43571b9f8cf16b2eaf82a481950b.png
Views:	2
Size:	9.7 KB
ID:	1644322


    Another question ist that I found the problem of hetroscedasticity, autocorrelation and cross sectional dependency.I'm not sure which model I should use for the regression. I have seen in many posts that xtpcse or xtgls only for long panel data.
    Can I use xtscc for a short panel data when there is hetroscedasticity, autocorrelation and cross sectional dependency? Or is xtreg, fe robust enough for hetroscedasticity, autocorrelation and cross sectional dependency?

    looking forward for replies and I really appreciate it !

  • #2
    And If I use xtreg i.year, fe robust then the result of testparm i.year is 0.0004
    Click image for larger version

Name:	1111.png
Views:	1
Size:	45.1 KB
ID:	1644324


    Click image for larger version

Name:	2222.png
Views:	1
Size:	9.5 KB
ID:	1644325

    Comment


    • #3
      Sally:
      1) -xtreg,fe- requires -i.timevar- to be included in the right-hand side of the regression equation. Conversely, -xtreg- non-default standard errors do not take across panels correlation into account;
      2) I would go -xtscc- (community-contributed module, as the FAQ recommend to call it), as it covers heteroskedasticit, autocorrelation and correlated between panels. Including -i.panelvar- is not necessary if you go -xtscc-. Please also note the -xtscc- does not support -fvvarlist- notation.
      Kind regards,
      Carlo
      (StataNow 18.5)

      Comment

      Working...
      X