Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Re: computation of R-squared with a non-linear model


From   marcel spijkerman <marcel_spijkerman@hotmail.com>
To   stata stata <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Re: computation of R-squared with a non-linear model
Date   Wed, 20 May 2009 05:52:41 +0000

Martin,

I indeed typed the command:

nl (sqrt_y = (a1 + a2X)^0.5) [aweight= hhd1564_06] 

And the answer is .... :-)

Marcel
 

----------------------------------------
> From: martin.weiss1@gmx.de
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Re: computation of R-squared with a non-linear model
> Date: Tue, 19 May 2009 23:01:13 +0200
>
> <>
>
> Which command did you use for your estimation? If it was non-linear, -nl-?
> Show us what you typed and what the reply was...
>
>
> HTH
> Martin
> _______________________
> ----- Original Message -----
> From: "marcel spijkerman" 
> To: "stata stata" 
> Sent: Tuesday, May 19, 2009 8:54 PM
> Subject: st: computation of R-squared with a non-linear model
>
>
>> Dear statalisters,
>>
>> I estimate a weighted non-linear model of the following form:
>>
>> y^0.5 = (a1 + a2*X)^0.5 weighted by some other variable z.
>>
>> Stata reports an adjusted R-squared of 1.000. I suspect this is not
>> correct. How can compute the correct adjusted R-squared using
>> untransformed variables?
>>
>> Best regards,
>>
>> Marcel Spijkerman
>>
>>
>>
>> _________________________________________________________________
>> Express yourself instantly with MSN Messenger! Download today it's FREE!
>> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>> *
>> * For searches and help try:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/statalist/faq
>> * http://www.ats.ucla.edu/stat/stata/
>>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/

_________________________________________________________________
What can you do with the new Windows Live? Find out
http://www.microsoft.com/windows/windowslive/default.aspx
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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