Linear prediction

You don't need to be Editor-In-Chief to add or edit content to WikiDoc. You can begin to add to or edit text on this WikiDoc page by clicking on the edit button at the top of this page. Next enter or edit the information that you would like to appear here. Once you are done editing, scroll down and click the Save page button at the bottom of the page.

Jump to: navigation, search

Linear prediction is a mathematical operation where future values of a discrete-time signal are estimated as a linear function of previous samples.

In digital signal processing, linear prediction is often called linear predictive coding (LPC) and can thus be viewed as a subset of filter theory. In system analysis (a subfield of mathematics), linear prediction can be viewed as a part of mathematical modelling or optimization.

The prediction model

The most common representation is

\widehat{x}(n) = -\sum_{i=1}^p a_i x(n-i)\,

where \widehat{x}(n) is the predicted signal value, x(ni) the previous observed values, and ai the predictor coefficients. The error generated by this estimate is

e(n) = x(n) - \widehat{x}(n)\,

where xn is the true signal value.

These equations are valid for all types of (one-dimensional) linear prediction. The differences are found in the way the parameters ai are chosen.

For multi-dimensional signals the error metric is often defined as

e(n) = \|x(n) - \widehat{x}(n)\|\,

where \|.\| is a suitable chosen vector norm.

Estimating the parameters

The most common choice in optimization of parameters ai is the root mean square criterion which is also called the autocorrelation criterion. In this method we minimize the expected value of the squared error E[e2(n)], which yields the equation

\sum_{i=1}^p a_i R(i-j) = -R(j),

for 1 ≤ jp, where R is the autocorrelation of signal xn, defined as

\ R(i) = E\{x(n)x(n-i)\}\,

where E is the expected value. In the multi-dimensional case this corresponds to minimizing the L2 norm.

The above equations are called the normal equations or Yule-Walker equations. In matrix form the equations can be equivalently written as

Ra = -r,\,

where the autocorrelation matrix R is a symmetric, circulant matrix with elements ri,j = R(ij), vector r is the autocorrelation vector rj = R(j), and vector a is the parameter vector.

Another, more general, approach is to minimize

e(n) = x(n) - \widehat{x}(n) = x(n) + \sum_{i=1}^p a_i x(n-i) = \sum_{i=0}^p a_i x(n-i)

where we usually constrain the parameters ai with a0 = 1 to avoid the trivial solution. This constraint yields the same predictor as above but the normal equations are then

\ Ra = [1, 0, ... , 0]^{\mathrm{T}}

where the index i ranges from 0 to p, and R is a (p + 1) × (p + 1) matrix.

Optimisation of the parameters is a wide topic and a large number of other approaches have been proposed.

Still, the autocorrelation method is the most common and it is used, for example, for speech coding in the GSM standard.

Solution of the matrix equation Ra = r is computationally a relatively expensive process. The Gauss algorithm for matrix inversion is probably the oldest solution but this approach does not efficiently use the symmetry of R and r. A faster algorithm is the Levinson recursion proposed by Norman Levinson in 1947, which recursively calculates the solution. Later, Delsarte et al. proposed an improvement to this algorithm called the split Levinson recursion which requires about half the number of multiplications and divisions. It uses a special symmetrical property of parameter vectors on subsequent recursion levels.

References

Original

  • G. U. Yule. On a method of investigating periodicities in disturbed series, with special reference to wolfer’s sunspot numbers. Phil. Trans. Roy. Soc., 226-A:267–298, 1927.

Overview

  • J. Makhoul. Linear prediction: A tutorial review. Proceedings of the IEEE, 63 (5):561–580, April 1975.
  • M. H. Hayes. Statistical Digital Signal Processing and Modeling. J. Wiley & Sons, Inc., New York, 1996.

External links

See also

it:Equazioni di Yule-Walker



WikiDoc Help Menu

Quick Start..

Editing basics

Advanced editing

Communicating your edits

Help Videos You Can Watch

Acknowledgement and Attribution Regarding Sources of Content

Some of the initial content on this page may be incorporated in part from copyleft sources in the public domain including wikis such as Wikipedia and AskDrWiki. Drug information for patients came from the The National Library of Medicine. Infectious disease information may have come from the Centers for Disease Control (CDC). Differential Diagnoses are drawn from clinicians as well as an amalgamation of 3 sources: 1.The Disease Database; 2. Kahan, Scott, Smith, Ellen G. In A Page: Signs and Symptoms. Malden, Massachusetts: Blackwell Publishing, 2004:3; 3. Sailer, Christian, Wasner, Susanne. Differential Diagnosis Pocket. Hermosa Beach, CA: Borm Bruckmeir Publishing LLC, 2002:7 .

related articles