This example uses the Nor.jmp data table, where X is an explanatory variable and Y is the response variable. First, you explore the relationship between X and Y to determine the appropriate link function to use in the Generalized Linear Model personality of the Fit Model platform.
1.
|
2.
|
Select Analyze > Fit Y By X.
|
3.
|
4.
|
Y by X Results for Nor.jmp
You can see that Y varies nonlinearly with X and that the variance is approximately constant. Therefore, a normal distribution with a log link function is appropriate to model these data; that is, log(μi) = xi'β so that μi = exp(xi'β).
5.
|
Select Analyze > Fit Model.
|
6.
|
In the Personality list, select the Generalized Linear Model.
|
7.
|
In the Distribution list, select Normal.
|
9.
|
10.
|
11.
|
Click Run.
|