Docsity

Chemometric PCA -II, Lecture Notes- Physics, Study notes of Advanced Physics

Toggle sidebar
bg1
PCA for removal of noise
With PCA analysis, correlated data is
extracted into a series of score-loading
pairs.
Random noise is uncorrelated and tends
to stay in the residual matrix.
This feature can be exploited as a means
of improving S/N in a 2-D data set.
PCA for removal of noise
GC/MS example
A GC/MS dataset is already a suitable matrix
for PCA work. It already exists as a scaled
matrix.
PCA can be used to extract all significant
information, leaving the noise behind.
The datafile can then be reconstructed from
the loadings and scores.
GC/MS example
++ . . . + +=
m
nnnn
m
mm
pʼa
pʼ2
pʼ1
t1t2ta
noise
m
n
GC/MS
data
++ . . . +
m
nnn
m
pʼa
pʼ2
pʼ1
t1t2ta
m
n
new
GC/MS
data
=
m = m/e n = scans
GC/MS example
For the evaluation of the approach, a 6
component mixture was assayed over a range
of concentrations.
!Components:
!benzene, toluene, ethylbenzene,
!dichloromethane, trichloromethane
!tetrachloromethane.
!Concentration range: 0.005-1% V/V
Number of components required
The optimum
number of
components was
determined by
measuring peak
area for all 6
components.
8 PCs was found
to be adequate for
extraction of all
peak area
information.
Number of components required
The same type
of evaluation
was made for
mass spectral
quality.
Again, at 8 PCs,
it was
determined that
the optimum
match quality
was observed.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Chemometric PCA -II, Lecture Notes- Physics and more Study notes Advanced Physics in PDF only on Docsity!

PCA for removal of noise

With PCA analysis, correlated data is

extracted into a series of score-loading

pairs.

Random noise is uncorrelated and tends

to stay in the residual matrix.

This feature can be exploited as a means

of improving S/N in a 2-D data set.

PCA for removal of noise

GC/MS example

A GC/MS dataset is already a suitable matrix

for PCA work. It already exists as a scaled

matrix.

PCA can be used to extract all significant

information, leaving the noise behind.

The datafile can then be reconstructed from

the loadings and scores.

GC/MS example

m
n n n n
m
m m
pʼ
a
pʼ
pʼ
t
t
t
a
noise
m
n
GC/MS
data
m
n n n
m
pʼ
a
pʼ
pʼ
t
t
t
a
m
n
new
GC/MS
data

m = m/e n = scans

GC/MS example

For the evaluation of the approach, a 6

component mixture was assayed over a range

of concentrations.

! Components:

! benzene, toluene, ethylbenzene,

! dichloromethane, trichloromethane

! tetrachloromethane.

! Concentration range: 0.005-1% V/V

Number of components required

The optimum

number of

components was

determined by

measuring peak

area for all 6

components.

8 PCs was found

to be adequate for

extraction of all

peak area

information.

Number of components required

The same type

of evaluation

was made for

mass spectral

quality.

Again, at 8 PCs,

it was

determined that

the optimum

match quality

was observed.

Effect on chromatographic data quality

A significant

reduction in

noise was

observed.

S/N improved

by a factor

of 1.

0.005% V/V original

PCA processed

Mass spectral improvements

original

dichloromethane

0.005% V/V

PCA

Mass spectral improvements

ethylbenene

0.005% V/V

Original

PCA

Mass spectral improvements

Overall match quality improved by an

average of 17%.

The major reason for this was that

small noise related lines had been

eliminated.

An additional advantage of the

method is that datafile size was

reduced by 30%.

Noise removal from 2-D NMR data

PCA has also been evaluated as a

means of removing noise from 2-D

COSY NMR spectra.

One major difference from the GC/

MS approach is that the ‘data’ is

uncorrelated and it is the artifacts that

are extracted.

The data remains in the residual.

Noise removal from 2-D NMR data

FID trace

The signal of interest

in this type of

experiment is

uncorrelated by

nature.

For evaluation of the

method, a 2K x 2K

COSY spectrum for

menthol was obtained.

Wines - Initial dendrogram

Cc Cc Cr Cr Cr Oc

Cc Cc Oc

Or Cr Cr Cr Cr Cr Or Cr Or Cc Cc Cc Oc

Cc Cc Cc Cc Cc Cc Cc Cc Cc Cc Oc Oc

Or Or Oc

Or Oc Oc

Cr

0

1

2

3

4

5

6

7

Dissimilarity

Wines - Initial dendrogram

Wines - Eigenvalues

0

1

2

3

F1 F2 F3 F4 F5 F6 F7 F8 F

Eigenvalue

0

20

40

60

80

100

Cumulative variability (%)

PC Plots

Or

Or

Or

Or

Or

Or

Oc

Oc

Oc

