collectStatistics

Returns a statistic that summarizes the passed in arrays. The lengths of the arrays must be the same.

Return

a weighted statistic based on the arrays

Parameters

x

the values

w

the weights