1 / 38

SESSION 11 & 12

SESSION 11 & 12. Last Update 3 rd March 2011. Introduction to Statistics. Learning Objectives. (Cumulative Relative) Frequency tables revisited… Catalogue of graphical representations at your disposal Polygons and Ogives – Differentiation

liuz
Télécharger la présentation

SESSION 11 & 12

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SESSION 11 & 12 Last Update 3rd March 2011 Introduction to Statistics

  2. Learning Objectives • (Cumulative Relative) Frequency tables revisited… • Catalogue of graphical representations at your disposal • Polygons and Ogives – Differentiation Use this presentation as a guide. The contents are all relevant to your examination unless specified to the contrary!

  3. Raw Data • Determine number of class intervals Sample size n = 25 Sturges’ formula: • Find maximum and minimum obs:

  4. Raw Data • Calculate class width • Determine the next lower integer value from the minimum: This is the starting value for the first class interval

  5. Class Intervals • Start with the lowest (integer) value = 7. Add the class width to calculate the upper bound. The combination of upper and lower bound give the class interval (Don’t forget the inequality to avoid overlaps). Continue in the same fashion until all required class intervals (here 6) are defined.

  6. Midpoints • Calculate the midpoints of the class intervals:

  7. Tally • Sort all (return) observations into the class intervals (or bins). You may use a designated tally column to do so manually or use the FREQUENCY function in Excel (the results are integer values)

  8. Observed Frequencies • Convert Tally column to observed Frequencies

  9. Cumulative Frequencies • Calculate cumulative frequencies as the running subtotal of the frequency column

  10. Relative Frequencies • Calculate the relative frequencies:

  11. Cumulative Frequencies • Calculate cumulative relative frequencies as the running subtotal of the relative frequency column

  12. Histogram – Data required • Select the class intervals as the horizontal axis (x-axis) and the observed frequencies as the vertical (y-axis). The height of the bars in the histogram should represent the observed frequencies for each class interval.

  13. Histogram

  14. Frequency Polygon – Add Intervals • First, add two additional class intervals. These should have the same width as the other class intervals. Thus, they can be created by subtracting the class width form the lower bound of the first interval and adding the class width to the upper bound of the last class interval. Midpoints are calculated as before [(-7-12)/2 = -9.5 and (28 + 23)/2 = 25.5]. The observed frequencies are zero for both new intervals as all observations fall within the old intervals.

  15. Frequency Polygon – Data required • Select the midpoints as the horizontal axis (x-axis) and the observed frequencies as the vertical (y-axis). Instead of bars use markers (x/y-coordinates). Draw a line through all markers.

  16. Frequency Polygon

  17. Frequency Polygon – continued • Occasionally, the data has a predefined minimum and maximum. Consider the following frequency table of class marks in statistics: Using the previous approach leads to Midpoints (or results) and class intervals that are actually impossible. The logical maximum for class marks is = 100, the logical minimum is – 0!

  18. Frequency Polygon – Data required • The solution is to include the maximum and minimum as two additional points of your frequency polygon (xy-Coordinates: 100/0 and 0/0)

  19. Frequency Polygon – Class Marks

  20. Histogram – Freq. Polygon comb.

  21. Cum. Freq. Graph – Data required • Select the class intervals as the horizontal axis (x-axis) and the cumulative frequencies as the vertical (y-axis).

  22. Cumulative Frequency Graph

  23. less than Ogive – Add interval • For the less than Ogive Graph, an additional data point is required. We can add an additional class interval “ < -7 “. The observed frequency is zero for the new interval as all observations fall within the old intervals.

  24. less than Ogive – Data required • Select the upper bounds as the horizontal axis (x-axis) and the cumulative frequencies as the vertical (y-axis).

  25. less than Ogive

  26. Standardising Data • It may be desirable to express data in terms of relative frequencies. These were calculated before and are contained in the table below (both discrete as well as cumulative). All Graphs introduced so far can be based on relative frequency rather than observed frequency.

  27. Relative Frequency Polygon – Data required • Select the midpoints as the horizontal axis (x-axis) and the relative frequencies as the vertical (y-axis). Instead of bars use markers (x/y-coordinates). Draw a line through all markers. The relative frequencies for the additional class intervals are = 0 (since the observed frequencies = 0). All that changes in comparison to the observed frequency polygon is the y-axis. The shape of the function remains the same.

  28. Relative Frequency Polygon

  29. OR Pie Chart – Data required • Select the class intervals as the categories for the pie slices and the relative frequencies as their corresponding values. The size of the slices should be representative of the proportion. Note that the additional categories have relative frequencies = 0.00. Thus, they may be omitted without altering the pie chart itself. Due to the difficulties associated with free-hand drawing pie charts not relevant to your examination!

  30. Pie Chart

  31. Cumulative Relative Frequency Graph – Data required • Select the class intervals as the horizontal axis (x-axis) and the cumulative relative frequencies as the vertical (y-axis).

  32. Cumulative Relative Frequency Graph

  33. less than Ogive (relative Freq.) – Data required • Select the upper bounds as the horizontal axis (x-axis) and the cumulative relative frequencies as the vertical (y-axis). The associated cumulative relative frequency is = 0.00 (since no observations fall below -7).

  34. less than Ogive (relative Freq.)

  35. less than Ogive (relative Freq.) P(X < 0%) i.e. negative Performance. Here ≈ 0.31 or 31%

  36. Why use Relative Frequencies? In order to compare two datasets (i.e. Investment A and Investment B), the frequencies need to be standardised to compare the frequency distributions. This is necessary since the sample sizes, class intervals and class width may be different across samples.

  37. Graphical Representations Observed Frequencies Relative Frequencies discreet cumulative cumulative discreet Polygon Ogive Polygon Pie Chart Histogram

More Related