powered by
arfima
Finds the best modes of an arfima fit with respect to log-likelihood.
bestModes(object, bestn)
The bestn "best" modes.
bestn
An object of class "arfima".
The top number of modes to keep with respect to the log-likelihood.
JQ (Justin) Veenstra
This is the easiest way to remove modes with lower log-likelihoods.
# \donttest{ 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 <- bestModes(fit, 2) fit # }
Run the code above in your browser using DataLab