CSTI: Stata module that modifies csi command in order to use total numbers rather than individual cell counts
Philip M Jones ()
Additional contact information
Philip M Jones: University of Western Ontario
Statistical Software Components from Boston College Department of Economics
Abstract:
Binary outcomes (such as mortality) are typically published in a Table as the number of events over the number of patients or subjects in the group, i.e. "n/N". If one wants to compute a risk ratio and P value, Stata's -csi- command can be used. However, to use -csi- it is first necessary to calculate, within each group, the difference between the total number of subjects and the number of events. This is because -csi- expects the data to be entered as individual cell counts rather than "events" and "total subjects”. -csti- allows you to enter the n/N naturally and avoids having to compute the difference between the total subjects and number of events. The command is implemented as a wrapper for -csi- built-into Stata. For example, if 23/130 patients died in an Intervention group while 13/127 patients died in a control group, Stata's -csi- syntax would be "csi 23 13 107 114”, whereas when using -csti-, the command becomes "csti 23 130 13 127”.
Language: Stata
Requires: Stata version 11
Keywords: csi; risk ratio; relative risk (search for similar items in EconPapers)
Date: 2014-09-21, Revised 2014-10-04
Note: This module should be installed from within Stata by typing "ssc install csti". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/csti.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/csti.sthlp 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:s457914
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 ().