Thanks to Kit, this command is now available from SSC.
ssc describe bystore
David
[email protected]
-----Original Message-----
I decided I rather liked the idea of being able to do this using a by-style prefix, so I have just sent a new package that will do this to SSC.
The command will then become...
bystore region: regress tempjan tempjuly
storing the results with names _ENE, _EN_Cntrl, _ESouth and _EWest.
-----Original Message-----
In addition to -statsby-, you could also use -estimates store-.
In this case, you will need to break up your -by region...- bit to something like:
forvalues r=1/4 {
regress tempjan tempjuly if region==`r'
est store reg`r'
}
est table reg1 reg2 reg3 reg4, stats(N ll rmse)
-----Original Message-----
How do I save the results of estimating a regression conducted using the
by varlist: construct? e.g.
webuse citytemp3
by region, sort: regress tempjan tempjuly
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/