rstupid: A stupid PDF

rstupidR Documentation

A stupid PDF

Description

a contrived PDF that cannot be closely approximated by a Davies distribution

Usage

rstupid(n, a = 1, b = 2, c = 3, d = 4)

Arguments

n

Number of observations

a

start of first uniform bit

b

end of first uniform bit

c

start of second uniform bit

d

end of second uniform bit

Details

The stupid distribution is composed of two separate uniform distributions: one from a to b, and one from c to d. It is specifically designed to be NOT fittable to any Davies distribution.

You could probably come up with a more stupid distribution if you tried.

Author(s)

Robin K. S. Hankin

See Also

Davies

Examples

stupid <- rstupid(500)
fit.davies.q(stupid)

Davies documentation built on March 18, 2022, 5:52 p.m.