Davies (version 1.1-9)

rstupid: 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

See Also

Davies

Examples

Run this code
# NOT RUN {
stupid <- rstupid(500)
fit.davies.q(stupid)
# }

Run the code above in your browser using DataLab