EconPapers    
Economics at your fingertips  
 

SSIZEBI: Stata module to calculate sample size and power for the comparison of two or more proportions

Abdel G. Babiker ()
Additional contact information
Abdel G. Babiker: University College London Medical School

Statistical Software Components from Boston College Department of Economics

Abstract: ssizebi estimates power or total sample size for tests comparing K proportions. Power is calculated if n() is specified as a positive number, otherwise total sample size is estimated. ssizebi computes sample size/power for the (global/trend) unconditional chisquare test or the conditional test based on the hypergeometric distribution with the one-step Peto approximation to the odds ratio (OR). Sample size/power is calculated in the unconditional case under either local or distant alternatives. Under local alternatives (eg max(OR,1/OR)<=2), ssizebi uses the null covariance matrix under both null and alternative hypotheses. The unconditional test with local alternatives is the usual Pearson chisquare test. Local alternatives are assumed in the conditional case.

Language: Stata
Requires: Stata version 5.0
Keywords: sampling; proportions; power of test (search for similar items in EconPapers)
Date: 1999-01-07

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/ssizebi.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/ssizebi.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: http://EconPapers.repec.org/RePEc:boc:bocode:s365701

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
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2009-11-26
Handle: RePEc:boc:bocode:s365701