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.