preemption.fit {MLpreemption}R Documentation

Estimation of the preemption parameter of a geometric series by various methods

Description

Function preemption.fit can estimate the preemption parameter of a geometric series by four specifici methods, or list all estimates simultaneously for comparison.

Usage

preemption.fit(x, method = "ml", closed = FALSE, verbose = TRUE)

Arguments

x

Vector of counts (abundances of species)

method

Estimation method ("ml" = maximum likelihood, "ls" = least squares, "May" = May's equation, "HT" = He-Tang's equation, "all" = lists all four estimators)

closed

If closed=FALSE the exact value of the ML estimator will be calculated by iteration, if closed=TRUE a good closed-form approximation is given

verbose

The function is silent if verbose=FALSE or prints results if verbose=TRUE

Value

khat

the estimate of the preemption parameter

ll

lower limit of 95 confidence interval

ul

upper limit of 95 confidence interval

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

References

Graffelman, J. (2021) Maximum likelihood estimation of the geometric niche preemption model

See Also

preemption.t

Examples

data(Ganeshaiah)
preemption.fit(Ganeshaiah[,2])

[Package MLpreemption version 1.0.1 Index]