Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Simulate relative risk
From
"Tomas Lind" <[email protected]>
To
<[email protected]>
Subject
st: Simulate relative risk
Date
Fri, 19 Mar 2010 10:46:41 +0100
Hi listers,
Does anyone know how to generate fake data for a dichotomous outcome (0, 1)
that is dependent on a continuous exposure variable in an epidemiological
relative risk context. I know how to use the logit transformation but in
that case exposure is proportional to log(ods) and not to risk.
/Tomas
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/