View source: R/fill_in_theta.R
fill_in_theta | R Documentation |
Extracts the numeric values and
labels of distinct and functionally unrelated parameters from a
fitted structural equation model (i.e., all uniquely labelled
coefficients in C and Psi matrix. Duplicates due to symmetry or
equality constraints are removed.). The entries in the resulting
vectors follow the following predefined order:
First: structural coefficients from the C matrix are added rowwise.
Second: variance covariance parameters from the Psi matrix are added
rowwise.
Supported class of fitted objects: lavaan
.
fill_in_theta(internal_list = NULL)
internal_list |
A list with various information extracted from the model. |
The inputted internal_list with slots in the sublist ..$param
filled in:
..$n_par : | Integer number indicating the total number of estimated parameters. | |
Duplicates due to symmetry or equality constraints are counted. | ||
..$n_par_unique : | Integer number indicating the number of distinct and functionally unrelated parameters. | |
..$labels_par_unique : | Character vector containing the labels of distinct and functionally unrelated parameters. | |
..$values_par_unique : | Numeric vector containing the parameter values (estimates) of distinct and functionally | |
unrelated parameters. | ||
..$varcov_par_unique : | Numeric matrix containing the (co-) variances of the estimator of distinct and | |
functionally unrelated parameters. |
Gische, C., Voelkle, M.C. (2022) Beyond the Mean: A Flexible Framework for Studying Causal Effects Using Linear Models. Psychometrika 87, 868–901. https://doi.org/10.1007/s11336-021-09811-z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.