Statalist


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

st: Re: standardized coefficient in survey weighted regression using spost9


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: standardized coefficient in survey weighted regression using spost9
Date   Fri, 21 Nov 2008 00:36:23 +0100

BTW, why not use the -beta- option to -regress- which does allow sampling weights?

*************
sysuse auto, clear
g r=5*runiform()
regress length price mpg rep78 [pweight = r], beta
*************

HTH
Martin
_______________________
----- Original Message ----- From: "Pruitt, Sandi" <[email protected]>
To: <[email protected]>
Sent: Friday, November 21, 2008 12:27 AM
Subject: st: standardized coefficient in survey weighted regression using spost9


I am running a weighted linear regression (using a sampling weight or "pweight") using svyset commands. Following a previous listserv discussion, I downloaded spost 9 and used the command listcoef so I could obtain standardized betas for this regression. (I have a reviewer specifically asking for this.) However while it works, I get the following warning:

"pweights not compatible with summarize; weights will be treated as aweights"

Can someone tell me how this might be affecting the standardized beta that I want to report?

Thanks.

________________________________________
Sandi L. Pruitt
Postdoctoral Research Associate
Washington University School of Medicine
Division of Health Behavior Research
Campus Box 8504
4444 Forest Park Avenue, Suite 6700
St. Louis, MO 63108
Phone: 314-286-1921
Fax: 314-286-1919
[email protected]


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



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