Linear models#
The question and the claim#
A linear model specifies a conditional mean that is linear in its coefficients. State the outcome, units, design matrix, and adjustment set before interpreting coefficients. An association or predictive coefficient is not automatically a causal effect.
What you should be able to do#
Specify the scientific target and the observations needed to address it.
Write an interpretation with units and an explicit population. Compare an unadjusted and adjusted association without causal overclaiming.
Explain the assumptions, uncertainty, and limits of your conclusion.
Worked investigation#
Fit reaction time as a function of word frequency and length, interpret coefficients in milliseconds, and inspect fitted values and residuals. The worked notebook is self-contained and uses documented teaching data. Its output is evidence about that example, not a finding about a human population.
Challenge the result#
Polynomial terms remain linear in coefficients but do not ensure independent errors, constant variance, or a correctly specified mean. Repeated trials need special attention. Before running an analysis, predict what this failure would change. After running it, distinguish a software check from a scientific justification.
Practice and verification#
Complete the exercise, then discuss the interpretation questions. Submit a runnable notebook, your assumptions, and a short evidence-based interpretation. The shared analysis workflow defines the reporting and assessment standard.
For AI assistance, first write your own target and expected behavior. Use generated suggestions as candidates, inspect the code or claims, and retain evidence of the checks you performed. The AI analysis guide includes a saved-output activity that requires no account or paid service.
Connection across lessons#
Connect the learning objective to a specified model; the next chapter shows how its coefficients are computed.
Earlier lecture resources#
The recordings and slides below are retained from the earlier course edition and have not been revised. Use the written chapter, revised notebook, and exercise for current definitions and procedures; earlier examples may conflict with the corrections described here.
