EconPapers    
Economics at your fingertips  
 

CID: Stata module to calculate confidence intervals for means or differences

Patrick Royston ()
Additional contact information
Patrick Royston: Royal Postgraduate Medical School

Statistical Software Components from Boston College Department of Economics

Abstract: 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.

Language: Stata
Date: 1998-03-22
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/cid.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cid.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s338001

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s338001