Bookmark and Share

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]

Re: st: Using command svy glm to obtain risk ratios


From   Colin Rehm <[email protected]>
To   [email protected]
Subject   Re: st: Using command svy glm to obtain risk ratios
Date   Mon, 17 Feb 2014 17:02:40 -0500

Amenah,

This website details the different approaches to estimate relative
risk or prevalence ratios (using Stata 12 commands, but should
translate to Stata 13):
http://www.ats.ucla.edu/stat/stata/faq/relative_risk.htm

Here is sample code confirming that this approach work with survey data:

webuse nhanes2
svy : glm highbp age, fam(poisson) link(log) eform

The exp(b) value in the output represents the relative risk or
prevalence ratio. Best of luck.

Cheers,
Colin



On Mon, Feb 17, 2014 at 4:41 PM, Agunwamba, Amenah A., Ph.D.
<[email protected]> wrote:
> Thanks for your quick response Dr. K -
> I am using Stata 13, but it's not producing the RRs...
>
> Could you provide code for the example you suggest? I'm a beginner Stata user, and am not sure what could be used (in reference to your -svy, eform:- comment followed by just -glm, eform)....
>
> Thanks!
>
> *
> *   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/
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index