mvn_sup | R Documentation |
mvn_sup
simulates the distribution of the supremum of the specified
multivariate normal distribution by drawing repeatedly from the multivariate
normal distribution and calculating the maximum of each vector.
mvn_sup(n, mu, Sigma, seed = NULL)
n |
An integer determining the number of draws from the multivariate normal distribution. |
mu |
A numeric vector representing the mean of the multivariate normal distribution. |
Sigma |
A numeric matrix representing the variance-covariance matrix of the mutlivariate normal distribution. |
seed |
An integer setting the random seed or |
mvn_sup
returns a vector of suprema of length n
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.