SEMCpp: SEMCpp class

SEMCppR Documentation

SEMCpp class

Description

internal SEM representation

Fields

new

Creates a new SEMCpp.

fill

fills the SEM with the elements from an 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.

getEstimator

returns the estimator used in the model (e.g., fiml)

getParameterLabels

Returns a vector with unique parameter labels as used internally.

getGradients

Returns a matrix with scores.

getScores

Returns a matrix with scores.

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.