rstupid {Davies} | R 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 to
, and one from
to
. 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
Examples
stupid <- rstupid(500)
fit.davies.q(stupid)
[Package Davies version 1.2-0 Index]