preemption.fit: Estimation of the preemption parameter of a geometric series...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/preemption.fit.R

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

1
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

1
2

MLpreemption documentation built on Feb. 11, 2021, 5:07 p.m.