Presentation is loading. Please wait.

Presentation is loading. Please wait.

CHAPTER 1 Exploring Data

Similar presentations


Presentation on theme: "CHAPTER 1 Exploring Data"— Presentation transcript:

1 CHAPTER 1 Exploring Data
1.3 Describing Quantitative Data with Numbers

2 Describing Quantitative Data with Numbers
CALCULATE measures of center (mean, median). CALCULATE and INTERPRET measures of spread (range, IQR, standard deviation). CHOOSE the most appropriate measure of center and spread in a given setting. IDENTIFY outliers using the 1.5 × IQR rule. MAKE and INTERPRET boxplots of quantitative data. USE appropriate graphs and numerical summaries to compare distributions of quantitative variables.

3 Measuring Center: The Mean
The most common measure of center is the ordinary arithmetic average, or mean. To find the mean (pronounced “x-bar”) of a set of observations, add their values and divide by the number of observations. If the n observations are x1, x2, x3, …, xn, their mean is: In mathematics, the capital Greek letter Σ is short for “add them all up.” Therefore, the formula for the mean can be written in more compact notation:

4 Example 1: Travel Times to Work in North Carolina
Here is a stemplot of the travel times to work for the sample of 15 North Carolinians. Find the mean travel time for all 15 workers. Calculate the mean again, this time excluding the person who reported a 60-minute travel time to work. What do you notice?

5 More about Mean As the last example showed, the mean is sensitive to the influence of extreme observations. These may be outliers, but a skewed distribution that has no outliers will also pull the mean towards its long tail. The mean is not a resistant measure of center.

6

7 Measuring Center: The Median
Another common measure of center is the median. The median describes the midpoint of a distribution. The median is the midpoint of a distribution, the number such that half of the observations are smaller and the other half are larger. To find the median of a distribution: Arrange all observations from smallest to largest. If the number of observations n is odd, the median is the center observation in the ordered list. If the number of observations n is even, the median is the average of the two center observations in the ordered list.

8 Example 2: Stuck in Traffic
Use the data below to calculate the median of the commuting times (in minutes) of 20 randomly selected New York workers. Find the median by making a stemplot of the data. 10 30 5 25 40 20 15 85 65 60 45 0 5 3 00 5 7 8 5 Key: 4|5 represents a New York worker who reported a 45- minute travel time to work.

9 Mean and Median Applet Go to the e-book and click on Applet at Section 1.3.3 We can change which points we include by clicking below the number line. We can also change the upper and lower value the number line will have. If a yellow arrow appears, the mean and median are the same. By doing this, it’s easy to see the median, unlike the mean, is resistant to outliers.

10

11 On Your Own Here, once again, is the stemplot of travel times to work for 20 randomly selected New Yorkers. Earlier, we found that the median was 22.5 minutes. Based only on the stemplot, would you expect the mean travel time to be less than, about the same, or larger than the median? Why? Use your calculator to find the mean travel time. Was your answer to #1 correct? Would the mean or the median be a more appropriate summary of the center of this distribution of drive times? Justify your answer. 1. Because the distribution is skewed to the right, we would expect the mean to be larger than the median. 2. Yes. The mean is minutes, which is greater than the median of 22.5 minutes. 3. Because the distribution is skewed, the median would be a better measure of the center of the distribution.

12 Measuring Spread: Range
A measure of center alone can be misleading. Ex: Mean annual temperatures in San Francisco, California and Springfield, Missouri are both 57°but you wouldn’t wear the same outfits in both places at all times of the year. That’s because temperatures vary a lot more in Springfield than in San Francisco. A useful numerical description of a distribution requires both a measure of center and a measure of spread. The simplest measure of variability is the range. Range = High – Low The range shows the full spread of the data but it depends on only the maximum and minimum values, which may be outliers.

13 Measuring Spread: The Interquartile Range (IQR)
How To Calculate The Quartiles And The IQR: To calculate the quartiles: Arrange the observations in increasing order and locate the median. The first quartile Q1 is the median of the observations located to the left of the median in the ordered list. The third quartile Q3 is the median of the observations located to the right of the median in the ordered list. The interquartile range (IQR) is defined as: IQR = Q3 – Q1

14 Find and Interpret the IQR
Travel times for 20 New Yorkers: 10 30 5 25 40 20 15 85 65 60 45 5 10 15 20 25 30 40 45 60 65 85 5 10 15 20 25 30 40 45 60 65 85 Q1 = 15 Median = 22.5 Q3= 42.5 IQR = Q3 – Q1 = 42.5 – 15 = 27.5 minutes Interpretation: The range of the middle half of travel times for the New Yorkers in the sample is 27.5 minutes.

