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 on April 23, and its replacement, statalist.org is already up and running.


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

st: Lowess smoothing using survey command


From   "Au, Maria C." <mau@jhsph.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Lowess smoothing using survey command
Date   Fri, 13 Jul 2012 15:20:00 -0400

Hi all,

I'm using the svy command to analyze a 2-stage stratified complex data and am trying to do a lowess smoothing plot for my continuous against the outcome to see if I need to make splines for my model.  However, lowess is not supported by the svy command.  Someone has suggested using the "expand" option to get the inverse of the individual weights to create a weighted lowess plot.  However, because individual weights are not providing in this public dataset (I'm using  jackknife variance estimation method with the following command :svyset [pw=rakedw0], jkrw(rakedw1-rakedw80, multiplier(1)) vce(jack) mse) to run my svy analysis, I cannot use that method either.   There are too many observations in my dataset to simply do a scatterplot without smoothing, does anyone know of other ways to conduct exploratory data analysis on continuous covariates against outcome to look for splines using the svy command?

Thanks so much!

Maria

Johns Hopkins School of Public Health
*
*   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