Presentation is loading. Please wait.

Presentation is loading. Please wait.

Frequency Distributions

Similar presentations


Presentation on theme: "Frequency Distributions"— Presentation transcript:

1 Frequency Distributions
Section 2.1 Frequency Distributions

2 Objectives Construct a frequency distribution

3 Frequency Distributions
A distribution is a way to describe the structure of a particular data set or population. A frequency distribution is a display of the values that occur in a data set and how often each value, or range of values, occurs. Frequencies (f) are the numbers of data values in the categories of a frequency distribution. A class is a category of data in a frequency distribution.

4 Frequency Distributions
An ordered array is an ordered list of the data from largest to smallest or vice versa. A probability distribution is a theoretical distribution used to predict the probabilities of particular data values occurring in a population. An ungrouped frequency distribution is a frequency distribution where each category or class represents a single value. A grouped frequency distribution is a frequency distribution where the classes are ranges of possible values.

5 Constructing a Frequency Distribution
Constructing a Frequency Distribution 1. Decide how many classes should be in the distribution. There are typically between 5 and 20 classes in a frequency distribution. Several different methods can be used to determine the number of classes that will show the data most clearly, but in this textbook, the number of classes for a given data set will be suggested.

6 Frequency Distributions
Constructing a Frequency Distribution (cont.) 2. Choose an appropriate class width. In some cases, the data set easily lends itself to natural divisions, such as decades or years. At other times, we must choose divisions for ourselves. When starting a frequency distribution from scratch, one method of finding an appropriate class width is to begin by subtracting the lowest number in the data set from the highest number in the data set and dividing the difference by the number of classes.

7 Frequency Distributions
Constructing a Frequency Distribution (cont.) Rounding this number up gives a good starting point from which to choose the class width. You will want to choose a width so that the classes formed present a clear representation of the data and include all members of the data set, so make a sensible choice.

8 Frequency Distributions
Constructing a Frequency Distribution (cont.) 3. Find the class limits. The lower class limit is the smallest number that can belong to a particular class, and the upper class limit is the largest number that can belong to a class. Using the minimum data value, or a smaller number, as the lower limit of the first class is a good place to begin. However, judgment is required. You should choose the first lower limit so that reasonable classes will be produced, and it should have the same number of decimal places as the largest number of decimal places in the data.

9 Frequency Distributions
Constructing a Frequency Distribution (cont.) After choosing the lower limit of the first class, add the class width to it to find the lower limit of the second class. Continue this pattern until you have the desired number of lower class limits. The upper limit of each class is determined such that the classes do not overlap. If, after creating your classes, there are any data values that fall outside the class limits, you must adjust either the class width or the choice for the first lower class limit.

10 Frequency Distributions
Constructing a Frequency Distribution (cont.) 4. Determine the frequency of each class. Make a tally mark for each data value in the appropriate class. Count the marks to find the total frequency for each class.

11 Frequency Distributions
Class width The class width is the difference between the lower limits or upper limits of two consecutive classes of a frequency distribution. The lower class limit is the smallest number that can belong to a particular class. The upper class limit is the largest number that can belong to a particular class.

12 Example 2.1: Constructing a Frequency Distribution
Create a frequency distribution using five classes for the list of 3-D TV prices given in Table 2.2. Table 2.2: 3-D TV Prices (in Dollars and in an Ordered Array) 1595 1599 1685 1699 1757 1787 1799 1885 1888 1899 1984 1999

13 Example 2.1: Constructing a Frequency Distribution (cont.)
Solution Because we were told how many classes to include, we will begin by deciding on a class width. Subtract the lowest data value from the highest and divide by the number of classes, as shown below. This would give us a class width of $81.

14 Example 2.1: Constructing a Frequency Distribution (cont.)
We will stop here and consider some options. Choosing a class width of $81 does seem perfectly reasonable from a theoretical point of view. However, one should consider the impression created by having TV prices grouped in intervals of $81. Can you imagine presenting this data to a client? Instead, it would be more reasonable to group TV prices by intervals of $100. Therefore, we will choose our class width to be $100.

15 Example 2.1: Constructing a Frequency Distribution (cont.)
Next, we need to choose a starting point for the classes, that is, the first lower class limit. One should always first consider using the smallest data value for the beginning point. In this case, if we choose the smallest TV price, we would be starting the first class at $1595 with a width of $100. However, given that we’ve chosen a class width of $100, it is more natural to begin the first class at $1500.

16 Example 2.1: Constructing a Frequency Distribution (cont.)
Now let’s continue building the class limits. Adding the class width of $100 to $1500, we obtain a second lower class limit of $1600. The next lower limit is found by adding $100 to $1600. We continue in this fashion until we have five lower class limits, one for each of our five classes. Finally, we need to determine appropriate upper class limits. Again, be reasonable. Remember, too, that the classes are not allowed to overlap.

17 Example 2.1: Constructing a Frequency Distribution (cont.)
Because the data are in whole dollar amounts, it makes sense to choose upper class limits that are one dollar less than the next lower limit. The classes we have come up with are as follows. 3-D TV Prices Class Frequency $ $1599 $ $1699 $ $1799 $ $1899 $ $1999

18 Example 2.1: Constructing a Frequency Distribution (cont.)
Note that the last upper class limit is also the maximum value in the data set. This will not necessarily occur in every frequency table. However, we have included all the data values in our range of classes, so no adjustments to the classes are necessary. Tabulating the number of data values that occur in each class produces the following frequency table.

19 Example 2.1: Constructing a Frequency Distribution (cont.)
3-D TV Prices Class Frequency $ $1599 $ $1699 $ $1799 $ $1899 $ $1999 2 5 4 Note that the sum of the frequency column should equal the number of data values in the set. Check for yourself that this is true.

