{
  "_id": "6a1f2558b401979e73421255",
  "Package": "robust2sls",
  "Type": "Package",
  "Title": "Outlier Robust Two-Stage Least Squares Inference and Testing",
  "Version": "0.2.3.9000",
  "Authors@R": "person(\"Jonas\", \"Kurle\", email = \"mail@jonaskurle.com\", \nrole = c(\"aut\",\"cre\"), comment = c(ORCID = \"0000-0003-2197-2012\"))",
  "Description": "An implementation of easy tools for outlier robust\ninference in two-stage least squares (2SLS) models. The user\nspecifies a reference distribution against which observations\nare classified as outliers or not. After removing the outliers,\nadjusted standard errors are automatically provided.\nFurthermore, several statistical tests for the false outlier\ndetection rate can be calculated. The outlier removing\nalgorithm can be iterated a fixed number of times or until the\nprocedure converges. The algorithms and robust inference are\ndescribed in more detail in Jiao (2019)\n<https://drive.google.com/file/d/1qPxDJnLlzLqdk94X9wwVASptf1MPpI2w/view>.",
  "URL": "https://github.com/jkurle/robust2sls",
  "BugReports": "https://github.com/jkurle/robust2sls/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "RdMacros": "mathjaxr",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://jkurle.r-universe.dev",
  "Date/Publication": "2025-05-21 10:20:46 UTC",
  "RemoteUrl": "https://github.com/jkurle/robust2sls",
  "RemoteRef": "HEAD",
  "RemoteSha": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 06:16:48 UTC",
    "User": "root"
  },
  "Author": "Jonas Kurle [aut, cre] (ORCID: <https://orcid.org/0000-0003-2197-2012>)",
  "Maintainer": "Jonas Kurle <mail@jonaskurle.com>",
  "MD5sum": "43771a72d47e16a62436098e5fe9063e",
  "_user": "jkurle",
  "_type": "src",
  "_file": "robust2sls_0.2.3.9000.tar.gz",
  "_fileid": "46423c9ef9b117051dd27333f4b788da04094cd7f7dc994968e5cb3554ab8589",
  "_filesize": 615314,
  "_sha256": "46423c9ef9b117051dd27333f4b788da04094cd7f7dc994968e5cb3554ab8589",
  "_created": "2026-05-16T06:16:48.000Z",
  "_published": "2026-06-02T18:47:52.463Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79146902745,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031136877"
    },
    {
      "job": 79146903423,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031137493"
    },
    {
      "job": 79146903409,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031184551"
    },
    {
      "job": 79146903193,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031184802"
    },
    {
      "job": 79146901770,
      "time": 309,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031121718"
    },
    {
      "job": 79146902193,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366881884"
    },
    {
      "job": 79146902516,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031132121"
    },
    {
      "job": 79146902902,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031131767"
    },
    {
      "job": 79146902948,
      "time": 84,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031130973"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jkurle/robust2sls",
  "_commit": {
    "id": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
    "author": "Jonas Kurle <56522916+jkurle@users.noreply.github.com>",
    "committer": "Jonas Kurle <56522916+jkurle@users.noreply.github.com>",
    "message": "Increment version number to 0.2.3.9000\n",
    "time": 1747822846
  },
  "_maintainer": {
    "name": "Jonas Kurle",
    "email": "mail@jonaskurle.com",
    "orcid": "0000-0003-2197-2012"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "exactci",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "ivreg",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "datasets",
      "role": "Suggests"
    },
    {
      "package": "doFuture",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "doRNG",
      "role": "Suggests"
    },
    {
      "package": "future",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "grDevices",
      "role": "Suggests"
    },
    {
      "package": "ivgets",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    }
  ],
  "_owner": "jkurle",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.2.3",
      "date": "2025-05-20"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "jkurle",
      "count": 457,
      "uuid": 56522916
    }
  ],
  "_userbio": {
    "uuid": 56522916,
    "type": "user",
    "name": "Jonas Kurle"
  },
  "_downloads": {
    "count": 221,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/robust2sls"
  },
  "_devurl": "https://github.com/jkurle/robust2sls",
  "_searchresults": 18,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/robust2sls.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jkurle/robust2sls",
  "_realowner": "jkurle",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-11-23"
    },
    {
      "version": "0.2.0",
      "date": "2022-02-14"
    },
    {
      "version": "0.2.1",
      "date": "2022-08-15"
    },
    {
      "version": "0.2.2",
      "date": "2023-01-14"
    },
    {
      "version": "0.2.3",
      "date": "2025-05-20"
    }
  ],
  "_exports": [
    "beta_hausman",
    "beta_inf",
    "beta_inf_correction",
    "beta_t",
    "beta_test_avar",
    "case_resampling",
    "count_indices",
    "counttest",
    "estimate_param",
    "estimate_param_null",
    "evaluate_boot",
    "extract_boot",
    "extract_formula",
    "gauge_avar",
    "gauge_covar",
    "generate_data",
    "generate_param",
    "globaltest",
    "iis_init",
    "mc_grid",
    "multi_cutoff",
    "mvn_sup",
    "nonmissing",
    "nonparametric",
    "nonparametric_resampling",
    "outlier",
    "outlier_detection",
    "outliers",
    "outliers_prop",
    "proptest",
    "robustified_init",
    "saturated_init",
    "selection_iis",
    "simes",
    "sumtest",
    "suptest",
    "user_init",
    "validate_robust2sls",
    "varrho"
  ],
  "_help": [
    {
      "page": "robust2sls-package",
      "title": "robust2sls: A package for outlier robust 2SLS inference and testing",
      "topics": [
        "robust2sls-package",
        "robust2sls"
      ]
    },
    {
      "page": "beta_hausman",
      "title": "Calculates a Hausman test on the difference between robust and full sample estimates",
      "topics": [
        "beta_hausman"
      ]
    },
    {
      "page": "beta_inf",
      "title": "Calculates valid se for coefficients under H0 of no outliers",
      "topics": [
        "beta_inf"
      ]
    },
    {
      "page": "beta_inf_correction",
      "title": "Calculates the correction factor for inference under H0 of no outliers",
      "topics": [
        "beta_inf_correction"
      ]
    },
    {
      "page": "beta_t",
      "title": "Conducts a t-test on the difference between robust and full sample estimates",
      "topics": [
        "beta_t"
      ]
    },
    {
      "page": "beta_test_avar",
      "title": "Calculates the asymptotic variance of the difference between robust and full sample estimators of the structural parameters",
      "topics": [
        "beta_test_avar"
      ]
    },
    {
      "page": "case_resampling",
      "title": "Uses nonparametric case resampling for standard errors of parameters and gauge",
      "topics": [
        "case_resampling"
      ]
    },
    {
      "page": "count_indices",
      "title": "Counts the number of times each index was sampled",
      "topics": [
        "count_indices"
      ]
    },
    {
      "page": "counttest",
      "title": "Count test",
      "topics": [
        "counttest"
      ]
    },
    {
      "page": "estimate_param",
      "title": "Estimation of moments of the data",
      "topics": [
        "estimate_param"
      ]
    },
    {
      "page": "estimate_param_null",
      "title": "Estimation of moments of the data",
      "topics": [
        "estimate_param_null"
      ]
    },
    {
      "page": "evaluate_boot",
      "title": "Evaluate bootstrap results",
      "topics": [
        "evaluate_boot"
      ]
    },
    {
      "page": "extract_boot",
      "title": "Extracts bootstrap results for a specific iteration",
      "topics": [
        "extract_boot"
      ]
    },
    {
      "page": "gauge_avar",
      "title": "Asymptotic variance of gauge",
      "topics": [
        "gauge_avar"
      ]
    },
    {
      "page": "gauge_covar",
      "title": "Asymptotic covariance of gauge",
      "topics": [
        "gauge_covar"
      ]
    },
    {
      "page": "generate_data",
      "title": "Random data of 2SLS model (Monte Carlo)",
      "topics": [
        "generate_data"
      ]
    },
    {
      "page": "generate_param",
      "title": "Parameters of 2SLS model (Monte Carlo)",
      "topics": [
        "generate_param"
      ]
    },
    {
      "page": "globaltest",
      "title": "Global test correcting for multiple hypothesis testing",
      "topics": [
        "globaltest"
      ]
    },
    {
      "page": "iis_init",
      "title": "Impulse Indicator Saturation (IIS initial estimator)",
      "topics": [
        "iis_init"
      ]
    },
    {
      "page": "mc_grid",
      "title": "Monte Carlo simulations parameter grid",
      "topics": [
        "mc_grid"
      ]
    },
    {
      "page": "multi_cutoff",
      "title": "Multiple models, varying cut-off",
      "topics": [
        "multi_cutoff"
      ]
    },
    {
      "page": "mvn_sup",
      "title": "Multivariate normal supremum simulation",
      "topics": [
        "mvn_sup"
      ]
    },
    {
      "page": "nonparametric",
      "title": "Create indices for nonparametric bootstrap",
      "topics": [
        "nonparametric"
      ]
    },
    {
      "page": "nonparametric_resampling",
      "title": "Nonparametric resampling from a data frame",
      "topics": [
        "nonparametric_resampling"
      ]
    },
    {
      "page": "outlier",
      "title": "Outlier history of single observation",
      "topics": [
        "outlier"
      ]
    },
    {
      "page": "outlier_detection",
      "title": "Outlier detection algorithms",
      "topics": [
        "outlier_detection"
      ]
    },
    {
      "page": "outliers",
      "title": "Number of outliers",
      "topics": [
        "outliers"
      ]
    },
    {
      "page": "outliers_prop",
      "title": "Proportion of outliers",
      "topics": [
        "outliers_prop"
      ]
    },
    {
      "page": "plot.robust2sls",
      "title": "Plotting of standardised residuals and outliers",
      "topics": [
        "plot.robust2sls"
      ]
    },
    {
      "page": "print.robust2sls",
      "title": "Helper of robust2sls class",
      "topics": [
        "print.robust2sls"
      ]
    },
    {
      "page": "proptest",
      "title": "Proportion test",
      "topics": [
        "proptest"
      ]
    },
    {
      "page": "robustified_init",
      "title": "Robustified 2SLS (full sample initial estimator)",
      "topics": [
        "robustified_init"
      ]
    },
    {
      "page": "saturated_init",
      "title": "Saturated 2SLS (split-sample initial estimator)",
      "topics": [
        "saturated_init"
      ]
    },
    {
      "page": "selection_iis",
      "title": "Create selection (non-outlying) vector from IIS model",
      "topics": [
        "selection_iis"
      ]
    },
    {
      "page": "sumtest",
      "title": "Scaling sum proportion test across different cut-offs",
      "topics": [
        "sumtest"
      ]
    },
    {
      "page": "suptest",
      "title": "Supremum proportion test across different cut-offs",
      "topics": [
        "suptest"
      ]
    },
    {
      "page": "user_init",
      "title": "User-specified initial estimator",
      "topics": [
        "user_init"
      ]
    },
    {
      "page": "validate_robust2sls",
      "title": "Validator of robust2sls class",
      "topics": [
        "validate_robust2sls"
      ]
    },
    {
      "page": "varrho",
      "title": "Calculate varrho coefficients",
      "topics": [
        "varrho"
      ]
    }
  ],
  "_readme": "https://github.com/jkurle/robust2sls/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "brio",
    "broom",
    "callr",
    "car",
    "carData",
    "cli",
    "codetools",
    "colorspace",
    "cowplot",
    "cpp11",
    "crayon",
    "Deriv",
    "desc",
    "diffobj",
    "doBy",
    "dplyr",
    "evaluate",
    "exactci",
    "farver",
    "foreach",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "ivreg",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "mathjaxr",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "pracma",
    "praise",
    "processx",
    "ps",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rprojroot",
    "S7",
    "scales",
    "SparseM",
    "ssanv",
    "stringi",
    "stringr",
    "survival",
    "testthat",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "waldo",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "overview.Rmd",
      "filename": "overview.html",
      "title": "Introduction to the robust2sls Package",
      "author": "Jonas Kurle",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Model setup",
        "Outlier detection algorithms",
        "Initial estimator",
        "Reference distribution",
        "Cut-off or probability of outliers",
        "Iteration",
        "Example without outliers",
        "Data generating process (DGP)",
        "Outlier detection",
        "Robustified 2SLS",
        "Saturated 2SLS",
        "Inference under Null hypothesis of no outliers",
        "Testing for difference in coefficient estimates",
        "Example with outliers",
        "Data"
      ],
      "created": "2021-11-14 19:50:43",
      "modified": "2022-07-22 10:36:13",
      "commits": 3
    },
    {
      "source": "monte-carlo.Rmd",
      "filename": "monte-carlo.html",
      "title": "Monte Carlo Simulations",
      "author": "Jonas Kurle",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Step 1: True model",
        "Step 2: Outlier detection algorithm",
        "Step 3: Parameter settings",
        "Step 4: Backend for execution",
        "Parallel loop",
        "Sequential loop"
      ],
      "created": "2021-05-01 15:09:47",
      "modified": "2022-07-22 10:36:13",
      "commits": 7
    },
    {
      "source": "outlier-testing.Rmd",
      "filename": "outlier-testing.html",
      "title": "Outlier Testing",
      "author": "Jonas Kurle",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Artificial Data",
        "Outlier Detection",
        "Outlier Testing",
        "Proportion Test",
        "Count Test",
        "Scaling Sum Test",
        "Scaling Supremum Test"
      ],
      "created": "2022-02-14 09:54:12",
      "modified": "2025-05-20 21:58:22",
      "commits": 3
    }
  ],
  "_score": 4.431363764158987,
  "_indexed": true,
  "_nocasepkg": "robust2sls",
  "_universes": [
    "jkurle"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-05-16T06:19:13.000Z",
      "distro": "noble",
      "commit": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
      "fileid": "22c078b749da08cc8664762c2c1e279df029e1dc10e45fbe626c207c6e04c9e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-05-16T06:19:19.000Z",
      "distro": "noble",
      "commit": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
      "fileid": "770657f1c76e9db595973988f2540cad35fd09e3530df0257fe9c3feaa83389f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-05-16T06:27:29.000Z",
      "commit": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
      "fileid": "decdb398fa7104f25e36ae1ad0faa7342f56ece1830230ac4e0ad462355c23ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-05-16T06:27:31.000Z",
      "commit": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
      "fileid": "551ec5000621a628293269e8f9a3da5517bfbfdad65cb15440f64f5d8b6d3860",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-05-16T06:18:20.000Z",
      "commit": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
      "fileid": "7c01264bb62dfe218cb271766d7eeb45ebd5eec8317aba1f84f93586525a6633",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-05-16T06:18:16.000Z",
      "commit": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
      "fileid": "f7b7031fbb2caa53b1220207bd9527356f063226a972f664383dd283d7bc29e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-05-16T06:18:10.000Z",
      "commit": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
      "fileid": "d6de811ffa5a6057b27a008e0eee7d924588524faa1c0379374523942dde76d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3.9000",
      "date": "2026-06-02T18:47:29.000Z",
      "commit": "1cfbdbe5f5e968f8143295d1449ad4850775b166",
      "fileid": "9655e7551854c68057bb5ed81082a6ea3bac1fceb0e2e8a363280b085eb2ec3b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jkurle/actions/runs/25954686611"
    }
  ]
}