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
How to prevent incorrect (Windows) file time attribute of graphic files produced with graph exportsaving a graph using graph export for the first time under a name such as graphtime.wmf saves the gr…
How to interact a variable with Fixed Effect. Help!Hi! I am working on my final paper and could need som help. What i'm trying to do is to investigate …
set n(#) in a kdensity loop with different sample sizesHi Statalist, I am new here but this forum is been helpful several times. I am using stata15, and t…
SEM for longitudinal Data!Hi to all, I am new to stata and have to build an SEM for my research, but i am struggling to figure…
McDonald's omega for measurement modelWith a view to SEM, I want to evaluate a measurement model with six items (expressing behaviour freq…
Subscribe to:
Post Comments (Atom)
0 Response to Predicting residuals by industry and year
Post a Comment