For a categorical factor with more than 2 levels, the hypothesis for the coefficient is about whether that level of the factor is different from the reference level for the factor. To assess the statistical significance of the factor, use the test for terms with more than 1 degree of freedom. For more information on how to display this test, go to Select the results to display for Nominal Logistic Regression.
95% CI | |||||||
---|---|---|---|---|---|---|---|
Predictor | Coef | SE Coef | Z | P | Odds Ratio | Lower | Upper |
Logit 1: (Math/Science) | |||||||
Constant | -1.12266 | 4.56425 | -0.25 | 0.806 | |||
Teaching Method | |||||||
Explain | -0.563115 | 0.937591 | -0.60 | 0.548 | 0.57 | 0.09 | 3.58 |
Age | 0.124674 | 0.401079 | 0.31 | 0.756 | 1.13 | 0.52 | 2.49 |
Logit 2: (Arts/Science) | |||||||
Constant | -13.8485 | 7.24256 | -1.91 | 0.056 | |||
Teaching Method | |||||||
Explain | 2.76992 | 1.37209 | 2.02 | 0.044 | 15.96 | 1.08 | 234.90 |
Age | 1.01354 | 0.584494 | 1.73 | 0.083 | 2.76 | 0.88 | 8.66 |
DF | G | P-Value |
---|---|---|
4 | 12.825 | 0.012 |
Method | Chi-Square | DF | P |
---|---|---|---|
Pearson | 6.95295 | 10 | 0.730 |
Deviance | 7.88622 | 10 | 0.640 |
In these results, the predictors are teaching method and age. The response is a student's preferred academic subject. Science is the reference level, so the results compare the other subjects to science. At the 0.05 level of significance, you can conclude that changes in teaching method are associated with the probabilities that students prefer art over science.
In the logistic regression table, the comparison outcome is the first outcome after the logit label, and the reference outcome is the second outcome. Positive coefficients make the comparison outcome more likely than the reference outcome as a continuous predictor increases. Also, positive coefficients make the comparison outcome more likely at the comparison level of the categorical predictor than at the reference level of the categorical predictor. For more information, go to All statistics and graphs and click Coef.
Logit 2 compares arts to science. In logit 2, the coefficient for Explain is about 3. Because the value is positive, students are more likely to prefer arts to science when the teaching method is Explain.
To determine how well the model fits the data, examine the log-likelihood. Larger values of the log-likelihood indicate a better fit to the data. Because log-likelihood values are negative, the closer to 0, the larger the value. The log-likelihood depends on the sample data, so you cannot use the log-likelihood to compare models from different data sets.
The log-likelihood cannot decrease when you add terms to a model. For example, a model with 5 terms has higher log-likelihood than any of the 4-term models you can make with the same terms. Therefore, log-likelihood is most useful when you compare models of the same size. To make decisions about individual terms, you usually look at the p-values for the term in the different logits.
95% CI | |||||||
---|---|---|---|---|---|---|---|
Predictor | Coef | SE Coef | Z | P | Odds Ratio | Lower | Upper |
Logit 1: (Math/Science) | |||||||
Constant | 0.287682 | 0.540062 | 0.53 | 0.594 | |||
Teaching Method | |||||||
Explain | -0.575364 | 0.935415 | -0.62 | 0.538 | 0.56 | 0.09 | 3.52 |
Logit 2: (Arts/Science) | |||||||
Constant | -1.79176 | 1.08011 | -1.66 | 0.097 | |||
Teaching Method | |||||||
Explain | 2.48491 | 1.24162 | 2.00 | 0.045 | 12.00 | 1.05 | 136.79 |
DF | G | P-Value |
---|---|---|
2 | 8.959 | 0.011 |
95% CI | |||||||
---|---|---|---|---|---|---|---|
Predictor | Coef | SE Coef | Z | P | Odds Ratio | Lower | Upper |
Logit 1: (Math/Science) | |||||||
Constant | -1.12266 | 4.56425 | -0.25 | 0.806 | |||
Teaching Method | |||||||
Explain | -0.563115 | 0.937591 | -0.60 | 0.548 | 0.57 | 0.09 | 3.58 |
Age | 0.124674 | 0.401079 | 0.31 | 0.756 | 1.13 | 0.52 | 2.49 |
Logit 2: (Arts/Science) | |||||||
Constant | -13.8485 | 7.24256 | -1.91 | 0.056 | |||
Teaching Method | |||||||
Explain | 2.76992 | 1.37209 | 2.02 | 0.044 | 15.96 | 1.08 | 234.90 |
Age | 1.01354 | 0.584494 | 1.73 | 0.083 | 2.76 | 0.88 | 8.66 |
DF | G | P-Value |
---|---|---|
4 | 12.825 | 0.012 |
Method | Chi-Square | DF | P |
---|---|---|---|
Pearson | 6.95295 | 10 | 0.730 |
Deviance | 7.88622 | 10 | 0.640 |
For example, a school administrator wants to assess different teaching methods. The model with teaching method alone has a log-likelihood of about −28.
The model with teaching method and the age of a student has a log-likelihood of about −26. You cannot use the log-likelihood to choose between these two models because the models have different numbers of terms.