apaVaR.Normal.FromConstituents(Weights, Returns, ConfidenceLevel, IsSampleOtherwisePopulation)
=apaVaR.Normal.FromConstituents(Weights, Returns, ConfidenceLevel, IsSampleOtherwisePopulation)Result
Returns the ex ante parametric normal value at risk (VaR) of a portfolio, calculated from constituent weights and returns.
Syntax
Weights: 1 x n vector of constituent weights
Returns: r x n matrix of constituent returns, each column containing a time series
ConfidenceLevel: confidence level, e.g. 0.95.
IsSampleOtherwisePopulation: optional; TRUE for sample volatility (division by n-1), FALSE for population volatility (division by n); default: FALSE
Algorithm
qα is the α-quantile of the standard normal distribution, α = 1 − ConfidenceLevel. Losses are reported as negative numbers.
Remarks
The volatility is the sample (denominator n − 1) or population (denominator n) standard deviation, set by IsSampleOtherwisePopulation; default: population.
