Presentation on theme: "Statistics 7. Bar Charts and Histograms"— Presentation transcript:
1Statistics 7. Bar Charts and Histograms Mr F’s Maths NotesStatistics7. Bar Charts and Histograms
27. Bar Charts and Histograms Why do we bother with Statistical Diagrams?The answer to this question is similar to the one for: “why do we bother working out averages and measures of spread?”.We live in a world jam-packed full of statistics, and if we were forced to look at all the facts and figures in their raw, untreated form, not only would we probably not be able to make any sense out of them, but there is also a very good chance our heads would explode.Statistical Diagrams – if they are done properly - present those figures in a clear, concise, visually pleasing way, allowing us to make some sense out of the figures, summarise them, and compare them to other sets of data.Length of Applause (mins)Frequency0 < a ≤ 121 < a ≤ 242 < a ≤ 3153 < a ≤ 5105 < h ≤ 868 < h ≤ 135Big ExampleTo the right is a table showing the length of applause after Mr Barton announces that there will be no homework tonight. Construct a Bar Chart and a Histogram, and comment on the differences
31. Drawing a Bar Chart (Frequency Diagram) Note: Sometimes bar charts are called Frequency Diagrams!1. Decide on an appropriate scale to fit the paper you are working with – as a general rule, the bar chart (or any statistical diagram, for that matter) should take up between half and three-quarters of the space you have to work with.Crucial: Your numbers must go up in equal steps!... see 8. Scatter Diagrams for examples of some very dodgy scales!2. Label your axes. Is it usual to put frequency (total) on the y axis, and whatever the data is along the x axis.3. Carefully draw in your bars… and add a title!Note: In examples like this where the groups are numbers, then it is usual to have the bars touching each otherIf the groups were categories (such as “colour of cars”), then you could have gaps between your bars if you like!
4A Bar Chart to show the Length of Applause after Mr F says “no homework this week”
52. Drawing a Histogram Frequency Frequency Density = Group Width The major difference between a bar chart and a histogram is what goes on the y axisOn a Bar Chart it is FrequencyOn a Histogram it is… Frequency Density!The reasons for this will be discussed soon!1. Add two extra columns to your table… Group Width and Frequency Density2. To work out Group Width, we just do the upper limit of each group minus the lower limit3. To work out Frequency Density, we use this lovely formula:4. We then plot frequency density on the y axis, and our data on the x axis as beforeNote: In Histograms you have no choice… the bars must always be touching!FrequencyFrequency Density =Group Width
6Length of Applause (mins) Group Width: 1 – 0 = 1Frequency Density:2 ÷ 1 = 2Length of Applause (mins)FrequencyGroup WidthFrequency Density0 < a ≤ 1211 < a ≤ 242 < a ≤ 3153 < a ≤ 51055 < h ≤ 8638 < h ≤ 13Group Width: 13 – 8 = 5Frequency Density:5 ÷ 5 = 1
7A Histogram to show the Length of Applause after Mr F says “no homework this week” Note: Sometimes you get asked to draw a Frequency Polygon. Do not fear, this is just a Histogram, but with the top mid-points of each bar joined together with straight lines!
83. What is the Point of Histograms? Have a quick look back at the two diagramsOn the Bar Chart, which group looks like it has the most people in it?… maybe the last one?... because it takes up such a large area compared to the other groups… but if you look on the table of data, this group only had a total of 5!So… Bar Charts can be deceptiveBut look at the Histogram…the group that looks the biggest now is the “between 2 and 3 minutes” group… and this is the group that has the highest frequency!The reason for this is that in a Histogram, the areas of the bars are proportional to the frequency, and not just the height like a bar chart.Note: If all our groups had the same width, it wouldn’t matter, but often they do not, so that is why Histograms tend to be used more than Bar Charts!
94. Interpreting Histograms Example: Here is a Histogram showing the time taken by some year 7s to complete all their times tables. Find the frequencies of each group.This time we are given Frequency Density, and asked to work out Frequency… well, if we do a little re-arranging to our formula we get…Frequency =Frequency Density xGroup WidthTime (mins)Frequency DensityGroup WidthWorkingFrequency0 < t ≤ 3232 x 3 = 663 < t ≤ 544 x 2 = 885 < t ≤ 610110 x 1 = 106 < t ≤ 855 x 2 = 108 < t ≤ 121.51.5 x 4 = 6