Oc

Oc

Oc

Oc

Oc

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cc

Cc

Cc

Cc

Cc

Cc

Cc Cc

Cc

Cc

Cc Cc

Cc

Cc

Cc

Cc

Cc

0

1

2

3

4

-4 -3 -2 -1 0 1 2 3 4 5

F1 (36.35 %)
F2 (24.86 %)

PC Plots

Or

Or

Or

Or

Or

Or

Oc

Oc Oc

Oc

Oc

Oc

Oc

Oc

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

0

1

2

3

-4 -3 -2 -1 0 1 2 3 4

F1 (36.35 %)

F3 (11.19 %)

Or

Or

Or

Or

Or

Or

Oc

Oc Oc

Oc

Oc

Oc

Oc

Oc

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cr

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

Cc

0

1

2

3

-4 -3 -2 -1 0 1 2 3 4

F2 (24.86 %)

F3 (11.19 %)

1-hexanol

3-ethoxy-1-

propanol

ethyl octanoate

2,3-butanediol

benzyl alcohol

K

Na

Ca

Mn

-0.

-0.

-0.

0

1

-1 -0.75 -0.5 -0.25 0 0.25 0.5 0.75 1

Loading 1
Loading 2

Wines - Loading plot

Wines - summary

Using just 9 variables - 5 organic species and 4

metals, it was possible to identify both the

type and source of the wine samples.

The major source of variation was the type -

Chardonnay or J. Reisling.

Identification of the wine region (Ohio Lake

Erie or California Napa Valley) was the second

major source of variation.

In the next unit we’ll see if a classification

system can be developed using this data.

Earlier examples.

Let’s look at some of the earlier problems

that we evaluated using HCA and see what

we can do with them using PCA.

Iris classification

! Physical measurement of flowers

! Three species.

Coffee

! MS analysis of bean headspace.

! Six regions.

Iris setosa Iris versicolor Iris virginica

Data from Fisher M., The Use of Multiple

Measurements in Taxonomic Problems. Annals of

Eugenics, 7 , 179 -188 (1936).

Correspond to 150 Iris flowers using four variables

(sepal length, sepal width, petal length, petal width)

and their species. Three different species have been

included in this study: setosa, versicolor and

virginica.

233321322333332333222223332222222233332323322233323333333333333333222332222222222233222322223223233211111111111111111111111111111111111111111111121111

Similarity

Iris - Autoscaled, centroidal linkage

Our original dendrogram didnʼt

provide much useful information.

Only one species was resolved

from the other two.

Iris - PCA eigenvalues

0

1

2

3

F1 F2 F3 F

Eigenvalue

0

20

40

60

80

100

Cumulative variability (%)

The first two components

account for 95.7% of the

variance. Data was initially

autoscaled prior to analysis

Iris - scores

F1 (72.82 %)

F2 (22.87 %)

Coffee - later components

PC
P
C

PC3 still

appears to

contain some

class related

information.

PC4 indicates

that two of our

Columbian

samples are

ʻoutliers.ʼ

Arson example

A series of flammable solvents

associate with starting fires were

assayed by GC/MS.

  • GC traces were reduced to a pattern

based on total peak areas for each 1

minute interval during an analysis.

  • A matrix was constructed using that

data which was then subjected to PCA

analysis.

Earlier HCA work

Scores (PC1 - PC2)

A B

C

D

E

Loadings

1,2 and 3

18 and 19

Arson example

The five groups formed reasonable

clusters.

Loadings followed odd pattern.

It should be possible to develop a method

for classifying samples.

Will be used as an example in the next

unit.

Scree plot

0

1

2

3

4

5

6

7

F1 F2 F3 F4 F5 F6 F7 F8 F

F10 F11 F12 F13 F14 F15 F16 F17 F18 F19 F20 F

axis
Eigenvalue

0

20

40

60

80

100

Cumulative variability (%)

Mycobacteria

Mycobacteria - PC1 v PC

-4.

-2.

-6.000 -4.000 -2.000 0.000 2.000 4.000 6.000 8.000 10.

42

43

44

45

46

47

49

Mycobacteria - PC1 v PC

-3.

-2.

-1.

-6.000 -4.000 -2.000 0.000 2.000 4.000 6.000 8.000 10.

42

43

44

45

46

47

49

E
B
B
B
B
B5B
B5A
B
B
B
B
M
M
M
M
M
M
A
A
A
A
A
F1 (29.05 %)
F2 (17.55 %)

Biplot

E B

B

B

B B5B

B5A

B

B

B

B

M

M

M

M

M

M

A

A

A

A

A

-0.

-0.

-0.

0

1

-1 -0.75 -0.5 -0.25 0 0.25 0.5 0.75 1

D1 (25.15 %)

D2 (16.12 %)

After Varimax rotation (loadings)