This function identifies a amplitude changepoint using a fully functional approach
elastic_amp_change_ff(
f,
time,
d = 1000,
h = 0,
smooth_data = FALSE,
sparam = 25,
showplot = TRUE
)
Returns a list object containing
p value
indice of changepoint
functions before changepoint
functions after changepoint
mean function before changepoint
mean function after changepoint
warping functions before changepoint
warping functions after changepoint
mean warping function before changepoint
mean warping function after changepoint
amplitude change function
test statistic values
mean srsfs
mean functions
matrix (\(N\) x \(M\)) of \(M\) functions with \(N\) samples
vector of size \(N\) describing the sample points
number of monte carlo iterations of Brownian Bridge (default = 1000)
window selection of long range covariance function (default = 0)
smooth data using box filter (default = F)
number of times to apply box filter (default = 25)
show results plots (default = T)
J. D. Tucker and D. Yarger, “Elastic Functional Changepoint Detection of Climate Impacts from Localized Sources”, Envirometrics, 10.1002/env.2826, 2023.