bounder_cooke {ggdist} | R Documentation |
Estimate bounds of a distribution using Cooke's method
Description
Estimate the bounds of the distribution a sample came from using Cooke's method.
Use with the bounder
argument to density_bounded()
.
Supports automatic partial function application.
Usage
bounder_cooke(x)
Arguments
x |
numeric vector containing a sample to estimate the bounds of. |
Details
Estimate the bounds of a distribution using the method from Cooke (1979); i.e. method 2.3 from Loh (1984). These bounds are:
Where is the
th order statistic of
x
(i.e. its
th-smallest value).
Value
A length-2 numeric vector giving an estimate of the minimum and maximum bounds
of the distribution that x
came from.
References
Cooke, P. (1979). Statistical inference for bounds of random variables. Biometrika 66(2), 367–374. doi:10.1093/biomet/66.2.367.
Loh, W. Y. (1984). Estimating an endpoint of a distribution with resampling methods. The Annals of Statistics 12(4), 1543–1550. doi:10.1214/aos/1176346811
See Also
The bounder
argument to density_bounded()
.
Other bounds estimators:
bounder_cdf()
,
bounder_range()