Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Steve Samuels <sjsamuels@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: linktest after survey in stata9 |
Date | Fri, 8 Oct 2010 14:37:51 -0400 |
In Stata 11, the answer is "Yes". In Stata 9, you can check for yourself: **************************CODE BEGINS************************** sysuse auto,clear gen psu= mod(_n, 10) svyset psu [pweight=trunk] svy: poisson rep78 weight linktest svy: poisson rep78 weight predict xb, xb gen xb2 = xb*xb svy: poisson rep78 xb xb2 //significance of xb2 is the linktest ***************************CODE ENDS*************************** On Fri, Oct 8, 2010 at 1:01 PM, Laurie Molina <molinalaurie@gmail.com> wrote: > Hi all, > Does the fallowing linktest takes in to account the survey design in Stata9: > > ****** > svy: poisson depvar covariates > linktest > ****** > > Thank you in advance! > LM > * > * 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/