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
Calculating and plotting interaction effects between two dummiesDear Stata-users, This is my first question and I hope I'm posting the question correctly. I need s…
filling missing values?Dea All, I have this data set, HTML Code: * Example generated by -dataex-. To install: ssc install …
Merge DatabasesHello everyone, I'm trying to combine the following datasets (this is a subsample) DATASET 1 PHP C…
Pair Fixed Effects in PPMLDear all, Can the pair fixed effects suggested by Baier and Bergstrand (2007) to address endogeneit…
How to import data from Excel sheet to existing stata 12.0, If the data file in stata already created......!I have a created a file in Stata 12.0 and import 30 responses from Excel sheet which i have collecte…
Subscribe to:
Post Comments (Atom)
0 Response to Error 301
Post a Comment