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
Store variables generated in a loop in macroHello, I am using a loop to decode and generate variables: Code: foreach var of varlist S9Q1a_1-S…
(Quasi-)Three-dimensional panel data with binary depedent and independent variablesDear Stata-community, I have just started my PhD and am quite new to stata and could use some guidan…
Merging datasets with multiple observations per company IDHi, Newbie to Stata and trying two merge two datasets (one from Compustat and one from Execucomp) wi…
rdplot - magnitude and statistical significance of discontinuous jumpDear all, I use the command -rdplot- to assess graphically if there is a discontinuous jump in a ti…
Difference in Differences with continues entry and decaying time trendI have a dataset that contains both physical and online sales of books. I am interested in examining…
Subscribe to:
Post Comments (Atom)
0 Response to Foreach Regression
Post a Comment