Hello,
I want to run 500 regression in one command. dependent series are Y1 to Y500 and three independent variables x1, x2 and x3. following is the command (please make me correct if i am wrong):
foreach y of varlist y1-y500 { regress `y' x1 x2 x3 } My query is how I get residuals series of each regression. Please help me..
Thank you
Priya
Related Posts with How to get residuals series of many regressions?
Instrumental variable with ordinal dependent variable(reject the parallel test)Dear all, I am using the instrumental variable approach. My X variable is a binary variable, and Y …
Running two loopsHey, I have the following problem. Let's suppose I have this data set country A B C Germany 5 6 7…
Synthetic control for MicrodataI am using IPUMS microdata to run a differences-in-differences model and I want to augment it with a…
Using numbers from tabulate var1 var2 into mcciDear Statalists, I need to perform a lot of McNemars using mcc or mcci (with a preference for mcci)…
Replacing String variables with another string variable. (String variables contain data from multi select questions)Hi. im trying to replace observations of a string variable from another string variable (Both the st…
Subscribe to:
Post Comments (Atom)
0 Response to How to get residuals series of many regressions?
Post a Comment