Class "mbsem"
: For representing a model fitted with minorbsem
mbsem-class.Rd
The mbsem
class represents a fitted model.
It contains summary statistics for structural parameters,
summary statistics for standardized residual covariances,
the data used to fit the model, and the fitted Stan model.
Objects from the Class
Objects can be created by calls to the minorbsem
function.
Slots
major_parameters
:Summary statistics for structural parameters
minor_factor_matrix
:Summary statistics for standardized residual covariances
data_list
:Data used to fit the model
priors
:Priors used to fit the model
stan_fit
:Fitted CmdStan model
version
:Package version used to fit model
Methods
- logLik
signature(object = "mbsem")
: Returns the casewise log-likelihood as long as the full data is available.- fitted
signature(object = "mbsem")
: Returns the posterior distribution of the model-implied covariance matrix as a #(iterations) by #(items ^ 2) matrix.- residuals
signature(object = "mbsem", standardized = TRUE)
: Returns the posterior distribution of residual covariances reflecting the influences of minor factors as a #(iterations) by #(items ^ 2) matrix. Ifstandardized = TRUE
, returns standardized residual covariances. Ifstandardized = FALSE
, returns UNstandardized residual covariances.- show
signature(object = "mbsem")
: Pretty printing of model results. Seepretty_print_summary
for more printing options.