Skip to content

robust2sls

Outlier Robust Two-Stage Least Squares Inference and Testing

v0.2.3 · Apr 2, 2026 · GPL-3

Description

An implementation of easy tools for outlier robust inference in two-stage least squares (2SLS) models. The user specifies a reference distribution against which observations are classified as outliers or not. After removing the outliers, adjusted standard errors are automatically provided. Furthermore, several statistical tests for the false outlier detection rate can be calculated. The outlier removing algorithm can be iterated a fixed number of times or until the procedure converges. The algorithms and robust inference are described in more detail in Jiao (2019) <https://drive.google.com/file/d/1qPxDJnLlzLqdk94X9wwVASptf1MPpI2w/view>.

Downloads

653

Last 30 days

5808th

1.9K

Last 90 days

6.5K

Last year

Trend: -0.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies exactci foreach ivreg MASS mathjaxr pracma robust2sls

Version History

new 0.2.3 Mar 10, 2026
updated 0.2.3 ← 0.2.2 diff May 20, 2025
updated 0.2.2 ← 0.2.1 diff Jan 10, 2023
updated 0.2.1 ← 0.2.0 diff Aug 14, 2022
updated 0.2.0 ← 0.1.0 diff Feb 13, 2022
new 0.1.0 Nov 22, 2021