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]

st: Confidence interval for proportions


From   Peter Jansen <[email protected]>
To   [email protected]
Subject   st: Confidence interval for proportions
Date   Mon, 10 Mar 2014 16:51:16 +0100

I am look for a way to generate binomial confidence intervals for a database containing time / event data. Database looks like: 

events   time   lcl  ucl
1   100
2 150 
etc. 

One could obviously use the cii command, but in that case one needs to calculate it manually for each observation. The ci command calculates the confidence interval for the whole variable. 

Thanks in advance for any hints. 

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index