Multivariate Analysis
Deviation SSCP
Four Methods for Computing the Deviation SSCP
Method 1
Raw Score Matrix
Compute Mean Vector
Create Mean Matrix
Compute Deviation Score Matrix
Compute Deviation SSCP
Method 2
Raw Score SSCP Matrix
Total Vector Vector
Compute Product
Adjust by n
Compute Deviation SSCP
Method 3
Create Mean Matrix
Compute Cross Product of Mean Matrix
Compute Deviation SSCP
Method 4: Using Stata
input v1 v2
3 7
2 5
1 3
5 4
4 6
end
matrix accum dsscp = v1 v2, deviations noconstant
matrix list dsscp
symmetric dsscp[2,2]
v1 v2
v1 10
v2 3 10
matrix list dsscp, nohalf
symmetric dsscp[2,2]
v1 v2
v1 10 3
v2 3 10
Multivariate Course Page
Phil Ender, 4oct05, 30Jun98