Skip to content

wlwangNCKU/R-TMNImoment-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

R-TMNImoment-package

Multivariate Normal/Independent Distributions with Double Truncation This package provides functions related to the multivariate normal/independent (MNI) distributions with double truncations considered in Lin and Wang (2023). The considered MNI distributions contain the multivariate normal (MVN), multivariate t (MVT), multivariate slash (MSL), multivariate contaminated normal (MCN) and multivariate variance-gamma (MVG) distributions. The ‘dmni’ and ‘pmni’ functions calculate the probability density and distribution functions for the MNI distributions. The ‘dtmni’ and ‘ptmni’ calculate the probability density and distribution functions for the truncated MNI distributions, and the ‘rtmni’ function generates random number (vector) from the truncated MNI distributions. The ‘TMNI.moment’ function computes the first two moments of doubly truncated MNI distributions theoretically.

Note: The cubature, mvtnorm, tmvtnorm, invgamma, and Bessel R packages are required.

About

Multivariate Normal/Independent Distributions with Double Truncation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published