{"id":16518206,"url":"https://github.com/fonnesbeck/uterine_fibroids_ma","last_synced_at":"2026-05-08T12:45:08.809Z","repository":{"id":141345914,"uuid":"46732077","full_name":"fonnesbeck/uterine_fibroids_MA","owner":"fonnesbeck","description":"Meta-analysis of uterine fibroids treatment outcomes","archived":false,"fork":false,"pushed_at":"2017-11-24T17:28:12.000Z","size":21202,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T07:44:38.800Z","etag":null,"topics":["clinical-research","meta-analysis","pymc3","python","statistics"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fonnesbeck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-23T16:12:30.000Z","updated_at":"2020-07-02T00:22:44.000Z","dependencies_parsed_at":"2023-05-04T08:02:31.398Z","dependency_job_id":null,"html_url":"https://github.com/fonnesbeck/uterine_fibroids_MA","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonnesbeck%2Futerine_fibroids_MA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonnesbeck%2Futerine_fibroids_MA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonnesbeck%2Futerine_fibroids_MA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fonnesbeck%2Futerine_fibroids_MA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fonnesbeck","download_url":"https://codeload.github.com/fonnesbeck/uterine_fibroids_MA/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241570824,"owners_count":19984001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clinical-research","meta-analysis","pymc3","python","statistics"],"created_at":"2024-10-11T16:35:10.633Z","updated_at":"2026-05-08T12:45:03.777Z","avatar_url":"https://github.com/fonnesbeck.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Analysis plan: Uterine fibroids follow- up treatment meta-analysis\n\n### Chris Fonnesbeck\n**22 December 2015**\n\nOur goal is to estimate the probabilities of requiring one of a suite of candidate follow-up treatments following randomization to a given initial treatment for uterine fibroids. Specifically, we are interested in estimating:\n\n$$Pr(I_2|I_1 =i,T=t)$$\n\nwhere $I_1$ is an initial intervention, which take specific values $i = 1, 2, \\ldots , K$ for each of $K$ candidate intervention types, $I_2$ is the followup intervention that also may take any of the same values of $i$, and $T$ is followup time in months, which will generally be either 6 or 12 months.\n\nOur current set of candidate interventions include:\n\n- Myomectomy\n- Hysterectomy\n- Ablation\n- UAE\n- Magnetic resonance imaging-guided high-intensity focused ultrasound (MRIgFUS) \n- Ablation +/- hysteroscopic myomectomy\n- No intervention\n\nRather than model each conditional probability independently, we will instead model the outcomes for a treatment arm as a multinomial random variable. That is,\n\n$$\\{X_{I_2} \\} ∼ \\text{Multinomial}(N_{I_1}=i, \\{\\pi_i\\})$$\n\nwhere $\\{X_{I_2}\\}$ is the vector of outcomes corresponding to each of the possible followup interventions listed above, $N_{I_1}=i$ is the number of women randomized to the initial intervention i, and $\\{\\pi_i\\}$ is a vector of conditional transition probabilities corresponding to $Pr(I_2|I_1 = i, T = t)$, as specified above. The multinomial distribution is a multivariate generalization of the categorical distribution, which is what the above simplifies to when modeling the outcome for a single patient. The multivariate formulation allows us to model study-arm-specific outcomes, incorporating covariates that are specific to that arm or study.\n       \nThe quantities of interest are the vectors of transition probabilities $\\{\\pi_i\\}$ corresponding to each of the initial candidate interventions. A naive approach to modeling these is to assign a vague Dirichlet prior distribution to each set, and perform Bayesian inference using the multinomial likelihood, with which the Dirichlet is conjugate, to yield posterior estimates for each probability. However, there may be additional information with which to model these probabilities, which may include:\n\n- followup time for each study\n- arm-specific demographic covariates (e.g. race, mean age) \n- study-specific random effects\n\nhence, a given transition probability $\\pi_{ijk}$ – the probability of transitioning from initial intervention $i$ to followup intervention $j$ in study $k$ – may be modeled as:\n\n$$\\text{logit}(\\pi_{ijk})= \\theta_{ij} + X_k \\beta_{ij} + \\epsilon_k$$\n\nwhere $\\theta_{ij}$ is a baseline transition probability (on the logit scale), $X_k$ a matrix of study(-arm)-specific covariates, $\\beta_{ij}$ the corresponding coefficients, and $\\epsilon_k$ a mean-zero random effect for study k. We will initially consider (1) follow-up time and (2) mean/median age as covariates.\n \nAn attractive benefit to using Bayesian inference to estimate this model is that it is easy to generate predictions from the model, via the posterior predictive distribution. For example, we could estimate the distribution of the expected proportion of women requiring a particular followup intervention; this estimate would factor in both the residual uncertainty in the transition probability estimates, as well as the sampling uncertainty of the intervention.\n    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffonnesbeck%2Futerine_fibroids_ma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffonnesbeck%2Futerine_fibroids_ma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffonnesbeck%2Futerine_fibroids_ma/lists"}