
manymome - Mediation, Moderation and Moderated-Mediation After Model Fitting
Computes indirect effects, conditional effects, and conditional indirect effects in a structural equation model or path model after model fitting, with no need to define any user parameters or label any paths in the model syntax, using the approach presented in Cheung and Cheung (2024) <doi:10.3758/s13428-023-02224-z>. Can also form bootstrap confidence intervals by doing bootstrapping only once and reusing the bootstrap estimates in all subsequent computations. Supports bootstrap confidence intervals for standardized (partially or completely) indirect effects, conditional effects, and conditional indirect effects as described in Cheung (2009) <doi:10.3758/BRM.41.2.425> and Cheung, Cheung, Lau, Hui, and Vong (2022) <doi:10.1037/hea0001188>. Model fitting can be done by structural equation modeling using lavaan() or regression using lm().
Last updated 1 months ago
bootstrappingconfidence-intervallavaanmanymomemediationmoderated-mediationmoderationregressionsemstandardized-effect-sizestructural-equation-modeling
8.06 score 1 stars 4 dependents 172 scripts 522 downloads
semptools - Customizing Structural Equation Modelling Plots
Most function focus on specific ways to customize a graph. They use a 'qgraph' output as the first argument, and return a modified 'qgraph' object. This allows the functions to be chained by a pipe operator.
Last updated 3 months ago
diagramgraphlavaanplotsemstructural-equation-modeling
7.12 score 7 stars 87 scripts 1.0k downloads
semfindr - Influential Cases in Structural Equation Modeling
Sensitivity analysis in structural equation modeling using influence measures and diagnostic plots. Support leave-one-out casewise sensitivity analysis presented by Pek and MacCallum (2011) <doi:10.1080/00273171.2011.561068> and approximate casewise influence using scores and casewise likelihood.
Last updated 29 days ago
diagnosticsinfluential-caseslavaanoutlier-detectionsensitivity-analysisstructural-equation-modeling
6.03 score 1 stars 90 scripts 245 downloads
semlbci - Likelihood-Based Confidence Interval in Structural Equation Models
Forms likelihood-based confidence intervals (LBCIs) for parameters in structural equation modeling, introduced in Cheung and Pesigan (2023) <doi:10.1080/10705511.2023.2183860>. Currently implements the algorithm illustrated by Pek and Wu (2018) <doi:10.1037/met0000163>, and supports the robust LBCI proposed by Falk (2018) <doi:10.1080/10705511.2017.1367254>.
Last updated 2 months ago
confidence-intervalslavaanlikelihood-basedprofile-likelihoodstructural-equation-modeling
5.93 score 1 stars 188 scripts 223 downloadslavaan.printer - Helper Functions for Printing 'lavaan' Outputs
Helpers for customizing selected outputs from 'lavaan' by Rosseel (2012) <doi:10.18637/jss.v048.i02> and print them. The functions are intended to be used by package developers in their packages and so are not designed to be user-friendly. They are designed to be let developers customize the tables by other functions. Currently the parameter estimates tables of a fitted object are supported.
Last updated 7 months ago
lavaanstructural-equation-modeling
5.78 score 1 dependents 4 scripts 162 downloads
stdmod - Standardized Moderation Effect and Its Confidence Interval
Functions for computing a standardized moderation effect in moderated regression and forming its confidence interval by nonparametric bootstrapping as proposed in Cheung, Cheung, Lau, Hui, and Vong (2022) <doi:10.1037/hea0001188>. Also includes simple-to-use functions for computing conditional effects (unstandardized or standardized) and plotting moderation effects.
Last updated 6 months ago
bootstrappingconfidence-intervaleffect-sizesmoderationregressionstandardizationstandardized-moderation
5.44 score 1 stars 46 scripts 434 downloads
semlrtp - Likelihood Ratio Test P-Values for Structural Equation Models
Computes likelihood ratio test (LRT) p-values for free parameters in a structural equation model. Currently supports models fitted by the 'lavaan' package by Rosseel (2012) <doi:10.18637/jss.v048.i02>.
Last updated 2 months ago
hypothesis-testinglavaanstructural-equation-modeling
4.98 score 24 scripts 543 downloadsbetaselectr - Betas-Select in Structural Equation Models and Linear Models
It computes betas-select, coefficients after standardization in structural equation models and regression models, standardizing only selected variables. Supports models with moderation, with product terms formed after standardization. It also offers confidence intervals that account for standardization, including bootstrap confidence intervals as proposed by Cheung et al. (2022) <doi:10.1037/hea0001188>.
Last updated 5 months ago
bootstrappingconfidence-intervalsgeneralized-linear-modelslavaanlogistic-regressionregressionsemstandardizationstructural-equation-modeling
4.95 score 1 stars 8 scripts 576 downloads
semhelpinghands - Helper Functions for Structural Equation Modeling
An assortment of helper functions for doing structural equation modeling, mainly by 'lavaan' for now. Most of them are time-saving functions for common tasks in doing structural equation modeling and reading the output. This package is not for functions that implement advanced statistical procedures. It is a light-weight package for simple functions that do simple tasks conveniently, with as few dependencies as possible.
Last updated 5 months ago
bootstrappinglavaanstructural-equation-modeling
4.91 score 1 stars 27 scripts 573 downloads
modelbpp - Model BIC Posterior Probability
Fits the neighboring models of a fitted structural equation model and assesses the model uncertainty of the fitted model based on BIC posterior probabilities, using the method presented in Wu, Cheung, and Leung (2020) <doi:10.1080/00273171.2019.1574546>.
Last updated 7 months ago
lavaanmodel-comparisonmodel-comparison-and-selectionmodel-selectionstructural-equation-modeling
4.54 score 2 scripts 201 downloads
lmhelprs - Helper Functions for Linear Model Analysis
A collection of helper functions for multiple regression models fitted by lm(). Most of them are simple functions for simple tasks which can be done with coding, but may not be easy for occasional users of R. Most of the tasks addressed are those sometimes needed when using the 'manymome' package (Cheung and Cheung, 2023, <doi:10.3758/s13428-023-02224-z>) and 'stdmod' package (Cheung, Cheung, Lau, Hui, and Vong, 2022, <doi:10.1037/hea0001188>). However, they can also be used in other scenarios.
Last updated 1 months ago
regression-models
4.45 score 14 scripts 241 downloadsmanymome.table - Publication-Ready Tables for 'manymome' Results
Converts results from the 'manymome' package, presented in Cheung and Cheung (2023) <doi:10.3758/s13428-023-02224-z>, to publication-ready tables.
Last updated 4 months ago
lavaanmanymomemediationmoderated-mediationmoderationregressionsemstructural-equation-modeling
4.00 score 2 scripts 220 downloads