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]

st: calculate the exact Poisson confidence intervals in stata


From   helen bian <helenbian06@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: calculate the exact Poisson confidence intervals in stata
Date   Mon, 26 Jul 2010 22:38:47 +0100

I have generated two variables, observed and expected, and the number of
observed event is less than 500. I would like to calculate the confidence
interval for the ratios (=observed/expected), i.e. the indirectly
standardised ratios. Does anyone know how to calculate the exact Poisson
confidence intervals in stata?

Alternatively, can anyone tell me how to save the results from istdize into
a datafile? I have tried to use the following code to claculate the
confidence intervals for a dataset contains variables: vol, pop, sex,
agegroup, pctcode and HRG, but I could not manage to save the result into a
datafile.

istdize vol pop sex agegroup using file.dta, by(pctcode06 HRG) pop(vol
pop)

Many thanks,
helen
*
*   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