Learn R Programming

ddecompose (version 1.0.0)

estimate_iq_ratio: Interquantile ratio

Description

Interquantile ratio

Usage

estimate_iq_ratio(dep_var, weights, probs = c(0.1, 0.9))

Value

a numeric value indicating the (weighted) interquantile ratio

Arguments

dep_var

numeric vector of outcome variable

weights

numeric vector of weights

probs

a vector with probabilities whose range defines the interquantile range