We have 2 types of Beta distributions, namely, Type 1 and Type 2.
Like other functions, dmxbeta1 and dmxbeta2 are
to evaluate densities, while rmxbeta1 and rmxbeta2 generate
random samples accordingly to the model provided.
Usage
dmxbeta1(X, a, b)
dmxbeta2(X, a, b)
rmxbeta1(n, p, a, b, S)
rmxbeta2(n, p, a, b)
Arguments
X
a (p-by-p) matrix whose density be computed.
a
positive real number > (p-1)/2.
b
positive real number > (p-1)/2.
n
the number of samples to be generated.
p
the dimension for sample matrix.
S
a (p-by-p) covariance matrix required for Type 1 Beta sampling.