Predicting octane content of gasoline using Near Infrared Spectra - - PowerPoint PPT Presentation

predicting octane content of gasoline using near infrared
SMART_READER_LITE
LIVE PREVIEW

Predicting octane content of gasoline using Near Infrared Spectra - - PowerPoint PPT Presentation

Predicting octane content of gasoline using Near Infrared Spectra Data from: Kalivas, John H., "Two Data Sets of Near Infrared Spectra," Chemometrics and Intelligent Laboratory Systems, v.37 (1997) pp.255-259 Example courtesy of the


slide-1
SLIDE 1

Predicting octane content

  • f gasoline using

Near Infrared Spectra

Data from: Kalivas, John H., "Two Data Sets of Near Infrared Spectra," Chemometrics and Intelligent Laboratory Systems, v.37 (1997) pp.255-259 Example courtesy of the Mathworks, Inc. (https://www.mathworks.com/help/stats/examples/partial-least-squares- regression-and-principal-components-regression.html)

slide-2
SLIDE 2

NIR spectra and octane content for 60 gasolines.

Why P.C. regression?

  • Large number of variables

(401 wavelengths)

  • Highly correlated variables
  • Complex relationship – we

expect multiple peaks to correlate with octane.

slide-3
SLIDE 3

PCR model with 2 principal components

  • Low predictive value:

R2 < 0.2

  • We can choose more

components since we don’t need to graphically interpret them (like during PCA).

slide-4
SLIDE 4

Selecting 2 principal components is not enough

Our first two P.C. captured

  • nly 85% of the variance.

The remaining 15% appears to be important.

slide-5
SLIDE 5

10 principal components are highly predictive

10 components works great, but this was arbitrarily chosen. How many components do we need? Cross validation can help.

slide-6
SLIDE 6

Cross validating with increasing components

We repeat the PCR using 0 – 10 principal components. Four components seems to be sufficient. This is the most “parsimonious” model.

slide-7
SLIDE 7

What is loaded onto the four components?

Loadings of the first four principal components contain only a few “peaks”. These spectra are easier to interpret than the original NIR spectra.