Skip to contents

Performs statistical inference on population cumulative distribution function.

Methods

Public methods

Inherited methods


Method new()

Create a new CDF object.

Usage

CDF$new(method = c("binomial", "dkw"), conf_level = 0.95)

Arguments

method

a character string specifying whether to use a confidence band based on the binomial distribution or the Dvoretzky–Kiefer–Wolfowitz inequality.

conf_level

a number specifying confidence level of the confidence bounds.

Returns

A CDF object.


Method plot()

Plot the estimate and confidence bounds for population cumulative distribution function.

Usage

CDF$plot(style = c("graphics", "ggplot2"))

Arguments

style

a character string specifying which package to use.

Returns

The object itself (invisibly).

Examples

pmt("onesample.cdf")$test(Table1.2.1)$plot(style = "graphic")