Skip to content

Regression Analysis final exam review

The topics, worked on a live board with an AI tutor.

Units

  1. Simple linear regression

    • The simple linear regression model
    • Least squares estimates
    • Fit and R-squared
    • Interpreting the fitted line

    Practice

    Find the observed midpoint of the 8-hour scores, 78 and 82 points.Answer

    80 points (hint: average the two scores).

    For the same runs, find RSS for ŷ = 2 + x.Answer

    6

    Hint: Find the four fitted values before subtracting

  2. Inference in simple regression

    What exams ask

    A fitted slope is one draw from a sampling distribution; its mean and spread are what every standard error, test and interval in regression is built from.

    Every regression output prints an ANOVA table; it is also the form that carries over to many predictors, where single t tests no longer answer whether the model helps at all.

    • Sampling properties of the estimators
    • Tests and intervals for the slope
    • Confidence and prediction intervals
    • ANOVA for regression

    Practice

    A fourth month gives b₁ = 1.32. Is that evidence the true slope changed?Answer

    No; slopes vary from month to month around 1.5 even when nothing changes

    Hint: Compare with the three fits in the picture

    With b₁ = 0.8, s = 2 and Sxx = 25, find SE(b₁) and t for β₁ = 0.Answer

    SE = 0.4, t = 2

    Hint: SE = s/√Sxx

  3. Residual diagnostics

    What exams ask

    Every test and interval in regression assumes the model is right; a residual plot is the fastest way to see when it is not, often when R² looks fine.

    The t and F tests and every prediction interval assume independent normal errors; data collected over time, the usual case in business, often break independence.

    • Residual plots
    • Checking normality and independence
    • Outliers, leverage and influence

    Practice

    A residual plot's points lie between −2 and 2 with no pattern. What does that suggest?Answer

    The straight-line model with constant variance looks adequate

    Hint: Random scatter around 0

    What normal quantile pairs with the smallest of 10 residuals?Answer

    z with Φ(z) = 0.05, about −1.645

    Hint: (1 − 0.5)/10

  4. Multiple regression in matrix form

    • The model in matrix form
    • Normal equations and the OLS solution
    • The hat matrix and residuals
    • Inference for coefficients

    Practice

    Write row 3 of X and row 3 of y = Xβ + ε.Answer

    (1, 3, 4); 5 = β₀ + 3β₁ + 4β₂ + ε₃

    Hint: Week 3 has x₁ = 3, x₂ = 4, y = 5

    For S(b) = 50 − 40b + 10b², find the minimizing b and the minimum.Answer

    b = 2, S = 10

    Hint: S′(b) = −40 + 20b

  5. Interpreting multiple regression

    What exams ask

    Questions such as "does curvature help?" or "do the region dummies matter?" involve several coefficients at once; one F test answers them without the inflated error of many t tests.

    • Coefficients as partial effects
    • Omitted variable bias
    • Added-variable plots
    • Comparing nested models

    Practice

    Weeks 6 and 8 both had one promotion. What slope do they suggest for ads?Answer

    (14 − 11)/(8 − 6) = 1.5 per unit

    Hint: Same promotions, different ads

    A study of ice-cream sales and drownings omits temperature. Which two conditions make the bias?Answer

    Temperature raises drownings (β₂ ≠ 0) and goes with ice-cream sales (δ ≠ 0)

    Hint: Name both arrows

  6. Categorical predictors and interactions

    • Indicator variables
    • Interaction terms
    • Analysis of covariance

    Practice

    Seasons with winter as baseline: code a summer observation.Answer

    Dspring = 0, Dsummer = 1, Dautumn = 0

    Hint: k − 1 = 3 indicators

    Separate fits give slopes 2.4 and 4.4 points per hour. What does that say about the common slope 3.4?Answer

    It averages the two and fits neither group

    Hint: 3.4 is between them

  7. Model selection

    What exams ask

    With k candidate predictors there are 2ᵏ models; search procedures make the choice feasible, but the search itself changes what the final p-values mean.

    Training error always flatters the bigger model; error on data the model never saw is the honest test of a predictive model, and it needs no distributional assumptions.

    • Criteria for comparing models
    • Best subsets and stepwise selection
    • Cross-validation

    Practice

    Compute adjusted R² for x₁ alone, SSE = 195.14 with p = 2.Answer

    1 − (195.14/18)/(724.7/19) ≈ 1 − 10.84/38.14 ≈ 0.716

    Hint: n − p = 18

    In the two-predictor row, which model is second best, and how far behind?Answer

    x₁x₄ with SSE 137.61, about 50 more than x₁x₂

    Hint: Compare the six boxes

  8. Multicollinearity

    • What multicollinearity does
    • Variance inflation factors
    • Remedies for multicollinearity

    Practice

    Weeks 6 and 7 both had TV spend 12, with radio 12 and 13. Sales were 29 and 35. What does that suggest, and why is it weak?Answer

    About 6 per unit of radio, but from a single pair of weeks, far too little to estimate an effect

    Hint: One comparison

    An auxiliary regression gives R² = 0.80. Find the VIF and the factor on the standard error.Answer

    VIF = 1/0.2 = 5; SE inflated by √5 ≈ 2.24

    Hint: SE scales with √VIF

  9. Transformations and nonlinearity

    What exams ask

    Unequal error variance leaves least-squares estimates unbiased but makes their standard errors, tests and prediction intervals wrong; fixing it restores honest inference.

    • Log transformations
    • Variance-stabilizing transformations
    • Polynomial and spline terms

    Practice

    Predict the wage for 16 years of schooling.Answer

    e2.049 + 1.250 = e3.299 ≈ 27.1 dollars

    Hint: Predict ln wage first

    Group standard deviations are about 3, 4, 4, 8, 10 and 28 at means 9, 15, 20, 38, 39 and 59. Is the spread closer to proportional to the mean or constant?Answer

    Roughly proportional to the mean, which points to a log transformation

    Hint: Ratio sd over mean

  10. Logistic regression

    What exams ask

    Logistic models have no closed-form least-squares answer; knowing how the fit is found and which test to trust is what makes their output readable.

    • The logistic model
    • Coefficients as odds ratios
    • Fitting and inference
    • Assessing classification

    Practice

    What does the line predict at 12 hours?Answer

    −0.065 + 1.394 ≈ 1.33, an impossible probability

    Hint: Substitute

    Predict the pass probability at 6 hours with review.Answer

    η = −6.139 + 5.646 + 3.207 = 2.714, p̂ ≈ 0.938

    Hint: η first

  11. Regularization

    • Ridge regression
    • The lasso
    • Choosing the penalty

    Practice

    One standardized predictor has ∑zᵢ² = 20 and ∑zᵢyᵢ = 60. Find the ridge slope for λ = 10.Answer

    60/(20 + 10) = 2, shrunk from 3

    Hint: Sxy/(Sxx + λ)

    At λ = 40, which predictors are in the model?Answer

    Fertilizer and irrigation only, with b = 2.880 and 0.893

    Hint: Read the paths at 40

Questions

What does the Regression Analysis review cover?

Every unit of the course, 11 in all. Pick one and Helio teaches it on the board, then asks you questions. Simple linear regression; Inference in simple regression; Residual diagnostics; Multiple regression in matrix form; Interpreting multiple regression; Categorical predictors and interactions; Model selection; Multicollinearity; Transformations and nonlinearity; Logistic regression; Regularization.

Can it help the week before my final?

Yes. Pick a topic, and Helio explains it, checks you and goes over what you miss.

Is it the same as my class?

It follows the usual topics of Regression Analysis. For anything else on your syllabus, type the topic and Helio teaches that too.

How much is free?

30 minutes a month for one learner, with no card. Starter is free for 7 days with a card: cancel in time and pay nothing.

A tutor you can talk to

30 minutes every month. No card.