loo_pred_model_avg: Obtain Model-Averaged Leave-one-Out Predictions

View source: R/cross-validation.R

loo_pred_model_avgR Documentation

Obtain Model-Averaged Leave-one-Out Predictions

Description

Obtain Model-Averaged Leave-one-Out Predictions

Usage

loo_pred_model_avg(fit_list)

Arguments

fit_list

list of fitted model objects of class lm, generally the output of fit_all_subsets_one().

Value

Numeric vector of model-averaged leave-one-out predictions.

Note

Leave-one-out predictions are made for each model and each record using loo_pred() and model weights are recalculated for each left out record prior to averaging the predictions from each model.


bstaton1/KuskoHarvPred documentation built on Aug. 15, 2024, 3:30 p.m.