View source: R/compute_quantiles.R
compute_quantiles | R Documentation |
Quantiles from the gaussian version of the test statistics which are used to approximate the critical values for the multiscale test.
compute_quantiles(
t_len,
n_ts = 1,
grid = NULL,
ijset = NULL,
sigma = 1,
deriv_order = 0,
sim_runs = 1000,
probs = seq(0.5, 0.995, by = 0.005),
correction = TRUE,
epidem = FALSE
)
t_len |
Sample size. |
n_ts |
Number of time series analyzed. Default is 1. |
grid |
Grid of location-bandwidth points as produced by
the function |
ijset |
A matrix of integers. In case of multiple time series,
we need to know which pairwise comparisons to perform.
This matrix consists of all pairs of indices |
sigma |
Value of |
deriv_order |
In case of a single time series analysed, this parameter denotes the order of the derivative of the trend function that is being estimated. Default is 0. |
sim_runs |
Number of simulation runs to produce quantiles. Default is 1000. |
probs |
A numeric vector of probability levels |
correction |
Logical variable, TRUE (by default) if we are using
|
epidem |
Logical variable, TRUE if we are using dealing with epidemic time trends. Default is FALSE. |
Matrix with 2 rows where the first row contains the vector of probabilities (probs) and the second contains corresponding quantiles of the gaussian statistics distribution.
compute_quantiles(100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.