I am aware that after regress, I can use predict to generate a new predicted value. But how can I do it after multiple regressions? Here is the syntax.
regress equation1
predict fitted1
regression equation2
predict fitted2
But it looks like in Stata, it only keeps fitted2, and drops fitted1. Is there a way to keep both predicted values?
Related Posts with keep variables using predict after multiple regressions
saving logistic regression output as .dta fileDear Statalist I would like to save the output (odds ratio, ci, pval, se) of a simple logistic regr…
Price Elasticity of Demand - referring to last weeks sales?Hello, I am trying to work out store level price elasticity of demand for a product. I will have 10…
Standard errors from margins commandsHi, I am wondering if someone can help me, as have been having some issues with plotting a figure t…
coefplot after mlogitHello, This is my first post so hopefully, I will get it right. I run mlogit and would like to use…
Stat SE 16 | How to obtain the result according to the picture?Good morning everybody. I'm beginner. I know how to use the basic commands of the software. But I wo…
Subscribe to:
Post Comments (Atom)
0 Response to keep variables using predict after multiple regressions
Post a Comment