Title: Quick guide to PLS
1Quick guide to PLS
Use Alt-Tab to go to LatentiX (if
running) Press Page Down or Enter to
continue Press ESC to end the show
2Dioxin and fatty acid data
- ProblemTo develop a PLS model that can predict
the dioxin concentration (y) in ng/(kg fat) in
fish meal samples from fatty acids profiles
(X).In total 64 samples were analysed and gas
chromatography was used for the determination of
32 fatty acids (including an unidentified group).
The results are given in of all 32 fatty
acids.The very expensive and complex dioxin
analyses were performed by a German laboratory. - DataThe dimension of the data structure is 64
objects x 34 variables.The first two variables
are the species code (herring, sprat, blue
whiting, sand eel etc. in total 15 species) and
the dioxin content.Variables 3 to 34 are the
chromatographic variables.Source Rapid dioxin
assessment in fish products by fatty acid pattern
recognition, Marc Bassompierre, Lars Munck,
Rasmus Bro and Søren Balling Engelsen, Analyst,
129, 553-558, 2004.
3Get the data
4The data in the WorkBench
5Select the fatty acid variables
Write 334 and press ENTER or select the fatty
acid variables in the Variables listbox
6Define a variable set
7Give the set a name, e.g. X
8Now select dioxin in the listbox
The plot window always show the actual selection
in the Objects and Variables listboxes
9Plot dioxin as a function of the objects
Click on this icon
10Define a variable set containing only the dioxin
variable
11Give the set a name, e.g. y
12Autoscale the X data
Then select autoscale
First select X in the Sets box
13The effect is shown instantly in the plot
Click Transform to see how the transformation affe
cts the data
14Make a PLS model
Select PLS in the dropdown menu
15Select the dependent variable(s)
Then select y (or click on Dioxin in the listbox)
First select y in the Sets box
16Autoscale y
17Choose cross validation
Select CV Syst123 (Venetian blinds)
18Choose the number of segments
In this case we use eight segments
19Calculate the PLS model
Then press OK
Press Calculate
20Plot the error
21RMSEC RMSECV
Select both using CTRL
22U vs T plot
23U vs T plot
TIP use the arrows keys to change the number of
components
Change the markers labels
24Plot regression coefficicents
25Regression coefficients
TIP use the arrows keys to change the number of
components
Change the markers labels
26Plot Actual vs Predicted
27Actual vs Predicted for six components
TIP use the arrows keys to change the number of
components
Change the markers labels
THE END