powered by
Function to estimate the recentered influence function (RIF) at the mean of a weighted distribution of a dependent variable.
get_rif_mean(dep_var)
A data frame with one column of length(dep_var) containing the RIF at the mean.
length(dep_var)
dependent variable of a distributional function. Discrete or continuous numeric vector.
dep_var <- c(1, 3, 9, 16, 3, 7, 4, 9) get_rif_mean(dep_var)
Run the code above in your browser using DataLab