Density, distribution function, and pseudorandom number generation for the multivariate Bernstein polynomial model, mixture of multivariate beta distributions, with given mixture proportions p=(p0,…,pK−1), given degrees m=(m1,…,md), and support interval.
dmixmvbeta(x, p, m, interval =NULL)pmixmvbeta(x, p, m, interval =NULL)rmixmvbeta(n, p, m, interval =NULL)
Arguments
x: a matrix with d columns or a vector of length d within support hyperrectangle [a,b]=[a1,b1]×⋯×[ad,bd]
p: a vector of K values. All components of p must be nonnegative and sum to one for the mixture multivariate beta distribution. See 'Details'.
m: a vector of degrees, (m1,…,md)
interval: a vector of two endpoints or a 2 x d matrix, each column containing the endpoints of support/truncation interval for each marginal density. If missing, the i-th column is assigned as c(0,1)).
n: sample size
Details
dmixmvbeta() returns a linear combination fm of d-variate beta densities on [a,b], βmj(x)=∏i=1dβmi,ji[(xi−ai)/(bi−ai)]/(bi−ai), with coefficients p(j1,…,jd), 0≤ji≤mi,i=1,…,d, where [a,b]=[a1,b1]×⋯×[ad,bd] is a hyperrectangle, and the coefficients are arranged in the column-major order of j=(j1,…,jd), p0,…,pK−1, where K=∏i=1d(mi+1). pmixmvbeta() returns a linear combination Fm of the distribution functions of d-variate beta distribution.
If all pi's are nonnegative and sum to one, then p
are the mixture proportions of the mixture multivariate beta distribution.