k_ls: Preemption parameter estimation by least squares regression

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

View source: R/k_ls.R

Description

Calculates the least-squares estimator for the geometric series.

Usage

1
k_ls(x)

Arguments

x

A vector of ordered counts (from large to small)

Value

khat

estimate of the preemption parameter

k.ll

lower limit of the confidence interval

k.ul

upper limit of the confidence interval

aic

Akaike's information criterion

logl

log-likelihoood

Note

counts should be ordered from large to small.

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

References

Magurran, A. 2004. Measuring biological diversity. Blackwell Publishing, Oxford, UK.

See Also

k_ml,k_hetang,k_may

Examples

1
2
3
data("Ganeshaiah")
x <- Ganeshaiah[,2]
k_ls(x)

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