powered by
This function makes it simple to initialise a 'EWMA' object.
initEWMAMeanCD(r = 0.2, L = 3, BL = 50)
A EWMA mean change detector object.
One of the 'EWMA' control parameters. Default value is r=0.20.
r=0.20
One of the 'EWMA' control parameters. Default value is L=3.00.
L=3.00
The burn-in length to be used with a 'EWMA' change detector. Default value is BL=50.
BL=50
library(Rcpp) e1 <- initEWMAMeanCD() #initialises with r=0.20, L=3.00 e1 <- initEWMAMeanCD(r=0.05, L=0.275) #initialises with r=0.20, L=3.00
Run the code above in your browser using DataLab