15 Why IQR is Better than Range
The quartiles and the interquartile range are resistant because they are not affected by a few extreme observations. Ex: Q3 would still be 42.5 and IQR would still be 27.5 if the maximum were 850 rather than 85.

16 Example 3: Travel Times to Work in North Carolina
Our North Carolina sample of 15 workers’ travel times, arranged in increasing order, is: 5, 10, 10, 10, 10, 12, 15, 20, 20, 25, 30, 30, 40, 40, 60. Find and interpret the interquartile range (IQR).

17 Identifying Outliers In addition to serving as a measure of spread, the interquartile range (IQR) is used as part of a rule of thumb for identifying outliers. The 1.5 x IQR Rule for Outliers Call an observation an outlier if it falls more than 1.5 x IQR above the third quartile or below the first quartile. In the New York travel time data, we found Q1 = 15 minutes, Q3 = 42.5 minutes, and IQR = 27.5 minutes. For these data, 1.5 x IQR = 1.5(27.5) = 41.25 Q x IQR = 15 – = Q x IQR = = 83.75 Any travel time shorter than minutes or longer than minutes is considered an outlier. 0 5 3 00 5 7 8 5

18 Example 4: Travel Times to Work in North Carolina
Our North Carolina sample of 15 workers’ travel times, arranged in increasing order, was: 5, 10, 10, 10, 10, 12, 15, 20, 20, 25, 30, 30, 40, 40, 60. We found Q1 = 10 minutes, Q3 = 30 minutes, and IQR = 20 minutes. Determine whether a travel time of 60 minutes is an outlier.

19 What to do when you find outliers:
Try to find an explanation for them. Sometimes the explanation is as simple as a typing error, like typing 10.1 as 101. Sometimes a measuring device broke down or someone gave a silly response Ex: A student in a class survey claimed to study 30,000 minutes per night In all these cases, you can simply remove the outlier from your data.

20 The Five-Number Summary
The minimum and maximum values alone tell us little about the distribution as a whole. Likewise, the median and quartiles tell us little about the tails of a distribution. To get a quick summary of both center and spread, combine all five numbers. The five-number summary of a distribution consists of the smallest observation, the first quartile, the median, the third quartile, and the largest observation, written in order from smallest to largest. Minimum Q1 Median Q3 Maximum

21 Boxplots (Box-and-Whisker Plots)
The five-number summary divides the distribution roughly into quarters. About 25% of the data values fall between the minimum and Q1 About 25% of the data values fall between Q1 and the median About 25% of the data values fall between the median and Q3 About 25% of the data values fall between Q3 and the maximum This leads to a new way to display quantitative data, the boxplot.

22 Boxplots (Box-and-Whisker Plots)
How To Make A Boxplot: A central box is drawn from the first quartile (Q1) to the third quartile (Q3). A line in the box marks the median. Lines (called whiskers) extend from the box out to the smallest and largest observations that are not outliers. Outliers are marked with a special symbol such as an asterisk (*). IQR 25% 25% 25% 25%

23 Recall, this is an outlier by the
Construct a Boxplot Consider our New York travel time data: 10 30 5 25 40 20 15 85 65 60 45 5 10 15 20 25 30 40 45 60 65 85 Min=5 Q1 = 15 Median = 22.5 Q3= 42.5 Max=85 Recall, this is an outlier by the 1.5 x IQR rule

24 On Your Own: Home Run King
Barry Bonds set the major league record by hitting 73 home runs in a single season in On August 7, 2007, Bonds hit his 756th career home run, which broke Hank Aaron’s longstanding record of 755. By the end of the 2007 season, when Bonds retired, he had increased the total to 762. Here are data on the number of home runs that Bonds hit in each of his 21 complete seasons: Make a boxplot for these data.

25

26 Making Calculator Boxplots
For TI-83/84: Enter the travel time data for North Carolina in L1/list1 and for New York in L2/list2. Set up two statistics plots: Plot1 to show a boxplot of the North Carolina data and Plot2 to show a boxplot of the New York data. The setup for Plot1 is shown below. When you define Plot2, be sure to change L1/list1 to L2/list2. Note: The calculator offers two types of boxplots: one that shows outliers and one that doesn’t. We’ll always use the type that identifies outliers.

27 Making Calculator Boxplots
Use the calculator’s Zoom feature to display the parallel boxplots. Then Trace to view the five-number summary. Press ZOOM and select ZoomStat. Press TRACE .

