Hi, I want to regress w0.............w30 one by one on variables x, y, z and save the results from each regression. Would appreciate if someone could share how to apply the foreach loop in this setting. Thank You.
Related Posts with Foreach Regression
REGALL: Stata module to run and compare regressionsREGALL: Stata module to run and compare all regressions derived from complete sets of regressors Ab…
Generating new variable based on ICD9 code range anywhere in the rowGreetings, A sample data set for my problem is shown below. I am trying to generate few new variabl…
Variables chosen for multiple imputationDear Statalist, I have a question regarding to choosing variables for multiple imputation. For exam…
Simple addplot syntax - how do I graph 2 sets of observations on one graph?Hi, Sorry to be that guy, but I can't find any stata help files or forum posts to clear this up. If…
icalc, intspec - "invalid 'focal' " errorHi, I'm trying to learn how to use Kaufman's* 'icalc' suite of commands to probe interactions and I…
Subscribe to:
Post Comments (Atom)
0 Response to Foreach Regression
Post a Comment