symphony-dt¶
symphony-dt builds, checks, calibrates, forecasts with and audits Bayesian digital twins of longitudinal clinical cohorts. It ships pd_v2, the frozen model of the SYMPHONY v2 study of Parkinson's disease progression. pd_v2 tracks three scores over time: MDS-UPDRS Part III, MoCA and SCOPA-AUT.
Developed by Ahmed Hemedan.
The logo is a red tulip, the symbol of Parkinson's disease. Its solid half is the patient. Its dotted half is the digital twin, drawn as posterior samples.
Validation manuscript in preparation
The study's results on the Parkinson's Progression Markers Initiative (PPMI) will appear in the validation manuscript. These pages explain the methods. They report no PPMI number.
What the package does¶
| task | where |
|---|---|
| hold a cohort in one validated, long-format data model | Data |
| read your own data from wide tables, OMOP, FHIR, SDTM or a PPMI download | Interoperability |
| check that a cohort sits inside the model's design envelope | Data |
| simulate synthetic cohorts from the generative model | Data |
| fit pd_v2 with Stan and judge convergence by fixed gates | Fitting and gates |
| forecast held-out visits, exactly or quickly | Forecasting |
| score forecasts against LOCF and a mixed model | Evaluation |
| run simulation-based calibration and predictive checks | Calibration checks |
| record manifests, provenance, frozen specifications and reports | Governance |
run a whole study from one study.yaml |
The modeller's workflow |
| keep a twin per person that learns from each visit (EXPERIMENTAL) | The living twin |
| run on Slurm, Docker or Apptainer, or move a run between machines | Running on any machine |
| compare a method against the twin on synthetic scenarios | Benchmark |
Where to start¶
- New to the package. Read Installation, then run the Quickstart and the first tutorial.
- New to the model. Read Digital twins, then The state-space model and the model card.
- Bringing your own data. Read Interoperability, then Data and the workflow.
- Judging the evidence. Read Uncertainty and calibration, Convergence gates and Validation status.
- Following development. Read the development history, which records what each release added.
Validation labels¶
Every public function carries one of three labels. VALIDATED marks the pd_v2 model and the evaluation code of record, as used in the SYMPHONY v2 study. TESTED marks code that is correct on synthetic data and unit tests, but has not been validated on a clinical cohort. EXPERIMENTAL marks code whose design is not settled. The validation status page lists every label.
Scope¶
symphony-dt produces associational forecasts with uncertainty. It makes no causal claim and supports no treatment decision. It is research software, not a medical device.