Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Measures of Central Tendency Section 4.2 Introduction • How well did my students do on the last test? • What is the average price of gasoline in the Phoenix metropolitan area? • What is the mean number of home runs hit in the National League? • These questions are asking for a statistic that describes a large set of data. • In this section we will study the mean, median, and mode. • These three statistics describe an average or center of a distribution of numbers. Sigma notation Σ • The sigma notation is a shorthand notation used to sum up a large number of terms. • Σx = x1+x2+x3+ … +xn • One uses this notation because it is more convenient to write the sum in this fashion. Definition of the mean • Given a sample of n data points, x1, x2, x3, … xn, the formula for the mean or average is given below. x x n the sum of the data pts the number data pts Find the mean • My 5 test scores for Calculus I are 95, 83, 92, 81, 75. What is the mean? • ANSWER: sum up all the tests and divide by the total number of tests. • Test mean = (95+83+92+81+75)/5 = 85.2 Example with a range of data • When you are given a range of data, you need to find midpoints. • To find a midpoint, sum the two endpoints on the range and divide by 2. • Example 14≤x<18. The midpoint (14+18)/2=16. • The total number of students is 5,542,000. Age of males 14≤x<18 18≤x<20 20≤x<22 22≤x<25 25≤x<30 30≤x<35 Total Number of students 94,000 1,551,000 1,420,000 1,091,000 865,000 521,000 5,542,000 Continuing the previous example • What we need to do is find the midpoints of the ranges and then multiply then by the frequency. So that we can compute the mean. • The midpoints are 16, 19, 21, 23.5, 27.5, 32.5. • The mean is [16(94,000)+19(1,551,000)+21(1,420,000)+ 23.5(1,091,000)+27.5(865,000)+32.5(521,000)] /5,542,000.=22.94 The median • The median is the middle value of a distribution of data. • How do you find the median? • First, if possible or feasible, arrange the data from smallest value to largest value. • The location of the median can be calculated using this formula: (n+1)/2. • If (n+1)/2 is a whole number then that value gives the location. Just report the value of that location as the median. • If (n+1)/2 is not a whole number then the first whole number less than the location value and the first whole number greater than the location value will be used to calculate the median. Take the data located at those 2 values and calculate the average, this is the median. Find the median. • Here are a bunch of 10 point quizzes from MAT117: • 9, 6, 7, 10, 9, 4, 9, 2, 9, 10, 7, 7, 5, 6, 7 • As you can see there are 15 data points. • Now arrange the data points in order from smallest to largest. • 2, 4, 5, 6, 6, 7, 7, 7, 7, 9, 9, 9, 9, 10, 10 • Calculate the location of the median: (15+1)/2=8. The eighth piece of data is the median. Thus the median is 7. • By the way what is the mean???? It’s 7.13… The mode • The mode is the most frequent number in a collection of data. • Example A: 3, 10, 8, 8, 7, 8, 10, 3, 3, 3 • The mode of the above example is 3, because 3 has a frequency of 4. • Example B: 2, 5, 1, 5, 1, 2 • This example has no mode because 1, 2, and 5 have a frequency of 2. • Example C: 5, 7, 9, 1, 7, 5, 0, 4 • This example has two modes 5 and 7. This is said to be bimodal. Section 4.2 #13 • Find the mean, median, and mode of the following data: • Mean = [3(10)+10(9)+9(8)+8(7)+10(6)+ 2(5)]/42 = 7.57 • Median: find the location (42+1)/2=21.5 Use the 21st and 22nd values in the data set. • The 21st and 22nd values are 8 and 8. Thus the median is (8+8)/2=8. • The modes are 6 and 9 since they have frequency 10. Score Number of students 10 3 9 10 8 9 7 8 6 10 5 2