In mathematics, the Lehmer mean of a tuple
of positive real numbers, named after Derrick Henry Lehmer,[1] 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 means
for interpolating between minimum and maximum via arithmetic mean and harmonic mean.
Properties
The derivative of
is non-negative
![{\displaystyle {\frac {\partial }{\partial p}}L_{p}(\mathbf {x} )={\frac {\left(\sum _{j=1}^{n}\sum _{k=j+1}^{n}\left[x_{j}-x_{k}\right]\cdot \left[\ln(x_{j})-\ln(x_{k})\right]\cdot \left[x_{j}\cdot x_{k}\right]^{p-1}\right)}{\left(\sum _{k=1}^{n}x_{k}^{p-1}\right)^{2}}},}](./54d85f18b17a36f3605fdbded105ff4ba51e8a96.svg)
thus this function is monotonic and the inequality

holds.
The derivative of the weighted Lehmer mean is:

Special cases
Applications
Signal processing
Like a power mean, a Lehmer mean serves a non-linear moving 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 mean called smooth you can implement a moving Lehmer mean according 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 a mass spectrum.
Gonzalez and Woods call this a "contraharmonic mean filter" described for varying values of p (however, as above, the contraharmonic mean can refer to the specific case
). Their convention is to substitute p with the order of the filter Q:

Q=0 is the arithmetic mean. Positive Q can reduce pepper noise and negative Q can reduce salt noise.[2]
See also
Notes
- ^ P. S. Bullen. Handbook of means and their inequalities. Springer, 1987.
- ^ Gonzalez, Rafael C.; Woods, Richard E. (2008). "Chapter 5 Image Restoration and Reconstruction". Digital Image Processing (3 ed.). Prentice Hall. ISBN 9780131687288.
External links
|
|---|
|
|
Data collection |
|---|
| Study design | |
|---|
| Survey methodology | |
|---|
| Controlled experiments | |
|---|
| Adaptive designs | |
|---|
| Observational studies |
- Cohort study
- Cross-sectional study
- Natural experiment
- Quasi-experiment
|
|---|
|
|
|
|
Categorical / multivariate / time-series / survival analysis |
|---|
| Categorical |
- Cohen's kappa
- Contingency table
- Graphical model
- Log-linear model
- McNemar's test
- Cochran–Mantel–Haenszel statistics
|
|---|
| Multivariate | |
|---|
| Time-series | |
|---|
| Survival | | Survival function | |
|---|
| Hazard function | |
|---|
| Test | |
|---|
|
|---|
|
|
|
|---|
| Biostatistics | |
|---|
| Engineering statistics |
- Chemometrics
- Methods engineering
- Probabilistic design
- Process / quality control
- Reliability
- System identification
|
|---|
| Social statistics |
- Actuarial science
- Census
- Crime statistics
- Demography
- Econometrics
- Jurimetrics
- National accounts
- Official statistics
- Population statistics
- Psychometrics
|
|---|
| Spatial statistics |
- Cartography
- Environmental statistics
- Geographic information system
- Geostatistics
- Kriging
|
|---|
|
|
Category
Mathematics portal
Commons
WikiProject
|