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)
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).
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".
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.