qstepcdf: Inverse function of empirical cumulative distribution...

View source: R/synthData.R

qstepcdfR Documentation

Inverse function of empirical cumulative distribution function (ecdf)

Description

Inverse function of empirical cumulative distribution function (ecdf)

Usage

qstepcdf(p, empf, interval, tol = 0.001, maxiter = 100)

Arguments

p

probability (between 0 and 1)

empf

empirical cdf or any quantile function.

interval

find a solution only within this interval. a vector containing two end points of the interval.

tol

the desired accuracy (convergence tolerance).

maxiter

the maximum number of iterations for uniroot.all.

Examples

### This is an internal function used in synthData_from_ecdf.

GraceYoon/SPRING documentation built on June 29, 2022, 4:14 p.m.