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: ci for a standard deviation
From
Alan Neustadtl <[email protected]>
To
Statalist <[email protected]>
Subject
Re: st: ci for a standard deviation
Date
Tue, 25 Feb 2014 09:57:22 -0500
Rich,
How about:
Assuming sd=15 and n=1,000
di 15*sqrt((1000-1)/invchi2((1000-1), .05/2))
di 15*sqrt((1000-1)/invchi2((1000-1), 1-(.05/2)))
Best,
Alan
On Tue, Feb 25, 2014 at 9:49 AM, Richard Goldstein
<[email protected]> wrote:
> Hi,
>
> I want to calculate a CI for a standard deviation; anyone have Stata
> code for this?
>
> And, no, it is not the CI given by sdtest (that is a CI for the mean for
> some reason)
>
> Rich
> *
> * 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/
*
* 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/