▲ Camp45
Sign inTry free for 7 days

Mathematics: Applications and Interpretation · Topic 4: Statistics and probability

AHL4.13 — Non-linear regression and $R^2$

Mathematics: Applications and Interpretation · SL / HL · syllabus-mapped notes

  1. AIAHL4.13.1

    Least-squares regression with non-linear models

    Fitting quadratic, cubic, exponential, power and sine models on the GDC.

    Full note — free

    Regression is not limited to straight lines. Technology can fit a least squares regression curve of many shapes and give its equation. Models you may meet in examinations Linear $y=ax+b$, quadratic $y=ax^2+bx+c$, cubic $y=ax^3+bx^2+cx+d$. Exponential $y=ka^{x}$ (or $y=k\,e^{rx}$), power $y=ax^{b}$, and sine $y=a\sin(bx+c)+d$. Using the GDC Enter the data into two lists, choose the regression type, and read off the coefficients and the fitted equation. Choose the model shape from the scatter of the data and the context, not by trial and error alone. e.g. data that rises with a fixed percentage growth each period suggests an exponential model; data that rises then falls suggests a quadratic. A curved least-squares model against a straight line on the same data; R² measures how much better it fits.

  2. AIAHL4.13.2

    Residuals and the coefficient of determination

    $\mathrm{SS_{res}}$ as a measure of fit and $R^2$ as the proportion of variability explained.

    A residual is the vertical gap between a data point and the fitted curve, $y_i-\hat{y}_i$. Squaring and adding them measures how far the model misses overall. Sum of square residuals $\mathrm{SS_{res}}=\sum (y_i-\hat{y}_i)^2$. A smaller $\mathrm{SS_{res}}$ means a better fit; the least-squares curve is the one …

    Read the full note free for 7 days →

  3. AIAHL4.13.3

    Interpreting and comparing models

    Limitations of $R^2$ and its link to Pearson's $r$ for linear models.

    $R^2$ is useful but must be read with care when choosing between models. Limitations Many factors affect a model's validity, so $R^2$ on its own is not a good way to decide between models. A more flexible model (higher degree) can raise $R^2$ while fitting …

    Read the full note free for 7 days →

This topic has 3 full notes in Camp45 — with flashcards, a quiz and Sherpa, the AI tutor, on every one. Try 7 days free →
Sherpa, your Camp45 mountain guide
Hi, I'm Sherpa — your IB mountain guide.
I take you from your material to the syllabus summit. Ask me anything, hand me your essay or your notes — I'll turn it into your system.
💬
Ask me anything
Any of the 26 subjects — I answer from the syllabus.
📝
Essay check
I grade your draft and flag what reads like AI.
📄
Upload your notes
Handout or textbook page → your own syllabus map.
🃏
Flashcards & decks
I turn any topic into a deck you can drill.
3 of 3 free questions — no sign-up.
📝 Check your essay before you hand it in
Sherpa grades it against the IB criteria and flags passages that read like AI — so you can fix them first.

Full notes + a tutor. Every subject, one payment.

Camp45 turns the syllabus into notes that give you exactly what the exam asks — so you study smarter, not harder.

Monthly

€19/mo

All the notes, cancel anytime

Go monthly
Most popular

Full-year access

€149

Every subject, paid once

Get full-year access

Both diploma years

€229

Both years, paid once

Get both years

Syllabus-exact notes

Every understanding statement written out in full — nothing more than the exam asks, nothing left out.

A tutor that answers from the syllabus

Ask anything and it answers from the exact points you are studying.

Every subject, one payment

All 26 IB subjects, SL & HL, covered by a single payment — no per-subject fees.

No credit card. Try the free Biology preview before you commit.