Hi Statalist,
I have the panel data (state-year) and run a correlations analysis between my y and x (pwcorr y x), which shows that they are negatively correlated (significant at 1% level). However, when I run the univariate fixed effect regression (xtreg y x or xtreg y x, fe), the coefficient is significantly positive. I find it confusing because I expect them to have at least the same direction.
Besides, I get the significantly negative coefficient when I run the pooled regression (reg y x, r). Does that mean I should choose the pooled regression instead of the xtreg? Many thanks!
Best regards,
Suyi Liu
Related Posts with Inconsistency between correlation analysis and regression results
Common Correlated Effects and Serial CorrelationHello everyone, I have the following question related to testing residuals for serial correlation a…
Constraint Regressions with a loop and saving the parameters for every year.Hello everyone, I am trying to regress 15 separate dependent variables (Country Index returns) with…
Interpretation of a reference variableGreetings to the wonderful Stata community, I have a question regarding about interpretation of dum…
Graphing power curves given simulation resultsI recently ran some simulation analyses for a multi-level randomized control trial design in a separ…
Panel Data: Adding/Merging multiple rows with observations to the same dateHello Statalisters! I have a firm-day panel dataset with firms, dates and stock returns. It looks l…
Subscribe to:
Post Comments (Atom)
0 Response to Inconsistency between correlation analysis and regression results
Post a Comment