The alsi package provides tools for stability-validated aggregation in Multiple Correspondence Analysis (MCA). It addresses the challenge of dimensional multiplicity by computing the Aggregated Latent Space Index (ALSI), a person-level summary measure derived from validated MCA dimensions.
You can install the released version of alsi from CRAN with:
install.packages("alsi")
Or install the development version from GitHub:
# install.packages("devtools")
devtools::install_github("sekangkim/alsi")
library(alsi)
# Load example data
data(ANR2)
vars <- c("MDD", "DYS", "DEP", "PTSD", "OCD", "GAD", "ANX", "SOPH", "ADHD")
# Run complete workflow
results <- alsi_workflow(
data = ANR2,
vars = vars,
B_pa = 2000, # Parallel analysis permutations
B_boot = 2000, # Bootstrap resamples
seed = 20260123
)
# Extract ALSI values
alpha_values <- results$alsi$alpha
summary(alpha_values)
If you use this software in published research, please cite:
Kim, S.-K. (2026). alsi: Aggregated Latent Space Index for Multiple Correspondence Analysis (R package version 0.1.1).
GPL-3
Se-Kang Kim Department of Pediatrics Baylor College of Medicine se-kang.kim@bcm.edu
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.