After I run the following regression:
bysort FYEAR SIC: regress TACCATw ATLAGINVw REVATLAGw PPEATLAGw if !missing(TACCATw) & !missing(ATLAGINVw) & !missing(REVATLAGw) & !missing(PPEATLAGw)
I want to predict the residuals with the following code:
predict DACC, resid
However, stata says "last estimates not found r(301):
"error . . . . . . . . . . . . . . . . . . . . . . . . Return code 301
last estimates not found;
You typed an estimation command, such as regress, without
arguments or attempted to perform a test or typed predict,
but there were no previous estimation results."
Does anybody have an idea how this can be fixed? Thank you in advance!
Related Posts with Error 301
expanding datasetDear all I have a dataset as follows: Code: clear input byte loan_id int lender_id byte key_lend…
mixed model with endogenous variableHello everyone, I have multilevel data (individuals nested within municipalities). In my database I…
Fixed effects model/interpretationHi all, I am doing a fixed effects model in stata in order to find out what factors affect house pr…
Factor analysis - Using factors in regression as covariatesDear all, I would like to know your opinion about the following issue: I have a set of variables the…
macro as program argumentGood morning everyone, I have an issue concerning a program which goal is to run an OLS. I name tha…
Subscribe to:
Post Comments (Atom)
0 Response to Error 301
Post a Comment