mgSEM: mgSEM class

mgSEMR Documentation

mgSEM class

Description

internal mgSEM representation

Fields

new

Creates a new mgSEM.

addModel

add a model. Expects Rcpp::List

addTransformation

adds transforamtions to a model

implied

Computes implied means and covariance matrix

fit

Fits the model. Returns objective value of the fitting function

getParameters

Returns a data frame with model parameters.

getParameterLabels

Returns a vector with unique parameter labels as used internally.

getEstimator

Returns a vector with names of the estimators used in the submodels.

getGradients

Returns a matrix with scores.

getScores

Returns a matrix with scores. Not yet implemented

getHessian

Returns the hessian of the model. Expects the labels of the parameters and the values of the parameters as well as a boolean indicating if these are raw. Finally, a double (eps) controls the precision of the approximation.

computeTransformations

compute the transformations.

setTransformationGradientStepSize

change the step size of the gradient computation for the transformations


lessSEM documentation built on May 29, 2024, 7:10 a.m.