Simulation-Based Power Estimation (MSPE) for Nonlinear SEM
Overview
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) doi:10.31219/osf.io/pe5bj and detailed description are given in Irmer et al. (2024b) doi:10.3758/s13428-024-02476-3.
- Fix minor bugs
- Add DOI for articles this package is based on (Irmer et al., 2024a, 2024b) in DESCRIPTION, function documentation and Vignettes
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘FSR.R’ ‘SR.R’ ‘helper_functions_model.R’ ‘plot.powerNLSEM.R’
‘smart_search.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'FSR.R' 'SR.R' 'helper_functions_model.R' 'plot.powerNLSEM.R'
'smart_search.R'- NOTE13 NOTENow
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 12
- Examples that run
- 0%3 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 13%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 42%
- powerNLSEM HTML
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 157
Forks over time
PRs over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/jpirmer/powernlsem on 2026-10-21.
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-04-06Pull request: opened by its own account
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.2Latest
- 0.1.12024-07-31
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-07-31
- Total releases
- 2 / 2 yrs
- License
- GPL-3 OSI
- Download size
- 462 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("powerNLSEM")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.3758/s13428-024-02476-3, 10.31219/osf.io/pe5bj.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.