Example of Simple Binary Logistic Regression

A medical researcher wants to know how the dosage level of a new medicine affects the presence of bacteria in adults. The researcher conducts an experiment with 30 patients and 6 dosage levels. For two weeks, the researcher gives one dosage level to 5 patients, another dosage level to another 5 patients, and so on. At the end of the two-week period, each patient is tested to determine whether any bacteria are detected.

Because the data include a binary response and one continuous predictor, the researcher uses a binary fitted line plot to determine whether the dosage of a medicine is related to the presence of bacteria.

  1. Open the sample data, BacteriaMedicine.MTW.
  2. Open the Simple Binary Logistic Regression dialog box.
    • Mac: Statistics > Regression > Simple Binary Logistic Regression
    • PC: STATISTICS > Binary Logistic > Simple Binary Logistic Regression
  3. From the drop-down list, select Response in event/trial format.
  4. In Event name, type No bacteria.
  5. In Number of events, enter No Bacteria.
  6. In Number of trials, enter Trials.
  7. In Predictor, enter Dose (mg).
  8. On the Graphs tab, select Residual plots.
  9. Click OK.

Interpret the results

The p-value for the medicine dosage is less than the significance level of 0.05. These results indicate that the relationship between the dosage of medicine and the presence of bacteria is statistically significant. The binary fitted line plot shows that as the amount of dosage increases, the likelihood that no bacteria is present increases. Furthermore, the odds ratio indicates that for every 1 mg increase in the dosage level, the likelihood that no bacteria is present increases by approximately 38 times. The fitted line plot and the residual plots show that the model fits the data well.
Regression Equation
Response Information
Variable
Value
Count
Event Name
No bacteria
 
 
Deviance Table
Source
DF
Adj Dev
Adj Mean
Chi-Square
P-Value
Dose (mg)
 
 
 
 
 
Model Summary
Deviance R-sq
Deviance R-sq(adj)
AIC
Coefficients
Term
Coef
SE Coef
Z-Value
P-Value
Odds Ratios for Continuous Predictor
 
Odds Ratio
Goodness-of-Fit Tests
Test
DF
Chi-Square
P-Value
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy