Learn R Programming

ctmm (version 0.3.3)

overlap: Calculate the overlap between two stationary distributions

Description

This function calculates a useful measure of similarity between distributions known as the Bhattacharyya coefficient in statistics and simply the fidelity or overlap in quantum and statistical mechanics. It is roughly speaking the ratio of the intersection area to the average individual area. When applied to ctmm objects, this function returns the overlap of the two Gaussian distributions. When applied to telemetry objects with corresponding movement models, this function returns the overlap of their (autocorrelated) kernel density estimates.

Usage

overlap(object1,object2,...)
"overlap"(object1, object2, level=0.95, ...)
"overlap"(object1, object2, CTMM1, CTMM2, level=0.95, ...)

Arguments

object1
A ctmm fit or telemetry object for one animal.
object2
A ctmm fit or telemetry object for another animal.
level
The confidence level desired for the output.
CTMM1
The ctmm fit corresponding to telemetry object1.
CTMM2
The ctmm fit corresponding to telemetry object2.
...
Additional arguments relevant for akde, such as debias and res.

Value

1 implies that the two distributions are identical, while a value of 0 implies that the two distributions share no area in common.

See Also

ctmm.fit