View source: R/validate_model_fit.R
Computes multiple statistics describing the model fit
1 2 | validate_model_fit(result, Data, ValidationData, response_col, time_col,
location_col, stack.est, prediction_steps = 0)
|
result |
fitted inla model |
Data |
dataframe containing all variables and covariates and time and location of each observation |
ValidationData |
dataframe containing the validation data |
response_col |
names of response column |
time_col |
name of column containing time point of each observation |
location_col |
name of column containing location of each observation |
stack.est |
stack.est object |
prediction_steps |
how many steps ahead are being predicted, needed for generating naive forecast for comparison |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.