Statalist The Stata Listserver


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

Re: st: Risk differences in Epitab


From   "Clive Nicholas" <[email protected]>
To   [email protected]
Subject   Re: st: Risk differences in Epitab
Date   Thu, 9 Feb 2006 04:34:06 -0000 (GMT)

Edward Norton wrote:

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

This may or may not sort out your problem, but you should at least update
to  the latest Stata (version 9.1) by typing -update query- (if it doesn't
prompt you to do so automatically, which it does on mine). Then try it
again.

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: [email protected]
Newcastle University  |http://www.ncl.ac.uk/geps

Whereever you go and whatever you do, just remember this. No matter how
many like you, admire you, love you or adore you, the number of people
turning up to your funeral will be largely determined by local weather
conditions.

*
*   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