Hi,
I am running the following model
bys industry year: reg y x
predict e, residuals
Here, if I use predict residuals as above, I don't get correct residuals by industry and year. I tried the following
bys industry year: predict e, residuals
but it is a wrong syntax.
Can anyone please help me?
Related Posts with Predicting residuals by industry and year
Analyzing a trend over timeI have two questions: 1. What tool/model would you recommend to analyze the rate of change/trend of…
stata workflow book by Scott long data packages outdatedhi guys I tried to download data packages using 'findti workflow' but they are outdated and I'm usi…
Sensitivity analysis: sign testGood night, I want to perform an additional analysis on my data to obtain evidence on whether the t…
Confidence intervals for ICC in variance components modelsI am estimating the ICC for an outcome with data on several 10,000s nested within ~50 groups. The ou…
Error r(498) when running dsgenl modelHello everyone, I'm trying to run a non-linear DSGE model but I got an error saying "equation invali…
Subscribe to:
Post Comments (Atom)
0 Response to Predicting residuals by industry and year
Post a Comment