Description Usage Arguments Details Value See Also
Assess the signficance of the overlap or excess in a window using a simulation based permutation test.
1 2 | overlapPerm(A, B, t0 = 0, t1 = 24, adjust = 0.8, nperm = 1000,
kmax = 3, parametric = T, two.sided = T, excessRef = 0)
|
A |
Numeric vectors of sighting times in [0,2pi] |
B |
Numeric vectors of sighting times in [0,2pi] |
t0 |
The window over which to estimate the overlap and excess stats |
t1 |
The window over which to estimate the overlap and excess stats |
adjust |
See |
nperm |
The number of simulated samples or permutations to generate. |
kmax |
See |
two.sided |
If |
excessRef |
The reference value against which to compare the observed excess. The default is zero, which should make sense in most cases. |
This function estimates the probability of observing an
overlap/excess in a given interval as extreme as the one observed under the
null hypothesis that A and B actually come from the same distribution. By
default, this hypothesis is tested by simulating new data A' and B' from a
Null density $f_0$ estimated by concatenating A and B. Setting parametric = F
will instead give a traditional permutation test (not yet implemented.)
An object of class overlapPermObj; a list containing
A table listing the observed overlap and excess in the window, their reference values under the null, and p-values from the permutation tests.
The requested window c(t0,t1)
The requested number of permtutations
The values passed in the funciton call.
The esitmated reference value, computed as: $ \int_t_0^t_1 \hat f_0(s) ds $
excessRef |
The reference value for the excess passed in the funciton call. |
summary.overlapPermObj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.