12.07.2015 Views

Notes on Poisson Regression and Some Extensions

Notes on Poisson Regression and Some Extensions

Notes on Poisson Regression and Some Extensions

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IRLS uses a weighted regressi<strong>on</strong> of ẑẑ i = ̂η i + (y i − ̂m i )/ ̂m i ,where ̂η i = x ′ îβ <strong>and</strong> the iterative weights are ̂m i = exp(̂η i ). All quantities (except y) are updatedat each iterati<strong>on</strong>.Interpretati<strong>on</strong>. The exp<strong>on</strong>entiated model parameters exp(β) are interpreted as multiplicativeeffects <strong>on</strong> the rate. For a given coefficient pertaining to a unit change in a variable x, valuesgreater than 1 raise the expected rate; values less than 1 lower the expected rate; values equal to1 have no impact <strong>on</strong> the expected rate.Examples. The following examples show results from models for number of children born for asample of women as a functi<strong>on</strong> of several covariates. A first step is to examine the data. Here weare using the GSS. Let’s determine the overall mean childbearing rate by fitting a null modelusing the glm procedure or poiss<strong>on</strong>. Note the technique used to get baseline rate, or theexp<strong>on</strong>entiated effect of the c<strong>on</strong>stant term.Null Model.. * NULL model. gen c<strong>on</strong>s = 1. glm childs c<strong>on</strong>s, noc<strong>on</strong>s f(p)Generalized linear models No. of obs = 1501Optimizati<strong>on</strong> : ML Residual df = 1500Scale parameter = 1Deviance = 2430.731764 (1/df) Deviance = 1.620488Pears<strong>on</strong> = 2146.818275 (1/df) Pears<strong>on</strong> = 1.431212Variance functi<strong>on</strong>: V(u) = u[Poiss<strong>on</strong>]Link functi<strong>on</strong> : g(u) = ln(u) [Log]AIC = 3.68491Log likelihood = -2764.524679 BIC = -8540.098------------------------------------------------------------------------------| OIMchilds | Coef. Std. Err. z P>|z| [95% C<strong>on</strong>f. Interval]-------------+----------------------------------------------------------------c<strong>on</strong>s | .6623651 .0185344 35.74 0.000 .6260383 .6986919------------------------------------------------------------------------------. glm, eform------------------------------------------------------------------------------| OIMchilds | IRR Std. Err. z P>|z| [95% C<strong>on</strong>f. Interval]-------------+----------------------------------------------------------------c<strong>on</strong>s | 1.939374 .0359452 35.74 0.000 1.870187 2.01112------------------------------------------------------------------------------3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!