{"paper_id":"bf7d7025-8f41-45b8-924c-169846fd5af0","body_text":"Analysis code for: Endocrine-metabolic and clinical profile of vaginal gestrinone — a single-center retrospective cohort study\nAuthors/Creators\n- 1. Brazilian Society for Research and Teaching in Medicine (SOBRAPEM)\n- 2. Escola Paulista de Medicina, Federal University of Sao Paulo (EPM-UNIFESP)\n- 3. School of Medicine, Anhembi Morumbi University, Sao Jose dos Campos, Brazil\nDescription\nStatistical and reporting code for a single-center retrospective cohort study of vaginal gestrinone in endometriosis, characterizing its endocrine-metabolic profile, bleeding pattern, tolerability and treatment persistence. No patient data are included and none can be released; the deposit contains code only. Participants are referred to by pseudonymous study identifiers that cannot be resolved without the confidential key, which is held solely by the investigator.\nContents: the statistical core (Wilcoxon signed-rank test by Monte Carlo permutation with 50,000 resamples and a fixed seed, Hodges-Lehmann median differences with distribution-free confidence intervals derived from the Walsh averages, rank-biserial effect sizes, Holm adjustment within the pair of main biochemical outcomes and Benjamini-Hochberg false discovery rate control within each exploratory family, Spearman and Mann-Whitney), the database consolidation and paired analysis scripts, the clinical outcome and association analyses, the table and figure generators, the Kaplan-Meier persistence estimate, the manuscript and supplementary-material assemblers, and the consistency guard that checks the assembled manuscript against the generated tables and fails the build on disagreement.\nThis version supersedes the code first deposited in draft in July 2026, which predates the permutation test, the Walsh-average confidence interval and the Holm adjustment, and therefore does not reproduce the reported numbers.\nRequires Python 3.11 or later with numpy, scipy, statsmodels, lifelines, python-docx and pypdf. Released under the MIT License.\nFiles\ngestrinone-vaginal-analysis-code.zip\nAdditional details\nSoftware\n- Programming language\n- Python","source_license":"CC0","license_restricted":false}