Package: RPIV
Title: Residual Prediction Test for Well-Specification of Instrumental
        Variable Models
Version: 1.0.0
Authors@R: 
     person("Cyrill", "Scheidegger",
    email = "cyrill.scheidegger@stat.math.ethz.ch",
    role = c("aut", "cre", "cph"), 
    comment = c(ORCID = "0009-0005-2851-1384"))
Description: A test for the well-specification of the linear instrumental
    variable model. The test is based on trying to predict the residuals of a
    two-stage least-squares regression using a random forest. Details can be
    found in Scheidegger, Londschien and Bühlmann (2025) "A residual prediction
    test for the well-specification of linear instrumental variable models" 
    <doi:10.48550/arXiv.2506.12771>.
URL: https://github.com/cyrillsch/RPIV
License: GPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.3.3
Imports: ranger, stats
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2025-10-14 12:07:48 UTC; scyrill
Author: Cyrill Scheidegger [aut, cre, cph] (ORCID:
    <https://orcid.org/0009-0005-2851-1384>)
Maintainer: Cyrill Scheidegger <cyrill.scheidegger@stat.math.ethz.ch>
Repository: CRAN
Date/Publication: 2025-10-19 13:10:07 UTC
Built: R 4.4.3; ; 2025-11-01 03:27:58 UTC; windows
