# Factor Analysis¶

kxy.asset_management.factor_analysis.information_adjusted_beta(r, r_m)

Note

The standard beta coefficient of an asset or a portfolio is defined by the CAPM model

$r = \alpha + r_f + \beta (r_m-r_f) + \epsilon$

where $$r_f$$ is a deterministic risk-free rate, $$r_m$$ represents market returns, and $$\epsilon$$ an idiosyncratic noise term. It follows that

$\beta = \text{Corr}\left(r, r_m\right) \sqrt{\frac{\mathbb{V}\text{ar}\left(r\right)}{\mathbb{V}\text{ar}\left(r_m\right)}},$

where $$\text{Corr}$$ is Pearson’s correlation coefficient.

$\text{IA}\beta = \text{IACorr}\left(\{r\}, \{r_m\}\right) \sqrt{\frac{\mathbb{V}\text{ar}\left(r\right)}{\mathbb{V}\text{ar}\left(r_m\right)}}.$