Description Usage Arguments Details Author(s) References Examples
View source: R/rankcounttest.R
Test if an observed curve matches a sample of simulated curves (or a group of other observations). Refines the result of the rank envelope test, but does not have a direct graphical representation.
1 2 | rankCount.test(obs, sim, alternative = c("two.sided", "less", "greater"),
inclprob = c(0.95))
|
obs |
object of class |
sim |
object of class |
alternative |
a character string specifying the alternative hypothesis, one of
|
inclprob |
a numerical vector of inclusion probabilities
of the envelopes to be plotted, for use in |
The observed curve, represented by the fdsample
object
obs
is compared to simulated curves collected
in the fdsample
object 'sim
.
The two sets of curves have to share the same argument values, and obs
is
supposed to contain only one curve.
alternative == "less"
is the one-sided alternative meaning that the observed curve
has (some) smaller function values than the simulated curves, and
alternative == "greater"
is the opposite one-sided alternative.
The p-value is obtained by ranking the curves according to the number of minimum pointwise ranks obtained in any point of the curve (curves are actually represented as vectors), see Myllymaki et al. (2015).
Ute Hahn, ute@imf.au.dk
M. Myllymaki, T. Mrkvicka, P. Grabarnik, H. Seijo and U.Hahn (2015) Global envelope tests for spatial processes, http://arxiv.org/abs/1307.0239v3.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.