Hi,
I want to run regressions in the following way:
reg y x1 i.year i.ind
reg y x2 i.year i.ind
reg y x3 i.year i.ind
reg y x1 x2 x3 i.year i.ind
It seems that stepwise is not the solution. Is there any faster or more concise way of doing this?
Thanks
Related Posts with Regress y on each variable each time
Obtain regression residual for panel dataDear Statalist, I am new to the Stata and am dealing with the panel data for a sample of firms over…
New version of stcmd on SSCThanks as always to Kit Baum, a new version of the stcmd package is now available for download from …
Generating date variableHello all, I have the following code: Code: clear input float(qdate) 1900q1 1900q2 1900q3 1900q4 …
How to estimate mortality and CIs from survival data (KM curves)?Hi everyone, I'm doing survival analysis in Stata 17. I'd like to estimate the rate of mortality an…
error: rename using local inside loopDear Stata-users, I have a problem with rename using local inside loop. I would like to import an …
Subscribe to:
Post Comments (Atom)
0 Response to Regress y on each variable each time
Post a Comment