Skip to content
All library documents

Using Polynomial Market Returns in CAPM Regressions for Higher Moments

Article Quant Q&A · Author: Hugo Honorem

Summary

The document asks how to extend a standard CAPM regression to include squared and cubed market excess returns, which are intended to capture exposure associated with higher moments. The answer confirms that these terms can be included as additional regressors in an ordinary linear model, either by creating the powered variables first or by expressing powers within the model formula. The regression coefficients are then estimated using the usual multiple regression procedure.

It cautions that these fitted coefficients are not automatically the same as the stated systematic skewness or kurtosis formulas. Polynomial regressors involve their own covariance and variance relationships, and the powers are not centered in the example. The answer notes that the proposed formulas resemble co-skewness and co-kurtosis concepts but are not identical on closer inspection. Thus, adding powers is a valid way to fit the specified polynomial regression, but interpreting its coefficients as particular higher moment exposures requires careful definitions and modeling choices.

Key ideas

  • Squared and cubed market excess returns can be added as regressors in a linear model.
  • The polynomial regression coefficients are estimated by ordinary multiple regression.
  • The coefficient on a powered regressor is tied to its covariance and variance in the regression design.
  • Polynomial regression coefficients do not automatically equal systematic skewness or kurtosis measures.
  • Centering choices and precise higher moment definitions matter for interpreting the fitted coefficients.

Tags

Full text
# Fit linear model to higher moments of CAPM


# Fit linear model to higher moments of CAPM












How can one fit a linear model to the higher moments of CAPM in R? Fitting a linear model to the second moment (classical CAPM) would be `lm(stock~market, data=example)` $$R_{i,t} - R_{f,t} = \alpha_i + \beta_i(R_{M,t}-R_{f,t}) + \epsilon_t \tag{2nd}$$

But how would one fit a linear model to third and fourth moment of CAPM?

$$R_{i,t}-R_{f,t} = \alpha_i + \beta_i(R_{m,t}-R_{f,t})+\gamma_i(R_{m,t}-R_{f,t})^2 \tag{3rd}$$ $$R_{i,t}-R_{f,t} = \alpha_i + \beta_i(R_{m,t}-R_{f,t})+\gamma_i(R_{m,t}-R_{f,t})^2+\delta_i(R_{m,t}-R_{f,t})^3 \tag{4th}$$

Where the $\beta_i$ is systematic variance, $\gamma_i$ is systematic skewness and $\delta_i$ is systematic kurtosis calculated as follows, $\beta_i = Cov(R_i,R_m)/E[(R_m-E(R_m))^2] =Cov(R_i,R_m)/Var(R_m)$ ,$\gamma_i = Cov(R_i,R_m^2)/E[(R_m-E(R_m))^3]$, $\delta_i = Cov(R_i,R_m^3)/E[(R_m-E(R_m))^4]$

I have tried squaring the market excess returns and fitting a linear model as follows

```
market2 <- market^2
lm(stock~market+market2, data=example)
market3 <- market^3
lm(stock~market+market2+market3, data=example)
```

This could be right but I doubt it, it's hard to check. Any ideas about this?

## Answer by Richi Wa (score 1)

https://quant.stackexchange.com/a/18947

The R code is correct. You could also use the `I()` operator. You can look here on page 53. The code then would be

```
lm(stock~market+I(market^2)+I(market^3), data=example)
```

EDIT: going more into detail:

Doing the above you define regressors $market^2$ and $market^3$. The coefficients will be calculated the usual way (covariance of response with the regressors over variance of regressors .. in the matrix sense if needed).

In the univariate case you get $$ R_i = \beta R_M^2 + \epsilon $$ with $$ \beta = cov(R_i,R_M^2)/var(R_M^2). $$ Plugging in definitions we get $$ \beta = E[(R_i-E[R_i])(R_M^2-E[R_M^2])]/E[(R_M^2-E[R_M^2])^2]. $$ Note that the term $E[R_M^2]$ will be close to $VAR(R_M)$. Thus the terms that appear are related to what you write but using the definitions we see that they are different. Your definitions look similar to the concepts of co-skewness and cokurtosis - but careful inspections again show that they are different.

Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.