Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[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 <>
Subject   Re: st: Using command svy glm to obtain risk ratios
Date   Mon, 17 Feb 2014 17:02:40 -0500


This website details the different approaches to estimate relative
risk or prevalence ratios (using Stata 12 commands, but should
translate to Stata 13):

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.


On Mon, Feb 17, 2014 at 4:41 PM, Agunwamba, Amenah A., Ph.D.
<> 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:
> *
> *
> *
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index