pj1j2Matrix: Empirical counts/density computing

Description Usage Arguments Details Value Author(s) References Examples

Description

Computes formula (5) of Carnicero et al., 2013.

Usage

1
pj1j2Matrix(uv, k = NULL, plot = FALSE, ...)

Arguments

uv

2-columns data.frame of nonexedance probabilities.

k

A positive integer. the order of the Bernstein polynomial. Default to cubic root of the number of observations as recommended in page 1998, Carnicero, 2013.

plot

Plot pixels form of 2D histogram? Default to FALSE

...

Other arguments passed to hist2D.

Details

Here comes the details.

Value

A 2D matrix whose elements (pj1pj2) are indexed the same way as pj1j2 in formula 5 of Carnicero.

Author(s)

Francisco Mendoza-Torres (mentofran@gmail.com)

References

Carnicero et al., 2013

Examples

1
2
3
4
ne <- 30
set.seed(12)
uve <- cbind(runif(ne), runif(ne))
pj1j2Matrix(uv = uve, k = 3, plot = TRUE)

mathphysmx/empiricalDistribution documentation built on May 7, 2019, 10:55 p.m.