Actuarial Notes

Regression Through the Origin

Study guide: Exam MAS-I

Regression Through the Origin is a linear regression fitted with no intercept term, so the fitted response is zero when every explanatory variable is zero. It suits a response that is proportional to its predictor, or a model whose intercept tests as not significantly different from zero.

Y_i = \beta x_i + \varepsilon_i

\hat\beta = \frac{\sum_{i=1}^{n} x_i y_i}{\sum_{i=1}^{n} x_i^2}

\text{Var}(\hat\beta) = \frac{\sigma^2}{\sum_{i=1}^{n} x_i^2}

s^2 = \frac{1}{n - 1}\sum_{i=1}^{n}\left(y_i - \hat\beta x_i\right)^2

  • The errors \varepsilon_i are uncorrelated with mean 0 and variance \sigma^2. \hat\beta is the least-squares slope and is unbiased. s^2 is an unbiased estimate of \sigma^2 on n - 1 degrees of freedom, one more than with an intercept, and a confidence interval for \beta is \hat\beta \pm t_{\alpha/2,\,n - 1}\, s\big/\sqrt{\sum x_i^2}.
  • When to use it: when theory says the response is zero at zero, such as profit at zero sales, or when the intercept in the full model is not significant. Leaving the intercept out can give non-intuitive results: the model then predicts a zero response whenever all the explanatory variables are zero, which may not be sensible. Data far from the origin say nothing about whether the line really runs through it.
  • Residuals: only \sum x_i e_i = 0 holds, so the residuals e_i = y_i - \hat\beta x_i usually have a nonzero mean. The decomposition of \sum(y_i - \bar{y})^2 into regression and residual parts then fails.
  • R-Squared is not comparable. Packages disagree on R^2 without a constant. Some report \sum\hat{y}_i^2 / \sum y_i^2, the share of variation about zero: it is at least as large as the usual R^2 of the same fit and cannot be compared with the R^2 of a model with an intercept. Others apply the usual 1 - \text{SSE}/\sum(y_i - \bar{y})^2, which can then be negative. To choose between the two models, use the intercept's t-test in the full model and the two residual standard errors.
  • With k predictors and no constant, the total, regression and residual sums of squares have n, k and n - k degrees of freedom.
  • A factor is different: dropping the intercept while keeping indicators for all levels of a Categorical Predictor forces nothing through the origin. The indicators add up to the constant column, so the fit is unchanged and each level gets its own intercept.
  • GLMs: with linear predictor \eta = g(\mu) = \mathbf{x}^\top\boldsymbol\beta, a Generalized Linear Model with no intercept has \eta = 0 when every predictor is zero, so \mu = g^{-1}(0) there: 1 under a log link, 0.5 under a logit link.

Fitting Losses Proportional to Premium Five cedants have earned premium x and incurred losses y (both $ millions):

x 10 20 30 40 50
y 10 15 19 29.5 34

Fit y = \beta x, give a 95% confidence interval for \beta, and check whether the residuals sum to zero. Fitted with an intercept, the same data give \hat\beta_0 = 2.75 with standard error 1.95. Is the intercept needed?

Answer \sum x_i y_i = 3{,}850 and \sum x_i^2 = 5{,}500:

\begin{align*}
\hat\beta &= \frac{3{,}850}{5{,}500} \\
&= 0.70
\end{align*}

The fitted values are 7, 14, 21, 28, 35, so the residuals are 3, 1, -2, 1.5, -1. They sum to 2.5, not zero.

\begin{align*}
s^2 &= \frac{9 + 1 + 4 + 2.25 + 1}{5 - 1} \\
&= 4.3125 \\
\text{se}(\hat\beta) &= \sqrt{4.3125/5{,}500} \\
&= 0.0280
\end{align*}

With t_{0.025,\,4} = 2.776 (two-sided area 0.05 in the CAS table), the interval is 0.70 \pm 2.776(0.0280) = 0.70 \pm 0.078, or (0.622,\ 0.778). The slope is the expected loss ratio.

For the intercept, t = 2.75/1.95 = 1.41 on 5 - 2 = 3 df, below the two-sided 5% value 3.182. The intercept is not significant, which supports the no-intercept fit.

The R-Squared Trap Expenses y ($000s) are regressed on policy count x (hundreds) for five offices:

x 10 12 14 16 18
y 48 62 66 80 86

With an intercept the fit is \hat{y} = 2.6 + 4.7x, with SSE 23.60 and R^2 = 0.974; the intercept's t-statistic is 0.41. Through the origin, the software reports R^2 = 0.999. A colleague concludes the no-intercept model fits better. Assess this.

Answer Through the origin, \hat\beta = \sum x_i y_i/\sum x_i^2 = 4{,}976/1{,}020 = 4.878. Its SSE is

\begin{align*}
\text{SSE} &= \sum y_i^2 - \hat\beta^2 \sum x_i^2 \\
&= 24{,}300 - 24{,}275.07 \\
&= 24.93
\end{align*}

This is larger than 23.60, as it must be: dropping a parameter can never lower the SSE. The reported 0.999 is 1 - 24.93/24{,}300, measured about zero. On the usual basis, 1 - 24.93/907.2 = 0.973, just below the intercept model's 0.974.

The colleague's reason is wrong, but the conclusion can stand on valid grounds. The intercept is not significant (t = 0.41). The residual standard error is \sqrt{24.93/4} = 2.50 through the origin against \sqrt{23.60/3} = 2.80 with an intercept, because the no-intercept model keeps one more degree of freedom.