Learn R Programming

IADT (version 1.2.1)

Interaction Difference Test for Prediction Models

Description

Provides functions to conduct a model-agnostic asymptotic hypothesis test for the identification of interaction effects in black-box machine learning models. The null hypothesis assumes that a given set of covariates does not contribute to interaction effects in the prediction model. The test statistic is based on the difference of variances of partial dependence functions (Friedman (2008) and Welchowski (2022) ) with respect to the original black-box predictions and the predictions under the null hypothesis. The hypothesis test can be applied to any black-box prediction model, and the null hypothesis of the test can be flexibly specified according to the research question of interest. Furthermore, the test is computationally fast to apply as the null distribution does not require resampling or refitting black-box prediction models.

Copy Link

Version

Install

install.packages('IADT')

Monthly Downloads

138

Version

1.2.1

License

GPL-3

Maintainer

Thomas Welchowski

Last Published

May 14th, 2024

Functions in IADT (1.2.1)

IADT-package

Interaction Difference Test for Prediction Models
pdpEst_mpfr

Partial dependence plot with specific numerical precision
testIAD_mpfr

Model-agnostic interaction difference test for prediction models