Description Usage Arguments Value See Also
Function for inputting results into the S4 class cptCovariance
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | classInput(
X,
cpts,
method,
numCpts,
cptsSig,
threshold,
thresholdValue,
msl,
subspaceDim = 0,
nperm = 0,
LRCov = "NA"
)
|
X |
Data matrix of dimension n by p. |
cpts |
Vector of changepoint locations |
method |
Covariance changepoint method to be used. Choice of "Ratio" or "CUSUM". |
numCpts |
Number of changepoints in the data. Choices include:
|
cptsSig |
Data frame containing the changepoint locations along with their associated test statistics; threshold; and whether or not they were deemed significant |
threshold |
Threshold choice for determining significance of changepoints. Choices include:
If numCpts is numeric then the threshold is not used as the number of changepoints is known. |
thresholdValue |
Either the manual threshold value when threshold="Manual" or the (1-thresholdValue)-quantile of asymptotic distribution of the test statistic when threshold="Asymptotic". |
msl |
Minimum segment length allowed between the changepoints. NOTE this should be greater than or equal to p, the dimension of the time series. |
subspaceDim |
Dimension of the latent subspace. |
nperm |
Only required for threshold="PermTest". Number of permutations to use in the permutation test. |
LRCov |
The long-run covariance estimator to be used for CUSUM method. Currently, only "Bartlett" and "Empirical" are supported. Alternatively, a matrix containing the long-run covariance estimate can be inputted. |
S4 class of type cptCovariance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.