Simulation-Based Power Estimation (MSPE) for Nonlinear SEM

Model-implied simulation-based power estimation (MSPE) for nonlinear (and linear) SEM, path analysis and regression analysis. A theoretical framework is used to approximate the relation between power and sample size for given type I error rates and effect sizes. The package offers an adaptive search algorithm to find the optimal N for given effect sizes and type I error rates. Plots can be used to visualize the power relation to N for different parameters of interest (POI). Theoretical justifications are given in Irmer et al. (2024a) and detailed description are given in Irmer et al. (2024b) .


powerNLSEM

This is an R package to conduct the model-implied simulation-based power estimation (MSPE) procedures to find the minimum sample size for a given power within a nonlinear Structural Equation Model (NLSEM) for several parameters of interest (POI).

Install the Latest Working Version from Github

This requires the package devtools.

install.packages("devtools")
devtools::install_github("jpirmer/powerNLSEM", build_vignettes = TRUE)

Use build_vignettes = T to be able to see the documentation linked in "Getting Started".

Install the Submitted Version from GitHub

2024

If you wish to install the version of the package as it was submitted in 2024, please use

install.packages("devtools")
devtools::install_github("jpirmer/powerNLSEM", build_vignettes = TRUE, 
                         ref = "Submitted2024")

Submitted2024 is the branch name.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("powerNLSEM")

0.1.2 by Julien Patrick Irmer, 2 years ago


https://github.com/jpirmer/powerNLSEM


Report a bug at https://github.com/jpirmer/powerNLSEM/issues


Browse source code at https://github.com/cran/powerNLSEM


Authors: Julien Patrick Irmer [aut, cre, cph]


Documentation:   PDF Manual  


GPL-3 license


Imports crayon, lavaan, mvtnorm, numDeriv, pbapply, rlang, stringr

Depends on ggplot2, stats, utils

Suggests knitr, MplusAutomation, rmarkdown, semTools, simsem


See at CRAN