Learn R Programming

TruncatedNormal (version 2.3)

Truncated Multivariate Normal and Student Distributions

Description

A collection of functions to deal with the truncated univariate and multivariate normal and Student distributions, described in Botev (2017) and Botev and L'Ecuyer (2015) .

Copy Link

Version

Install

install.packages('TruncatedNormal')

Monthly Downloads

2,856

Version

2.3

License

GPL-3

Maintainer

Leo Belzile

Last Published

July 8th, 2024

Functions in TruncatedNormal (2.3)

.cholpermGB

Cholesky matrix decomposition with GB ordering
lnNpr

Calculate log of Gaussian distribution function accurately
tmvnorm

Multivariate truncated normal distribution
dtmvt

Density function for the truncated multivariate Student distribution
rtnorm

Vectorized random number generation from the univariate truncated normal distribution
mvNcdf

Truncated multivariate normal cumulative distribution
mvNqmc

Truncated multivariate normal cumulative distribution (quasi-Monte Carlo)
mvrandn

Truncated multivariate normal generator
mvrandt

Random number generation from multivariate truncated Student distribution
mvTcdf

Truncated multivariate student cumulative distribution
pmvnorm

Distribution function of the multivariate normal distribution for arbitrary limits
norminvp

Normal quantile function (high precision)
qtnorm

Quantile function using the inversion method
mroz

Women wage dataset from Mroz (1987)
tregress

Truncated student generator for Bayesian regression simulation
trandn

Fast truncated normal generator
ptmvt

Cumulative distribution function of the truncated multivariate Student distribution.
pmvt

Distribution function of the multivariate Student distribution for arbitrary limits
ptmvnorm

Cumulative distribution function of the truncated multivariate normal distribution.
mvTqmc

Truncated multivariate student cumulative distribution (QMC version)
rtmvt

Random number generator for the truncated multivariate Student distribution.
rtmvnorm

Random number generator for the truncated multivariate normal distribution.
tnorm

Truncated univariate normal distribution
tmvt

Multivariate truncated Student distribution
Phinv

Quantile of truncated Gaussian
cholperm

Cholesky decomposition for Gaussian distribution function with permutation
TruncatedNormal-package

Truncated Normal Distribution Toolbox
lupus

Latent membranous Lupus Nephritis dataset
.dmvnorm_arma

Multivariate normal density function
.cholpermGGE

Cholesky matrix decomposition with GGE ordering
dtmvnorm

Density function for the truncated multivariate normal distribution
.dmvt_arma

Multivariate Student density function