Skip to course content
Free R statistics course

Statistical Data Analytics with R

Module 10 Knowledge Check

5 questions. Pass mark 4 out of 5. Answer every question before checking the answer key below, then retry after reading the feedback.

1. Fitting a linear model to a 0/1 outcome can produce…

2. Logistic regression models the log-odds because it…

3. Omitting family = binomial from glm()

4. An odds ratio of 2.58 with an observed rate of 0.533 means…

5. A model scoring 0.949 accuracy on a 5% positive rate while catching 0 of 102 positives shows that…

---

Answer Key and Explanations

Check these only after attempting every question.

1. B — predictions outside [0, 1]

The lesson's linear model predicted -0.065 and -0.471 at longer tenures.

2. B — is unbounded, so a straight line never predicts an impossible probability

Probability is bounded in [0,1] and log-odds runs from minus infinity to plus infinity.

3. B — silently fits a linear model

R will not warn you, and every coefficient is then on a different scale from the one you think.

4. B — the odds are multiplied by 2.58, which overstates the risk ratio

Odds ratios and risk ratios agree only when the outcome is rare, and 0.533 is not rare.

5. B — accuracy is nearly meaningless on imbalanced outcomes

A rule that always predicts the majority class achieves exactly the same accuracy.

Practical Check

Apply this module to your own work: complete the module activity for *Logistic Regression and Binary Outcomes*, then write one sentence naming what your result shows and one naming what it does not.

Strong Answer Pattern

A strong answer names the task, the evidence used, the check performed, and the remaining limitation. It avoids "proved", "guaranteed", or "always" unless the evidence genuinely supports it.