Evaluate a Kolmogorov-Smirnov test on the residuals of a solarModel model
object against the estimated Gaussian mixture distribution and a Breush-pagan or Box-pierce
test on the residuals.
solarModel_tests(
model,
lags = c(7),
method = "bg",
type = "full",
ci = 0.05,
min_quantile = 0.025,
max_quantile = 0.985
)An object of the class solarModel
Numeric vector. Lags on which perform the autocorrelation tests.
character(1), method of test performed. Can be:
"bg"for Breush-Godfrey test;
"bp"for Box-pierce test;
"lb"for Ljung-Box test.
character(1), type of test. Can be:
"train"the test is performed only on train data;
"test"the test is performed only on test data;
"full"the test is performed only on the full data.
p.value for rejection.
minimum quantile for the grid of values.
maximum quantile for the grid of values.
Version 1.0.0.
model = solarModel$new(spec)
model$fit()
#> No outliers!
solarModel_tests(model, train_data = TRUE)
#> Error in solarModel_tests(model, train_data = TRUE): unused argument (train_data = TRUE)