phantSEM: Create Phantom Variables in Structural Equation Models for
Sensitivity Analyses
Create phantom variables, which are variables that were not observed, for the purpose of sensitivity analyses for structural equation models. The package makes it easier for a user to test different combinations of covariances between the phantom variable(s) and observed variables. The package may be used to assess a model's or effect's sensitivity to temporal bias (e.g., if cross-sectional data were collected) or confounding bias.
| Version: |
1.0.1 |
| Depends: |
R (≥ 3.5.1) |
| Imports: |
tidyr (≥ 1.3.0), dplyr (≥ 1.1.0), corpcor (≥ 1.6.10), lavaan (≥ 0.6-11) |
| Suggests: |
knitr, rmarkdown, testthat (≥ 3.0.0), devtools, tidyverse |
| Published: |
2026-01-13 |
| DOI: |
10.32614/CRAN.package.phantSEM |
| Author: |
Alexis Georgeson
[aut, cre, cph] |
| Maintainer: |
Alexis Georgeson <georgeson.alexis at gmail.com> |
| License: |
MIT + file LICENSE |
| NeedsCompilation: |
no |
| Materials: |
README, NEWS |
| CRAN checks: |
phantSEM results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=phantSEM
to link to this page.