Package: semfindr 0.1.8.1

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.

Authors:Shu Fai Cheung [aut, cre], Mark Hok Chio Lai [aut]

semfindr_0.1.8.1.tar.gz
semfindr_0.1.8.1.zip(r-4.5)semfindr_0.1.8.1.zip(r-4.4)semfindr_0.1.8.1.zip(r-4.3)
semfindr_0.1.8.1.tgz(r-4.4-any)semfindr_0.1.8.1.tgz(r-4.3-any)
semfindr_0.1.8.1.tar.gz(r-4.5-noble)semfindr_0.1.8.1.tar.gz(r-4.4-noble)
semfindr_0.1.8.1.tgz(r-4.4-emscripten)semfindr_0.1.8.1.tgz(r-4.3-emscripten)
semfindr.pdf |semfindr.html
semfindr/json (API)
NEWS

# Install 'semfindr' in R:
install.packages('semfindr', repos = c('https://sfcheung.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/sfcheung/semfindr/issues

Datasets:
  • cfa_dat - Sample Data: A CFA Model
  • cfa_dat2 - Sample Data: A CFA Model with an Influential Case
  • cfa_dat_heywood - Sample Data: A CFA Model with a Heywood Case
  • cfa_dat_mg - Sample Data: A Multiple-Group CFA Model with an Influential Case
  • pa_dat - Sample Data: A Path Model
  • pa_dat2 - Sample Data: A Path Model with an Influential Case
  • sem_dat - Sample Data: A Latent Variable Structural Model
  • sem_dat2 - Sample Data: A Latent Variable Structural Model With an Influential Case

On CRAN:

diagnosticsinfluential-caseslavaanoutlier-detectionsensitivity-analysisstructural-equation-modeling

23 exports 1 stars 1.40 score 35 dependencies 85 scripts 231 downloads

Last updated 3 months agofrom:077ab9112d. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 04 2024
R-4.5-winNOTESep 04 2024
R-4.5-linuxNOTESep 04 2024
R-4.4-winOKSep 04 2024
R-4.4-macOKSep 04 2024
R-4.3-winOKSep 04 2024
R-4.3-macOKSep 04 2024

Exports:approx_checkest_changeest_change_approxest_change_gcd_plotest_change_plotest_change_rawest_change_raw_approxfit_measures_changefit_measures_change_approxgcd_gof_md_plotgcd_gof_plotgcd_plotimplied_scoresindex_plotinfluence_statlavaan_rerunlavaan_rerun_checkmahalanobis_predictorsmahalanobis_rerunmd_plotpars_idpars_id_to_lorguser_change_raw

Dependencies:clicolorspacefansifarverggplot2ggrepelgluegtableisobandlabelinglatticelavaanlifecyclemagrittrMASSMatrixmgcvmnormtmunsellnlmenumDerivpbivnormpillarpkgconfigquadprogR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithr

Approximate Case Influence Using Scores and Casewise Likelihood

Rendered fromcasewise_scores.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2023-06-19
Started: 2022-09-02

Quick Start

Rendered fromsemfindr.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2023-06-19
Started: 2021-09-02

Selecting Cases In lavaan_rerun

Rendered fromselecting_cases.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2023-06-19
Started: 2021-09-26

Use Case IDs

Rendered fromuser_id.Rmdusingknitr::rmarkdownon Sep 04 2024.

Last update: 2023-06-19
Started: 2021-09-26

Readme and manuals

Help Manual

Help pageTopics
Compatibility Check for the '_approx' Functionsapprox_check
Sample Data: A CFA Modelcfa_dat
Sample Data: A CFA Model with a Heywood Casecfa_dat_heywood
Sample Data: A Multiple-Group CFA Model with an Influential Casecfa_dat_mg
Sample Data: A CFA Model with an Influential Casecfa_dat2
Standardized Case Influence on Parameter Estimatesest_change
Standardized Case Influence on Parameter Estimates (Approximate)est_change_approx
Plots of Case Influence on Parameter Estimatesest_change_gcd_plot est_change_plot
Case Influence on Parameter Estimatesest_change_raw
Case Influence on Parameter Estimates (Approximate)est_change_raw_approx
Case Influence on Fit Measuresfit_measures_change
Case Influence on Fit Measures (Approximate)fit_measures_change_approx
Implied Scores of Observed Outcome Variablesimplied_scores
Index Plot of an Arbitrary Statisticindex_plot
Plots of Influence Measuresgcd_gof_md_plot gcd_gof_plot gcd_plot influence_plot md_plot
Case Influence Measuresinfluence_stat
Rerun a 'lavaan' Analysis Using the Leaving-One-Out Approachlavaan_rerun
Compatibility Check for 'lavaan_rerun'lavaan_rerun_check
Mahalanobis Distance On Observed Predictorsmahalanobis_predictors
Mahalanobis Distance on All Observed Variablesmahalanobis_rerun
Sample Data: A Path Modelpa_dat
Sample Data: A Path Model with an Influential Casepa_dat2
Convert Parameter Syntax to Position or Row Numbers in the Parameter Vector or Tablepars_id
Ids to "lhs-op-rhs-(group)"pars_id_to_lorg
Print an 'est_change' Class Objectprint.est_change
Print a 'fit_measures_change' Class Objectprint.fit_measures_change
Print an 'influence_stat' Class Objectprint.influence_stat
Print Method for 'lavaan_rerun'print.lavaan_rerun
Print a 'md_semfindr' Class Objectprint.md_semfindr
Sample Data: A Latent Variable Structural Modelsem_dat
Sample Data: A Latent Variable Structural Model With an Influential Casesem_dat2
Case Influence on User-Defined Statisticsuser_change_raw