Econometrics: Intro
Notes on Introductory Econometrics for Finance by Tao and Brooks (2019)
variance = [math]\displaystyle{ \sigma^2 = \dfrac{\sum(y_i-\hat{y})^2}{N-1} }[/math]
coefficient of variation = [math]\displaystyle{ CV = \frac{\sigma}{\hat{y}} }[/math]
skewness [math]\displaystyle{ = \dfrac{\frac{1}{N-1}\sum (y_i - \hat{y})^3}{(\sigma^2)^{3/2}} }[/math]
kurtosis [math]\displaystyle{ = \dfrac{\frac{1}{N-1}\sum (y_i - \hat{y})^4}{(\sigma^2)^2} }[/math]
covariance [math]\displaystyle{ = \sigma_{x,y} = \dfrac{\sum(x_i-\hat{x})(y_i-\hat{y})}{N-1} }[/math]
correlation [math]\displaystyle{ = \rho_{x,y} = \dfrac{\sum(x_i-\hat{x})(y_i-\hat{y})}{(N-1)\sigma_x\sigma_y} = \dfrac{\sigma_{x,y}}{\sigma_x \sigma_y} }[/math]
- Pearson's correlation assumes two series are normally distributed. For nonparametric cases, use Spearman's rank correlation:
- Portfolio Theory with Matrix Algebra
[math]\displaystyle{ w \begin{bmatrix} w_1 \\ w_2 \\ \vdots \\ w_N \end{bmatrix} , \quad E(r) = \begin{bmatrix} E(r_1) \\ E(r_2) \\ \vdots \\ E(r_N) \end{bmatrix} }[/math] The expected portfolio return is the weighted average of expected returns, calculated by [math]\displaystyle{ \mathbf{E}(r)^T \mathbf{w} }[/math]
To calculate the variance of returns on portfolio [math]\displaystyle{ P }[/math]. first requires a covariance matrix:
[math]\displaystyle{
V =
\begin{bmatrix}
\sigma_{11} & \sigma_{12} & \cdots & \sigma_{1N} \\
\sigma_{21} & \sigma_{22} & \cdots & \sigma_{2N} \\
\vdots & & & \\
\sigma_{N1} & \sigma_{N2} & \cdots & \sigma_{NN} \\
\end{bmatrix}
}[/math]
Variance of returns on a portfolio: [math]\displaystyle{ V_\text{P} = w^TVw }[/math]