weighted_quantile_inner: Quantile of a Weighted Check Function

View source: R/BMisc.R

weighted_quantile_innerR Documentation

Quantile of a Weighted Check Function

Description

Finds the quantile by optimizing the weighted check function

Usage

weighted_quantile_inner(tau, cvec, weights = NULL, norm = TRUE)

Arguments

tau

between 0 and 1, ex. .5 implies get the median

cvec

a vector to compute quantiles for

weights

the weights, weighted.checkfun normalizes the weights to sum to 1.

norm

normalize the weights so that they have mean of 1, default is to normalize


bcallaway11/BMisc documentation built on Feb. 4, 2025, 10:43 p.m.