Skip to content

Medication Effectiveness Comparison MicroSim

Run the Medication Effectiveness Comparison MicroSim MicroSim Fullscreen

About This MicroSim

This MicroSim demonstrates comparative effectiveness research — the kind of aggregate query a graph database enables across treatment groups. The top scatter plots each patient's HbA1c against months on treatment for four diabetes medications, with a smoothed trend line per drug and a dashed clinical target at 7.0. The bottom box plots compare the distribution of 12-month HbA1c for each drug, so students can see not just which medication lowers HbA1c most on average but how much patient-to-patient variation each has.

How to Use

Use the checkboxes to show or hide individual medications and the minimum-group-size slider to require a minimum number of patients per group. Compare the trend lines to see which drug drives HbA1c down fastest (GLP-1 and SGLT2 reach the target; Metformin plateaus higher), then compare the box plots to weigh median effectiveness against the spread of outcomes — the heart of choosing a treatment from population data.

Iframe Embed Code

You can add this MicroSim to any web page by adding this to your HTML:

1
2
3
4
<iframe src="https://dmccreary.github.io/modeling-healthcare-data/sims/medication-effectiveness-comparison-microsim/main.html"
        height="450px"
        width="100%"
        scrolling="no"></iframe>

Lesson Plan

Grade Level

9-12 (High School Geometry)

Duration

10-15 minutes

Prerequisites

TODO: List prerequisites.

Activities

  1. Exploration (5 min): TODO
  2. Guided Practice (5 min): TODO
  3. Assessment (5 min): TODO

Assessment

TODO: List assessment criteria.

References

  1. TODO: Add references.