Learn R Programming

rifreg (version 1.1.0)

get_rif_mean: Estimate RIF at the Mean

Description

Function to estimate the recentered influence function (RIF) at the mean of a weighted distribution of a dependent variable.

Usage

get_rif_mean(dep_var)

Value

A data frame with one column of length(dep_var) containing the RIF at the mean.

Arguments

dep_var

dependent variable of a distributional function. Discrete or continuous numeric vector.

Examples

Run this code

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