



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




!
^ h
= + +... + +
m
n
m
n n n n
m
m m
pʼ
a
pʼ
2
pʼ
1
t
1
t
2
t
a
X E
EV
EV
Variable
1
Variable
2
Variable
3
Principal component (PC).
A linear combination of related
variables. It represents an intrinsic
factor of your data.
Scores.
The projection of your data in to PC
space.
Loading.
Show the relative significance of the
original variables.
Residual.
The data that could not be correlated
-- typically random noise.
Varimax rotation
A secondary tweaking of the PCs to help
better observe relationships.
It is essentially a secondary rotation of your
data in an attempt to lump all variance from
individual variables in to single components.
It can often help you to better understand
the effects of your original data.
Varimax rotation
1
2
3
4
5
original
variables
% variance % variance % variance
PC1 PC PC
Assume we have 5 original variables and are
only interested in the first 3 PC.
Varimax rotation
After varimax rotation, it might look like:
% variance % variance % variance
1
2
3
4
5
original
variables
PC PC2 PC
The significance of each
variable is easier to see.
Using PCA results
The best way to appreciate PCA is to look at
a series of examples.
We’ll attempt to show what types of
information can be obtained and how it can
be used.
Examples
Classification of artifacts
Classification of whiskey
Noise reduction of 3D data
PCA of archaeological artifacts
The information presented in this
example is from:
!
Kowalski, Schatzki and Stross, Anal.
Chem. 44, 2176 (1972).
A complete evaluation of the data is
also presented in Chemometrics by
Sharaf, Illman and Kowalski, John Wiley
& Sons, 1986.
PCA of archaeological artifacts L1 vs. L
The loadings show
that Ca and Fe both
have an effect on PC1.
The other variables
have a smaller effect.
0. 022 0. 810
Ca
Ti
Fe
Sr
Rb
K
Zr
Mn
Ba
Y
Zr
Sr
Rb
Mn
Ca
Ba
Ti
Fe
Correlation plot
XLStat will also
produce a plot that
indicates the
correlation between
the original variables
and the factors.
Here, it indicates
that Y has little effect
and the other have
impact on both PCs.
Archaeological artifacts - Autoscaling
PCA of archaeological artifacts
Now that each variable
is given equal weight,
variance is no longer all
‘smashed’ into the 1st
component.
F1 (52.52 %)
F2 (20.78 %)
PC Biplot showing scores and loadings
1
vs. PC
2
PCA of archaeological artifacts
So what does it all mean?
In this case, both scaled and unscaled results
indicate a grouping of related samples - XRF
results can be used to classify related samples.
Samples from different quarries (1-4) can
easily be determined although samples from
site 2 are pretty scattered.
Can we tell anything about the artifacts?
No artifacts
appear to
have come
from quarry
site 4.
Itʼs well
resolved
from the
other
samples.
Zr
Sr
Rb
Mn
Ca
Ba
Ti
Fe
Archaeological artifacts - Results
Zr
Sr
Rb
Mn
Ca
Ba
Ti
Fe
Artifacts from site 6
appear to come from
quarry 2, although the
results are scattered.
Artifacts from site 7
are from quarry 3.
Site 5 artifacts appear
to come from all over
the place. Itʼs
possible that this was
a nomadic tribe.
Using the loadings
The loadings indicate that many of our
variables are closely related.
our results.
We can reprocess our data after eliminating
V and some of our correlated variables.
This might improve our results.
At a minimum it will make subsequent
studies easier - less data to collect.
Using the loadings
Use K
Use Ca
Use K
Use Fe
Use
Remove
Modified Study
We now only 4 variables.
Is it enough to still give the same
characterization as with the original 10?
If this works, we’ll be able to save quite a
bit of time and money on subsequent
assays.
Also, does it improve our results?
Zr
Ca
Fe
PC
1
vs. PC
2
Our results are almost identical
to our 10 variable work.
Blending of one scotch into another
**- 1
PC
PC
% of brand Y in
the blend.
Contamination
ppm methybenzoate
vs. PC
- 2
ppm
PC
Dilution
**- 1
PC
PC
% by V, whiskey