When I run my fixed effects regression model:
xtreg y var1... varn, fe cluster(id)
and predict residuals using:
predict u, e
or alternatively:
predict u, residuals
I get answers that differ somewhat, but not a ton. What is the difference between these two methods of predicting residuals and when should I use each?
Related Posts with What does the "e" option do with the predict command? How does it differ from the residuals option?
Generate correlation as variableHi everyone, I am running a cross-sectional random effects regression. And I want to generate a new…
PanelHello, everyone. I have a panel dataset consisting of two survey waves, and I am running fixed effe…
A question on how to bootstrap placebo test 1,000 timesDear Stata Experts, Hope all is well. I'm trying to do a placebo test with this purpose: Randomly a…
High specificity in a ROC model with the lroc commandI am new to the ROC analysis, but I need to learn for my biomakers analysis. I am trying to see if s…
Metan – override pooled effect with user-defined pooled estimate in forest plotDear All, I ran a meta-analysis using robust variance estimation. To display the forest plot, I use…
Subscribe to:
Post Comments (Atom)
0 Response to What does the "e" option do with the predict command? How does it differ from the residuals option?
Post a Comment