Skip to content

robust2sls

0.2.3

Outlier Robust Two-Stage Least Squares Inference and Testing

0packages depend
5.7Kdownloads / year
6.7%test coverage
13/13checks pass

Overview

About
Maintained by Jonas KurleFirst published 2021-11-235 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 4.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 2.65
6.7%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 235 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
not tracked
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

5.7K
CRAN downloads in the past year
Rank #15,017 · ~16/day · ~473/mo
Daily download trend is not available in this view yet.
19130 days
69390 days
5.7K1 year
Compare downloads with other packages →
Also on99 r2u1 autocran

Repository

Repository
1Stars
0Forks
0Open issues
1Open PRs
7Releases
507Commits
1Contributors
507 commits · Last activity 2026-08-14

Stars over time

2022-08-15 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/jkurle/robust2sls on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.3Latest
    2025-05-21 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.2
    2023-01-11 · diff ↗
  • 0.2.1
    2022-08-15 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.0
    2022-02-14 · diff ↗
  • 0.1.0
    2021-11-23
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-11-23
Total releases
5 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 2.10
Download size
372 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("robust2sls")
Kurle, J. (2026). robust2sls: Outlier Robust Two-Stage Least Squares Inference and Testing (Version 0.2.3) [Computer software]. https://doi.org/10.32614/CRAN.package.robust2sls

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for robust2sls version 0.2.3 [Data set]. HJJB, LLC. Data release v2026-08-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy