How to Install and Uninstall r-cran-tmvnsim Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 07,2024

1. Install "r-cran-tmvnsim" package

Please follow the guidance below to install r-cran-tmvnsim on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install r-cran-tmvnsim

2. Uninstall "r-cran-tmvnsim" package

This tutorial shows how to uninstall r-cran-tmvnsim on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove r-cran-tmvnsim $ sudo apt autoclean && sudo apt autoremove

3. Information about the r-cran-tmvnsim package on Ubuntu 20.10 (Groovy Gorilla)

Package: r-cran-tmvnsim
Architecture: amd64
Version: 1.0-2-1
Priority: optional
Section: universe/gnu-r
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Dirk Eddelbuettel
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 69
Depends: libc6 (>= 2.29), r-base-core (>= 4.0.1-1), r-api-4.0, r-cran-rlang
Filename: pool/universe/r/r-cran-tmvnsim/r-cran-tmvnsim_1.0-2-1_amd64.deb
Size: 19884
MD5sum: 54239981cf0cd83d1d7a9ac4a063bb82
SHA1: 617477370ea2c3f58e1c74cd81973ffbd4172d1f
SHA256: 3e4f16d0b87728100fb5fd6bb0376edc86fb1d74fcd013151f84244f5df329fe
SHA512: 311524540c8f77a10524656b314bd9b79a43c974e067a31fe22dbede417542670e7d318575352033ab68ae3984519ca5f074b5d77a95e6cde373226a350e1a24
Homepage: https://cran.r-project.org/package=tmvnsim
Description-en: GNU R package for truncated multivariate normal simulation
The package offers importance sampling from the truncated
multivariate normal using the GHK (Geweke-Hajivassiliou-Keane)
simulator. Unlike Gibbs sampling which can get stuck in one
truncation sub-region depending on initial values, this package
allows truncation based on disjoint regions that are created by
truncation of absolute values. The GHK algorithm uses simple Cholesky
transformation followed by recursive simulation of univariate
truncated normals hence there are also no convergence issues.
Importance sample is returned along with sampling weights, based on
which, one can calculate integrals over truncated regions for
multivariate normals.
Description-md5: 554229498f085c36f3b3388c48a89755