Learn R Programming

ddecompose (version 1.0.0)

estimate_iq_range: Interquantile range

Description

Interquantile range

Usage

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

Value

a numeric value indicating the (weighted) interquantile range

Arguments

dep_var

numeric vector of outcome variable

weights

numeric vector of weights

probs

a vector with probabilities whose range defines the interquantile range