pdens: Auxiliary functions for pitman

View source: R/smhuber.R

pdensR Documentation

Auxiliary functions for pitman

Description

Auxiliary functions for pitman.

Usage

  pdens(z, x, dfunction, ...)
  sdens(z, x, dfunction, ...)
  dens(x, dfunction, ...)

Arguments

z

numeric vector.

x

numeric vector.

dfunction

a density function defining the distribution for which the Pitman estimator is computed.

...

further arguments to be passed on to the density function dfunction.

Details

dens

product of density values at x.

pdens

vector of z*dens(x-z).

sdens

vector of dens(x-z).

Value

Numeric value (dens) or vector.

Author(s)

Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche/

References

Pitman, E.J. (1939) The estimation of the location and scale parameters of a continuous population of any given form. Biometrika 30, 391-421.

See Also

pitman

Examples

  dens(1:5,dcauchy)
  pdens(1:5,0,dcauchy)
  sdens(1:5,0:2,dcauchy)

smoothmest documentation built on April 28, 2022, 1:06 a.m.

Related to pdens in smoothmest...