Regression Quiz
GIFSQ ID: ART-2115
Test your knowledge with this free 20-question Regression quiz from Mathematics & Biostatistics for Food Science, part…
What this quiz covers
Regression is the tool that turns a scatter of measurements into a line, a prediction, and a judgment about whether the line means anything, and this quiz covers it from the simplest straight line to the models food scientists actually use. Simple linear regression models a straight-line relationship, y equals a plus bx, predicting y from x. The slope is the multiplier on x: in y equals 3 plus 2x, the slope is 2, so y rises 2 units per unit increase in x, and the intercept is 3, the predicted y when x equals 0. R squared is the proportion of variation in y explained by the model, from 0 to 1, and a correlation coefficient of minus 0.9 means a strong negative association: as x rises, y falls consistently. Residuals are observed minus predicted values, the model’s errors, and their pattern diagnoses fit.
The second half covers the judgment calls. A high R squared can hide curvature or outliers, so residual plots are checked to confirm the linear model is appropriate. The slope’s p-value tests whether the slope differs from zero, that is, whether x really relates to y. Multiple regression models y from several predictors at once, estimating each one’s effect while holding the others constant. The quiz covers overfitting, a model so complex it fits noise instead of signal, multicollinearity, where predictors correlated with each other destabilize coefficient estimates, and heteroscedasticity, non-constant residual variance that makes standard errors and p-values unreliable. It covers logistic regression for yes or no outcomes like spoiled or not, splitting data into training and validation sets to honestly test predictions and expose overfitting, the risk of extrapolating beyond the data range, and reporting confidence intervals because point predictions without uncertainty mislead.
Regression in food work: calibration, shelf life, and Arrhenius
The food applications close the quiz. In calibration curves, standards of known concentration give a regression line converting instrument signal to concentration: the line turns readings into answers. In sensory shelf-life modeling, liking scores or chemical markers are regressed on storage time to estimate the failure point. And in Arrhenius modeling, plotting the natural log of the rate constant versus one over temperature gives a straight line with slope minus Ea over R, which is how reaction rates at one temperature predict rates at another. The same line-fitting idea serves the lab bench, the shelf-life study, and the kinetics model.
How to use this quiz
Take the 20 questions in order, then read the answer explanations below the quiz. Each explanation names the correct answer and the reason behind it in plain words. If you fit models to food data, use the questions as a checklist before you trust a line: look at the residuals, check the range, and ask whether the model predicts new data or only remembers the old.
Choose how you want to play
A short note: regression in food science
Regression models how one variable depends on another, fitting one straight line, y = a + bx, to predict y from x. Take y = 3 + 2x: the slope is 2, so each unit rise in x lifts y by two. The intercept is 3: the y you predict when x is zero.
R² is the share of variation in y the model explains, from 0 to 1. A correlation of minus 0.9 is a strong negative link. Association is not causation: a third factor may drive both, so causation needs controlled evidence.
Residuals are the gaps between observed and predicted values, and their pattern diagnoses fit. A high R² can hide curvature or outliers, so look at residual plots.
Multiple regression uses several predictors at once, holding the others steady. Logistic regression handles yes-no outcomes, spoiled or not, from predictors. When predictors move together, multicollinearity destabilizes the coefficients. Overfitting means the model memorized noise, not signal. Hold out a validation set to test the model on new observations.
A slope p-value asks whether the slope differs from zero. Do not extrapolate past the data: the line may bend outside the range. Point predictions without uncertainty mislead: show the plausible range. Calibration curves turn signal into concentration using known standards. Zar, Biostatistical Analysis, covers regression.
Takeaway: plot the residuals before you trust R².
Questions and answers
Note: the player shuffles the questions and the answer options on every attempt, so the numbers in the player will not match the numbers in the questions and answers below. Match each answer by its wording.
Question 1: Why check residual plots, not just R²?
Correct answer: High R² can hide curvature or outliers; residuals reveal whether the linear model is appropriate
A high R² can hide curvature, non-constant variance or influential outliers, so residual plots are checked to confirm the linear model is appropriate. Fit statistics summarize; plots diagnose.
Question 2: What does a correlation coefficient r = −0.9 indicate?
Correct answer: Strong negative association, as x rises, y falls consistently
A correlation of −0.9 means a strong negative association: as x rises, y falls consistently. The sign gives direction, the magnitude gives strength.
Question 3: What is logistic regression used for?
Correct answer: Modeling yes/no outcomes (e.g., spoiled/not) as a function of predictors
Logistic regression models yes/no outcomes : spoiled or not, pass or fail : as a function of predictors. It is the tool for binary responses, not continuous ones.
Question 4: Why split data into training and validation sets?
Correct answer: To honestly test whether the model predicts new observations, exposing overfitting
Splitting data into training and validation sets honestly tests whether the model predicts new observations, exposing overfitting. A model judged only on its training data is grading its own homework.
Question 5: What is multiple regression?
Correct answer: Modeling y from several predictors at once (y = a + b₁x₁ + b₂x₂ …)
Multiple regression models y from several predictors at once, estimating each one's effect while holding the others constant. One model, many influences.
Question 6: How do you interpret a regression p-value for the slope?
Correct answer: It tests whether the slope differs from zero, i.e., whether x really relates to y
The slope's p-value tests whether the slope differs from zero : that is, whether x genuinely relates to y. Small p means the relationship is unlikely to be chance.
Question 7: Why is extrapolating beyond the data range risky?
Correct answer: The linear trend may not hold outside observed x, predictions become speculative
Extrapolating beyond the data range is risky because the linear trend may not hold outside the observed x values. Predictions there are speculation, not inference.
Question 8: What is the slope in y = 3 + 2x?
Correct answer: 2, y rises 2 units per unit increase in x
In y = 3 + 2x the slope is 2: each one-unit increase in x raises y by two. The slope is the multiplier on x, not the constant.
Question 9: What is multicollinearity?
Correct answer: Predictors correlated with each other, destabilizing coefficient estimates
Multicollinearity means predictors correlated with each other, which destabilizes coefficient estimates : small data changes swing the coefficients wildly. The model predicts fine but explains poorly.
Question 10: What is R² (coefficient of determination)?
Correct answer: Proportion of variation in y explained by the model, 0 to 1 (or 0, 100%)
R² is the proportion of variation in y explained by the model, ranging 0 to 1. It measures explanatory power, not correctness of the model form.
Question 11: What is overfitting in regression?
Correct answer: A model so complex it fits noise, not signal, great on training data, poor on new data
Overfitting is a model so complex it fits noise instead of signal : brilliant on training data, poor on new data. Complexity without validation is memorization.
Question 12: What is heteroscedasticity?
Correct answer: Non-constant residual variance (e.g., spread growing with x), violating regression assumptions
Heteroscedasticity is non-constant residual variance, for example spread growing with x, violating a regression assumption. Standard errors and p-values become unreliable.
Question 13: In sensory shelf-life modeling, what might be regressed on time?
Correct answer: Liking scores or chemical markers versus storage time to estimate the failure point
In sensory shelf-life modeling, liking scores or chemical markers are regressed on storage time to estimate the failure point. Time is the x; quality loss is the y.
Question 14: What is the difference between correlation and causation?
Correct answer: Correlation is association; causation needs controlled evidence, a third factor may drive both
Correlation is association; causation needs controlled evidence, since a third factor may drive both. Linked is not caused.
Question 15: How is regression used in calibration curves?
Correct answer: Standards of known concentration give a line converting instrument signal to concentration
In calibration curves, standards of known concentration give a regression line converting instrument signal to concentration. The line turns readings into answers.
Question 16: What is the intercept in y = 3 + 2x?
Correct answer: 3, the predicted y when x = 0
In y = 3 + 2x the intercept is 3 : the predicted y when x equals zero. The intercept is the starting point, not the slope.
Question 17: Why report confidence intervals for regression predictions?
Correct answer: Point predictions without uncertainty mislead; intervals show the plausible range
Confidence intervals accompany predictions because point estimates without uncertainty mislead. The interval shows the plausible range.
Question 18: What are residuals?
Correct answer: Observed minus predicted values, the model's errors, whose pattern diagnoses fit
Residuals are observed minus predicted values : the model's errors : and their pattern diagnoses fit. Random scatter is good; structure is a warning.
Question 19: What does simple linear regression do?
Correct answer: Models a straight-line relationship: y = a + bx, predicting y from x
Simple linear regression models a straight-line relationship, y = a + bx, predicting y from x. One predictor, one response, one line.
Question 20: In Arrhenius modeling of reaction rates, what transformation linearizes the relationship?
Correct answer: Plotting ln(k) versus 1/T gives a straight line with slope −Ea/R
Arrhenius rates linearize by plotting ln(k) versus 1/T, giving a straight line with slope −Ea/R. The log transform straightens the exponential.