Description Usage Arguments Value References Examples
View source: R/copulafunctions.R
This function generates the values of a multivariate distribution with given marginals and correlation matrix
1 | rmdistr(n, params, corr, distr)
|
n |
the length of the sample |
params |
a list of D elements corresponding to the matrices corresponding to the parameters: |
corr |
a matrix containing the correlation parameters of the multivariate distribution related to the states of the HMM; |
distr |
a vector containing the distribution for each component, "gaussian" for the normal distribution, "gamma" for the gamma distribution, "exp" for the exponential distribution |
The function returns a n x d matrix
Song, P. X.-K.(2000). Multivariate dispersion models generated from Gaussian copula. Scandinavian Journal of Statistics, 27(2), 305-320.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.