summary.power {bmemLavaan}R Documentation

Organize the results into a table

Description

This function is adpated from the lavaan summary function to put the results in a table.

Usage

## S3 method for class 'power'
summary(object,...)

Arguments

object

Output from the function either power.bmem.

...

Other options

Value

The on-screen output includes the basic information of this power analysis, parameters' true values, parameter estimates, average bootstrap standard error, standard deviation of the parameter estimates, powers, standard error of the estimated powers and empirical coverage probability of the constructed CIs.

Examples


ex1model<-'
math ~ c*ME + start(0)*ME + b*HE + start(0.39)*HE
HE ~ a*ME + start(0.39)*ME
ab := a*b
'

N <- 50

system.time(power_robust <- power.bmem(ex1model, method = "robust", nobs = N,
        nrep=100, parallel=TRUE, ncore=8))
summary.power(power_robust)


[Package bmemLavaan version 0.5 Index]