Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 767 Bytes

File metadata and controls

20 lines (12 loc) · 767 Bytes

RAPSEM

This repository contains the code for the submitted paper:

Sofia Morelli, Roberto Faleh, Holger Brandt (2025).
RAPSEM: Identifying Latent Mediators Without Sequential Ignorability via a Rank-Preserving Structural Equation Model.
Available at arXiv:2509.23935

Repository Structure

  • rapsem: Contains the R package for estimating latent mediation effects. You can download and install it via the provided .tar.gz file.
  • simulation_study: Contains all code for the simulation studies, including data generation and plotting scripts.

Installation

To install the rapsem R package from the .tar.gz file:

install.packages("path_to/rapsem_x.y.z.tar.gz", repos = NULL, type = "source")