Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Why no RMSE in -ereturn list- after -areg-?


From   "Clive Nicholas" <[email protected]>
To   [email protected]
Subject   RE: st: RE: Why no RMSE in -ereturn list- after -areg-?
Date   Fri, 3 Dec 2004 00:43:21 -0000 (GMT)

Scott Merryman wrote:

> The reported residual degrees of freedom change when you have clusters
> (to,
> I believe, #clusters - 1).
>
> Try this instead:
>
> di sqrt(e(rss)/(e(N) - e(df_m) - e(df_a) -1))
>
> which should work in with or without clusters.

Thanks for the explanation and the solution, which worked perfectly. Thanks!

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: [email protected]
Newcastle University  |http://www.ncl.ac.uk/geps

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index