Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[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" <L.Benjamin@liverpool.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index