Presentation on theme: "Frequency Distributions and Their Graphs"— Presentation transcript:
1 Frequency Distributions and Their Graphs Section 2.1Frequency Distributionsand Their Graphs
2 Some Needed Definitions & Notation “n” sample size (number of values in a sample, an integer) “range” a measure of width/spread of a data set range = maximum value in set – minimum value in set Summation ∑ (Greek letter “sigma” – uppercase) If x represents height in feet, may have several heights: x1 = 5.5, x2 = 5.8, x3 = 5.4 If want to get sum of all heights, can write: ∑x = ∑x = 16.7 (“the sum of the x-values is 16.7”)
3 Frequency Distribution A table that shows classes or intervals of data with a count of the number of entries in each class.The frequency, f, of a class is the number of data entries in the class.ClassFrequency, f1–556–10811–15616–2021–2526–304Class width 6 – 1 = 5Lower classlimitsUpper classlimits
4 Constructing a Frequency Distribution Decide on the number of classes.Usually between 5 and 20; otherwise, it may be difficult to detect any patterns.Find the class width.Determine the range (max-min) of the data.Divide the range by the number of classes.Round up to the next number. (always!)(if division results in 3.5, round up to 4.0if division results in 8 2/7, round up to 9if division results in 12, round up to 13 !!)
5 Constructing a Frequency Distribution Find the class limits.You can use the minimum data entry as the lower limit of the first class.Find the remaining lower limits (add the class width to the lower limit of the preceding class).Find the upper limit of the first class. Remember that classes cannot overlap.Find the remaining upper class limits.
6 Constructing a Frequency Distribution Make a tally mark for each data entry in the row of the appropriate class.Count the tally marks to find the total frequency f for each class.
7 Example: Constructing a Frequency Distribution The following sample data set lists the prices (in dollars) of 30 portable global positioning system (GPS) navigators. Construct a frequency distribution that has seven classes
8 Solution: Constructing a Frequency Distribution Number of classes = 7 (given)Find the class widthRound up to 56
9 Solution: Constructing a Frequency Distribution Use 59 (minimum value) as first lower limit. Add the class width of 56 to get the lower limit of the next class.= 115Find the remaining lower limits.Lower limitUpper limit59115171227283339395Class width = 56
10 Solution: Constructing a Frequency Distribution The upper limit of the first class is 114 (one less than the lower limit of the second class). Add the class width of 56 to get the upper limit of the next class = 170 Find the remaining upper limits.Lower limitUpper limit59114115170171226227282283338339394395450Class width = 56
11 Solution: Constructing a Frequency Distribution Make a tally mark for each data entry in the row of the appropriate class.Count the tally marks to find the total frequency f for each class.ClassTallyFrequency, f59–114IIII5115–170IIII III8171–226IIII I6227–282283–338II2339–394I1395–450III3
12 Determining the Midpoint Midpoint of a classClassMidpointFrequency, f59–1145115–1708171–2266Class width = 56
13 Determining the Relative Frequency Relative Frequency of a classPortion or percentage of the data that falls in a particular class.ClassFrequency, fRelative Frequency59–1145115–1708171–2266.
14 Determining the Cumulative Frequency Cumulative frequency of a classThe sum of the frequencies for that class and all previous classes.ClassFrequency, fCumulative frequency59–1145115–1708171–22665+13+19
15 Expanded Frequency Distribution ClassFrequency, fMidpointRelativefrequencyCumulative frequency59–114586.50.17115–1708142.50.2713171–2266198.50.219227–282254.524283–3382310.50.0726339–3941366.50.0327395–4503422.50.130Σf = 30
16 Graphs of Frequency Distributions Frequency HistogramA bar graph that represents the frequency distribution.The horizontal scale is quantitative and measures the data values.The vertical scale measures the frequencies of the classes.Consecutive bars must touch.data valuesfrequency
17 Class Boundaries Class boundaries The numbers that separate classes without forming gaps between them.The distance from the upper limit of the first class to the lower limit of the second class is 115 – 114 = 1.Half this distance is 0.5.ClassboundariesFrequency, f59–1145115–1708171–226658.5–114.5First class lower boundary = 59 – 0.5 = 58.5First class upper boundary = = 114.5
18 Class Boundaries Class Class boundaries Frequency, f 59–114 58.5–114.5 115–170114.5–170.58171–226170.5–226.56227–282226.5–282.5283–338282.5–338.52339–394338.5–394.51395–450394.5–450.53
19 Example: Frequency Histogram Construct a frequency histogram for the Global Positioning system (GPS) navigators.ClassClass boundariesMidpointFrequency, f59–11458.5–114.586.55115–170114.5–170.5142.58171–226170.5–226.5198.56227–282226.5–282.5254.5283–338282.5–338.5310.52339–394338.5–394.5366.51395–450394.5–450.5422.53
20 Solution: Frequency Histogram (using Midpoints)
21 Solution: Frequency Histogram (using class boundaries) You can see that more than half of the GPS navigators are priced below $
22 Example: Frequency Polygon Frequency polygon: A line graph that emphasizes the continuous change in frequencies. Construct a frequency polygon for the GPS navigators frequency distribution.ClassMidpointFrequency, f59–11486.55115–170142.58171–226198.56227–282254.5283–338310.52339–394366.51395–450422.53
23 Solution: Frequency Polygon The graph should begin and end on the horizontal axis, so extend the left side to one class width before the first class midpoint and extend the right side to one class width after the last class midpoint.You can see that the frequency of GPS navigators increases up to $ and then decreases.
24 Graphs of Frequency Distributions Relative Frequency HistogramHas the same shape and the same horizontal scale as the corresponding frequency histogram.The vertical scale measures the relative frequencies, not frequencies.data valuesrelative frequency.
25 Example: Relative Frequency Histogram Construct a relative frequency histogram for the GPS navigators frequency distribution.ClassClass boundariesFrequency, fRelativefrequency59–11458.5–114.550.17115–170114.5–170.580.27171–226170.5–226.560.2227–282226.5–282.5283–338282.5–338.520.07339–394338.5–394.510.03395–450394.5–450.530.1
26 Solution: Relative Frequency Histogram From this graph you can see that 27% of GPS navigators are priced between $ and $
27 Solution: Frequency Histogram (using class boundaries) You can see that more than half of the GPS navigators are priced below $
28 Graphs of Frequency Distributions Cumulative Frequency Graph or OgiveA line graph that displays the cumulative frequency of each class at its upper class boundary.The upper boundaries are marked on the horizontal axis.The cumulative frequencies are marked on the vertical axis.data valuescumulative frequency
29 Constructing an OgiveConstruct a frequency distribution that includes cumulative frequencies as one of the columns.Specify the horizontal and vertical scales.The horizontal scale consists of the upper class boundaries.The vertical scale measures cumulative frequencies.Plot points that represent the upper class boundaries and their corresponding cumulative frequencies.
30 Constructing an Ogive Connect the points in order from left to right. The graph should start at the lower boundary of the first class (cumulative frequency is zero) and should end at the upper boundary of the last class (cumulative frequency is equal to the sample size).
31 Example: OgiveConstruct an ogive for the GPS navigators frequency distribution.ClassClass boundariesFrequency, fCumulative frequency59–11458.5–114.55115–170114.5–170.5813171–226170.5–226.5619227–282226.5–282.524283–338282.5–338.5226339–394338.5–394.5127395–450394.5–450.5330
32 Solution: OgiveFrom the ogive, you can see that about 25 GPS navigators cost $300 or less. The greatest increase occurs between $ and $