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
DV DifferencesHi all, In my regression, I should enter Y(t1)-Y(t0) as a dependent variable where t1 and t0 are 10…
Cannot use python in Stata 16.1 in CatalinaCannot use python in Stata 16.1 in Catalina Today, 03:38 I have tried to solve the problem, but it …
Questions about "xtrifreg" - Unconditional quantile regression with fixed effects?Dear Statalists, (1) Can anyone help me check robustness for xtrifreg please? And how can I run sim…
Questions about "xtrifreg" - Unconditional quantile regression with fixed effects?Dear Statalists, (1) Can anyone help me check robustness for "xtrifreg" please? And how can I run s…
Ologit: conditional marginal effect and semi-elastictyDear All, After estimating an ordered logit model, I want to to calculate and draw the plot of cond…
Subscribe to:
Post Comments (Atom)
0 Response to Inconsistency between correlation analysis and regression results
Post a Comment