max_Q | R Documentation |
Calculates the quantile of maximum of a multivariate normal random variable, by a Monte Carlo simulation method.
max_Q(covmat, alpha, num_sim = 10^5)
covmat |
covariance matrix of the multivariate normal random variable. |
alpha |
desired upper quantile value. |
num_sim |
number of simulations used to calculate the quantile;
the default is |
(1 - α)th quantile of maximum of a multivariate normal random variable.
covmat <- matrix(c(1, 0.5, 0.5, 1), 2, 2) max_Q(covmat, 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.