Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Risk differences in Epitab


From   Edward Norton <[email protected]>
To   [email protected]
Subject   st: Risk differences in Epitab
Date   Wed, 08 Feb 2006 23:01:42 -0500

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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index