powered by
Pitman estimator of one-dimensional location, optimal with scale assumed to be known. Calculated by brute force (using integrate).
integrate
pitman(y, d=ddoublex, lower=-Inf, upper=Inf, s=mad(y), ...)
numeric vector. Data set.
a density function defining the distribution for which the Pitman estimator is computed.
numeric. Lower bound for the involved integrals (should be -Inf unless there are numerical problems).
-Inf
numeric. Lower bound for the involved integrals (should be Inf unless there are numerical problems).
Inf
numeric. Estimated or assumed scale/standard deviation.
further arguments to be passed on to the density function d.
d
The estimated value.
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
# NOT RUN { set.seed(10001) y <- rdoublex(7) pitman(y,ddoublex) pitman(y,dcauchy) pitman(y,dnorm) # }
Run the code above in your browser using DataLab