
<!-- README.md is generated from README.Rmd. Please edit that file -->

# R Package “robust2sls”

<!-- badges: start -->

[![Codecov test
coverage](https://codecov.io/gh/jkurle/robust2sls/branch/master/graph/badge.svg)](https://app.codecov.io/gh/jkurle/robust2sls?branch=master)
[![](https://www.r-pkg.org/badges/version/robust2sls?color=blue)](https://cran.r-project.org/package=robust2sls)
[![R-CMD-check](https://github.com/jkurle/robust2sls/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jkurle/robust2sls/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

The goal of robust2sls is to provide easy-to-use tools for
outlier-robust inference and outlier testing in two-stage least squares
(2SLS) models.

## Installation

You can install the released version from
[CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("robust2sls")
```

You can install the development version from
[GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("jkurle/robust2sls")
```

## Introduction

For a detailed introduction to the model framework, the different
trimmed 2SLS algorithms, and examples, see the vignette *Introduction to
the robust2sls Package*.

``` r
utils::vignette("overview", package = "robust2sls")
```
