matrixpls(S, model, W.model = NULL, weightFunction = weight.pls,
parameterEstimator = params.separate, weightSignCorrection = NULL, ...,
validateInput = TRUE, standardize = TRUE)
inner
, reflective
, and formative
defining the free regression paths
in the model.S
,
a model specification model
, and a weight pattern W.model
and
returns a named vector of parameter estimates. The default is
S
,
model specification model
, and weights W
and returns a named vector of parameter estimates. The default is
weightFunction
and parameterEstimator
.S
is standardizedmatrixpls
containing the parameter estimates followed by weights.matrixpls
returns the following as attributes:
TRUE
if the weight algorithm converged and FALSE
otherwise.inner
model matrix with estimated parameters.reflective
model matrix with estimated parameters.formative
model matrix with estimated parameters.matrixpls
is the main function of the matrixpls package. This function
parses a model object and then uses the results to call weightFunction
to
to calculate indicator weight. After this the parameterEstimator
function is
applied to the indicator weights, the data covariance matrix,
and the model object and the resulting parameter estimates are returned.Model can be specified in the lavaan format or the native matrixpls format.
The native model format is a list of three binary matrices, inner
, reflective
,
and formative
specifying the free parameters of a model: inner
(l x l
) specifies the
regressions between composites, reflective
(k x l
) specifies the regressions of observed
data on composites, and formative
(l x k
) specifies the regressions of composites on the
observed data. Here k
is the number of observed variables and l
is the number of composites.
If the model is specified in lavaan format, the native
format model is derived from this model by assigning all regressions between latent
variables to inner
, all factor loadings to reflective
, and all regressions
of latent variables on observed variables to formative
. Regressions between
observed variables and all free covariances are ignored. All parameters that are
specified in the model will be treated as free parameters.
The original papers about Partial Least Squares, as well as many of the current PLS
implementations, impose restrictions on the matrices inner
,
reflective
, and formative
: inner
must be a lower triangular matrix,
reflective
must have exactly one non-zero value on each row and must have at least
one non-zero value on each column, and formative
must only contain zeros.
Some PLS implementations allow formative
to contain non-zero values, but impose a
restriction that the sum of reflective
and t(formative)
must satisfy
the original restrictions of reflective
. The only restrictions that matrixpls
imposes on inner
, reflective
, and formative
is that these must be
binary matrices and that the diagonal of inner
must be zeros.
The argument W.model
is a (l x k
) matrix that indicates
how the indicators are combined to form the composites. The original papers about
Partial Least Squares as well as all current PLS implementations define this as
t(reflective) | formative
, which means that the weight patter must match the
model specified in reflective
and formative
. Matrixpls does not
require that W.model
needs to match reflective
and formative
, but
accepts any numeric matrix. If this argument is not specified, all elements of W.model
that
correspond to non-zero elements in the reflective
or formative
formative
matrices receive the value 1.
Wold, H. (1982). Soft modeling - The Basic Design And Some Extensions. In K. G. Jöreskog & S. Wold (Eds.),Systems under indirect observation: causality, structure, prediction (pp. 1–54). Amsterdam: North-Holland.
weight.pls
; weight.fixed
; weight.optim
; weight.principal
; weight.factor
Weight sign corrections:weightSign.Wold1985
; weightSign.dominantIndicator
Parameter estimators: params.separate