Learn R Programming

ipd (version 0.4.0)

compute_cdf: Empirical CDF of the Data

Description

Computes the empirical CDF of the data.

Usage

compute_cdf(Y, grid, w = NULL)

Value

(list): Empirical CDF and its standard deviation at the specified grid points.

Arguments

Y

(matrix): n x 1 matrix of observed data.

grid

(matrix): Grid of values to compute the CDF at.

w

(vector, optional): n-vector of sample weights.