Expand this Topic clickable element to expand a topic
Skip to content
Optica Publishing Group
  • Journal of Near Infrared Spectroscopy
  • Vol. 16,
  • Issue 1,
  • pp. 31-38
  • (2008)

SAS® Partial Least Squares for Discriminant Analysis

Not Accessible

Your library or personal account may give you access

Abstract

The objective of this work was to implement discriminant analysis using SAS® partial least squares (PLS) regression for analysis of spectral data. This was done in combination with previous efforts, which implemented data pre-treatments including scatter correction, derivatives, mean centring and variance scaling for spectral analysis. Partial least squares analysis is implemented in SAS® as type 2 where a solution for multiple analytes (Y-variables) is determined simultaneously, but cannot work with non-numeric analyte values. For discriminant analysis, samples belonging to one of Z classes are coded for Z analytes with all but one (class to which sample belongs coded as 1) coded as being a 0. Thus, for four classes, all samples are coded with one of four analyte combinations (1,0,0,0; 0,1,0,0; 0,0,1,0; or 0,0,0,1). This paper discusses a SAS® program designed to perform classification/discriminant analysis using SAS® PLS, and to a smaller extent, principal component analysis and reduced rank regression. The authors' previously written SAS® macros for pre-treatment of spectral data are implemented. Examples are presented using two datasets: forages and by-products, and grains. The program allows for testing of multiple spectral pre-treatments in a one-step fashion with summary of all results. The macro coding for the program and test data sets is available at: http://www.impublications.com/nir/page/software. Please note that the program will not work properly on Unix-based systems due to DOS calls.

© 2008 IM Publications LLP

PDF Article
More Like This
Discrimination of healthy and carious teeth using laser-induced breakdown spectroscopy and partial least square discriminant analysis

Meisam Gazmeh, Maryam Bahreini, and Seyed Hassan Tavassoli
Appl. Opt. 54(1) 123-131 (2015)

Comparison of two partial least squares-discriminant analysis algorithms for identifying geological samples with the ChemCam laser-induced breakdown spectroscopy instrument

Ann M. Ollila, Jeremie Lasue, Horton E. Newsom, Rosalie A. Multari, Roger C. Wiens, and Samuel M. Clegg
Appl. Opt. 51(7) B130-B142 (2012)

Error analysis of the spectral shift for partial least squares models in Raman spectroscopy

Haiyi Bian and Jing Gao
Opt. Express 26(7) 8016-8027 (2018)

Cited By

You do not have subscription access to this journal. Cited by links are available to subscribers only. You may subscribe either as an Optica member, or as an authorized user of your institution.

Contact your librarian or system administrator
or
Login to access Optica Member Subscription

Select as filters


Select Topics Cancel
© Copyright 2024 | Optica Publishing Group. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies.