- Lehmer mean
The Lehmer mean of a
tuple of positivereal number s is defined as::.The Weighted Lehmer mean with respect to a tuple of positive weights is defined as::.
The Lehmer mean is an alternative to
power mean sfor interpolating betweenminimum andmaximum viaarithmetic mean andharmonic mean .Properties
The derivative of is non-negative:thus this function is monotonic and the inequality:holds.
pecial cases
* is the
minimum of the elements of .
* is theharmonic mean .
* is thegeometric mean of the two values and .
* is thearithmetic mean .
* is thecontraharmonic mean .
* is themaximum of the elements of .:Sketch of a proof:Without loss of generality let be the values which equal the maximum. ThenApplications
Signal processing
Like a
power mean ,a Lehmer mean serves a non-linearmoving average which is shifted towards small signal values for small and emphasizes big signal values for big .Given an efficient implementation of a moving arithmetic meancalled smooth you can implement a moving Lehmer meanaccording to the following Haskell code. lehmerSmooth :: Floating a => ( [a] -> [a] ) -> a -> [a] -> [a] lehmerSmooth smooth p xs = zipWith (/) (smooth (map (**p) xs)) (smooth (map (**(p-1)) xs))* For big it can serve an
envelope detector on a rectified signal.
* For small it can serve an baseline detector on amass spectrum .ee also
*
mean External links
* [http://mathworld.wolfram.com/LehmerMean.html Lehmer Mean at MathWorld]
Wikimedia Foundation. 2010.