Learn R Programming

PoweR (version 1.0.7)

densities: Density function

Description

Evaluate the density function at a vector points.

Arguments

Details

Use the function by typing:

dlawj(x,par1,par2,etc.)

where \(j\) is the index of the law and par1, par2, etc. are the parameters of law \(j\).

The indicator function takes a vector x of length \(n\) as first argument and two real values \(a<b\). It returns a vector of length \(n\) which contains only 0s and 1s (1 if the corresponding value in x is strictly between a and b).

References

Pierre Lafaye de Micheaux, Viet Anh Tran (2016). PoweR: A Reproducible Research Tool to Ease Monte Carlo Power Simulation Studies for Goodness-of-fit Tests in R. Journal of Statistical Software, 69(3), 1--42. doi:10.18637/jss.v069.i03