Statistics:Multivariate Analysis:Partial Least Squares
Perform Partial Least Squares Regression
Minimum Origin Version Required: 9.1 SR0
This feature is for OriginPro only.
1. pls ix:=1!2[1]:44[20] iy:=1!45[1]:47[20] method:=svd scale:=0 cv:=1 output.stat:=1 output.xw:=1 plot.vip:=1 plot.xload:=1 plot.yload:=1 plot.res:=1;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Independent Variables | ix |
Input Range |
|
Specify the input data for independent variables. Note that beginning with Origin 2020b, there is a shortened syntax that follows the form [Book]Sheet!(N1:N2), N1 = the beginning column index and N2 being the ending column index in a contiguous range of columns. More complex strings from non-contiguous data of the form [Book]Sheet!([Book]Sheet!N1:N2,[Book]Sheet!N3:N4) are also possible. |
Dependent Variables | iy |
Input Range |
|
Specify the input data for dependent variables. |
Observation Labels | label |
Input Range |
|
Specify the input data of label for observation, the labels will be show in the Score Plots and X-Y Scores Plots in result. |
Predict Responses | predict |
Input int |
|
Determine whether to predict response from the established partial least square model. |
Independent Variables for Prediction | irng |
Input Range |
|
This variable can only be accessed when predict is set to 1. It specifies independent variables for prediction. |
Method | method |
Input int |
|
Specify the method to compute the extracted factors: Option list:
You can refer to the Algorithm for Partial Least Squares Method in Origin Help file. |
Scale Variables | scale |
Input int |
|
Specify whether to divide independent variables by the standard deviation. |
Maximum Number of Factors | factor |
Input int |
|
Specify the maximum number of factors to be in the regression model |
Cross Validation | cv |
Input int |
|
Specify whether to establish the partial least square regression model using the Cross Validation method. |
Quantities | output |
Input TreeNode |
|
Specify which quantities to compute and output. Set the value for output.subnode to control the settings. Details on each sub nodes can be found in the Origin Help file Sub nodes are:
|
Plots | plot |
Input TreeNode |
|
Specify whether to show plots in the PLSn sheet. Set the value for plot.subnode to control the settings. Details on each sub nodes can be found in the Origin Help file
|
Partial Least Squares Report | rt |
Output ReportTree |
|
Specify the output range for the partial least squares report. |
Report Data (Fitted Results) | rdres |
Output ReportData |
|
Specify the output range for the options selected in the output tree node. |
Report Data (Loadings and X Weights) | rdload |
Output ReportData |
|
Specify the output range for the loading values and the X weights. |
Report Data (Scores and Residuals) | rdscore |
Output ReportData |
|
Specify the output range for the score values and the residual values. |
Plot Data | rdplot |
Output ReportData |
|
Specify the output range to put the data for the plot. |
You can refer to the Origin Help file on this topic for details.
You can refer to the algorithm for PLS in the Origin Help file.
You can refer to this Origin Help file for the reference.