Predictive Influence Function
PIF(y, x, w, num_cores = 2)
A vector with predictive influence function value for each observation.
A vector with response variables.
A matrix with a single explanatory variable.
Explanatory variables vector for z, usually explanatory variables averages.
Number of cores you want to use for parallel processing (default = 2).
Please, install and load the "foreach" package to use this function. For more details see Rodrigues (2024).
Rodrigues, K. A. S. (2024). Analysis of the adjustment of the L1 regression model. Phd dissertation, University of São Paulo, BR.