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
converting modate format string to numericDear All, I have the data which is in the following format. The modate is in string format. The dat…
What Estimation Method to use? (PSM, Probit, Logit, Heckman)Hi all, I'm currently writing my thesis in Finance on the explanatory power of ESG scores on the de…
placebo test using -permute-Dear statalist, I'm trying to do a placebo test in a DID by randomly assigning "treat" to my sample…
Change xlabel in a graphHello everyone, I'm working with a time series data set and I'm making some graphs, using the tslin…
max or min of rows---- bysort and generateHi statalist community, I need to generate two variables for my research. Code: * Example genera…
Subscribe to:
Post Comments (Atom)
0 Response to Error 301
Post a Comment