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: calculating PAR when there are >2 categories within a variable
From
"Benjamin, Laura" <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
st: calculating PAR when there are >2 categories within a variable
Date
Mon, 8 Apr 2013 20:29:30 +0000
Hi there,
I am working with STATA 11 and calculating the population attributable risk (PAR) for several risk factors of stroke; this is based on a case-control design. I have been using the punaf function for this.
I am uncertain about how to determine the PAR when there are >2 categories within a variable.
For example, the variable "woodexp" has four categories (one of these being the reference). Is it possible to calculate the PAR for each of the categories? I would appreciate any advice on this.
Many thanks,
Laura
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/