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]

Re: st: suest and pweights


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: suest and pweights
Date   Tue, 27 Jul 2010 21:54:38 +0100

Because it may not be able to tell if you had the same sample and the
same weights for two commands. It's a precaution measure. Note however
that if you are reasonably knowledgeable to have specified -svy-, then
-suest- should work (at least that's my reading of the help file). An
occasion where you might have -pweight- without other associated
complex survey features (stratification and clustering) is a
relatively odd thing, so basically -suest- invites you to rethink
whether what you are doing is statistically correct, to begin with.

On Tue, Jul 27, 2010 at 7:44 PM, Keith Finlay <kfinlay@gmail.com> wrote:
> Hello,
>
> Could someone please explain why -suest- is not compatible with
> sampling weights (pweight)? I can't seem to find the reason in the
> manual.
>
> From suest.ado (Stata/MP v11.1), line 146:
> if !`is_svy' & "`wtypei'" == "pweight" {
>     di as err ///
>     "model `name' was estimated with pweights, " ///
>     "you should re-estimate using iweights"
>     exit 322
> }
>
> Thank you in advance,


-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.

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