The Logistic w Loss.jmp data table in the Nonlinear Examples sample data folder has an example for fitting a logistic regression using a loss function. The Y column contains ones for events and zeros for non-events. The Model Y column has the linear model, and the Loss column has the loss function. In this example, the loss function is the negative log-likelihood for each observation, or the negative log of the probability of getting the observed response.
1.
|
2.
|
Select Analyze > Specialized Modeling > Nonlinear.
|
3.
|
4.
|
Figure 12.11 Nonlinear Launch Window
5.
|
Click OK.
|
Figure 12.12 Nonlinear Fit Control Panel
6.
|
Click Go.
|
Figure 12.13 Solution Report