powered by
Apply a collection of fit-tests, including a weighted Ljung-Box test for the simple and the squared standardized residuals, a sign-bias test, and an adjusted Pearson goodness-of-fit test.
# S4 method for fEGarch_fit fit_test_suite( object, args_lbt = list(), args_sbt = list(), args_goft = list(), silent = FALSE, ... )
Returns a list with the four test results invisibly.
an object of class "fEGarch_fit" as returned by the fitting functions of this package like for example fEGarch.
"fEGarch_fit"
fEGarch
a list of changes to make to the default argument settings in ljung_box_test.
ljung_box_test
a list of changes to make to the default argument settings in sign_bias_test.
sign_bias_test
a list of changes to make to the default argument settings in goodn_of_fit_test.
goodn_of_fit_test
a logical indicating whether or not to print the test results in a well-formatted manner to the console.
currently without purpose.
window.zoo <- get("window.zoo", envir = asNamespace("zoo")) rt <- window.zoo(SP500, end = "2002-12-31") spec <- fEGarch_spec() model <- fEGarch(spec, rt) fit_test_suite(model)
Run the code above in your browser using DataLab