computeEnsemble: Function to combine the ensembles

Description Usage Arguments Value

Description

Function to combine the ensembles

Usage

1
computeEnsemble(fits, weights, errors)

Arguments

fits

A list of fitted values from models.

weights

A weight matrix giving the weights of each model for each observation.

errors

An error matrix giving the error of each model for each observation. This is used to create an estimate of variability of the ensemble for each imputed value.

Value

A vector of length nrow(weights), where each value represents the ensemble estimate for that observation.


SWS-Methodology/faoswsImputation documentation built on May 9, 2019, 11:48 a.m.