Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Predicting sdres in stata


From   Lars Folkestad <lfolkestad@health.sdu.dk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Predicting sdres in stata
Date   Wed, 20 Jul 2011 14:05:02 +0200

Hi Stata Listers

This is probably a simple question for you all. I just cannot see my way
through it.

I am doing liniar regression for different variables as a way to adjust for
Body Surface Area. I do the following

. regress depenVar1 BSA, vce(robust)
. predict sdres
. qnorm sdres
. swilk sdres
. predict adjdepenVar1
. drop sdres

. regress depenVar2 BSA, vce(robust)
. predict sdres
. qnorm sdres
. swilk sdres

The two swilks tests give the exact same p-value and the qnorm graf is
identical.

I cannot understand how. For your information i am new to stata and
regression and my statistically knowledge is low.

Why is the two swilks tests and qnorms the same?

lars


*
*   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   |   Site index