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: Different results for confidence intervals for proportions using "svy: proportion" and "espost svy: tabulate" ??
From
Austin Nichols <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Different results for confidence intervals for proportions using "svy: proportion" and "espost svy: tabulate" ??
Date
Mon, 9 Sep 2013 11:22:52 -0400
Aldana Rosso <[email protected]>
The user-written prefix command is a red herring. You get different
CIs from -svy:tabulate- and -svy:proportion- as you can see below
(also, methods and formulas are in the manual entries). The
-svy:tabulate- approach makes more sense because it does not assume a
symmetric CI and will not include negative proportions in its CI
(negative proportions make no sense in this context), or proportions
greater than one.
webuse nhanes2b, clear
svy: tabulate houssiz, ci
svy: proportion houssiz
On Mon, Sep 9, 2013 at 8:49 AM, Aldana Rosso <[email protected]> wrote:
> Hi,
>
> I am running the svy proportion command to obtain the confidence intervals
> for a proportion. I realized that I obtained different results using the
> "official commands: svy: propotion" and the user written "estpost svy:
> tabulate race". Does someone know why?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/