The sample data table Ship Damage.JMP is adapted from data found in McCullagh and Nelder (1989). The data table contains information about a certain type of damage caused by waves to the forward section of the hull. Hull construction engineers are interested in the risk of damage associated with three variables: ship type (Type), the year in which the ship was constructed (Yr Made), and the block of years the ship was in service (Yr Used).
In this analysis we use the variable Service, the log of the aggregate months of service, as an offset variable. An offset variable is one that is treated like a regression covariate whose parameter is fixed to be 1.0. Offset variables are most often used to scale the modeling of the mean in Poisson regression situations with a log link. In this example, we use log(months of service) since one would expect that the number of repairs be proportional to the number of months in service.
To see how an offset variable is used, assume the linear component of the GLM is called η. Then, with a log link function, the model for the mean with the offset included is as follows:
exp[Log(months of service) + η] = [(months of service) * exp(η)].
Select Help > Sample Data Library and open Ship
Select Analyze > Fit Model.
From the Personality list, select Generalized Linear Model.
In the Link Function list, Log should be selected for you automatically.
Select N and click Y.
Select Service and click Offset.
Select Type, Yr Made, Yr Used and click Add.
Click the check mark box for Overdispersion Tests and Intervals.
Click Run.
From the report shown in Partial Report for a Poisson with Offset Model, notice that all three effects (Type, Yr Made, Yr Used) are significant.
Partial Report for a Poisson with Offset Model

Help created on 9/19/2017