standardizedSolution.RdStandardized solution of a latent variable model.
standardizedSolution(object, type = "std.all", se = TRUE, zstat = TRUE,
pvalue = TRUE, ci = TRUE, level = 0.95, cov.std = TRUE,
remove.eq = TRUE, remove.ineq = TRUE, remove.def = FALSE,
partable = NULL, GLIST = NULL, est = NULL,
output = "data.frame")An object of class lavaan.
If "std.lv", the standardized estimates are
on the variances of the (continuous) latent variables only.
If "std.all", the standardized estimates are based
on both the variances of both (continuous) observed and latent variables.
If "std.nox", the standardized estimates are based
on both the variances of both (continuous) observed and latent variables,
but not the variances of exogenous covariates.
Logical. If TRUE, standard errors for the standardized parameters will be computed, together with a z-statistic and a p-value.
Logical. If TRUE, an extra column is added containing
the so-called z-statistic, which is simply the value of the estimate divided
by its standard error.
Logical. If TRUE, an extra column is added containing
the pvalues corresponding to the z-statistic, evaluated under a standard
normal distribution.
If TRUE, simple symmetric confidence intervals are added to
the output
The confidence level required.
Logical. If TRUE, the (residual) observed covariances are scaled by the square root of the `Theta' diagonal elements, and the (residual) latent covariances are scaled by the square root of the `Psi' diagonal elements. If FALSE, the (residual) observed covariances are scaled by the square root of the diagonal elements of the observed model-implied covariance matrix (Sigma), and the (residual) latent covariances are scaled by the square root of diagonal elements of the model-implied covariance matrix of the latent variables.
Logical. If TRUE, filter the output by removing all rows containing equality constraints, if any.
Logical. If TRUE, filter the output by removing all rows containing inequality constraints, if any.
Logical. If TRUE, filter the ouitput by removing all rows containing parameter definitions, if any.
List of model matrices. If provided, they will be used
instead of the GLIST inside the object@Model slot. Only works if the
est argument is also provided. See Note.
Numeric. Parameter values (as in the `est' column of a
parameter table). If provided, they will be used instead of
the parameters that can be extract from object. Only works if the GLIST
argument is also provided. See Note.
A custom list or data.frame in which to store
the standardized parameter values. If provided, it will be used instead of
the parameter table inside the object@ParTable slot.
Character. If "data.frame", the parameter table is
displayed as a standard (albeit lavaan-formatted) data.frame.
If "text" (or alias "pretty"), the parameter table is
prettyfied, and displayed with subsections (as used by the summary function).
The est, GLIST, and partable arguments are not meant for
everyday users, but for authors of external R packages that depend on
lavaan. Only to be used with great caution.
A data.frame containing standardized model parameters.
HS.model <- ' visual =~ x1 + x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9 '
fit <- cfa(HS.model, data=HolzingerSwineford1939)
#> Warning: lavaan->lav_model_vcov():
#> The variance-covariance matrix of the estimated parameters (vcov) does not
#> appear to be positive definite! The smallest eigenvalue (= -1.747972e-02)
#> is smaller than zero. This may be a symptom that the model is not
#> identified.
standardizedSolution(fit)
#> lhs op rhs est.std se z pvalue ci.lower ci.upper
#> 1 visual =~ x1 0.772 0.043 17.897 0 0.687 0.856
#> 2 visual =~ x2 0.424 0.059 7.128 0 0.307 0.540
#> 3 visual =~ x3 0.581 0.047 12.279 0 0.488 0.674
#> 4 textual =~ x4 0.852 0.019 45.432 0 0.815 0.888
#> 5 textual =~ x5 0.855 0.021 39.808 0 0.813 0.897
#> 6 textual =~ x6 0.838 0.022 37.653 0 0.794 0.882
#> 7 speed =~ x7 0.570 0.046 12.487 0 0.480 0.659
#> 8 speed =~ x8 0.723 0.045 15.923 0 0.634 0.812
#> 9 speed =~ x9 0.665 0.053 12.629 0 0.562 0.768
#> 10 x1 ~~ x1 0.404 0.067 6.071 0 0.274 0.535
#> 11 x2 ~~ x2 0.821 0.050 16.299 0 0.722 0.919
#> 12 x3 ~~ x3 0.662 0.055 12.040 0 0.554 0.770
#> 13 x4 ~~ x4 0.275 0.032 8.608 0 0.212 0.337
#> 14 x5 ~~ x5 0.269 0.037 7.319 0 0.197 0.341
#> 15 x6 ~~ x6 0.298 0.037 7.982 0 0.225 0.371
#> 16 x7 ~~ x7 0.676 0.052 13.006 0 0.574 0.777
#> 17 x8 ~~ x8 0.477 0.066 7.267 0 0.349 0.606
#> 18 x9 ~~ x9 0.558 0.070 7.964 0 0.420 0.695
#> 19 visual ~~ visual 1.000 0.000 NA NA 1.000 1.000
#> 20 textual ~~ textual 1.000 0.000 NA NA 1.000 1.000
#> 21 speed ~~ speed 1.000 0.000 NA NA 1.000 1.000
#> 22 visual ~~ textual 0.459 0.070 6.563 0 0.322 0.595
#> 23 visual ~~ speed 0.471 0.079 5.949 0 0.316 0.626
#> 24 textual ~~ speed 0.283 0.069 4.113 0 0.148 0.418