ewcdf {RegCombin}R Documentation

Compute the weighted empirical cumulative distribution

Description

Compute the weighted empirical cumulative distribution

Usage

ewcdf(x, weights = rep(1/length(x), length(x)))

Arguments

x

the sample

weights

the associated weights if any. Default is uniform.

Value

a vector containing:

- the weighted empirical cumulative distribution function

- the cumulated weights associated to the ordered values of the random variable.


[Package RegCombin version 0.4.1 Index]