initAFFMeanCD {ffstream} | R Documentation |
This function makes it simple to initalise an FFF object.
initAFFMeanCD(alpha = 0.01, eta = 0.01, BL = 50)
alpha |
The value of the significance level.
Default value is |
eta |
The value of the step-size in the gradient descent.
Default is |
BL |
The length of the burn-in region. Default value is |
library(Rcpp) affmeancd1 <- initAFFMeanCD() # initialises with alpha=0.01, # eta=0.01 and BL=50 affmeancd2 <- initAFFMeanCD(alpha=0.005, eta=0.1, BL=100) affmeancd3 <- initAFFMeanCD(alpha=0.005, eta=0.1, BL=0) # Example 3 affmeancd3$streamEstMean <- 0 affmeancd3$streamEstSigma <- 1