How To Install R-tmvnsim on Fedora 36

In this tutorial we learn how to install R-tmvnsim in Fedora 36. R-tmvnsim is Truncated Multivariate Normal Simulation

Introduction

In this tutorial we learn how to install R-tmvnsim on Fedora 36.

What is R-tmvnsim

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.

We can use yum or dnf to install R-tmvnsim on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-tmvnsim.

Install R-tmvnsim on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install R-tmvnsim using dnf by running the following command:

sudo dnf -y install R-tmvnsim

Install R-tmvnsim on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install R-tmvnsim using yum by running the following command:

sudo yum -y install R-tmvnsim

How To Uninstall R-tmvnsim on Fedora 36

To uninstall only the R-tmvnsim package we can use the following command:

sudo dnf remove R-tmvnsim

R-tmvnsim Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/9eff9933a3bdbad0eb02a43b1fe4e42febcfe7
/usr/lib64/R/library/tmvnsim
/usr/lib64/R/library/tmvnsim/DESCRIPTION
/usr/lib64/R/library/tmvnsim/INDEX
/usr/lib64/R/library/tmvnsim/Meta
/usr/lib64/R/library/tmvnsim/Meta/Rd.rds
/usr/lib64/R/library/tmvnsim/Meta/features.rds
/usr/lib64/R/library/tmvnsim/Meta/hsearch.rds
/usr/lib64/R/library/tmvnsim/Meta/links.rds
/usr/lib64/R/library/tmvnsim/Meta/nsInfo.rds
/usr/lib64/R/library/tmvnsim/Meta/package.rds
/usr/lib64/R/library/tmvnsim/NAMESPACE
/usr/lib64/R/library/tmvnsim/R
/usr/lib64/R/library/tmvnsim/R/tmvnsim
/usr/lib64/R/library/tmvnsim/R/tmvnsim.rdb
/usr/lib64/R/library/tmvnsim/R/tmvnsim.rdx
/usr/lib64/R/library/tmvnsim/help
/usr/lib64/R/library/tmvnsim/help/AnIndex
/usr/lib64/R/library/tmvnsim/help/aliases.rds
/usr/lib64/R/library/tmvnsim/help/paths.rds
/usr/lib64/R/library/tmvnsim/help/tmvnsim.html
/usr/lib64/R/library/tmvnsim/help/tmvnsim.rdb
/usr/lib64/R/library/tmvnsim/help/tmvnsim.rdx
/usr/lib64/R/library/tmvnsim/html
/usr/lib64/R/library/tmvnsim/html/00Index.html
/usr/lib64/R/library/tmvnsim/html/R.css
/usr/lib64/R/library/tmvnsim/html/tmvnsim.html
/usr/lib64/R/library/tmvnsim/libs
/usr/lib64/R/library/tmvnsim/libs/tmvnsim.so

References

Summary

In this tutorial we learn how to install R-tmvnsim on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).