k_ml {MLpreemption} | R Documentation |
Preemption parameter estimation by maximum likelihood.
Description
Calculates the maximum likelihood estimator for the geometric series.
Usage
k_ml(xs, closed = FALSE, ll = 0.001, ul = 0.999)
Arguments
xs |
A vector of ordered counts (form large to small) |
closed |
If |
ll |
Lower limit for the root searching algorithm |
ul |
Upper limit for the root searching algorithm |
Value
a real value
Note
counts should be ordered from large to small.
Author(s)
Jan Graffelman (jan.graffelman@upc.edu)
References
Graffelman, J. (2021) Maximum likelihood estimation of the geometric niche preemption model.
See Also
Examples
data("Ganeshaiah")
x <- Ganeshaiah[,2]
k_ml(x)
[Package MLpreemption version 1.0.1 Index]