dMarronWand: Marron and Wand density function

View source: R/dMarronWand.r

dMarronWandR Documentation

Marron and Wand density function

Description

Returns ordinates of a member of the family of Normal Mixture density functions devised in Marron and Wand (1992).

Usage

dMarronWand(x,densNum,drv)

Arguments

x

Vector of abscissae values.

densNum

An integer between 1 and 15 that specifies the density function according to Table 1 of Marron and Wand (1992).

drv

Either -1,0,1,2 depending on the order of the derivative required, with drv = -1 corresponding to the anti-derivative. The default value is drv = 0.

Author(s)

Matt P. Wand matt.wand@uts.edu.au

References

Marron, J.S. and Wand, M.P. (1992). Exact mean integrated squared error. The Annals of Statistics, 20, 712-736.

Examples

library(densEstBayes)
xg <- seq(-3,3,length = 1001)
densg <- dMarronWand(xg,8)
plot(xg,densg,type = "l")

densEstBayes documentation built on March 31, 2023, 11:52 p.m.