比如,他的路径模型部分的代码是这样的:
The function calculates inner path coefficents in PLS-PM
%
% INPUT:
%
% DB is the Path Design matrix
%
% LV are the latent Variable scores
%
% OUTPUT:
%
% B is the matrix of path coefficients
%
% R2 is the vector of R2 coefficient of inner regressions
%
% res is the matrix of inner residuals