pitman | R Documentation |
Pitman estimator of one-dimensional location, optimal with scale
assumed to be known.
Calculated by brute force (using integrate
).
pitman(y, d=ddoublex, lower=-Inf, upper=Inf, s=mad(y), ...)
y |
numeric vector. Data set. |
d |
a density function defining the distribution for which the Pitman estimator is computed. |
lower |
numeric. Lower bound for the involved integrals (should
be |
upper |
numeric. Lower bound for the involved integrals (should
be |
s |
numeric. Estimated or assumed scale/standard deviation. |
... |
further arguments to be passed on to the density function
|
The estimated value.
Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche/
Pitman, E.J. (1939) The estimation of the location and scale parameters of a continuous population of any given form. Biometrika 30, 391-421.
smoothm
set.seed(10001) y <- rdoublex(7) pitman(y,ddoublex) pitman(y,dcauchy) pitman(y,dnorm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.