Help with syntax for GLM + negative binomial in SPSS

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

marta_ro
Posts: 1
Joined: Mon Aug 15, 2016 3:43 pm

Help with syntax for GLM + negative binomial in SPSS

Postby marta_ro » Mon Aug 15, 2016 3:54 pm

I am applying a GLM (using SPSS v. 18) using negative binomial with log link structure for analyzing the effects of different predictors in crash frequency. From what I understand model form is

Y = exp (b0 + b1*x1 + … + bn*xn)

However one of the independent variables is an exposure variable, and its effect is different from other independent variables in a way that model form should be:

Y = b0*Z^b1*exp (b2*x2 + … + bn*xn), where Z is the exposure variable and x [2…n] are the other explanatory variables

My question is: how to model this using SPSS? I will be very grateful for any help!

Who is online

Users browsing this forum: No registered users and 1 guest

cron