ewcdf: Compute the weighted empirical cumulative distribution

View source: R/ewcdf.R

ewcdfR 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.


RegCombin documentation built on Oct. 16, 2023, 5:07 p.m.

Related to ewcdf in RegCombin...