Description Usage Arguments Details Value Author(s) References Examples
Estimates the density of a given sample under the assumption that the underlying density is unimodal. The mode is estimated from the data. The method is based on the unimodal regularization of Birge (1997).
1 |
x |
Vector of independent and identically distributed random variables; must be sorted. |
t |
A positive real number. Default value is one. |
Birge(1997)'s estimator gives a a pieciewise constant unimodal density. The discontinuity points of the respective density are called the knots, which belong to the set of datapoints. The density estimator is constant between two consecutive knots.
t
: The parameter t
corresponds to the parameter τ
in Birge (1997). Higher values of t leads to more accurate
estimation of the unimodal densities. This value ontrols the accuracy in
unimodal density estimation upto the term n^{-t} where n is the sample
size. We recommend a value greater than or equal to one. See Birge (1997)
for more details.
mode - The estimator of the mode
x.knots - The vector of the knots of the estimated density.
F.knots - A vector consisting the values of the estimated distribution function evaluated at the knots.
f.knots - A vector whose i-th element gives the value of the estimated density on the segment joining the i-th and (i+1)-th knot. Recall that the estimated density is piecewise constant between two knots.
Nilanjana Laha (maintainer), nlaha@hsph.harvard.edu, Alex Luedtke, aluedtke@uw.edu.
Birge, L. (1997). Estimation of unimodal densities without smoothness assumptions, Ann. Statist., 25, 970–981.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.