rstupid: A stupid PDF

Description Usage Arguments Details Author(s) See Also Examples

Description

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

Usage

1
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

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

Davies documentation built on May 29, 2017, 3:20 p.m.

Related to rstupid in Davies...