Learn R Programming

diagL1 (version 1.0.0)

PIF: Predictive Influence Function

Description

Predictive Influence Function

Usage

PIF(y, x, w, num_cores = 2)

Value

A vector with predictive influence function value for each observation.

Arguments

y

A vector with response variables.

x

A matrix with a single explanatory variable.

w

Explanatory variables vector for z, usually explanatory variables averages.

num_cores

Number of cores you want to use for parallel processing (default = 2).

Details

Please, install and load the "foreach" package to use this function. For more details see Rodrigues (2024).

References

Rodrigues, K. A. S. (2024). Analysis of the adjustment of the L1 regression model. Phd dissertation, University of São Paulo, BR.