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
Regarding use Matchit to fuzzy merge two different data setHello everyone, I am trying to merge two data set by their unique string variables. However, these …
Identifying observations of var1 that have different values for var2I have a dataset in which the data are identified by state, county, and ZIP code - each of these is …
Reshaping data with three dimensionsHello, I am having trouble reshaping my data as it will require something beyond the usual long to w…
Filling missing observations with successor and predecessors ID's valuesDear Stata Users, Can you please help me with the following issue: I have a company (“gvkey”) with a…
Creating a matrix with Euclidean distances between variables.Hello everybody, I use Stata 13.1 and I am working with a dataset that contains 25 numerical variab…
Subscribe to:
Post Comments (Atom)
0 Response to Error 301
Post a Comment