estimate_iq_ratio: Interquantile ratio

View source: R/statistic_functions.R

estimate_iq_ratioR Documentation

Interquantile ratio

Description

Interquantile ratio

Usage

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

Arguments

dep_var

numeric vector of outcome variable

weights

numeric vector of weights

probs

a vector with probabilities whose range defines the interquantile range

Value

a numeric value indicating the (weighted) interquantile ratio


ddecompose documentation built on May 29, 2024, 5:36 a.m.