internal mgSEM representation
Fields
newCreates a new mgSEM.
addModeladd a model. Expects Rcpp::List
addTransformationadds transforamtions to a model
impliedComputes implied means and covariance matrix
fitFits the model. Returns objective value of the fitting function
getParametersReturns a data frame with model parameters.
getParameterLabelsReturns a vector with unique parameter labels as used internally.
getEstimatorReturns a vector with names of the estimators used in the submodels.
getGradientsReturns a matrix with scores.
getScoresReturns a matrix with scores. Not yet implemented
getHessianReturns 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.
computeTransformationscompute the transformations.
setTransformationGradientStepSizechange the step size of the gradient computation for the transformations