WaveThresh Help

rclaw, dclaw, pclaw


Claw distribution

DESCRIPTION

Random generation, density and cumulative probability for the claw distribution.

USAGE

rclaw(n)
dclaw(x)
pclaw(q)

REQUIRED ARGUMENTS

n
sample size
x
vector of quantiles
q
vector of quantiles

VALUE

random samples (rclaw), density (dclaw) or probaility (pclaw) of the claw distribution

DETAILS

The claw distribution is a normal mixture distribution, introduced in Marron & Wand (1992).

REFERENCES

Marron, J.S. & Wand, M.P. (1992). Exact Mean Integrated Squared Error. The Annals of Statistics, 20(2), 712--736.

EXAMPLE


# Plot the claw density on the interval [-3,3]

 x <- seq(from=-3, to=3, length=500)
 plot(x, dclaw(x), type="l")