20 Characteristics of a Frequency Distribution
Class boundary A class boundary is the value that lies halfway between the upper limit of one class and the lower limit of the next class. After finding one class boundary, add (or subtract) the class width to find the next class boundary. The boundaries of a class are typically given in interval form: lower boundary–upper boundary.

21 Example 2.2: Calculating Class Boundaries
Calculate the class boundaries for each class in the frequency distribution from Example 2.1. Solution Look at the first and second classes. The upper limit of class one is The lower limit of class two is Thus, the class boundary between the first two classes is calculated as follows.

22 Example 2.2: Calculating Class Boundaries (cont.)
Recall that the class width is 100. Adding 100 to gives the next class boundary. You can repeat this step to find the remaining class boundaries. 3-D TV Prices with Class Boundaries Class Frequency Class Boundaries $ $1599 $ $1699 $ $1799 $ $1899 $ $1999 2 5 4

23 Characteristics of a Frequency Distribution
Class Midpoint The class midpoints are often used for estimating the average value in each class.

24 Example 2.3: Calculating Class Midpoints
Calculate the midpoint of each class in the frequency distribution from Example 2.1. Solution The midpoint is the sum of the class limits divided by two. For the first class, the midpoint is calculated as follows.

25 Example 2.3: Calculating Class Midpoints (cont.)
We can use this same calculation to find the midpoints of the remaining classes. Another method is to add 100 (the class width) to the first midpoint, as we did with class boundaries. 3-D TV Prices with Class Boundaries Class Frequency Midpoint $ $1599 $ $1699 $ $1799 $ $1899 $ $1999 2 5 4 1549.5 1649.5 1749.5 1849.5 1949.5

26 Characteristics of a Frequency Distribution
Relative Frequency The relative frequency is the fraction or percentage of the data set that falls into a particular class, given by where f is the class frequency, n is the sample size, given by and is the frequency of the class.

27 Example 2.4: Calculating Relative Frequencies
Calculate the relative frequency for each class in the frequency distribution from Example 2.1. Solution We first find the sample size by summing the class frequencies. Then divide each class frequency by 20.

28 Example 2.4: Calculating Relative Frequencies (cont.)
3-D TV Prices with Relative Frequencies Class Frequency Relative Frequency $ $1599 $ $1699 $ $1799 $ $1899 $ $1999 2 5 4

29 Characteristics of a Frequency Distribution
Cumulative Frequency The cumulative frequency is the sum of the frequencies of a given class and all previous classes. The cumulative frequency of the last class equals the sample size.

30 Example 2.5: Calculating Cumulative Frequencies
Calculate the cumulative frequency for each class in the frequency distribution from Example 2.1. Solution 3-D TV Prices with Cumulative Frequencies Class Frequency Cumulative Frequency $ $1599 $ $1699 $ $1799 $ $1899 $ $1999 2 5 4 7 (2 + 5) 11 ( ) 16 ( ) 20 ( )

31 Example 2.6: Characteristics of a Frequency Distribution
Data collected on the numbers of miles that professors drive to work daily are listed below. Use these data to create a frequency distribution that includes the class boundaries, midpoint, relative frequency, and cumulative frequency of each class. Use six classes. Be sure that your class limits have the same number of decimal places as the largest number of decimal places in the data.

32 Example 2.6: Characteristics of a Frequency Distribution (cont.)
Solution Since this example calls for six classes, a good starting point for the class width is calculated as follows. Numbers of Miles Professors Drive to Work Each Day 3.8 10.2 11.9 2.7 1 5.5 9.3 3.7 4.8 6.5 9.1 7.3 5.8 6.2 7 11 1.4

33 Example 2.6: Characteristics of a Frequency Distribution (cont.)
Because our data are in miles, a more sensible class width to use is 2. Next, to choose the lower class limit of the first class, begin by considering the smallest data value, which is 1 mile. In this case, 1.0 is a reasonable place to begin our classes. Adding the class width of 2 gives us the following table.

34 Example 2.6: Characteristics of a Frequency Distribution (cont.)
Once again, note that all of the data values fall within the range of the class limits. So, no adjustments in the classes are necessary. Numbers of Miles Professors Drive to Work Each Day Class Frequency 1.0 – 2.9 3.0 – 4.9 5.0 – 6.9 7.0 – 8.9 9.0 – 10.9 11.0 – 12.9

35 Example 2.6: Characteristics of a Frequency Distribution (cont.)
The upper class boundary and midpoint of the first class are calculated as follows. Use the class width to find the other class boundaries and midpoints. The frequency, relative frequency, and cumulative frequency of each class are calculated as in previous examples.

36 Example 2.6: Characteristics of a Frequency Distribution (cont.)
Numbers of Miles Professors Drive to Work Each Day Class Frequency Class Boundaries Mid point Relative Frequency Cumulative 1.0–2.9 3 0.95–2.95 1.95 3.0–4.9 2.95–4.95 3.95 6 5.0–6.9 4 4.95–6.95 5.95 10 7.0–8.9 2 6.95–8.95 7.95 12 9.0–10.9 8.95–10.95 9.95 16 11.0–12.9 10.95–12.95 11.95 18

37 Overview: Constructing a Frequency Distribution
Decide on the number of classes Between 5 and 20 Choose an appropriate class width Find the class limits Start with the lowest data value, or a smaller number, and add the class width to get the next class limit. Determine the frequency of each class Count the number of data values in each class.

38 Overview: Other Characteristics
Classes boundaries Split the difference in the gap between the upper limit of one class and the lower limit of the next class. Midpoints Relative Frequency Cumulative Frequency The sum of the frequency for a given class and all previous classes.


Download ppt "Frequency Distributions"

Similar presentations


Ads by Google