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
How to use "/" in StataHi everyone, I would like to know how to build a code that lets me display the following data: Ind…
panelsubmatrix(): 3301 subscript invalidI use stata15 and I write Code: xsmle INDEX CREDDEV CHEXCHRATE UNINF, wmat(Z) model(sdm) and I ge…
is it possible to do a repeated Measures ANOVA without case identifierHi all, I am currently using a Qualtrics platform survey to measure the perceived social consensus …
Implement Multinomial Logit Model using ml commandI would like to implement multinomial logit model using maximum likelihood command to generate the s…
Merging two databases. With different dates. Best method?Dear members, These days I am working on my (master) thesis and I am working with Stata in order t…
Subscribe to:
Post Comments (Atom)
0 Response to keep variables using predict after multiple regressions
Post a Comment