Science Fair Projects Ideas - Linear prediction

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

Linear prediction

Linear prediction is a mathematical operation where future values of a digital 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

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

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

e(n) = x(n) - \hat{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) - \hat{x}(n)||

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

Estimating the parameters

The most common choice in optimisation of parameters ai is the root mean square criterion which is also called the autocorrelation criterion. In this method we minimise 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)}

In the multi-dimensional case this corresponds to minimising 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 minimise

e(n) = x(n) - \hat{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]^T

where the index i ranges from 0 to p and the size of 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.

See also

Last updated: 08-10-2005 21:47:11
10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice