Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rtmvt

Random number generator for the truncated multivariate Student distribution.


Description

This function returns a matrix of draws from a multivariate Student distribution truncated on the interval [lb, ub].

Usage

rtmvt(n, mu, sigma, df, lb, ub)

Arguments

n

number of observations

mu

vector of location parameters

sigma

scale matrix

df

degrees of freedom

lb

vector of lower truncation limits

ub

vector of upper truncation limits

See Also


TruncatedNormal

Truncated Multivariate Normal and Student Distributions

v2.2
GPL-3
Authors
Zdravko Botev [aut] (<https://orcid.org/0000-0001-9054-3452>), Leo Belzile [aut, cre] (<https://orcid.org/0000-0002-9135-014X>)
Initial release
2020-05-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.