28 Fruit Loops/Cheerios Activity
1.3 Activity- Fruit Loops or Cheerios Activity.pdf Materials: Fruit Loops or Cheerios (maybe a box or two) and paper towels

29 Measuring Spread: The Standard Deviation
The most common measure of spread looks at how far each observation is from the mean. This measure is called the standard deviation, and also, its close relative, the variance. Consider the following data on the number of pets owned by a group of 9 children. Calculate the mean. Calculate each deviation. deviation = observation – mean deviation: = - 4 deviation: = 3 = 5

30 Measuring Spread: The Standard Deviation
xi (xi-mean) (xi-mean)2 1 1 - 5 = -4 (-4)2 = 16 3 3 - 5 = -2 (-2)2 = 4 4 4 - 5 = -1 (-1)2 = 1 5 5 - 5 = 0 (0)2 = 0 7 7 - 5 = 2 (2)2 = 4 8 8 - 5 = 3 (3)2 = 9 9 9 - 5 = 4 (4)2 = 16 n = 9 Sum=? 3) Square each deviation. 4) Find the sum of the squared deviations. 5) Divide the sum by n – 1 (basically finding the “average” squared deviation)…this is called the variance. 6) Calculate the square root of the variance…this is the standard deviation. “average” squared deviation = 52/(9-1) = This is the variance. Standard deviation = square root of variance =

31 Interpreting Standard Deviation
With our discussion of the number of pets 9 students owned, a standard deviation of 2.55 means that: 2.55 is the “typical” distance of the values in the data set from the mean In this case, the number of pets typically varies from the mean by about 2.55 pets.

32 Measuring Spread: The Standard Deviation
The standard deviation sx measures the average distance of the observations from their mean. It is calculated by finding an average of the squared distances and then taking the square root. The average squared distance is called the variance.

33 Note on the Formula:

34 On Your Own: The heights (in inches) for the five starters on a basketball team are 67, 72, 76, 76, and 84. Find the standard deviation and interpret in this setting. Solution: 6.24 inches That means that the players’ heights typically vary by about 6.24 inches from the mean height of 75 inches.

35 Bad/Good Aspects of Standard Deviation

36 Computing Numerical Summaries with Technology
One-Variable Statistics on the Calculator: If you still have the North Carolina and New York data in L1 and L2, continue. Find the summary statistics for the North Carolina travel times. Press STAT (CALC); choose 1-VarStats. Press to see the rest of the one-variable statistics for North Carolina.

37 Computing Numerical Summaries with Technology
Repeat Step 1 using L2 to find the summary statistics for the New York travel times.

38 Choosing Measures of Center and Spread
We now have a choice between two descriptions for center and spread Mean and Standard Deviation Sensitive to extreme observations, and can be misleading when a distribution is skewed or has outliers Median and Interquartile Range Resistant to extreme values, and thus the better choice Choosing Measures of Center and Spread The median and IQR are usually better than the mean and standard deviation for describing a skewed distribution or a distribution with outliers. Use mean and standard deviation only for reasonably symmetric distributions that don’t have outliers. NOTE: Numerical summaries do not fully describe the shape of a distribution. ALWAYS PLOT YOUR DATA!

39 Organizing a Statistical Problem
As you learn more about statistics, you will be asked to solve more complex problems which don’t specify what to do. Here is a four-step process you can follow. How to Organize a Statistical Problem: A Four-Step Process State: What’s the question that you’re trying to answer? Plan: How will you go about answering the question? What statistical techniques does this problem call for? Do: Make graphs and carry out needed calculations. Conclude: Give your conclusion in the setting of the real-world problem.

40 Example 5: Who Texts More- Males or Females?
For their final project, a group of AP Statistics students wanted to compare the texting habits of males and females. They asked a random sample of students from their school to record the number of text messages sent and received over a two-day period. Here are their data: What conclusion should the students draw? Give appropriate evidence to support your answer.

41 Example 5 Solution

42

43 Activity: The Game of Greed
1.3 Activity- The Game of Greed.doc

44 Data Analysis: Making Sense of Data
CALCULATE measures of center (mean, median). CALCULATE and INTERPRET measures of spread (range, IQR, standard deviation). CHOOSE the most appropriate measure of center and spread in a given setting. IDENTIFY outliers using the 1.5 × IQR rule. MAKE and INTERPRET boxplots of quantitative data. USE appropriate graphs and numerical summaries to compare distributions of quantitative variables.


Download ppt "CHAPTER 1 Exploring Data"

Similar presentations


Ads by Google