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
Is it possible to have 0 p-value when using chi-square test?Hello, I am having difficulty interpreting the results I have. I want to check whether the probabi…
Creating a Group VariableI want to create groups for propensity score matching. If I want to classify the data into different…
How to select categorical variable in Hoteck method to impute missing dataHello Everyone I am trying to address the missing values of four variables (price) in my research an…
Excel formatting dimensionsDear All, I am trying to make the Excel file produced with Stata to look exactly as the prototype s…
Installing package not on SSCI am trying to install the package 'meta'. I have commands in a file I am trying to use where the co…
Subscribe to:
Post Comments (Atom)
0 Response to Predicting residuals by industry and year
Post a Comment