Introduction - If you have any usage issues, please Google them yourself
For single-variable partial least squares regression, regression coefficients are given directly. X0 is the independent variable matrix, Y0 is the dependent variable vector, PRESS is to remove one of them out of the sample and the regression equation for missing samples error estimates, SS is the use of all of the sample regression equation out of a sample of the same error estimates. In h constituent, the calculation PRESS_h and SS_h-1, if the 1-PRESS/SS greater than 0.0975, to increase the ingredients. [Row, col] = size (pz)