removeMode {arfima} | R Documentation |
arfima
fit.This function is useful if one suspects a mode is spurious and does not want to call the weed function.
removeMode(object, num)
object |
An object of class "arfima". |
num |
The number of the mode as in the printed value of the object. |
The original object with the mode removed.
JQ (Justin) Veenstra
set.seed(8765) sim <- arfima.sim(1000, model = list(phi = 0.4, theta = 0.9, dfrac = 0.4)) fit <- arfima(sim, order = c(1, 0, 1), back=TRUE) fit fit <- removeMode(fit, 3) fit