dash.posteriorCalculation.weightedMean.calculate
Calculate a weighted mean index over each member in a posterior ensemble
Syntax
Description
Calculates a weighted mean index over each member of a posterior ensemble. Propagates weighted means for the deviations over ensemble means for multiple time steps that share the same deviations.
Input Arguments
Adev
numeric matrix [nState x nMembers]
A set of updated ensemble deviations.
Amean
numeric matrix [nState x nTime]
The updated ensemble mean for all time steps using the same deviations.
Output Arguments
index
numeric matrix [Members x nTime]
The weighted mean index calculated over the members of the posterior ensemble.