Formulas / Maths Flashcards
How to calculate standard deviation
Return - Average ^2
Sum
Divide by N-1
Square Root
How to calculate covariance?
ReturnX - AverageX
ReturnY - AverageY
Multiply the products together
Sum
Divide by N-1
Calculate a stock’s beta
Given Covariance and SD
CovarianceSM / SDm^2
Covariance between share and market divided by variance (SD squared)
How to annualise a figure
Returns over multiple years
((V1/V0)^1/n) -1
How to annualise a figure
Compounds multiple times a year
((V1/V0)^n)-1
How to calculate VaR?
Annualised Return - Confidence Interval * Standard Deviation
How to calculate CVar?
Average of returns that exceed VaR
How do you calculate downside deviation?
For the Sortino Ratio
1) Set a minimum absolute return (e.g. 1, 0 or the Risk free rate)
2) Subtract MAR from all negative returns
3) Square each return
4) Sum the returns
5) Divide returns by (n-1) (this is all counts, not just negative returns)
6) square root
7) Annualise if need be.