Fehler in lmtest::bptest(model) :
the auxiliary variance regression requires at least an intercept and a regressor
Zusätzlich: Warnmeldungen:
1: attempting model selection on an essentially perfect fit is nonsense
Code to reproduce the error:
name <- "spot-data_user-9_spot-26_2020-02-04.RData"
file <- system.file("extdata/testdata", name, package = "fhpredict")
spot_data <- kwb.utils::loadObject(file, "spot_data")
set.seed(1)
result <- fhpredict:::build_and_validate_model(spot_data)
Error when running
build_and_validate_model()
:Code to reproduce the error: