This is an example output tibble from the merge_models
function applied
on the Central Baltic Sea food web indicator demonstration data. More
specifically, the function is applied on a subset of the model_gam_ex
tibble (including only GAMs with no temporal autocorrelation) and the
model_gamm_ex
after selecting the best GAMMs using
select_model
.
1 |
A data frame with 84 rows and 17 variables:
id
Numerical IDs for the IND~press combinations.
ind
Indicator names.
press
Pressure names.
model_type
Specification of the model type; at this stage containing only "gam" (Generalized Additive Model).
corrstruc
Specification of the correlation structure; at this stage containing only "none".
aic
AIC of the fitted models
edf
Estimated degrees of freedom for the model terms.
p_val
The p values for the smoothing term (the pressure).
signif_code
The significance codes for the p-values.
r_sq
The adjusted r-squared for the models. Defined as the proportion of variance explained, where original variance and residual variance are both estimated using unbiased estimators. This quantity can be negative if your model is worse than a one parameter constant model, and can be higher for the smaller of two nested models.
expl_dev
The proportion of the null deviance explained by the models.
nrmse
Absolute values of the root mean square error normalized by the standard deviation (NRMSE) using no back-transformation.
ks_test
The p-values from a Kolmogorov-Smirnov Test applied on the model residuals to test for normal distribution. P-values > 0.05 indicate normally distributed residuals.
tac
logical; indicates whether temporal autocorrelation (TAC) was detected in the residuals. TRUE if model residuals show TAC.
pres_outlier
A list-column with outliers identified for each model (i.e. Cook's distance > 1). The indices present the position in the training data, including NAs.
excl_outlier
A list-column listing all outliers per model that have been excluded in the GAM fitting
model
A list-column of IND~press-specific gam objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.