Density function for the truncated multivariate Student distribution
This function returns the (log)-density of a matrix x
of observations lying in the interval [lb
, ub
].
dtmvt(x, mu, sigma, df, lb, ub, type = c("mc", "qmc"), log = FALSE, B = 10000)
x
: vector or matrix of quantilesmu
: vector of location parameterssigma
: scale matrixdf
: degrees of freedomlb
: vector of lower truncation limitsub
: vector of upper truncation limitstype
: string, either of mc
or qmc
for Monte Carlo and quasi Monte Carlo, respectivelylog
: logical; if TRUE
, probabilities and density are given on the log scale.B
: number of replications for the (quasi)-Monte Carlo schemetmvt
Useful links