Compute values of the ECDF for a vector dep_var (i.e. the
empirical probability for each observation in dep_var that a value
in dep_var is smaller or equal).
Usage
compute_weighted_ecdf(dep_var, weights)
Value
the values of ECDF for a vector dep_var.
Arguments
dep_var
dependent variable of a distributional function. Discrete or continuous numeric vector.
weights
numeric vector of non-negative observation weights, hence of same length as dep_var.