[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Risk differences in Epitab
Statalist,
I would like to compute a risk difference, instead of the default
risk ratio, using the -cs- command in epitab. However, when I try to
run commands like
gen ones = 1
cs y x, by(a b c) standard(ones) rd
Stata 9.0 returns a error of "invalid sytax" number 198. The same
command without "rd" (meaning the default risk ratio) works fine.
Any suggestions about how to compute risk differences would be
appreciated.
Edward
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/