[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Can we collect the R^2 (R-squared) of a OLS regression withstatsby?
I don't know whether -statsby- can do that, but I do know that it can be
done using -parmby- from Roger Newson's very useful -parmest-.
Type -findit parmest-.
> I use stata 9 intercool to regress a panel data. And I can collect the
> coefficients and standard errors for every regression like this:
> statsby _b _se, by (x1) saving(my_rg): regress x2 x3 x4
> But how can I collect the R^2 (R-squared) with statsby? And the "Adjusted
> Thanks a lot.
> * 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/
* For searches and help try: