Australian National University · FACULTY OF STATISTICS

BIOL2001 Chap.11 Simple Linear Regression and Model Assumptions

- one subject, every graph, every model, every mark
8 Chapters5-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 11 of 15 · BIOL2001

Simple Linear Regression and Model Assumptions

A line as a model

Part III opens with regression: describing how a response changes with a predictor, or more precisely the conditional distribution of Y given X. The chapter defines the linear model, its response, covariate, intercept, slope and error term, and the method of least squares that chooses the line minimising the sum of squared residuals.

A computed figure fits the line to five lizards' bite forces and shows the residuals, the point of means the line always passes through, and residuals that sum to zero.

Judging the fit and the assumptions

A worked example computes the slope, intercept and R-squared by hand.

The chapter then sets out the four assumptions behind inference, normality, homogeneity, independence and fixed x, with the diagnostic for each; a computed pair of residual plots contrasts an even band with the trumpet shape of heteroscedasticity. It closes with influential points, transformations of the covariate or the response, what linear means for a model, and why regression shows association rather than causation.

In this chapter

What this chapter covers

  • 01

    Regression as a conditional distribution

  • 02

    Response, covariate, intercept, slope and error

  • 03

    Least squares and residuals

  • 04

    Properties of the fitted line

  • 05

    R-squared and Pearson's r

  • 06

    Normality, homogeneity, independence and fixed x

  • 07

    Residual plots and influential points

  • 08

    Transformations and association versus causation

Worked example · free

Fitting bite force against snout length

Q [4 marks]. Five lizards have snout lengths 4, 5, 6, 7 and 8 cm and bite forces 10, 13, 13, 17 and 19 N. Find the least-squares slope and intercept, and R-squared. The practice weighting is assigned by AskSia and is not an official assessment.
Bite force against snout length for five invented lizards, with the least-squares line y = 1.2 + 2.2x.Bite force against snout length for five invented lizards, with the least-squares line y = 1.2 + 2.2x. Dashed segments are the residuals, observed minus fitted; the line passes through the point of means (6, 14.4), and the residuals sum to 0.snout length (cm)bite force (N)3456789610141822(6, 14.4)y = 1.2 + 2.2xresidual −1.4
Bite force against snout length for five invented lizards, with the least-squares line y = 1.2 + 2.2x. Dashed segments are the residuals, observed minus fitted; the line passes through the point of means (6, 14.4), and the residuals sum to 0.
  • 1The means are 6 cm and 14.4 N; Sxy = 22.0 and Sxx = 10.
  • 1Slope = 22.0 / 10 = 2.2 N per cm; intercept = 14.4 − 2.2 × 6 = 1.2 N.
  • 1Residuals are 0, 0.8, −1.4, 0.4 and 0.2, which sum to 0; SSerror = 2.8.
  • 1SStotal = 51.2, so R2 = 1 − 2.8 / 51.2 = 0.945.
The fitted line is bite force = 1.2 + 2.2 × snout length. Each extra centimetre of snout goes with 2.2 N more bite force on average, and the line explains about 94.5% of the variation; the intercept, a lizard with no snout, has no biological reading.
Sia tip — Check two properties as soon as you have the line: it must pass through the point of means, here (6, 14.4), and the residuals must sum to zero.
Glossary

Key terms

Response Variable
The variable a regression model explains, plotted on the vertical axis.
Residual
The difference between an observed value and the value the fitted model predicts.
Coefficient of Determination
R-squared, the share of the variation in the response explained by the model.
Homoscedasticity
Equal spread of the errors for every value of the covariate.
Influential Point
An observation whose removal would change the fitted model substantially.
Extrapolation
Using a fitted model to predict outside the range of the observed covariate values.
FAQ

Simple Linear Regression and Model Assumptions FAQ

What are the four assumptions of a linear regression model?

The errors are normally distributed for each value of x, they have the same variance for every x, the observations are independent, and the covariate is measured without error, or with error small compared with the response. Each assumption has its own diagnostic plot or check.

How do I check homogeneity of variance in a regression?

Plot the residuals against the fitted values. An even horizontal band supports homogeneity, while a spread that widens as the fitted values grow, the trumpet shape, signals heteroscedasticity. The lecture marks this as the most important check and notes violations are common in ecology.

Why can I not read a regression slope as a cause?

A regression finds associations. Reading a coefficient causally needs every relevant covariate measured and included, every relationship modelled correctly, and prior reasoning about how the variables relate. Without those, a slope describes how the response tends to differ, not what changing x would do.

Is a model with x squared still a linear model?

Yes. What makes a model linear is that its parameters enter linearly, so y equal to alpha plus beta times x squared still counts. A model in which a parameter itself is squared does not. Transforming x keeps the model linear, but the slope then refers to the transformed covariate.

Study strategy

Assessment move

Fit one small regression entirely by hand, then reproduce it with lm() and match every number in summary(). For each workshop dataset, plot the data first, fit the model, then work through the residual plots in order. Practise writing one-sentence interpretations of slopes with units, and say when the intercept cannot be interpreted.

When an assumption fails, try one remedy at a time, such as a log transformation of the covariate, refit, and look at the residual plots again before deciding whether the change helped.

Working through Simple Linear Regression and Model Assumptions in BIOL2001? Sia is AskSia’s AI Statistics tutor — ask any BIOL2001 Simple Linear Regression and Model Assumptions question and get a clear, step-by-step explanation grounded in how BIOL2001 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 46 of your Australian National University subjects - and 1,000+ Bibles across every Australian university.
Sia - your BIOL2001 tutor, unlimited, worked the way the exam marks it
The full 5-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works