Skip to content

FRM Part I · FRM Exam Part I · Machine Learning and Prediction

A single standardized predictor has OLS coefficient 0.80 with sum of x squared equal to 50. The LASSO objective is (1/2) times the sum of squared residuals plus lambda times the absolute coefficient. The LASSO solution is the soft-threshold of the OLS estimate: sign(b) times max(|b| - lambda/Sxx, 0). Consider lambda = 20, then lambda = 50. What are the LASSO coefficients, respectively?

The coefficients are 0.40 and 0.00. Soft-thresholding subtracts lambda divided by the sum of x squared from the OLS magnitude. For lambda 20 the shift is 0.40, giving 0.40; for lambda 50 the shift is 1.00, exceeding 0.80, so the coefficient is truncated to zero.

  1. A0.40 and 0.00Correct
  2. B0.60 and 0.30
  3. C0.40 and -0.20
  4. D0.80 and 0.00

Explanation

Threshold is lambda/Sxx. For lambda=20: 20/50 = 0.40, so the coefficient is 0.80 - 0.40 = 0.40. For lambda=50: 50/50 = 1.00, which exceeds 0.80, so the coefficient is set to 0. A negative value (-0.20) ignores the max with zero, which is the mistake in that distractor.

Did you get it right without looking?

One question tells you little. A timed set on Machine Learning and Prediction shows your real accuracy, how long you take and where you lose marks.

More Machine Learning and Prediction questions