To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

Centering matrix

From Wikipedia, the free encyclopedia

In mathematics and multivariate statistics, the centering matrix[1] is a symmetric and idempotent matrix, which when multiplied with a vector has the same effect as subtracting the mean of the components of the vector from every component of that vector.

YouTube Encyclopedic

  • 1/5
    Views:
    1 047
    1 353
    86 264
    26 092
    4 020
  • 3 16 Centering Matrix
  • Preprocessing 1. Centering & Scaling
  • Calculating the kernel of a matrix - An example
  • Linear Algebra - Transformation Matrix for Scaling 2D Objects
  • Mean of a data matrix: Dimensionality reduction and visualization Lecture 6@ Applied AI Course

Transcription

Definition

The centering matrix of size n is defined as the n-by-n matrix

where is the identity matrix of size n and is an n-by-n matrix of all 1's.

For example

,
,

Properties

Given a column-vector, of size n, the centering property of can be expressed as

where is a column vector of ones and is the mean of the components of .

is symmetric positive semi-definite.

is idempotent, so that , for . Once the mean has been removed, it is zero and removing it again has no effect.

is  singular. The effects of applying the transformation cannot be reversed.

has the eigenvalue 1 of multiplicity n − 1 and eigenvalue 0 of multiplicity 1.

has a nullspace of dimension 1, along the vector .

is an orthogonal projection matrix. That is, is a projection of onto the (n − 1)-dimensional subspace that is orthogonal to the nullspace . (This is the subspace of all n-vectors whose components sum to zero.)

The trace of is .

Application

Although multiplication by the centering matrix is not a computationally efficient way of removing the mean from a vector, it is a convenient analytical tool. It can be used not only to remove the mean of a single vector, but also of multiple vectors stored in the rows or columns of an m-by-n matrix .

The left multiplication by subtracts a corresponding mean value from each of the n columns, so that each column of the product has a zero mean. Similarly, the multiplication by on the right subtracts a corresponding mean value from each of the m rows, and each row of the product has a zero mean. The multiplication on both sides creates a doubly centred matrix , whose row and column means are equal to zero.

The centering matrix provides in particular a succinct way to express the scatter matrix, of a data sample , where is the sample mean. The centering matrix allows us to express the scatter matrix more compactly as

is the covariance matrix of the multinomial distribution, in the special case where the parameters of that distribution are , and .

References

  1. ^ John I. Marden, Analyzing and Modeling Rank Data, Chapman & Hall, 1995, ISBN 0-412-99521-2, page 59.
This page was last edited on 7 February 2023, at 21:55
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.