Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: brrweight(), jkrweight(), and vce() options of svyset


From   Austin Nichols <[email protected]>
To   [email protected]
Subject   Re: st: brrweight(), jkrweight(), and vce() options of svyset
Date   Wed, 12 May 2010 14:37:17 -0400

Putting the lie to
http://www.stata.com/statalist/archive/2010-05/msg00571.html
Stas? ;)

On Wed, May 12, 2010 at 2:27 PM, Stas Kolenikov <[email protected]> wrote:
> webuse nhanes2brr, clear
> merge 1:1 sampl using  http://www.stata-press.com/data/r11/nhanes2jknife.dta
> drop _merge
> svyset
> * amazingly, Stata picked up the jackknife weights into the design!
> merge 1:1 sampl using  http://www.stata-press.com/data/r11/nhanes2.dta
> drop _merge
> svyset
> * but it failed to pick up the PSUs into the design. Ah well, let's force it:
> svyset psu [pw=final] , strat( strata ) jkr( jkw* ) brrw( brr* )
> svy : mean bp*
> svy , vce( linearized ) : mean bp*
> svy , vce( brr ) : mean bp*
> svy , vce( jknife ) : mean bp*

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index