class: center, middle, inverse, title-slide .title[ # Interpreting linear models (2) ] .author[ ### Yue Jiang ] .date[ ### STA 440 / Spring 2025 ] --- ### Classroom entry code <br><br><br><br> .center[ **Z32ZJ8** ] .center[(put in your GitHub username; our first lab is this week!)] --- ### Example 3 <img src="img/flourish-orig.png" width="100%" style="display: block; margin: auto;" /> .question[ Using only this table from the article, what do you think was/were the primary question/s of interest for this article? ] --- ### Example 3 <img src="img/flourish.png" width="100%" style="display: block; margin: auto;" /> .question[ Do you see any mistakes in the table as written? (hint: there are two!) ] --- ### Example 3 <img src="img/flourish.png" width="100%" style="display: block; margin: auto;" /> .question[ Write a "generic" model featuring a linear predictor and the logistic model displayed in the slides (for one of the three models). ] --- ### Example 3 <img src="img/flourish.png" width="100%" style="display: block; margin: auto;" /> .question[ Interpret the (adjusted) odds ratio corresponding to age and family meal `\(\ge\)` 4 d/wk for the "regular bedtime" model and the associated 95% confidence intervals. What might you conclude? ] --- ### Example 3 <img src="img/flourish.png" width="100%" style="display: block; margin: auto;" /> .question[ Suppose the reference group for the federal poverty level variable were actually "below poverty level." What would the associated adjusted odds ratio and 95% confidence interval for $\ge$400% be for the "flourishing" model? If this cannot be determined, explain why not. ] --- ### Example 3 <img src="img/flourish-orig-2.png" width="100%" style="display: block; margin: auto;" /> .question[ Suppose the researchers forgot to use `glm` and simply used `lm` (on the 0/1 outcome). Are these results interpretable? If so, do so (for the same variables, age and family meal), and if not, explain why not. ]