equilibrium-causal-models
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.6%) to scientific vocabulary
Last synced: 6 months ago
·
JSON representation
·
Repository
Basic Info
- Host: GitHub
- Owner: fdabl
- Language: R
- Default Branch: main
- Size: 34.7 MB
Statistics
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 3 years ago
· Last pushed almost 2 years ago
Metadata Files
Readme
Citation
README.html
README Equilibrium Causal Models
This repository contains code to reproduce all analyses and figures in Ryan, O.⭑ & Dablander, F.⭑ (2022). Equilibrium Causal Models: Connecting Dynamical Systems Modeling and Cross-Sectional Data Analysis.
figures.Rcode to reproduce all figures in the manuscriptECM.Rhelper functions relating to ECMs, such as computing shift and press interventions, re-scaling matrices, etc.helpers.Ruseful R functions for simulation and plotting- Simulation/ holds R code to reproduce all simulation studies in the paper:
Simulation/simulation_sanity.Rruns the simulation summarized in Figure 4.Simulation/simulation_measurement.Rruns the simulation summarized in Figure 6.Simulation/simulation_backshift_create.Rcreates data and estimates causal models using backshift.Simulation/simulation_backshift_analyze.Rcalculates metrics of estimated causal models (summarized in Figures 10 and 11)- Results/ includes all simulation results discussed in the manuscript:
Results/sanity_results.RDSholds the results of the simulation summarized in Figure 4.Results/measurement_results.RDSholds the results of the simulation summarized in Figure 6.Results/state_trait_results.RDSholds the results of the simulation summarized in Figure 7.Results/backshift_estimates.RDSholds the estimated causal models.Results/backshift_metrics.csvholds the metrics calculated on the estimated causal models.- Example/ includes code for simulated and empirical examples using
lavaanandbackShift:
Example/example_datagen.Rcreates simulated data based on the running example in the main text with imperfect measurements of the equilibrium, used byexample_modelfit.R.Example/example_data.RDSsimulated data set created byexample_datagen.R.Example/example_modelfit.Rfits the ECM usinglavaanand the measurement model constraints described in Appendix C.Example/example_backshift.Rcreates equilibrium data and estimates an ECM usingbackShift, as in the simulation described in Appendix D.- /EmpiricalExample/ includes the code for the empirical examples in appendices D and F
empirical_example_mcneish.Rillustrates the estimation of an ECM from multilevel time series and estimated equilibriums respectively using data from McNeish and MacKinnon (2022) as described in Appnedix D. It loads Mplus model output objectsstationary mediation lag1.out, along withbpars_saved_l1.datandfscores_saved_l1.dat. Data is open access from https://osf.io/yk3je/.empirical_example_backshift.Rillustrates usingbackShifton the data of Blanken et al. (2019), as described in Appendix F.- Figures/ includes all figures in the manuscript.
Owner
- Name: Fabian Dablander
- Login: fdabl
- Kind: user
- Location: The Netherlands
- Company: University of Amsterdam
- Website: fabiandablander.com
- Repositories: 52
- Profile: https://github.com/fdabl
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
message: "Supplementary Material for Equilibrium Causal Models: Connecting Dynamical Systems Modeling and Cross-Sectional Data Analysis"
authors:
- given-names: Fabian
family-names: Dablander
email: f.dablander@uva.nl
affiliation: University of Amsterdam
- given-names: Oisín
family-names: Ryan
email: o.ryan@uu.nl
affiliation: Utrecht University
title: "Supplementary Material for Equilibrium Causal Models: Connecting Dynamical Systems Modeling and Cross-Sectional Data Analysis"
version: 1.0.0
date-released: 2022-11-02
url: "https://github.com/fdabl/Equilibrium-Causal-Models"