← All notes
Proposition
Let x∈Rn×1 then we can construct a symmetric and idempotent matrix that provides deviations from the mean for a vector of inputs.
This matrix takes is the form:
M0=I−nιι′
where ι is a vectors of 1 in RN.
Proof
Symmetric
M0′=(I−nιι′)′=I′−n(ιι′)′=I−nι′′ι′=I−nιι′=M0
Idempotence
M0M0=(I−nιι′)(I−nιι′)=I(I−nιι′)−nιι′(I−nιι′)=(I−nιι′)−nιι′+nιι′=I−nιι′
Deviations From the Mean
M0x=(I−nιι′)x=x−ι′x/nι′x/n⋮ι′x/n=x−xˉ=x¨