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?
Summation using If condition to avoid negative valuesHello, I want to write a code that creates a value which is the summation of several rows. I have n…
Extracting the year from a variable in stataHello, I probably have a very simple query but I can't work out how to solve it I have a variable en…
Loop over quarterly variables to find yearly meansHi Everyone, I'm quite new to Stata (version 17.0) and I'm having some trouble implementing a loop …
Create a chart to track changes of exectuive titlesHi Statalist, I want to create a chart to record the title changes of exectuives. For example, I w…
My nl equation has an error, please help!Hello everyone, I am trying to estimate the parameters a and c of a nonlinear equation. The nonline…
Subscribe to:
Post Comments (Atom)
0 Response to How to get residuals series of many regressions?
Post a Comment