# How to draw a conditional distribution graph for B given A

Below is a frequency table which has data for testing a theory that students who speak a foreign language are also strong mathematics students.

The question says to draw a graph showing conditional distribution of Math grade with the ability to speak a foreign language and give my conclusions. I computed the conditional distributions of Math grade for students who speak a foreign language and drew the below graph but it was marked incorrect. I don not understand why this is incorrect. Do I need to draw a side-by side graph? Something like this? • Ok that's conditioning on the other variable. You had math conditioned on ability first - distribution of math grade conditioned to ability "does speak": P (A / speak) = 70/100; P (B / speak) = 20/100; P (C / speak) = 10/100 but if you need "percent of students speak foreign language per grade" then use distribution of ability conditioned to math grade A: P (speak / A) = 70/85; P (doesn't / A) = 15/85 – Camila Burne Jun 19 '16 at 14:01