Skip to main content

Harmonic mean

Computes the harmonic mean of a data sample X={x1,...,xn}: ni=1n1xi

Syntax

harmonic_mean(Statistics_data)

Description

Given statistics data, returns its harmonic mean.

statistics.harmonic_mean.calc.png