CID: Stata module to calculate confidence intervals for means or differences
cid calculates confidence intervals (CIs) for means or differences. In the first form, cid calculates a CI for the mean of varname. In the second form, cid produces a CI for mean difference between varname1 and varname2. Data are assumed to be paired, but unpaired changes this assumption. In the third form, cid gives a CI for the mean difference across the two groups defined by groupvar. Data are assumed paired, but unpaired reverses this. median calculates CI's as above, except for medians rather than for means. CI's are determined by rank-based methods as described in Gardner and Altman's (1989) book "Statistics with Confidence", pp. 74-79. A normal approximation with a continuity correction of 0.5 is used, rather than tables of exact values. The accuracy should be adequate when both groups have at least 5 observations.
In order to set up a list of libraries that you have access to,
you must first login
or sign up.
Then set up a personal list of libraries from your profile page by
clicking on your user name at the top right of any screen.