Statistics and Mechanics Year 2, chapter 1 (Regression, correlation and hypothesis testing), section 1.1
Non-linear models
Two common models can be changed into linear form by taking logarithms:
- Exponential: becomes .
- Power: becomes .
If a scatter diagram of against (or ) looks linear, the model is a good fit.
Using regression on the coded data
- Code the data: use (and for a power model).
- Find the regression line on a calculator.
- Decode: for the exponential model, and (if you used base 10).
Worked example
Data on the number of bacteria after hours give a regression line .
So . The initial number is about , and the number triples each hour.
Interpreting
- is the value of when .
- is the growth factor per unit of . For , the value grows by each time period.
Which model?
A plot of against that is straight suggests an exponential model. A plot of against that is straight suggests a power model.
Predictions
Predictions within the range of the data are more reliable. Extrapolating an exponential model can give unrealistic values.
Common mistake: decoding incorrectly. The intercept of the coded line is , so , not the intercept itself. Also, the gradient of the coded line is , so .
Exam tip: say which pair of variables you plotted and why, such as " against is linear, so the model is suitable". State and and interpret them in context.
Check yourself
What do you plot for the model ?
against .
If , find .
.
What does mean in ?
grows by for each unit increase in .