How To Install r-cran-clubsandwich on Kali Linux

In this tutorial we learn how to install r-cran-clubsandwich on Kali Linux. r-cran-clubsandwich is GNU R cluster-robust (Sandwich) variance estimators with small-sample

Introduction

In this tutorial we learn how to install r-cran-clubsandwich on Kali Linux.

What is r-cran-clubsandwich

r-cran-clubsandwich is:

Corrections Provides several cluster-robust variance estimators (i.e., sandwich estimators) for ordinary and weighted least squares linear regression models, including the bias-reduced linearization estimator introduced by Bell and McCaffrey (2002) http://www.statcan.gc.ca/pub/12-001-x/2002002/article/9058-eng.pdf and developed further by Pustejovsky and Tipton (2017) DOI:10.1080/07350015.2016.1247004. The package includes functions for estimating the variance- covariance matrix and for testing single- and multiple- contrast hypotheses based on Wald test statistics. Tests of single regression coefficients use Satterthwaite or saddle-point corrections. Tests of multiple-contrast hypotheses use an approximation to Hotelling’s T-squared distribution. Methods are provided for a variety of fitted models, including lm() and mlm objects, glm(), ivreg() (from package ‘AER’), plm() (from package ‘plm’), gls() and lme() (from ’nlme’), robu() (from ‘robumeta’), and rma.uni() and rma.mv() (from ‘metafor’).

There are three methods to install r-cran-clubsandwich on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install r-cran-clubsandwich Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install r-cran-clubsandwich using apt-get by running the following command:

sudo apt-get -y install r-cran-clubsandwich

Install r-cran-clubsandwich Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-cran-clubsandwich using apt by running the following command:

sudo apt -y install r-cran-clubsandwich

Install r-cran-clubsandwich Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install r-cran-clubsandwich using aptitude by running the following command:

sudo aptitude -y install r-cran-clubsandwich

How To Uninstall r-cran-clubsandwich on Kali Linux

To uninstall only the r-cran-clubsandwich package we can use the following command:

sudo apt-get remove r-cran-clubsandwich

Uninstall r-cran-clubsandwich And Its Dependencies

To uninstall r-cran-clubsandwich and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove r-cran-clubsandwich

Remove r-cran-clubsandwich Configurations and Data

To remove r-cran-clubsandwich configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge r-cran-clubsandwich

Remove r-cran-clubsandwich configuration, data, and all of its dependencies

We can use the following command to remove r-cran-clubsandwich configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge r-cran-clubsandwich

Dependencies

r-cran-clubsandwich have the following dependencies:

References

Summary

In this tutorial we learn how to install r-cran-clubsandwich package on Kali Linux using different package management tools: apt, apt-get and aptitude.