Announcement

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

  • Fixed country effects and year fixed effects

    Dear All,

    I want to test the effect of trade agreements on trade using panel data. I composed a model and eventually performed a regression with time fixed effects.
    The output : 'fyear 2-17 can be seen as the years 1996-2011.
    How do I have to interpret those different years? what do these different years say about what? In 1996 (fyear2) .....

    Dependent variable (GLI6) = trade.


    Furthermore, my r-squared is very low.. how can I interpret this? I already changed my independent variables but the r-squared stays low when I include fixed effects (country pair fixed effects/year fixed effects) , does this mean that the dependent variable is not good to measure with this model?

    Click image for larger version

Name:	regression1.PNG
Views:	1
Size:	45.1 KB
ID:	1451539



    Thank you in advance!

  • #2
    CORRECTION: : * my r-squared is very low if I use 'country pair fixed effects" and 'year fixed effects"


    Click image for larger version

Name:	regression.PNG
Views:	1
Size:	48.3 KB
ID:	1451542

    Comment


    • #3
      Eba:
      - I suspect there's something wrong in your -re- model (r--sq between=1.000 sounds like a warning message);
      - it sounds also strange that you decide to switch from -re- to -fe- specification, as they arer pretty different beasts (by the way: all the time-invariant predictors are wiped out due to the -fe- machinery);
      - I would check whether you have some omitted predictors.
      Kind regards,
      Carlo
      (Stata 19.0)

      Comment


      • #4
        Thank you for your reaction Carlo, very helpful! Do you mind to take another look?
        I need a fixed effects model instead of a random effect model, I got rid of the omitted predictors and performed a new regression including code:
        (1) country pair fixed effects
        (2) country pair and year fixed effects

        still very low R-squared..
        Click image for larger version

Name:	1.PNG
Views:	1
Size:	30.3 KB
ID:	1451621


        Click image for larger version

Name:	2.PNG
Views:	1
Size:	46.8 KB
ID:	1451622

        Comment


        • #5
          Eba:
          - deleting by hand the time-invariant predictors is almost immaterial, as your results do not change that much;
          - left aside the issue of omitted predictors, the low within sq-R (that is the sq-R you should look at if you go -xtreg,fe.) could be explained by a scant within panel variation of the time-varying predictors.
          Kind regards,
          Carlo
          (Stata 19.0)

          Comment

          Working...
          X