Description Usage Arguments Value Author(s) References Examples
View source: R/emsem_function.R
This function allows you to fit a structural equation model with one bloc of dependant observed variables and two blocs of explanatory observed variables. Underlying to each bloc there is a latent factor which is simultaneously reconstructed.
1 | emsem_function(Y, X1, X2, T, T1, T2, epsilon = 10^{ -3 }, nb_it = 100)
|
Y |
numeric output matrix (or vector) which is the dependant bloc of observed variables. |
X1 |
numeric input matrix (or vector) which is one explanatory bloc of observed variables. |
X2 |
numeric input matrix (or vector) which is one explanatory bloc of observed variables. |
T |
numeric input matrix (or vector) for extra-covariates linked to Y. |
T1 |
numeric input matrix (or vector) for extra-covariates linked to X1. |
T2 |
numeric input matrix (or vector) for extra-covariates linked to X2. |
epsilon |
numeric accuracy for the convergence criterion. |
nb_it |
numeric for give a maximal number of iteration. |
list giving the reconstructed latent factor values, the estimated model<e2><80><99>s coefficients, the value of the stopping criterion, the number of iterations effected.
Myriam Tami, myriam.tami@univ-grenoble-alpes.fr
https://myriamtami.github.io/data/publications/Tami_thesis.pdf
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.