Description Author(s) Examples
Multivariate Discrete Mixture Distributions
Thibault Vatter, Damien Ackerer
1 2 3 4 5 6 7 8 9 10 11 12 13 | # A 10-dimensional Gaussian factor copula
dfcop <- dfcop_dist(runif(10),"gaussian", 0.5)
str(dfcop_dist(runif(10), "gauss", 0.5))
# Evaluate the probability mass function
ddfcop(cbind(c(1,1,0,0), c(1,0,1,0)), c(0.5, 0.5), "indep")
ddfcop(rbinom(10, 1, 0.5), dfcop)
# Sample data
X <- rdfcop(1e3, dfcop)
# Fit
fit <- dfcop(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.