Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: adj. R-squared for weighted regression


From   Philipp Rehm <[email protected]>
To   [email protected]
Subject   Re: st: adj. R-squared for weighted regression
Date   Tue, 03 Apr 2007 16:24:40 +0200

Perhaps this?

sysuse auto, clear

reg length turn [pweight=trunk]
di e(r2_a)

HTH,
Philipp

Eva Gottschalk wrote:
Hi there,

is there any chance to obtain the value for adj. R-squared in the
output
of a regression that is weighted with design weights?

Neither
reg x y [pweight=weight]

nor

svyreg x y

gives me the adj.r value.

I am really thankfull for any help solving this problem!
Eva

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