← All posts

Can You Convert Median and IQR to Mean and SD?

Clinical Epidemiology ResearchUniqcret doctor knowledgesData Analytics or Statistics
On this page

✅ Short Answer:

Yes, approximately—but only under strong assumptions, such as a symmetric or normal distribution. Several methods exist for estimating mean and standard deviation (SD) from median, IQR, min, and max, particularly useful in meta-analyses.


🧠 Assumptions

To convert, we assume:


📌 Common Formulas (Wan et al., 2014 / Luo et al., 2018)

1. Estimate Mean

If only median (M), IQR (Q1, Q3) and sample size (n) are known:

Mean ≈ (Q1 + Median + Q3) / 3

2. Estimate Standard Deviation (SD)

From IQR:

SD ≈ (Q3 - Q1) / 1.35

With min (a) and max (b) and median: If n ≥ 25:

SD ≈ (b − a) / 4

Or more accurate:

SD ≈ (Q3 − Q1) / 1.35

🩺 Example

Given:

Estimate:

Mean ≈ (50 + 60 + 70)/3 = 60 SD ≈ (70 - 50)/1.35 ≈ 14.81

⚠️ Limitations


📊 In Stata

If converting reported summary data (not raw):

stata: gen mean = (q1 + median + q3)/3 gen sd = (q3 - q1)/1.35
0
Message for International and Thai ReadersUnderstanding My Medical Context in ThailandRead more →Message for International and Thai ReadersUnderstanding My Broader Content Beyond MedicineRead more →

Comments

No comments yet. Be the first to share your thoughts.

Sign in to comment