define_dist | R Documentation |
Define a multivariate beta (mbeta) distribution
define_dist(
nu = 1,
mean = 1/2,
corr = 0,
moments = NULL,
gamma = NULL,
vars = length(mean),
varnames = NULL,
groups = 1,
groupnames = NULL,
mode = c("auto", "full", "reduced"),
tol = 0.01,
project = TRUE,
msg = TRUE
)
nu |
|
mean |
|
corr |
|
moments |
|
gamma |
numeric vector, parameter of the underlying Dirichlet distribution. the base 2 logarithm of length(gamma) needs to be an integer and is the dimension of the resulting multivariate Beta distribution. |
vars |
|
varnames |
|
groups |
|
groupnames |
|
mode |
|
tol |
|
project |
|
msg |
|
Mode "full" implies that the full parameter vector gamma is used which results in nonzero mixed moments. In mode "reduced", a sparse representation with 1+m+(m-1)*m/2 parameters is used to model (prior) sample size, mean and covariance / correlation matrix. Per default (mode="auto"), the mode is set to "full" for dimension <= 10 and "reduced" for dimensions >10.
A SIMPle.dist object representing the multivariate Beta distribution with given parameters.
define_dist(vars = 3, nu=10, mean=c(0.9,0.8,0.7), corr=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.