Description Usage Arguments Details Value Examples
This function tests and detects changes in the trace of the covariance operator.
1 | trace_change(fdobj, mean_change = FALSE, delta = 0.1, M = 1000)
|
fdobj |
A functional data object of class ' |
mean_change |
If |
delta |
Trimming parameter to estimate the covariance function using partial sum estimates. |
M |
Number of monte carlo simulations used to get the critical values. The default value is |
This function dates and detects changes in trace of the covariance function. This can be interpreted as the changes in
the total variation of the the functional data. Trace is defined as the infinite sum of the eigenvalues of the covariance operator
and for the sake of implementation purpose, the sum is truncated up to the total number of basis functions that defines the functional
data at hand. The critical values are approximated via M
Monte Carlo simulations.
|
Approximate p value for testing whether there is a significant change in the desired eigenvalue of the covariance operator |
|
Estimated change location |
|
Estimated trace before the change |
|
Estimated trace after the change |
1 2 3 | # generate functional data
fdata = fun_IID(n=100, nbasis=21)
trace_change(fdata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.