preemption.t {MLpreemption}R Documentation

Preemption t test

Description

Function preemption.t implements a t test for comparing the preemption parameters of the geometric series for two samples.

Usage

preemption.t(x1, x2, verbose = TRUE)

Arguments

x1

Species counts for the first sample

x2

Species counts for the second sample

verbose

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

Value

Tstat

The t statistic

df

The degrees of freedom

pval

The p-value of the test

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

References

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

See Also

preemption.fit

Examples

data(Mehrabi)
x <- sort(Mehrabi[,1],decreasing=TRUE)
y <- sort(Mehrabi[,2],decreasing=TRUE)
results <- preemption.t(x,y)

[Package MLpreemption version 1.0.1 Index]