[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: log binomial regression - categorical independent variables

From   Amy Jennings <>
To   <>
Subject   st: log binomial regression - categorical independent variables
Date   Thu, 20 Aug 2009 11:19:36 +0000

I am currently using stata to estimate prevalence ratios (or risk ratios as I think stata refers to them) using log binomial regression with the glm function.  I am using the syntax
glm dependent independent, family(binomial) link(log) eform
this has worked fine but I would now like to add a categorical independent variable with more than two categories, and obtain coefficients for each of the categories, e.g. I am trying to calculate prevalence ratios for childhood overweight compared with normal weight for increasing category of parental education, is it possible to estimate prevalence ratios for children whose parents are educated to school-level or university-level verses those with no education?
Many thanks in advance, 
Windows Live Messenger: Happy 10-Year Anniversary—get free winks and emoticons.
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index