summary.bmem: Sumarize the results of function 'bmem'

View source: R/bmem.R

summary.bmemR Documentation

Sumarize the results of function 'bmem'

Description

Sumarize the results of function 'bmem'

Usage

## S3 method for class 'bmem'
summary(object, estimates=TRUE,...)

Arguments

object

An output object from the function bmem

estimates

Whether output a more detailed results of parameters and values of statistics

...

other options can be used for the generic summary function.

Details

The other type of confidence intervals can be constructed from the output of the function bmem. Note if the BCa is required, the ci='BCa' should have been specified in the function bmem.

Value

The on-screen output includes the parameter estimates, bootstrap standard errors, and CIs.

Examples

data("PoliticalDemocracy")

model_l <- '
ind60 =~ x1 + g*x2 + h*x3
dem60 =~ y1 + d*y2 + e*y3 + f*y4
dem65 =~ y5 + d*y6 + e*y7 + f*y8

dem60 ~ a * ind60
dem65 ~ c * ind60 + b * dem60

y1 ~~ y5
y2 ~~ y4 + y6
y3 ~~ y7
y4 ~~ y8
y6 ~~ y8
ind := a*b'

fit_l <- bmem(data=PoliticalDemocracy, model = model_l, method='list',
    ci='perc', boot=30, parallel = TRUE, ncore = 8)
summary.bmem(fit_l)

bmemLavaan documentation built on May 28, 2022, 5:06 p.m.