Need help with the attached
MyStatLab™ for Business Statistics
MyStatLab is a course management system that provides engaging learning experiences and delivers proven results while helping students succeed. Tools are embedded which make it easy to integrate statistical software into the course. And, MyStatLab comes from an experienced partner with educational expertise and an eye on the future.
Tutorial Exercises MyStatLab homework and practice exercises correlated to the exercises in the textbook are generated algorithmically, giving students unlimited opportunity for practice and mastery. MyStatLab grades homework and provides feedback and guidance.
Powerful Homework and Test Manager Create, import, and manage online homework assignments, quizzes, and tests that are automatically graded, allowing you to spend less time grading and more time teaching. Thousands of high-quality and algorithmic exercises of all types and difficulty levels are available to meet the needs of students with diverse mathematical backgrounds.
Ready-to-Go Courses Ready-to-Go Courses make it even easier for first-time users to start using MyStatLab. With the help of experienced instructors, these courses include pre-made assignments that you can alter at any time.
Help Me Solve This breaks the problem into manageable steps. Students enter answers along the way.
View an Example walks students through a problem similar to the one assigned.
Textbook links to the appropriate section in the etext.
Tech Help is a suite of Technology Tutorial videos that show how to perform statistical calculations using popular software.
Adaptive Learning An Adaptive Study Plan serves as a personalized tutor for your students. When enabled, Knewton in MyStatLab monitors student performance and provides personalized recommendations. It gathers information about learning preferences and is continuously adaptive, guiding students though the Study Plan one objective at a time.
Integrated Statistical Software Copy our data sets, from the eText and the MyStatLab questions, into software such as StatCrunch, Minitab, Excel, and more. Students have access to support tools—videos, Study Cards, and manuals for select titles—to learn how to use statistical software.
StatCrunch MyStatLab includes web-based statistical software, StatCrunch, within the online assessment platform so that students can analyze data sets from exercises and the text. In addition, MyStatLab includes access to www.StatCrunch.com, the full web-based program where users can access thousands of shared data sets, create and conduct online surveys, perform complex analyses using the powerful statistical software, and generate compelling reports.
Engaging Video Resources • Business Insight Videos are 10 engaging videos showing managers at top companies using statistics in
their everyday work. Assignable questions encourage discussion.
• StatTalk Videos, hosted by fun-loving statistician Andrew Vickers, demonstrate important statistical concepts through interesting stories and real-life events. This series of 24 videos includes available assessment questions and an instructor’s guide.
CVR_DONN5121_01_FEP.indd 1-2 12/11/13 10:08 AM
www.freebookslides.com
MyStatLab™ for Business Statistics
MyStatLab is a course management system that provides engaging learning experiences and delivers proven results while helping students succeed. Tools are embedded which make it easy to integrate statistical software into the course. And, MyStatLab comes from an experienced partner with educational expertise and an eye on the future.
Tutorial Exercises MyStatLab homework and practice exercises correlated to the exercises in the textbook are generated algorithmically, giving students unlimited opportunity for practice and mastery. MyStatLab grades homework and provides feedback and guidance.
Powerful Homework and Test Manager Create, import, and manage online homework assignments, quizzes, and tests that are automatically graded, allowing you to spend less time grading and more time teaching. Thousands of high-quality and algorithmic exercises of all types and difficulty levels are available to meet the needs of students with diverse mathematical backgrounds.
Ready-to-Go Courses Ready-to-Go Courses make it even easier for first-time users to start using MyStatLab. With the help of experienced instructors, these courses include pre-made assignments that you can alter at any time.
Help Me Solve This breaks the problem into manageable steps. Students enter answers along the way.
View an Example walks students through a problem similar to the one assigned.
Textbook links to the appropriate section in the etext.
Tech Help is a suite of Technology Tutorial videos that show how to perform statistical calculations using popular software.
Adaptive Learning An Adaptive Study Plan serves as a personalized tutor for your students. When enabled, Knewton in MyStatLab monitors student performance and provides personalized recommendations. It gathers information about learning preferences and is continuously adaptive, guiding students though the Study Plan one objective at a time.
Integrated Statistical Software Copy our data sets, from the eText and the MyStatLab questions, into software such as StatCrunch, Minitab, Excel, and more. Students have access to support tools—videos, Study Cards, and manuals for select titles—to learn how to use statistical software.
StatCrunch MyStatLab includes web-based statistical software, StatCrunch, within the online assessment platform so that students can analyze data sets from exercises and the text. In addition, MyStatLab includes access to www.StatCrunch.com, the full web-based program where users can access thousands of shared data sets, create and conduct online surveys, perform complex analyses using the powerful statistical software, and generate compelling reports.
Engaging Video Resources • Business Insight Videos are 10 engaging videos showing managers at top companies using statistics in
their everyday work. Assignable questions encourage discussion.
• StatTalk Videos, hosted by fun-loving statistician Andrew Vickers, demonstrate important statistical concepts through interesting stories and real-life events. This series of 24 videos includes available assessment questions and an instructor’s guide.
CVR_DONN5121_01_FEP.indd 1-2 12/11/13 10:08 AM
www.freebookslides.com
2
Business Statistics
E d i t i o n
n d
R o b e R t A . D o n n e l ly, J R .
Boston Columbus Indianapolis New York San Francisco Upper Saddle River Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montréal Toronto
Delhi Mexico City São Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo
www.freebookslides.com
Senior Author Support/Technology Specialist: Joe Vetere
Project Supervisor, MyStatLab: Robert Carroll QA Manager, Assessment Content: Marty Wright Media Producer: Jean Choe Image Manager: Rachel Youdelman Image Research: Integra Procurement Manager: Vincent Scelta Procurement Specialist: Debbie Rossi Production Coordination, Technical Illustrations, and
Composition: PreMediaGlobal Printer/Binder: Courier/Kendallville Cover Printer: Lehigh-Phoenix Color/Hagerstown
ISBN 10: 0-321-92512-2 ISBN 13: 978-0-321-92512-1
microsoft® windows®, and microsoft office® are registered trademarks of the microsoft corporation in the u.s.a. and other countries. this book is not sponsored or endorsed by or affiliated with the microsoft corporation.
microsoft and/or its respective suppliers make no representations about the suitability of the information contained in the documents and related graphics published as part of the services for any purpose. all such documents and related graphics are provided “as is” without warranty of any kind. microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information, including all warranties and conditions of merchantability, whether express, implied or statutory, fitness for a particular purpose, title and non-infringement. in no event shall microsoft and/or its respective suppliers be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of information available from the services.
the documents and related graphics contained herein could include technical inaccuracies or typographical errors. changes are periodically added to the information herein. microsoft and/or its respective suppliers may make improvements and/or changes in the product(s) and/or the program(s) described herein at any time. partial screen shots may be viewed in full within the software version specified.
Credits and acknowledgments borrowed from other sources and reproduced, with permission, in this textbook appear on page 935 in the back of this book.
Copyright © 2015, 2013 by Pearson Education, Inc. All rights reserved. Manufactured in the United States of America. This publication is protected by Copyright, and permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission(s) to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax your request to 201-236-3290.
Many of the designations by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed in initial caps or all caps.
Library of Congress Cataloging-in-Publication Data Donnelly, Robert A. Business statistics / Robert A. Donnelly, Jr.—2nd ed. p. cm. ISBN 978-0-321-92512-1 1. Commercial statistics. 2. Industrial management—Statistical methods. I. Title. HF1017.S74 2013 519.5024'65—dc23
2012005942 10 9 8 7 6 5 4 3 2 1—CRK—16 15 14 13
Editor in Chief: Deirdre Lynch Acquisitions Editor: Marianne Stepanian Development Editor: Dana Bettez Assistant Editor: Sonia Ashraf Senior Managing Editor: Karen Wernholm Associate Managing Editor: Tamela Ambush Senior Production Project Manager: Peggy McMahon Associate Director of Design, USHE EMSS/HSC/EDU:
Andrea Nix Art Director/Cover Designer: Beth Paquin Interior Design: Nancy Goulet, Studio Wink Marketing Manager: Erin Lane Marketing Assistant: Kathleen DeChavez
www.freebookslides.com
To my wife, Debbie, who supported and encouraged me every step of the way. I could not have done this without you, Babe.
www.freebookslides.com
Robert (Bob) A. Donnelly, Jr. is a professor at Goldey-Beacom College in Wilmington,
Delaware, with more than 25 years of teaching experience. He teaches classes in statistics,
operations management, spreadsheet modeling and project management at both the un-
dergraduate and graduate level. Bob earned an undergraduate de-
gree in chemical engineering from the University of Delaware,
after which he worked for several years as an engineer with the
Diamond Shamrock Corporation in a chlorine plant. Despite success
in this field, Bob felt drawn to pursue a career in education. It was
his desire to teach that took him back to school to earn his MBA and
Ph.D. in Operations Research, also from the University of Delaware.
Bob also teaches in the MBA program at the International School
of Management in Paris, France. He thoroughly enjoys discussing
research methods and business statistics with both his French and
American students.
Bob’s working experience gathered prior to his teaching career
has provided him with many opportunities to incorporate real-life ex-
amples into classroom learning. His students appreciate his knowledge of the business world
as well as his mastery of the course subject matter. Many former students seek Bob’s assis-
tance in work-related issues that deal with his expertise. Typical student comments focus on
his genuine concern for their welfare and his desire to help them succeed in reaching their
goals.
R o b e R t A . D o n n e l ly, J R .
About the Author
www.freebookslides.com
v
Preface | xi
Acknowledgments | xvi
Dear Students | xx
Index of Applications | xxi
Chapter 1 An Introduction to Business Statistics | 1
Chapter 2 Displaying Descriptive Statistics | 21
Chapter 3 Calculating Descriptive Statistics | 77
Chapter 4 Introduction to Probabilities | 147
Chapter 5 Discrete Probability Distributions | 193
Chapter 6 Continuous Probability Distributions | 247
Chapter 7 Sampling and Sampling Distributions | 289
Chapter 8 Confidence Intervals | 333
Chapter 9 Hypothesis Testing for a Single Population | 383
Chapter 10 Hypothesis Tests Comparing Two Populations | 437
Chapter 11 Analysis of Variance (ANOVA) Procedures | 501
Chapter 12 Chi-Square Tests | 575
Chapter 13 Hypothesis Tests for the Population Variance | 625
Chapter 14 Correlation and Simple Linear Regression | 651
Chapter 15 Multiple Regression and Model Building | 709
Chapter 16 Forecasting | 767
Chapter 17 Decision Analysis (online) | 17-1
Chapter 18 Nonparametric Statistics (online) | 18-1
Appendix A: Tables | 827
Appendix B: Answers to Selected Even-Numbered Problems | 865
Credits | 933
Index | 935
bRief Contents
www.freebookslides.com
vii
1
2
4
3
An Introduction to Business Statistics | 1 1.1 Business Statistics and Their Uses 2 1.2 Data 4 1.3 Descriptive and Inferential Statistics 11 1.4 Ethics and Statistics—It’s a Dangerous World of Data Out There 14 Summary 16 | Key Terms 17 | Problems 17 | Solutions to YoUR tURn 19
Displaying Descriptive Statistics | 21 2.1 The Role Technology Plays in Statistics 23 2.2 Displaying Quantitative Data 25 2.3 Displaying Qualitative Data 42 2.4 Contingency Tables 55 2.5 Stem and Leaf Display 59 2.6 Scatter Plots 61 Summary 66 | Key Terms 67 | Problems 67 | Solutions to YoUR tURn 73
Calculating Descriptive Statistics | 77 3.1 Measures of Central Tendency 78 3.2 Measures of Variability 91 3.3 Using the Mean and Standard Deviation Together 101 3.4 Working with Grouped Data 112 3.5 Measures of Relative Position 116 3.6 Measures of Association Between Two Variables 126 Summary 132 | Key Terms 133 | Equations 134 | Problems 137 |
Solutions to YoUR tURn 141
Introduction to Probabilities | 147 4.1 An Introduction to Probabilities 148 4.2 Probability Rules for More Than One Event 156 4.3 Counting Principles 176 Summary 183 | Key Terms 184 | Equations 184 | Problems 186 |
Solutions to YoUR tURn 189
Preface | xi Acknowledgments | xvi Dear Students | xx Index of Applications | xxi
tAble of Contents
www.freebookslides.com
viii t A B L E o F C o n t E n t s
9
8
7
6
5
Discrete Probability Distributions | 193 5.1 Introduction to Discrete Probability
Distributions 195
5.2 Binomial Distributions 207 5.3 Poisson Distributions 218 5.4 The Hypergeometric
Distribution 229 Summary 235 | Key Terms 236 |
Equations 236 | Problems 237 | Solutions to YoUR tURn 242
Continuous Probability Distributions | 247
6.1 Continuous Random Variables 248 6.2 Normal Probability Distributions 250 6.3 Exponential Probability
Distributions 269
6.4 Uniform Probability Distributions 273 Summary 279 | Key Terms 280 |
Equations 280 | Problems 281 | Solutions to YoUR tURn 286
Sampling and Sampling Distributions | 289
7.1 Why Sample? 290 7.2 Types of Sampling 291 7.3 Sampling and Nonsampling
Errors 298
7.4 The Central Limit Theorem 301 7.5 The Sampling Distribution of the
Proportion 317 Summary 323 | Key Terms 324 |
Equations 325 | Problems 325 | Solutions to YoUR tURn 329
Confidence Intervals | 333 8.1 Point Estimates 334 8.2 Calculating Confidence Intervals
for the Mean when the Standard Deviation (S) of a Population Is Known 335
8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation (S) of a Population Is Unknown 347
8.4 Calculating Confidence Intervals for Proportions 354
8.5 Determining the Sample Size 359 8.6 Calculating Confidence Intervals for
Finite Populations 366 Summary 371 | Key Terms 372 |
Equations 372 | Problems 375 | Solutions to YoUR tURn 378
Hypothesis Testing for a Single Population | 383
9.1 An Introduction to Hypothesis Testing 384
9.2 Hypothesis Testing for the Population Mean When S Is Known 390
9.3 Hypothesis Testing for the Population Mean when S Is Unknown 403
9.4 Hypothesis Testing for the Proportion of a Population 412
9.5 Type II Errors 416 Summary 425 | Key Terms 426 |
Equations 426 | Problems 427 | Solutions to YoUR tURn 432
Hypothesis Tests Comparing Two Populations | 437
10.1 Comparing Two Population Means with 439
• Independent Samples
• Known Population Standard Deviations 1S1 and S22
10.2 Comparing Two Population Means with 448
• Independent Samples
• Unknown Population Standard Deviations
1S1 and S22 10.3 Hypothesis Testing With Dependent
Samples 464
10.4 Comparing Two Population Proportions with Independent Samples 474
Summary 484 | Key Terms 485 | Equations 485 | Problems 489 | Solutions to YoUR tURn 494
10
www.freebookslides.com
ix C O N T E N T Six C O N T E N T S t A B L E o F C o n t E n t s ix
Analysis of Variance (ANOVA) Procedures | 501
11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 503
11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 523
11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 540
Summary 557 | Key Terms 559 | Equations 560 | Problems 563 | Solutions to YoUR tURn 568
Chi-Square Tests | 575 12.1 Comparing Two or More Population
Proportions 577
12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 585
12.3 Testing the Independence of Two Variables 605
Summary 612 | Key Terms 613 | Equations 613 | Problems 614 | Solutions to YoUR tURn 619
Hypothesis Tests for the Population Variance | 625
13.1 Testing the Variance of a Single Population 626
13.2 Comparing the Variances of Two Populations 634
Summary 644 | Equations 644 | Problems 645 | Solutions to YoUR tURn 648
Correlation and Simple Linear Regression | 651
14.1 Dependent and Independent Variables 653
14.2 Correlation Analysis 653 14.3 Simple Linear Regression
Analysis 660
14.4 Using a Regression to Make a Prediction 672
14.5 Testing the Significance of the Slope of the Regression Equation 679
14.6 Assumptions for Regression Analysis 684
14.7 A Simple Regression Example with a Negative Correlation 687
14.8 Some Final (but Very Important) Thoughts 696
Summary 697 | Key Terms 698 | Equations 699 | Problems 701 | Solutions to YoUR tURn 704
Multiple Regression and Model Building | 709
15.1 Developing the Multiple Regression Model 710
15.2 Explaining the Variation of the Dependent Variable 717
15.3 Inferences about the Independent Variables 726
15.4 Using Qualitative Independent Variables 732
15.5 Model Building 739 Summary 756 | Key Terms 757 |
Equations 758 | Problems 759 | Solutions to YoUR tURn 761
Forecasting | 767 16.1 Introduction to Forecasting 768 16.2 Smoothing Forecasting
Methods 770
16.3 Forecasting with Regression Analysis 783
16.4 Forecasting with Seasonality 797 Summary 814 | Key Terms 815 |
Equations 816 | Problems 817 | Solutions to YoUR tURn 820
11
14
12
13
15
16
www.freebookslides.com
10
x t A B L E o F C o n t E n t s
18
17
Decision Analysis (online) | 17-1 17.1 Introduction to Decision
Analysis 17-2
17.2 Constructing a Decision Table 17-3 17.3 Decision Making Under
Uncertainty 17-6
17.4 Decision Making Under Risk 17-12 17.5 Decision Making Using Decision
Trees 17-16
17.6 Using Bayes’ Theorem to Calculate Posterior Probabilities 17-27
Summary 17-32 | Key Terms 17-33 | Equations 17-34 | Problems 17-34 | Solutions to YoUR tURn 17-37
Nonparametric Statistics (online) | 18-1
18.1 Introduction to Nonparametric Statistics 18-2
18.2 The Sign Test 18-4 18.3 The Wilcoxon Rank-Sum Test for
Two Independent Samples 18-14
18.4 The Wilcoxon Signed-Rank Test for Two Dependent Samples 18-22
18.5 The Kruskal-Wallis One-Way ANOVA 18-27
18.6 The Spearman Rank-Order Correlation Coefficient 18-31
Appendix C: Tables for Chapter 18 18-48 Summary 18-37 | Key Terms 18-38 |
Equations 18-39 | Problems 18-40 | Solutions to YoUR tURn 18-44
Appendix A | 827 table 1 Binomial Probabilities | 827 table 2 Poisson Probabilities | 838 table 3 Cumulative Probabilities for the Standard
Normal Distribution | 843
table 4 Cumulative Probabilities for the Standard Normal Distribution | 844
table 5 Student’s t-distribution | 845 table 6 F-distribution | 848 table 7 Critical Values of the Studentized
Range, Q | 858
table 8 Chi–Square Distribution | 861 table 9 Critical Values for the Durbin-Watson
Statistic | 862
Appendix B: Answers to Selected Even-Numbered Problems | 865
Credits | 933
Index | 935
www.freebookslides.com
xi
b u s i n e s s s tA t i s t i C s , second edition, is a one- or two-semester textbook written in a conversational tone designed to reduce the level of anxiety that many business students experience when taking a statistics course.
Many of today’s business students are intimidated by their statistics textbook. These stu- dents often view their textbook as an obstacle to overcome rather than a tool to help them succeed. To address this issue, I have written Business Statistics in a straightforward, conver- sational tone that helps to reduce the anxiety many students experience with this course. My experience as both a writer and a teacher has taught me that students learn more effectively when they feel a personal connection with their instructor. Many traditional textbooks tend to “talk down” to students in a manner that many find difficult to understand. I prefer a textbook that “talks to” the students as I do in the classroom providing them a sense that I’m on their side, encouraging them every step of the way.
I strongly believe that students learn most effectively when they solve statistics prob- lems as they learn new concepts rather than later (often right before the next exam). To facili- tate this philosophy, I provide the student with a parallel problem that I have labeled “Your Turn,” which allows them to work alongside the example that I am demonstrating in the chap- ter. I attempt to motivate them to do these exercises with a little levity but it’s not beneath me to downright beg them to give it a try. I show the entire solution at the end of the chapter, so they can quickly check if their answer is correct. I call this my “learn it, do it, check it” cycle, where students learn by reading an example, doing a similar problem on their own, and finally checking their answer to confirm they understand. In effect, the textbook also plays the role of a workbook for the student, keeping them actively engaged in the learning process. Too often, students skim through an example that is completely solved for them in the text and convince themselves they understand the concept—that is, until they are trying to solve a similar problem in an exam for the first time. My approach encourages students to work through examples and confirm they grasp the concept before moving on to the next topic.
I have inserted many author’s comments in the margins throughout each chapter, that provide useful insights along the way. This feature is analogous to the side comments you would make to your students during a lecture to help them better understand the material. I have found this to be an effective technique to help keep students focused on material that they may find confusing or overwhelming.
To help students be successful in your course, Business Statistics, second edition, has the following attributes:
Is written in a straightforward, conversational tone—to help reduce the anxiety that many business students experience with the topic of statistics.
Utilizes a “learn it, do it, check it” cycle—by providing parallel Your Turn problems throughout each chapter, the textbook essentially serves as a workbook allowing students to convince themselves they really understand a concept before moving on to the next topic.
Incorporates author’s comments in the margins—which are analogous to the side comments that an instructor would make during a lecture to help students better under- stand the material.
n e w t o t h i s e D i t i o n I am very excited to offer several new features to the second edition of Business Statistics. I have
Added two new online chapters: Chapter 17, Decision Analysis, and Chapter 18, Non- parametric Statistics. Chapter 17, Decision Analysis, provides a detailed discussion of decision making under uncertainty and decision making under risk along with a step- by-step description on the construction and analysis of decision trees. Chapter 18, Non- parametric Statistics, provides a detailed description of the following procedures: Sign Test, Wilcoxon Rank-Sum Test, Wilcoxon Signed-Rank Test, Kruskal-Wallis One-Way ANOVA, and Spearman Rank-Order Correlation Coefficient. These chapters can be found on the textbook’s Web site www.pearsonhighered.com/donnelly.
Preface
www.freebookslides.com
xii P R E F A C E
Updated technology coverage to Microsoft Excel 2013, with instructions for Excel 2011 for Mac and Excel 2010 for Windows provided online as needed. Through my experi- ence in the classroom, I have been aware of the increasing number of Mac users who have been frustrated with software compatibility issues. The version of the Excel Add-in PHStat that is utilized in this edition is compatible with Excel 2011 for Mac. These in- structions can be found on the textbook’s Web site www.pearsonhighered.com/donnelly.
Increased the number of problems by 25%, totaling over 1,110 business-related prob- lems. Additionally, 35% of the problems in the text are new or updated.
Doubled the number of data sets included in problems, examples, and Your Turns, total- ing over 340 data sets.
Introduced topics of covariance and the correlation coefficient at the end of Chapter 3, Calculating Descriptive Statistics. The correlation coefficient is also covered in Chapter 14, Correlation and Simple Linear Regression.
Used Excel functions to determine p-values and critical scores for hypothesis tests that use the normal, student’s t, F, and chi-square distributions. This feature provides students with more options for this type of analysis.
Removed critical sample mean and critical sample proportion as optional steps to hy- pothesis testing in Chapters 9 and 10 to streamline these procedures. These two topics are now included in the section describing Type II Errors at the end of Chapter 9.
Added learning objectives to each chapter opener, which describe the skills that the stu- dent is expected to acquire after studying this material.
Added an Index of Applications that allows faculty and students to conveniently locate specific types of problems and examples.
t e x t b o o k f e At u R e s
Current business examples that keep the students’ interest—Statistical procedures are applied to products and services that students can relate to such as the following:
• Approximating the probability of an accident similar to the BP oil spill in the Gulf of Mexico occurring again in the near future
• Liberty Mutual Insurance Company comparing the proportion of auto accident claims for clients with and without good student discounts
• Comparing satisfaction scores for various smartphone brands • The shortage of Internet protocol (IP) addresses using the original IPv4 format
C h a p t e r 7 | 7.4 The Central Limit Theorem 315
As the calculations show, for an infinite population where n>N is less than 5%, the correction factor is close to 1.0, essentially dropping out of the standard error calculation. The next Your Turn problem demonstrates the finite population concept in an effort to save my job.
My college requires instructors to have an average approval rating of 9.0 on a scale of 1–10 from stu- dent evaluations as a condition for employment. This current semester, I have 120 students, of whom 30 completed the evaluation. My average score on the evaluation was 8.8. Historical data have indicated that the standard deviation for student evaluations in the college is 3.2. My dean has scheduled a meet- ing with me today to discuss my future employment with the college. Can you help me save my job?
Y o u r t u r n # 7N
Answer can be found on u page 331
Rating data used in the Your Turn #7 example is technically ordinal data which we defined in Chapter 1 as data that are rank-ordered with no assurance that the differences be- tween the ranks are uniform. We have no certainty that the difference between a rating score of 5 and 6 is identical to the difference between a rating score of 8 and 9. Because of the ambiguity of the intervals, it’s not proper to calculate the mean and standard deviation of or- dinal data. However, it is common practice to assume that rating data used in this Your Turn are close enough to interval data which allows calculations of the mean and standard devia- tion (which we do perform in this example). Just be aware that some people in the world of statistics take offense at such liberties!
7.4 Section Problems Basic Skills 7.7 For a population with a mean equal to 150 and a standard
deviation equal to 30, calculate the standard error of the mean for a sample size of
a. 10 b. 30 c. 50
7.8 For a normal population with a mean equal to 80 and a standard deviation equal to 15, determine the probability of observing a sample mean of 85 or less from a sample of size 10.
7.9 For a population that is left skewed with a mean of 24 and a standard deviation equal to 15, determine the probability of observing a sample mean of 23 or more from a sample of size 32.
7.10 Identify the symmetrical interval that includes 95% of the sample means for a population with a mean equal to 45 and a standard deviation equal to 9 using a sample size of 36.
7.11 Consider a population of 250 with a mean of 60 and a standard deviation equal to 23. What is the probability of obtaining a sample mean of 62 or less with a sample size of 45?
applications 7.12 According to the National Association of Theater Owners,
the average price for a movie in the United States in 2012 was $7.96. Assume the population standard deviation is $0.50 and that a sample of 30 theaters was randomly selected.
a. Calculate the standard error of the mean. b. What is the probability that the sample mean will be
less than $7.75? c. What is the probability that the sample mean will be
less than $8.10? d. What is the probability that the sample mean will be
more than $8.20?
7.13 Iron Hill Café is a full-service restaurant in Columbus, Ohio, which is owned and managed by John Stevens. The number of minutes that diners spend at the table has a major impact on the profitability of the restaurant. Sup- pose the average number of minutes that diners spend at a table for dinner at the Iron Hill Café is 93 minutes with a standard deviation of 17 minutes. Assume the number of minutes diners spend at their table follows the normal probability distribution. Calculate the probability that the average number of minutes that diners spend at their table for dinner will be less than 100 minutes
M07_DONN5121_01_SE_C07.4-5.indd 315 17/10/13 1:03 AM
272 C h a p t e r 6 | Continuous Probability Distributions
So, for exponential distributions, there are no nasty standard deviation calculations that we dealt with in previous chapters. For our Piggly Wiggly example, the standard deviation is simply as follows:
s = m = 4 minutes
As with our previous distributions, the standard deviation of the exponential distribution measures the average variability around the mean of the distribution.
Calculating exponential probabilities Using excel We can confirm the probability that the next customer at a Piggly Wiggly will arrive at the deli counter within the next two minutes using EXPON.DIST, Excel’s built-in function, which has the following characteristics:
=EXPON.DIST1x, l, cumulative2 where
cumulative = FALSE if you want the probability density function cumulative = TRUE if you want the cumulative probability We choose the TRUE option for cumulative because we want the probability that the
next customer will arrive in 2 minutes or less. The parameter l refers to the average rate of arrivals over a specific interval. In our Piggly Wiggly example, customers arrive, on average, every four minutes 1m2. We can convert this average value into a rate 1l2 as follows:
m = 4 minutes per customer
l = 1 m
= 1 customer
4 minutes = 0.25 customers per minute
An average of 0.25 customers each minute is equivalent to
a 0.25 customers minute
b a 60 minutes hour
b = 15 customers per hour
In other words, if customers are arriving every 4 minutes, 15 customers arrive in 1 hour (there are 15 four-minute intervals in an hour). It’s simply a matter of explaining the same in- formation two different ways. However, the terms m and l must be based on the same units. If m is expressed in minutes per customer, then l must be expressed in customers per minute.
We’re now ready to use the EXPON.DIST function to calculate P1x … 22 with l = 0.25. =EXPON.DIST12, 0.25, TRUE2 = 0.3935
As you can see, our result, P1x … 22 = 0.3935 matches what we obtained using Equation 6.4.
Take a shot (no pun intended) on the next Your Turn problem that involves using the exponential distribution in the National Hockey League.
During the 2011–2012 National Hockey League season, the Detroit Red Wings led the league in shots on goal, averaging 32.2 per 60-minute game. Assume that the number of minutes between shots on goal follows the exponential distribution.
a. Calculate the following probabilities using Equations 6.4 and 6.5 and verify them using Excel.
1. The probability that the next shot on goal will occur during the next minute.
2. The probability that the next shot on goal will occur between 2 and 3 minutes from now. b. Verify your answers from part a using Excel. c. What is the standard deviation for this distribution?
(Because I’m such a nice guy, I’ll give you the following hint: You need to convert 32.2 shots per hour into minutes between shots.)
Y o U r t U r n # 6N
Answers can be found on u page 287
M06_DONN5121_01_SE_C06.3.indd 272 08/08/13 6:47 PM
Your Turn problems after every major section—These prob- lems are strategically placed throughout the chapter and are de- signed to reinforce key concepts. Complete solutions to these problems can be found at the end of the chapter. I feel that students learn more effectively when they actively solve problems rather than skim through examples that are completely solved for them.
Step-by-step approach to complicated statistical procedures— Many students tend to get “lost in the forest” when facing compli- cated procedures such as hypothesis testing, analysis of variance (ANOVA), and regression. My approach is to break these procedures down into bite-size, repeatable steps that can be applied to solve a variety of problems. As a result, the student has a consistent road map to follow when deciding how to proceed with a specific technique.
Highlighted text—Throughout the textbook, I have highlighted text to draw the student’s attention to a key point in the chapter. This will help to reinforce important concepts that could other- wise be overlooked by the student.
www.freebookslides.com
xiii C O N T E N T Sxiii C O N T E N T S P R E F A C E xiii
Author’s comments—In the margins, you will find comments that help clarify specific topics. These comments often point to an appropriate location in the chapter and are analogous to the comments you as an instructor might make in class to provide your stu- dents with some additional insight to the material.
Statistics in Practice—Throughout the textbook, examples of how statistics is used in today’s business environment are described in specially marked sections within the chap- ter. Examples include the following:
• Government reports of unemployment figures using confidence intervals and the interpretation of these results
• Comparison of customer feedback for different snack food products from Herr’s Food Company
• A statistical technique that health care insurance companies can rely on to investigate unusual billing practices from doctors’ offices
• Comparison of performances of Olympic athletes across different sporting events
92 C h a p t e r 3 | Calculating Descriptive Statistics
The following data set shows five online donations recently received by the American Red Cross:
$35 $10 $50 $20 $60
The range for these data is shown as follows:
Range = $60 - $10 = $50
The benefit of the range is that it is easy to calculate and understand. However, this measure of variability has the following two drawbacks: (1) It is based only on two numbers in the data set, and (2) it is highly affected by outliers. For instance, if the last donation were changed from $60 to $1,000, the range would be $1,000 - $10 = $990, instead of $50. The $990 range does not accurately reflect the overall variability of our donations because most of the values lie between $10 and $50.
Formula 3.5 for the range
Range = Highest value - Lowest value
The range, which is one measure of variability, can found by subtracting the lowest value from the highest value in the data set.
the range The range is the difference between the highest value and the lowest value in a data set. The range, which is the simplest measure of a distribution’s variability, can be found using Equation 3.5.
The range is the easiest measure of variability to calculate, but it has the most limitations, one being that it is highly affected by outliers.
Stats in practice: Using the range to Measure Volatility
Although the range as a measurement of variability has its limi- tations, it can be useful when measuring volatility of the stock market. If a volatile day for the stock market is defined as a swing of more than 200 points, we can use the daily range of the stock market index to identify volatile days. Figure 3.9 shows the number of volatile days in the stock market from 2000 until 2012.
The surge in volatile days from 2008 to 2011 reflects the uncer- tainty in the financial markets as the economy struggled through a significant recession. The quiet period seen in 2012 represents a more stable market as investors showed more confidence in the economy. In this example, we’ve demonstrated that we can use the range to conclude that the economy is showing signs of recovering from the recent financial turmoil.
{ figure 3.9 Number of Volatile Days in the Stock Market
the Variance and Standard Deviation A much more useful measure of variability is the variance, which is determined by using all of the data values rather than only the highest and lowest. The variance measures the vari- ability, or spread, of the data points in a set around the set’s mean. The formula for calculat- ing a variance will depend on whether your data set is a sample or a population. Next, we look at each scenario.
The variance measures the variability, or spread, of the data points in a set around the set’s mean.
M03_DONN5121_01_SE_C03.1-3.2.indd 92 8/14/13 9:31 AM
In quality control settings, businesses prefer a smaller standard deviation, which is an indication of more consistency in the process.
The integration of Microsoft Excel® 2013—I utilize Excel to demonstrate the use of technology in business statistics, but not at the expense of understanding the underly- ing concepts. I have spoken to students who tell me that they know how to perform a procedure such as ANOVA on the computer, but do not feel comfortable interpreting the results. By letting Excel do all the work they miss the opportunity to understand the underlying concepts of the technique. The philosophy employed in this textbook avoids this unfortunate situation.
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 515
Figure 11.8C shows the ANOVA output for the smartphone example, which matches our results from the previous section.
4. Fill in the ANOVA: Single Factor dialog box as shown in Figure 11.8B. Click OK.
{ figure 11.8a Conducting a One-Way ANOVA
Test Using Excel (Steps 1–3)
{ figure 11.8b Conducting a One-Way ANOVA
Test Using Excel (Step 4)
{ figure 11.8c Conducting a One-Way ANOVA
Test Using Excel (Final Result)
Notice that the p-value reported in Cell K13 shown in Figure 11.8C equals 0.001887. This value represents the probability of obtaining a critical F-score of 9.86 or more if the population means are truly equal. Because this p-value is less than a = 0.05, we reject the null hypothesis and conclude that the average scores in these populations are not equal.
M11_DONN5121_01_SE_C11-1.indd 515 9/6/13 11:12 AM
www.freebookslides.com
s t u D e n t R e s o u R C e s Student Solutions Manual, by Bob Donnelly and Roman Erenshteyn, provides detailed, worked-out solutions to all even-numbered problems (ISBN-10: 0-321-93070-3; ISBN-13: 978-0-321-93070-5).
Study Cards for Business Statistics Software. This series of study cards, available for Excel® with XLSTAT™, Excel® 2013, Minitab®, JMP®, SPSS®, R®, StatCrunch™, and TI-83/84 graphing calculators, provides students with easy, step-by-step guides to the most common business statistics software. Avail- able at www.myPearsonStore.com.
i n s t R u C t o R R e s o u R C e s Instructor’s Solutions Manual, by Bob Donnelly and
Roman Erenshteyn, provides detailed, worked-out solu- tions for all problems. Available for download at www. pearsonhighered.com/irc.
Test Bank, by Bob Donnelly, includes true/false, multiple- choice, fill-in, and problem-solving questions based on the definitions, concepts, and ideas developed in each chapter of the text. Available for download at www .pearsonhighered.com/irc.
TestGen® (www.pearsonhighered.com/testgen) enables in- structors to build, edit, print, and administer tests, using a computerized bank of questions developed to cover all the objectives in the text. TestGen is algorithmically based, allow- ing instructors to create multiple but equivalent versions of the same question or test with the click of a button. Instructors can also modify test bank questions or add new questions. Tests can be printed or administered online. The software and test bank are available for download from Pearson Education’s online catalog (www.pearsonhighered.com/irc).
t e C h n o l o g y R e s o u R C e s O n l i n e R e s o u r c e s c a n b e d o w n l o a d e d f r o m w w w .pearsonhighered.com/donnelly and include the following:
Chapters 17, Decision Analysis, and Chapter 18, Nonpara- metric Statistics.
Data sets in Excel format for chapter problems, examples, and Your Turns.
Excel for Mac 2011/Excel 2010 for Windows instruc- tions for students to refer to when Excel instructions shown in the textbook are not compatible with the Excel for Mac 2011 or Excel 2010 for Windows versions of Excel.
Online case files and answers, by Bob Donnelly, can be used in conjunction with the chapters to further class discus- sions or to use as class projects or homework assignments.
PHStat, the latest version of PHStat, the Pearson statistical add-in for Windows-based Excel 2003, 2007, and 2010. This version is also compatible with Excel 2011 for Mac. PHStat is available for download with an access code. If your book was packaged with
an access code, download PHStat from www.pearsonhighered. com/phstat. If your book was not packaged with an access code, visit myPearsonStore.com to purchase a PHStat access code.
MyStatLab™ Online Course (access code required) MyStat- Lab is a course management systems that delivers proven results in helping individual students succeed. MyStatLab can be suc- cessfully implemented in any environment—lab-based, hybrid, fully online, traditional—and demonstrates the quantifiable dif- ference that integrated usage has on student retention, subsequent success, and overall achievement. MyStatLab’s comprehensive online gradebook automatically tracks students’ results on tests, quizzes, homework, and in the study plan. Instructors can use the gradebook to provide positive feedback or intervene if students have trouble. Gradebook data can be easily exported to a variety of spreadsheet programs, such as Microsoft Excel.
MyStatLab provides engaging experi- ences that personalize, stimulate, and
measure learning for each student.
Tutorial Exercises with Multimedia Learning Aids: The homework and practice exercises in MyStatLab align with the exercises in the textbook, and they regenerate algorith- mically to give students unlimited opportunity for practice and mastery. Exercises offer immediate helpful feedback, guided solutions, sample problems, animations, videos, and eText clips for extra help at point-of-use.
Adaptive Study Plan: Pearson now offers an optional fo- cus on adaptive learning in the study plan to allow students to work on just what they need to learn when it makes the most sense to learn it.
Additional Statistics Question Libraries: In addition to questions that are aligned with your textbook, MyStatLab courses come with two additional question libraries. Four hundred and fifty Getting Ready for Statistics questions offer the developmental math topics students need for the course. One thousand Conceptual Question Library re- quire students to apply their statistical understanding.
StatCrunch™: MyStatLab includes a Web-based statis- tical software, StatCrunch, within the online assessment platform so that students can easily analyze data sets from exercises and the text. In addition, MyStatLab includes ac- cess to www.StatCrunch.com, a Web site where users can access shared data sets, conduct online surveys, perform complex analyses, and generate compelling reports.
Integration of Statistical Software: Knowing that students often use external statistical software, we make it easy to copy our data sets, both from the ebook and the MyStatLab questions, into software programs. Students also have access to a variety of support tools—Technology Instruction Videos, Technology Study Cards, and Manuals for select titles.
Business Insight Videos: Ten engaging videos show man- agers at top companies using statistics in their everyday work. Assignable questions available.
Supplements
xiv
MyStatLab™
www.freebookslides.com
xv C O N T E N T Sxv C O N T E N T S P R E F A C E xv
StatTalk Videos: Fun-loving statistician Andrew Vickers takes to the streets of Brooklyn, New York, to demonstrate important statistical concepts through interesting stories and real-life events. A series of 24 videos with accompany- ing assessment questions and instructor’s guide available.
Expert Tutoring: Although many students describe the whole of MyStatLab as “like having your own personal tu- tor,” students also have access to live tutoring with quali- fied statistics instructors via MyStatLab.
And, MyStatLab comes from a trusted partner with educa- tional expertise and an eye on the future.
Knowing that you are using a Pearson product means know- ing that you are using quality content. That means that our eTexts are accurate, that our assessment tools work, and that our questions are error free. And whether you are just getting started with MyStatLab, or have a question along the way, we’re here to help you learn about our technolo- gies and how to incorporate them into your course.
To learn more about how MyStatLab combines proven learning applications with powerful assessment, visit www.mystatlab. com or contact your Pearson representative.
MyStatLab™ Ready to Go Course (access code required): These new Ready to Go courses provide students with all the same great MyStatLab features that you’re used to, but make it easier for instructors to get started. Each course includes pre- assigned homework and quizzes to make creating your course even simpler. Ask your Pearson representative about the details for this particular course or to see a copy of this course.
MathXL® for Statistics Online Course (access code re- quired): MathXL® is the homework and assessment engine that runs MyStatLab. (MyStatLab is MathXL plus a learning man- agement system.)
With MathXL for Statistics, instructors can
Create, edit, and assign online homework and tests using algorithmically generated exercises correlated at the objec- tive level to the textbook.
Create and assign their own online exercises and import TestGen tests for added flexibility.
Maintain records of all student work, tracked in MathXL’s online gradebook.
With MathXL for Statistics, students can
Take chapter tests in MathXL and receive personalized study plans and/or personalized homework assignments based on their test results.
Use the study plan and/or the homework to link directly to tutorial exercises for the objectives they need to study.
Knowing that students often use external statistical soft- ware, we make it easy to copy our data sets, both from the ebook and the MyStatLab questions, into software like StatCrunch™, Minitab, Excel, and more.
MathXL for Statistics is available to qualified adopters. For more information, visit our Web site at www.mathxl.com or contact your Pearson representative.
StatCrunch™ StatCrunch is powerful Web-based statistical software that allows users to perform complex analyses, share data sets, and generate compelling reports of their data.
Collect. Users can upload their own data to StatCrunch or search a large library of publicly shared data sets, spanning almost any topic of interest. An online survey tool allows users to quickly collect data via Web-based surveys.
Crunch. A full range of numerical and graphical methods allow users to analyze and gain insights from any data set. Interactive graphics help users understand statistical con- cepts, and are available for export to enrich reports with vi- sual representations of data.
Communicate. Reporting options help users create a wide variety of visually appealing representations of their data.
Full access to StatCrunch is available with a MyStatLab kit, and StatCrunch is available by itself to qualified adopters. For more information, visit our Web site at www.StatCrunch.com or con- tact your Pearson representative.
PowerPoint® Lecture Slides. These presentations are avail- able for each chapter. The PowerPoint slides provide an instruc- tor with individual lecture outlines to accompany the text. The slides include many of the figures and tables from the text. In- structors can use these lecture notes as is or can easily modify the notes to reflect specific presentation needs.
The Student Edition of Minitab® is a condensed edition of the professional release of Minitab statistical software. It offers the full range of statistical methods and graphical capabilities, along with worksheets that can include up to 10,000 data points. Individual copies of the software can be bundled with the text (ISBN-10: 0-13-143661-9; ISBN-13: 978-0-13-143661-9).
JMP Student Edition is an easy-to-use, streamlined version of JMP desktop statistical discovery software from AS Insti- tute, Inc., and is available for bundling with this text (ISBN-10: 0-321-89164-3; ISBN-13: 978-0-321-89164-8).
s p e C i A l t h A n k s I would like especially to thank Deirdre Lynch and Marianne Ste- panian for their support and guidance with this second edition, Dana Bettez for keeping the entire project on schedule, Erin Lane for promoting this edition with her marketing skills, Joe Vetere for producing professional quality figures and screenshots in the textbook, Peggy McMahon for coordinating the production process with PreMediaGlobal, Sonia Ashraf for coordinating the reviewers, Amy Ray for improving my writing with her edito- rial skills, Cathy Zucco-Teveloff and Dirk Tempelaar for their accuracy checking to ensure an error-free textbook, and David Stephan for the development of the Excel Add-in, PHStat.
And most importantly, I would like to thank my wife, Debbie, for her constant love and support throughout the entire project.
www.freebookslides.com
This textbook was shaped and contributed to by dozens of class testers, consultants, focus group participants, and reviewers who gave generously of their time, expertise, and creativity.
R e v i e w e R s f o R t h e s e C o n D e D i t i o n
Henry Ander, Arizona State University Kristian Braekkan, Gustavus Adolphus College Chen-Huei Chou, College of Charleston Mark Dahlke, Colorado State University Joan Donohue, University of South Carolina Levent Kaan, University of Texas Dallas Andrew Koch, James Madison University Latika Lagalo, Emory University Rutilio Martinez, University of Northern Colorado Lee McClain, Western Washington University
Angela Mitchell, Wilmington College Alex Olbrecht, Ramapo College of New Jersey Robert Patterson, Penn State-Erie Leonard Presby, William Patterson University Carol Puttman, Penn State-Erie Mike Racer, University of Memphis Jena Shafai, Bellvue University Ruben Veliz, Marymount College Candace Sorenson, Marylhurst University Ronald Young, Stark State College
Class Testers/Consultant Board/Focus Group Participants/Reviewers for the First Edition ALABAMA ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Scott Bailey, Troy University
ARIZONA �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Jason Bronowitz, Arizona State University Linda Chattin, Arizona State University Ashley Jacobson, Chandler Gilbert Community College
Nicolas Rouse, Phoenix College Susan Sandblom, Scottsdale Community College Yvonne M. Sandoval, Pima Community College
ARKANSAS ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Tony Hunnicutt, Ouachita Technical College
CALIFORNIA ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Asatar Bair, City College of San Francisco Michael Brady, California State University, Dominguez Hills Min Li, California State University, Sacramento Khosrow Moshirvaziri, California State University, Long Beach Christopher O’Byrne, San Diego State University Ozgur Ozluk, San Francisco State University
Hamid Pourmohammadi, California State University– Dominquez Hills
Hindupur Ramakrishna, University of Redlands Sunil Sapra, California State University, Los Angeles Mark Tendall, Stanford University
COLORADO �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Dale DeBoer, University of Colorado, Colorado Springs Eric Huggins, Fort Lewis College
Alexandre Probst, Colorado Christian University Richard Turley, Colorado State University
CONNETICUT �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Matt Rafferty, Quinnipiac University
DELAWARE ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Roman Erenshteyn, Goldey-Beacom College James Ford, University of Delaware
Angela Mitchell, Wilmington College
FLORIDA �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Dipankar Basu, Miami University James Mirabella, Jacksonville University
Gary Smith, Florida State University
Acknowledgments
xvi www.freebookslides.com
xvii C O N T E N T Sxvii C O N T E N T S A c k n o w l e d g m e n t s xvii
GEORGIA ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Kim Gilbert, University of Georgia Katherine McClain, University of Georgia
Komanduri Murty, Fort Valley State University Hilde Patron-Boenheim, University of West Georgia
ILLINOIS ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Harold Beck, Southern Illinois University Edwardsville Yanli Cui, University of Illinois at Chicago
Jian Li, Northeastern Illinois University
INDIANA ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Jason Davidson, Butler University Ellen Gundlach, Purdue University
Keith Starcher, Indiana Wesleyan University
IOWA �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Rick Jerz, St. Ambrose University Blake Whitten, University of Iowa
KENTUCKY ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Bob Gillette, University of Kentucky Kusum Singh, University of Kentucky
Meenu Singh, Murray State University
LOUSIANA ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Brandi Guidry, University of Lousiana Lafayette Begona Perez-Mira, Northwestern State University of Louisiana
Zhiwei Zhu, University of Louisiana at Lafayette
MARYLAND ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
John Beyers, University of Maryland–University College Michael Kulansky, University of Maryland—University College
Elkanah Faux, Bowie State University Steve South, Montgomery College, Germantown
MASSACHUSETTS ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Richard McGowan, Boston College Bharatendra Rai, UMASS–Dartmouth
MICHIGAN ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Fred Gruhl, Washtenaw Community College
MISSISSIPPI ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Daniel Cameron Montgomery, Delta State University Stephen Trouard, Mississippi College
MISSOURI ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Eli Snir, Washington University in St. Louis
NEBRASKA ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Karl Petersen, Bellevue University Jena Shafai, Bellevue University
NEW HAMPSHIRE ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Irwin Bramson, New Hampshire College
NEW JERSEY ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Emma Bojinova, Canisius College Ellen Benowitz, Mercer County Community College Raed Dandan, William Paterson University Martin Gritsch, William Paterson University David Letcher, The College of New Jersey
Lan Nygren, Rider University Penina Orenstein, Seton Hall University Leonard Presby, William Paterson University Harold Schneider, Rider University
NEW MEXICO �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Sue Stockly, Eastern New Mexico University
www.freebookslides.com
xviii A C k n o w L E d g m E n t s
NEW YORK �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Chen-Huei Chou, College of Charleston Kevin Caskey, SUNY–New Paltz Ann Brandwein, Baruch College
Chun-Pin Hsu, York College, City University of New York Jan Pitera, Broome Community College Sean Simpson, Westchester Community College
NORTH CAROLINA ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Alexander Deshkovski, North Carolina Central University Casey DiRienzo, Elon University
Mahour Parast, University of North Carolina–Penbroke
OHIO ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Pam Boger, The Ohio State University Susan Emens, Kent State University at Trumbull Eugene Jones, The Ohio State University Joe Nowakowski, Muskingum University Eddy Patuwo, Kent State University Roxana Postolache, Capital University
Deborah Rumsey-Johnson, The Ohio State University Anthony Sterns, Kent State University, University of
Maryland—University College Robert Stoll, Cleveland State University Michael Welker, Franciscan University of Steubenville
OKLAHOMA �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Ramona Piearcy, Connors State College Allen White, Bacone College
Diana Wolfe, Oklahoma State University at Oklahoma City
PENNSLYVANIA ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Mohamed Albohali, Indiana University of Pennsylvania Ozgun Caliskan Demirag, Pennsylvania State-Behrend Deborah Gougeon, University of Scranton Ian Langella, Shippensburg University of Pennsylvania Edward Mathis, Villanova University
Jerrold H. May, KGSB/University of Pittsburgh Robert O. Neidigh, Shippensburg University Rick Tannery, Slippery Rock University Ray Venkataraman, Pennsylvania State–Behrend Charles Wilf, Duquesne University
SOUTH CAROLINA ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Joan Donohue, University of South Carolina Lisa Bosman, Clemson University Chen-Huei Chou, College of Charleston
Kent Foster, Winthrop University Renu Singh, South Carolina State University
TENNESSEE ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Mohammad Ahmadi, The University of Tennessee at Chattanooga
Michael Racer, University of Memphis
Carolyn Rochelle, East Tennessee State University Jeffrey Schultz, Christian Brothers University
TEXAS �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Jacob Dell, University of Texas at San Antonio Levon R. Hayrapetyan, Houston Baptist University Mark Leung, University of Texas at San Antonio Carolyn Monroe, Baylor University
Ranga Ramasesh, Texas Christian University Joseph C. Rhodes Jr., Lone Star College Jesus Tanguma, The University of Texas–Pan American Grace Vaughn, El Paso Community College
UTAH �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Camille Fairbourn, Utah State University Brigham City Regional Campus
Don Gren, Salt Lake Community College
VIRGINIA �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Kelly Alvey, Old Dominion University Niels-Hugov Blunch, Washington and Lee University Stephen Custer, Virginia Commonwealth University Drew Koch, James Madison University
Quinton Nottingham, Virginia Polytechnic Institute and State University
Harvey Singer, George Mason University Faye Teer, James Madison University
www.freebookslides.com
xix C O N T E N T Sxix C O N T E N T S A c k n o w l e d g m e n t s xix
WAHINGTON ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Sung Ahn, Washington State University Stergio Fotopoulos, Washington State University
WASHINGTON D.C. ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Rick Gibson, American University Darius Singpurwalla, George Washington University
Ernest Zampelli, Catholic University of America
WISCONSIN �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Patricia A. Mullins, University of Wisconsin–Madison Lee J. Van Scyoc, University of Wisconsin–Oshkosh Cathy Poliak, University of Wisconsin–Milwaukee
Student Reviewers/Focus Group Participants for the First Edition This textbook was shaped and contributed to by hundreds of students who gave generously of their time, expertise, and creative unique perspective as students. This is who this textbook is for and we appreciate your input. Of particular note, are the following students:
Jay Bhatt, Goldey-Beacom College Rafie K. Boghozian, East Tennessee State University Lisa Bosman, College of Menominee Nation Anne Drougas, Dominican University Ashraf El-Houbi, Lamar University Douglas Evans, The Ohio State University Kevin Foster, City College of New York Fred Howington, Washtenaw Community College Molly Jensen, University of Arkansas Constance McLaren, Indiana State University Lan Ma Nygren, Rider University Eric Ozsen, San Francisco State Universtiy
Gopi Parimi, Goldey Beacom College Robert Patterson, Penn State–Erie, The Behrend College Nora Perrone, Newmann University Phillip Pfaff, Canisius College Hamid Pourmohammadi, California State University–
Dominquez Hills Alex Riker, Boston College Sanjani Shah, Goldey-Beacom College Tim Sullivan, Southern Illinois University Edwardsville Minghe Sun, The University of Texas at San Antonio Cori Thompson, Madison Area Technical College Linda Williams, Tidewater Community College
www.freebookslides.com
xx
D e A R s t u D e n t s
Information overload is a recognized mark of our time, and the daily data tsunami isn’t going to recede any time soon. There’s no doubt you will be exposed to an unprecedented volume of data and information throughout your career. While many around you are crying “I’m overwhelmed!” or even “man overboard!” you can take a different, much better approach. Developing the skills needed to organize and interpret important information is a key to success, especially in business.
The business statistics course you are beginning will give you invaluable tools that enable you to use data to make good business decisions. For example, if you were a manager for AT&T or Verizon, could you conclude that the dropped-call rates for the two companies are significantly different based on a sample of customers from each company? Would that data alone be enough to affect how you manage your business? Or, would you want to break it down further and analyze it by some additional other factor, the locations of dropped calls perhaps? After you have completed Chapter 10, you’ll be able to analyze data such as this and answer these questions with a high degree of reliability.
Throughout your business career you will find people at every level making decisions that have real consequences affecting business profitability and the jobs of real people. A skilled data analysis can give you an amazing window on aspects of a business that are simply not apparent without it.
I have written this textbook with you, the student, as my focus and the overall goal of helping you succeed both in this course and later in your career. I developed my approach over many years of teaching, and on the basis of that experience, I offer the following advice to help you achieve your own goals:
Make it to class regularly. If you don’t, you’ll miss the details that help you master the subject. No textbook, no matter how well written, can take the place of your instructor and the classroom interaction. Seriously, go to class!
Take advantage of the “Your Turn” problems placed throughout the chapters. Solving them will reinforce key concepts and let you know if you fully understand the material. The solutions to the problems at the end of each chapter give you immediate feedback, so I encourage you not to peek at the answers before you solve the problems or you won’t really know how you are doing!
Solve as many of the chapter problems as you can before exams. Business statistics is not a subject that rewards cramming or winging it. The saying “practice makes perfect” holds true in this field, and working through a variety of problems will build your confidence during the semester. I have provided solutions to all the even-numbered problems in Appendix B at the end of the book.
I hope that you come to share my enthusiasm for the value of business statistics this semester and that what you learn in this course contributes to your future success in the business world.
b o b D o n n e l ly
www.freebookslides.com
Index of Applications
A Automobiles
Ages of cars, 617 Auto financing market, 376 Automotive dealerships, 283 Average age of a Scion driver, 347 Average gasoline consumption, 429 Average rental price of car, 447–448 Average score of car, 137 Avis rental car, 139, 301, 522 BMW owners, 71 Brand loyalty, 492 Car battery, 285 Choosing cars, 189 Drive-through lane, 71 Engine size of sedans, 18-35, 130–131, 695 Explorer, 704 General Motors (GM), 617, 782–783 Hybridcars, 241, 617 Interstate speeds, 645 Inventory, 241 Latitude Tour tire in, 366 Maintenance and repairs, 416 Miles per gallon (MPG), 18–35, 695 Selling price of new domestic cars, 18–41 Snow plow controls, 17-15–17-16 Speed of cars traveling, 282 U.S. market share, 603–604 Variability of the tire life, 18-43, 281, 491, 643, 645 Volkswagen, 376 Warranty for a particular SUV, 268
B Business and Economics
Acme Markets, 18-41, 131, 702 Advertisers, 563 AOL Internet business, 812–813 AutoTrader, 18-14 Average monthly revenue, 68 Average price of television, 268 Average prices for flat-panel televisions, 783 Avon Products, 539–540 Bagel Boys, 540 Banking fees, 346 Bank of America stock prices, 90 Best Buy, 483, 659 Bookstore, 238 Buy.com, 18-35, 683 Car dealership, 174 Cell phone companies, 431 Chlorine shipping, 813 Christmas cards, 17-34 Christmas trees, 17-5–17-6, 283 Clear Bags, 377 Consumers product demand, 206 Crisis in the real estate market, 423–424 Currency exchange rates, 91 Daily demand for birthday cakes, 17-16 Demand for bananas, 17-11 Downturn in the housing market, 69 E-commerce Web site, 284 Euro currency crisis, 376 European debt crisis, 416 Fannie Mae, 411 Fitness apparel, 17-10–17-11 “Focus on the economy,” 585
French pension system, 423 Full-time small-business owners, 429, 431 Gasoline prices, 54, 73, 326, 354 GDP, 54 GM market share, 782 GNC, 702–703 Gold prices, 796 Homeownership, 358 Housing market, 284, 321, 430–431, 565 Inventory, 782 iPhone sales, 101 Island Art, 619, 759 Laptop demand, 187 Laptop prices, 111, 761 Laptop sales, 91 Light bulbs production records, 228 Market cap, 139 Market shares, 69, 70 New product manufacturing, 17-31 Number of days homes were on the market, 137 Printed T-shirt, 17-11, 238 Product demand, 17-15 Purchasing DVDs, 175 Recession, 283, 431, 483, 489 Revenues of cell phone accessories, 301 Sales calls, 616 Selling cameras, 228 Selling prices, 18-31, 18-41, 18-44, 111, 563–564 Small Business Administration (SBA), 429,
431, 490 Small-business owners, 71 Soccer equipment, 17-6 Software sales, 53–54 Spain unemployment, 818–819 Stock markets, 18 Stone Harbor, 18 Supply order, 17-6 Toys Unlimited, 819 US Housing Starts, 73 Variability of the salaries, 659 Video game profits, 65 Warehouse clubs, 540 Weekly purchases of printers, 604
C Construction
Baseball stadium, 67–68 Beach properties, 702 Building full-scale facility, 17-30 Building new facility, 17-35 Crisis in the real estate market, 423–424 Downturn in the housing market, 69 First-time home buyers, 18-40 Handyman, 567 Homeownership, 17-30–17-31, 358, 492 Housing prices, 18-14, 281 Jersey Shore Realtors, 716, 725, 730, 738, 755 Maintenance and repairs, 326–327 Monthly apartment rent, 18-43 Myrtle Beach Homes, 761 New housing, 18-42, 71, 72, 411, 489 Occupancy rate of the complex, 17-15 Precision Doors, 285 Prudential Realtors, 300 RAD Construction Company, 283 US Housing Starts, 73
Consumers AT&T wireless, 140 Average age of, 18–14, 402 Average delivery time for orders, 402 Complaints, 67, 69 Consumer reports, 564 Credit scores, 416 Customer arrivals, 604 Customer education levels, 154 Customer satisfaction, 58–59, 69, 101, 138, 139,
175, 206, 217, 328, 370, 377, 424, 428, 522, 617, 646, 695, 701–702
Customer service, 130, 139, 182 Food orders, 174 Forecasting, 818 Hair salon, 565 At a jewelry kiosk, 126 Music, 564 Optical department, 285 Product demand, 206 Purchasing through e-commerce Web site, 217–218 Shopping experiences, 175 Spending expectations, 817 Waiting time, 115–116, 140, 240, 322, 347, 402, 430 Wireless, 68
D Demographics. See Statistics/ Demographics
E Economics. See Business and Economics Education
Absence, 71, 101, 139, 238, 702 Age of an MBA student, 112 Average back-to-school spending, 447 Average score for the class in exam, 317 Bellevue University, 812 Class sizes, 73, 402, 464, 647 College students’ salaries, 101 Customer survey, 155 Degree-granting institutions, 175 E-book reading, 240 Education levels, 603 Final exam scores, 140, 716, 725, 737–738, 755 For-profit schools, 489 GMAT, 672 Goldey-Beacom College, 41 Grade distribution, 58, 189, 610 Grade inflation, 683, 818 Grade point average (GPA), 187–188, 300,
365–366, 659, 683, 818 Graduate Management Admission Council
(GMAC), 18-41, 376 High school salaries, 567 100-point test score, 633–634 Independence School, 783 Kindergarten, 563 MBA programs, 18-41, 53, 240, 327, 618 MCAT, 474 Missed classes, 18-41–18-42, 139, 702 Multiple-choice quiz, 187, 189, 604 Number of graduating students, 126 Pearson Education, 18-40–18-41
xxi www.freebookslides.com
xxii I n d e x o f A p p l I c A t I o n s
Question answering, 217 Salary information for graduates, 283 SAT scores, 18-43, 68, 140 Spring breaks, 321 Statistics grades, 68, 326 Student population, 187 Students enrolment, 140, 328, 358 Sussex College, 54 Trends in International Mathematics and Science
Study (TIMSS), 70 U.S. Department of Education, 18-41
Engineering Camera warranty, 619 Compact fluorescent light bulbs (CFL), 375, 647 Electronic traffic counters, 327 Laptop battery, 18-36, 140, 273, 430, 696 Quality control, 328 Rechargeable batteries, 463–464 Smart meters, 429 Sources of electricity, 70 Texas Oil drilling, 17–36
Entertainment. See Sports and Entertainment Environment
Carbon emissions, 91 Engine size of sedans and, 130–131, 695 Environmental Protection Agency (EPA), 18–35,
539, 695 Fuel efficiency, 491 Grass fertilizers, 564 Hurricanes, 240–241 Miles per gallon (MPG), 18-35, 695 Oil spill, 326 Organisation for Economic Co-operation and
Development (OECD), 282 Snowfall, 616
F Finance
Account balance, 70, 429, 647–648 Apple stock price, 796 Auto financing market, 376 Average cash bonus, 818 Average hotel price, 316 Average price for a movie, 315 Baggage fees, 489 Bank of America, 377 Bank of Delaware, 738, 755 Car-loan payments, 241 Citibank, 18-44, 493 Consumer Price Index (CPI), 782 Cost of ink cartridges, 347 Credit cards, 18-21, 41, 175, 268, 402, 567, 610 Credit scores, 18-42, 140, 416, 555–556, 659 Creditworthiness, 18 Earnings per share (EPS), 716, 725, 731, 754–755 Electronic tax filing, 782 Faculty salaries, 760 Fair Isaac, 18-42, 140 Financial aid, 239 Flexible spending accounts (FSA), 17-35 Food costs, 71, 759, 783 French pension system, 423 Gold prices, 796 Health care costs, 54 Hotel room rates, 18-26, 281, 427 Housing prices, 18–14 H&R Block, 18-14 Income of states, 301 Income tax, 175, 241, 267–268, 321–322, 346, 358 iPhone sales, 101 Microloan program, 18-42
MLB payroll, 73, 704 Money saved for retirement, 70 Mortgage rates, 18-40, 238–239, 796 National Foundation for Credit Counseling
(NFCC), 18-21 Negative equity, 327–328, 493 Pay for college, 71 Paying annual dues to play golf, 322 PGA money list, 61 Portfolios, 238 Recession, 283, 431, 483, 489 Sallie Mae, 18-41 “Sandwich generation,” 327 Soffrittos, 759 Starting salaries, 554 Stock markets, 18, 819 Student-loan debt, 18-40, 492, 614 Tax prep costs, 375 Tennis pay out, 17-30 Travel insurance, 238 TurboTax, 18-31 U.S. households, 217
Food and drinks Annual chocolate consumption, 267 Average beer consumption, 354 Average number of minutes of diners, 315–316 Baking loaves, 206 BBQ potato chips, 366 Brands and types of soda, 72 Cafeteria, 813 Coffee industry, 402 Coffee vending machine, 278 Consumption of bottled water, 326 Creamery, 18-26 Customer dining experience, 53, 54 Customers’ orders, 174 Daily demand for birthday cakes, 17-16 Diet cola, 241 Drive-through, 61, 111 Drive through service, 565 Entrée types, 54 Food expenditures, 71, 759, 783 Gatorade, 538–539 Herr Foods, 646 Hot dogs, 672 McDonald’s, 490 Number of cups of coffee, 156 Number of meals eaten in restaurants, 411 Number of pounds of bananas, 522 Order takeout for dinner, 615 Pepsi products, 326 Pizza home delivery time, 188–189, 285, 316, 523 Sugar consumption, 282 Taste test, 494, 648
G Government
Age group of registered voters, 614 Federal government, 584–585 For-profit schools, 489 French government, 492–493 Health care plan, 490 Ohio voters, 615 Union membership, 614 Wall Street Journal poll, 174 White House staff, 428
H Health
Alcohol consumption, 326 American Board of Family Medicine, 131, 701 Aston, 645
BMI, 328, 566 Caloric consumption, 347 CDC guidelines, 614–615 Child-care center, 281 City Hospital, 716, 726, 730, 755 Consumer-Directed Health Plan (CDHP), 327 Exercise, 327, 555 Fertility rate, 138 Flu shot, 239 Health care plan, 490 Health insurance, 175, 317, 322, 375, 584–585 Hours of sleep per night, 281 Low-density lipoprotein (LDL), 490, 678, 679 Neonatal intensive care unit (NICU), 18-40 Never events, 72 Number of hours of sick time, 539 Obamacare, 375 Obesity, 328, 483 Opinion Research Corporation, 54 Patient records, 115, 240, 284, 366, 645 Patient satisfaction, 370 Radon levels, 370 Resident hours, 645 Safety awareness, 18-43 Skin cancer cases, 585 Smoking, 359 Staffing of emergency room (ER) personnel,
18-42–18-43, 563 Traffic accident, 284 Weight-loss program, 474, 565–566, 616 Weight of NFL players, 316
L Labor
Adecco lay off, 217 Age discrimination, 41–42 Age group, 566, 584 American Association of Retired Persons
(AARP), 567 Average hourly wage rates, 375, 377, 463 Average retirement age, 447 Average salary for a federal employee, 325 Average sleep time, 424 Average weekly wages, 282 Average workweek, 327 Citibank interview, 604 Commute time to work for, 278 Earnings, 18 Employee hours, 565 Executive officer positions, 217, 328 Faculty members, 241, 683 Faculty salaries, 760 Flexible spending accounts (FSA), 17-35 Forced-ranking system, 237 Golf cart attendants, 347 Hiring seasonal employees, 69 Long hours resident doctors work, 428 Monthly salary, 18-43, 448 Neumann, 18-35 Organisation for Economic Co-operation and
Development (OECD), 316 Paid vacation days, 354 Safety awareness, 18-43 Satisfaction, 238 Sick days, 615, 618 Spain unemployment, 818–819 Staffing of emergency room (ER) personnel, 563 Unemployment rate, 90, 138, 283, 316, 385, 416 Union, 430 Variability of the salaries, 643 Years of sales experience, 703 Younger employees retirement plans, 429
www.freebookslides.com
xxiii C O N T E N T Sxxiii C O N T E N T S I n d e x o f A p p l I c A t I o n s xxiii
M Miscellaneous
Age of an MBA student, 112 American Idol viewers, 782 Annual snowfall, 72 Apartments.com, 217 Average daily rate for a luxury hotel, 267 Average hotel price, 316 Average of holiday shoppers spent, 411 Average of hours a day watching TV, 316, 354 Average utility bills, 411, 447, 567 Calls received by customer support center, 228 Cats living in individual households, 238 Cell phone minutes, 796 Cheez-It crackers, 72 Church’s congregation, 377 Comcast monthly cable bill, 18-35–18-36, 430,
717, 726, 731 Contact rate, 424 Delmarva Power utility bill, 717, 726, 731 Entertainment magazine, 17-34–17-35 Executives’ salary ranges, 156 Favorite national park survey, 156 Flipping a single coin, 174 Generation Y, 321, 326 G&R Publishing, 17-11 Kayak rental company, 17-5 Later-born and first-born one-year-old
children, 464 Lowes home improvement chain, 377 Manuscript typos, 240 Number of bedrooms per house, 206 Number of births in a local hospital, 228 Office occupancy, 483 Participating groups, 182 People living within their households, 101,
155–156, 186, 206, 217, 241, 283, 424 pH readings, 647 Pretzels, 634, 645 Proportion of tips on bills, 366 Purina dog food, 645 Quadrophobia, 619 Retirement ages, 556 Rolling a pair of dice, 174 Scheduling visit, 189 Seating arrangement, 182 Selection of juries, 182 Squirt Squad cleaning service, 725, 730, 738, 755 Standard 52-card deck, 174, 175, 187, 242 Texting while driving, 283–284 Time required for housekeeping, 278 Time required to pass through security, 278 U.S. Postal Service, 819–820 Wedding location, 17-11
P Politics
Campaign strategy, 377 Federal government, 584–585 Political poll, 616 Wall Street Journal poll, 174
S Sports and Entertainment
Actor and actress roles, 189 Average number of viewers, 70 Average price for a movie, 315 Baseball, 69, 91, 116, 125–126, 267, 375, 424,
492, 614
Basketball games, 18–14, 188, 239, 284, 354, 369, 703–704
Casino resort industry, 522–523 Children spent with each media, 70 Christmas M&M’s, 234 Curling, 268 Data analyzing, 428 Driving distances of various golf balls, 539 Fan Cost Index, 138 Fantasy-football, 18-26 Five-card poker, 182 Golf cart attendants, 347 Golf clubs, 72, 645–646 Golf scores, 139, 239, 474, 493, 616, 648, 796 Great Smoky Mountain National Park, 819 Green Bay Packers, 241–242 Heights of the players in NBA, 317 Holiday sales, 493 Lead time, 285 Left-handed golfers, 326 Lottery game, 182, 189 Median ticket prices, 18–31 MLB payroll, 73 MLB pitchers, 760 Movie rankings, 189 Movie theater ticket prices, 556, 795 National Football League games (NFL), 18–31,
111, 138, 301, 316, 563 National Park Service (NPS), 646–647 Netflix subscribers, 65 NFC North Division teams, 182 Orange Lake Resort, 285 Paying annual dues to play golf, 322 PGA money list, 61 Points per game, 61 Regifting, 239 Running play or a passing play, 174, 483 Soccer goals, 615 Spring breaks, 321 2012 Summer Olympics medal count, 610 Summer travelers, 411 Super Bowl, 189, 238, 796, 820 Swimming, 18–43, 140, 182 Tennis pay out, 17–30 Touchdown passes, 111–112, 604 Vacation properties, 618 Video game profits, 65 Villanova basketball, 240, 716–717, 730–731,
738 Weight of NFL players, 316 Whale watching tours, 241 Winter Olympic sport, 268
Statistics/Demographics Annual incomes, 115 City populations, 125 Contributions, 376 Dr. Gregg’s office, 604 Eastern Time Zone, 284 High school graduates, 268 High school salaries, 567 Spending on Valentine’s Day gifts, 316 Wall Street Journal poll, 174 ZoneDiet.com, 186–187
T Technology
AOL Internet business, 812–813 Apple, 239–240, 428 Average usage of mobile devices, 268 Blackberry devices, 228, 322
Canon copier, 17-16 Cost of ink cartridges, 347 Customizing a desktop computer online, 182 Data usage and speeds, 138, 647 E-commerce Web site, 284 Establishing four-digit pin number, 189 Facebook, 321, 489 Federal Communications Commission, 618 Google Maps, 239–240 Google’s Android operating system, 218,
228, 269 HDTV, 283 Internet access, 174 Malicious attacks, 430 Owning a tablet, 268 Owning cell phone, 429 Research in Motion (RIM), 228 Revenues of cell phone accessories, 301 Search engine, 53 Smart meters, 429 Social network usage, 137, 321, 416, 428, 489,
492, 611 Spam e-mails, 615 Swype technique, 473–474 Text messages, 138, 429–430 T-Mobile, 73 TurboTax software, 18–31 Use of smartphones and laptops, 72 Verizon Wireless, 18-40, 68, 139, 376, 429,
647, 701 Wi-Fi service, 416 Work-related emails, 618
Temperature Department of Energy, 679 Freezer temperatures, 634 Hawaii ocean temperatures, 42, 377
Transportation Aircraft turnaround time, 285 Airfare benchmarking, 18-26 Air France, 617, 646 Airline arrivals, 68 Airline performance, 73 Airlines incentives, 375 American Airlines, 268, 646 Average gasoline consumption, 429 Average number of miles driven, 267 Average speed of drivers, 316 Commuting to school, 642–643 Cruising to different destinations, 464 Delta Airlines, 138, 237 Domestic airfares, 377 Driver’s license, 328 Driving distance, 521–522 Federal Aviation Administration (FAA), 521 Fuel efficiency, 491 GMAC, 376 No-shows, 17-35–17-36, 41 Number of traffic tickets, 228 On-time and late flights, 187, 490, 616 Orbitz, 18-30–18-31 Package weight, 522 Pizza delivery time, 316, 523, 634 Southwest Airlines, 239 Spirit Airlines, 17-35–17-36 Travel insurance, 238, 647 TSA times, 73, 463, 642 United Airlines, 240 Urban traffic congestion, 555 U.S. air traffic control system, 354 Wi-Fi service, 416
www.freebookslides.com
I n t H I s c H A P t e R , Y o U w I l l l e A R n :
■ How statistics is used in the business world.
■ About the sources and data and the methods for collecting it.
■ How to classify data by the level of measurement.
■ To distinguish between time series and cross-sectional data.
■ To distinguish between descriptive and inferential statistics.
■ About the ethical implications of misusing statistics.
An Introduction to Business Statistics
C H A P t E R 1 m A P
1.1 Business Statistics and Their Uses | 2
1.2 Data | 4
1.3 Descriptive and Inferential Statistics | 11
1.4 Ethics and Statistics—It’s a Dangerous World of Data Out There | 14
C H A P t E R
1
www.freebookslides.com
2 C h a p t e r 1 | An Introduction to Business Statistics
Welcome to the world of statistics! Although some of you might be excited about learning statistics, others of you are probably less than thrilled about it. Perhaps you have to take “sadistics” because your major requires it. However, before you write off the value of this learning opportunity, let’s discuss the role that statistics can play in your life. In today’s world, everyone is a consumer of statistics. By this, I mean that you are continually sur- rounded by data and statements about those data in an effort to influence you to purchase something, vote for someone, or change your opinion about an issue. Consider the follow- ing examples:
• When CBS Sports announces that 109 million viewers tuned in to the 2013 Super Bowl, do you understand the method used to determine this number? (How does CBS know that I, you, or anyone else watched the game?)
• When we hear on TV that President Barack Obama’s approval rating is 56% and in small print see {4%, do you understand the significance of this percentage?
• When you read an advertisement claiming that a new product is recommended by four out of five doctors, do you question the validity of the claim? (For instance, were the doctors paid for their endorsements?)
• When an online survey reports that Canon digital cameras are preferred to Nikon, does it concern you that the majority of the respondents could be Canon loyalists who repeat- edly voted, skewing the results, or that the survey was conducted on a Canon user’s forum?
Never before in the history of humankind have people had more data and information at their fingertips than you do at this moment. Statistics can have a powerful effect on our feel- ings, our opinions, and the decisions that we make in our personal and professional lives. As a result, it’s very important that the statistics we report are both accurate and unbiased to ensure that they are properly utilized.
1.1 Business Statistics and Their Uses Statistics is the mathematical science that deals with the collection, analysis, and presenta- tion of data—data that can then be used as a basis for inference and induction. Business statistics are statistics applied to the business world in an effort to improve people’s decision making in fields such as marketing, operations, finance, and human resources, to name a few. Let’s look at a few examples of how business statistics can help an organization’s decision makers.
Marketing research Organizations rely heavily on business statistics when they conduct marketing research to determine what consumers want. For example, Kellogg’s could perform a taste test to determine if consumers prefer the company’s Cheez-It crackers to Nabisco’s Cheese Nips. (Being a life-long Cheez-It addict, I know where my vote will go.) Kellogg’s could also gather information about each consumer participating in the test in an effort to determine if the people who prefer one brand to the other share similar characteristics. This would
be useful information for Kellogg’s future marketing efforts.
advertising Television networks set their advertising rates for commercials based on the sizes of viewing audiences. The networks receive the information from Nielsen Media Research, which col- lects data from approximately 25,000 U.S. households. The sample of households surveyed has been carefully selected so that the results can be used to infer the viewing habits of the entire country. Statistics are used to ensure the sample is properly chosen and to process the data into meaningful information for the networks. Based on this information, CBS was able to charge a record $3.8 million for a 30-second Super Bowl ad in 2013.
Statistics is the mathematical science that deals with the collection, analysis, and presentation of data, which can then be used as a basis for inference and induction.
In the 1980s, Marriott conducted an extensive survey to see how potential customers felt about the company’s current hotel offerings. Based on the results, Marriott designed a new hotel chain known as Courtyard by Marriott, which has been a huge success.
www.freebookslides.com
C h a p t e r 1 | 1.1 Business Statistics and Their Uses 3
Operations Statistics can also be used to help businesses operate better. Quality control, for example, is a vital concern for all successful organizations. The combination of business statistics and quality control is a marriage made in heaven. If properly implemented, statistics can help manufacturing and service organizations monitor their processes and determine when quality problems begin to occur. For instance, Kellogg’s can use statistics to determine if my Cheez- Its are overbaked or too salty. (Based on the box I’m sampling from at this moment, I’d say the company is doing an excellent job with its statistical quality control.)
Finance When I began writing this textbook, the U.S. economy was in the middle of a deep reces- sion. Part of the economic downturn was due to the poor lending practices of banks, particu- larly in the mortgage industry. If used properly, business statistics is an excellent tool to help banks identify consumers who are good credit risks and those who are not based on charac- teristics such as income, education, and home-ownership. For example, Fair Isaac Corpora- tion (FICO) developed the credit scoring system (FICO score) currently used by the industry and which is based on a variety of statistical techniques.
Business statistics are statistics applied to the business world to help improve decision making.
Stats in practice: Careers in Statistics
It’s a great time to be in the job market if you have an interest and aptitude for statistics. This is due to an increase in demand for the skills of individuals who have developed a level of statistical literacy. The biggest driver for this demand is a global society that is both data-rich and data-dependent as technology advances at an explosive rate. In recognition of this development more than 150 professional organizations, including the American Statistical Asso- ciation, have designated 2013 as the International Year of Statistics.
There are abundant employment opportunities in today’s business world that require expertise in statistics. The following jobs are just a small sampling of the type of jobs available to people who have mastered this skill set.
• Transportation statistician—Our daily lives are surrounded by transportation systems that require ongoing attention by people with statistical talents. Examples include:
° Delivery companies such as FedEx and UPS, which are al- ways seeking opportunities to improve the efficiency of their delivery systems by analyzing data.
° Airlines such as American Airlines rely on statistics for their yield management system which determines airfares on a continuous basis. You can thank these systems when you experience unexpected swings in airfare as you book your next vacation!
• Financial analyst—Using a variety of statistical tools, financial analysts provide investment advice to businesses and individu- als. Banks and investment firms are examples of organizations seeking this type of position.
• Actuary—In order to maintain profitability, insurance companies need actuaries to analyze risk factors for their customers in
order to establish appropriate premiums for their service. Statistical techniques play a major role in this analysis. Hospitals, banks, and government agencies are other examples of organiza- tions that rely on these skills.
• Sports statistician—Many professional baseball, basketball, and football teams have hired statisticians in an effort to gain a competitive advantage. Examples include:
° Assistant General Manager Peter Brand, who was drama- tized in the 2011 film Moneyball, used statistical analysis to help the Oakland Athletics assemble a competitive Major League Baseball team during the 2002 season. The Boston Red Sox won the World Series in 2004 (their first since 1918!) relying on some of the same statistical modeling used by the Oakland Athletics.
° The Memphis Grizzlies, an NBA team, recently hired a vice president of basketball operations because of his statistical expertise.
• Political analyst—A great deal of attention has been paid to predicting political outcomes, such as elections, using statistical tools.
° Nate Silver is an American statistician who has developed an impressive reputation for his accurate predictions in the political arena. I recommend visiting his Web site, fivethirtyeight.blogs.nytimes.com, to gain some insight into the benefits of statistics in this field.
And of course I’d be remiss not mentioning one last type of employment in the field of statistics—education. I can personally testify that teaching statistics to students and writing books to help them learn has been a very rewarding experience.
www.freebookslides.com
4 C h a p t e r 1 | An Introduction to Business Statistics
1.2 Data Data are the foundation of the field of statistics and can be defined as the values assigned to specific observations or measurements. If I’m collecting data on my wife’s snoring behavior, I can do so in different ways. I can measure how many times Deb snores over a 10-minute period. I can measure the length of each snore in seconds. I could also measure how loud each snore is using a descriptive phrase like “That one sounded like a bear just waking up from hibernation” or “Wow! That one sounded like a sea lion calling for its young.” (How a sound like that can come from a person who can fit into a pair of size 2 jeans is beyond me.)
In each instance, I would be recording data on the same event but in a different form. In the first instance, I would be measuring a frequency, or number of occurrences. In the second instance, I would be measuring duration, or length of time. And in the final instance, I would be measuring the event by describing its volume using words rather than numbers.
However, data all by themselves are not particularly useful. By definition, data are just the raw facts and figures that pertain to a measurement of interest. Information, on the other hand, is derived from the facts for the purpose of making decisions. One of the major rea- sons to use statistics is to transform data into information. For example, Table 1.1 shows my golf scores over a two-month period. (For those of you who are non-golfers, lower scores are better.)
Information is data that are transformed into useful facts that can be used for a specific purpose, such as making a decision.
Secondary data are data collected by someone else that you are “borrowing.”
The Internet has become a rich source of data for statistics published by various industries. I once found a Japanese study on the effect of fluoride on toad embryos. Before this discovery, I had no idea toads even had teeth, much less a cavity problem!
Data are values assigned to observations or measurements and are the building blocks of statistical analysis.
Each individual golf score would be considered a data point. By themselves, the data points have limited value, other than to suggest that I should not quit my day job. (To quit my day job and become a professional golfer, I would need a score in the 65–70 range.) To these data, let’s add the fact that in my desperate efforts to buy a better golf game, I quietly purchased a brand new driver on July 1, thinking my wife would not notice a new club in my golf bag (she did). We may be able to conclude, with the help of statistics, that the purchase helped improve my game (imagine a doubtful look on Deb’s face). In order to answer this question, we will need to employ a statistical analysis that will be covered later in this text. Stay tuned as I use statistics hopefully to convince my wife that I really needed this new club!
the Sources of Data We classify the sources of data into two broad categories: primary data and secondary data. Secondary data are data somebody else has collected and made available for others to use. The U.S. government collects and publishes a variety of data that are readily available on- line. The U.S. Department of Labor collects mountains of data on topics such as consumer prices, inflation, unemployment, and productivity. The home page for the department’s Web site is shown in Figure 1.1.
Every 10 years the U.S. Department of Commerce conducts a nationwide census to gather a wide variety of data related to the country’s population. The data are used by Con- gress to make decisions about the funding for community services throughout the United States. The data are used to adjust the number of representatives each state is allowed to elect to Congress. You can find census data on the Department of Commerce’s Web site.
{ table 1.1 | Golf-Score Data
date score
June 13 94
June 20 96
June 27 93
July 10 89
July 16 86
July 24 89
www.freebookslides.com
C h a p t e r 1 | 1.2 Data 5
The U.S. Geological Survey (USGS) provides an impressive assortment of scientific information that is used to manage water, energy, biological, and mineral resources across the Earth. For instance, did you know there are 250 species of squirrels in the world? If you don’t believe me, you can look the information up at the USGS’s Web site and become the local squirrel “expert” in your area.
The main drawback of using secondary data is that you have no control over how the data were collected. People tend to believe anything that’s in print, even if it’s not true. (You believe me, don’t you?) Some of it is wrong, and, as you will learn later in the chapter, some of it is deliberately biased. The advantage to secondary data is that they are cheap (some- times free) and that they are immediately available. For someone looking for data quickly, secondary data provide instant gratification (assuming the data are accurate, of course).
Primary data, on the other hand, are data collected by the person or organization that eventually uses the data. This type of data can be expensive to acquire, but the main advan- tage is that primary data are your data, and you have nobody else to blame but yourself if you make a mess of it. You can obtain primary data in many ways, such as by direct observa- tion, via experiments, and through surveys.
Direct observation is a method of gathering data while the subjects of interest are in their natural environment, often unaware they are being watched. Observing wild animals stalk- ing their prey in the forest or teenagers at the mall on Friday night are two examples. (Or are they the same example?) The advantage of this method is that the subjects will unlikely be influenced by the data collection process.
A focus group is a direct observational technique whereby individuals are often paid to discuss their attitudes toward products or services in a group setting controlled by a mod- erator. For example, Fisher Price heavily relies on focus groups of both adults and children to obtain valuable feedback on new toy ideas. The participants are aware they are being observed.
In an experiment, subjects are exposed to certain treatments and the data of interest are recorded. An experiment that tests the use of a new medical drug is an example. Two dif- ferent groups would be established: The first group would receive the new drug; the second group would be the control group. People in the control group would be told they are getting the new drug but would in fact get a placebo with no medication. The reactions from each group would be measured and compared to determine whether the new drug is effective.
The benefit of experiments is that they allow statisticians to control factors that could influence the results, such as the gender, age, and education of a participant. One major con- cern about collecting data through experiments is that the response of the subjects might be influenced by the fact they are participating in a study.
A survey involves directly asking people a series of questions. Surveys can be adminis- tered by e-mail, via the Web, through snail mail, face to face, or over the telephone. (It’s the telephone survey I’m most fond of, especially when I get the call just as I’m sitting down to dinner, getting into the shower, or finally making some progress on the chapter I’m writ- ing.) The questionnaire needs to be carefully designed to avoid any bias that could affect
Primary data are data that you have collected for your own use.
Direct observation is a method of gathering data while the subjects of interest are in their natural environment, often unaware they are being watched.
A focus group is a direct observational technique whereby individuals are often paid to discuss their attitudes toward products or services in a group setting controlled by a moderator.
{ figure 1.1 The Home Page of the Bureau
of Labor Statistics
In an experiment, subjects are exposed to certain treatments and the data of interest are recorded.
A survey involves directly asking people a series of questions and can be administered by e-mail, via the Web, through snail mail, face to face, or over the telephone.
www.freebookslides.com
6 C h a p t e r 1 | An Introduction to Business Statistics
participants’ responses or confuse them. Bias can occur when a question is stated in a way that encourages or leads a respondent to a particular answer. For example, “Wouldn’t you agree that all drivers should wear a seat belt?” is a biased question. The influence the survey itself has on the responses of participants can also affect the quality of the data collected. Some participants will respond in a way they feel the survey would like them to. Figure 1.2 shows a portion of a survey I developed for users of the Claymont Community Center in Delaware. To encourage respondents to participate, an effective survey will state its purpose in the beginning, ask questions in a clear and concise manner, and place the more personal demographic questions last—when the respondents feel more comfortable with the process.
We relied on SurveyMonkey to develop this textbook. Faculty and students tested the book before publication and provided valuable feedback through this Web site. I’m a satisfied customer!
Research has shown that a question posed in a positive tone will tend to evoke a more positive response. A question posed in a negative tone will tend to evoke a more negative response. A good strategy is to pre-test your questionnaire before releasing it to the actual participants.
Claymont Community Center Health Clinic
Customer Service Survey
Dear Customer,
Our goal is to provide you with the best service possible. You can help us by taking a few minutes to answer the following questions about the Claymont Community Center (CCC). This valuable information will be used to help us to improve our services in the near future. The information gathered with this survey will be kept strictly confidential. Thank you for helping us. (Please place this form in the Customer Survey Box in the Health Clinic. If you need more time, you may return the form on your next visit or ask for a stamped envelope to return it by mail.)
1. How long have you been using the Health Clinic? (Check one) _____ Less than one month _____ 1 to 6 months _____ 6 months to a year _____ 1 to 3 years
2. How satisfied are you with the quality of service being provided by the medical staff at the Health Clinic? _____ Very Satisfied _____ Satisfied _____ Dissatisfied _____ Very Dissatisfied Comment__________________________________ __________________________________________
3. Please provide the following personal information. Again, all information will remain confidential.
Zip code of your residence:________________
Gender: _____ Male _____ Female Age: _____
Marital Status: _____ Married _____ Single _____ Separated _____ Divorced _____ Widowed
Are you the head of your household? _____ Yes _____ No
What is your annual gross income? _____ Less than $10,000 _____ $30–40 _____ $10–20 _____ $40 _____ $20–30
{ figure 1.2 An Example of a Survey
Online surveys are a convenient way to acquire data. Companies such as SurveyMonkey provide people with a low-cost way to design surveys, collect responses, and analyze the data. The SurveyMonkey Web site claims that 80% of the Fortune 100 companies are users of the service. However, there are challenges to Internet surveys, which will be discussed later in this chapter.
To test your understanding of data sources, I encourage you to spend a few minutes answering the questions in the following Your Turn section.
Identify if the data required for each example are primary or secondary. For primary data, determine the best way in which the data should be collected. In other words, should the data be collected via obser- vation, experiment, or survey?
1. Apple would like to measure the satisfaction levels of customers who purchased its new iPad product.
2. Pepsi would like to determine if consumers prefer the taste of Diet Pepsi to Diet Coke. 3. Cleveland State University needs to determine the current inflation rate to determine the annual
salary increases for its staff for the upcoming year. 4. McDonald’s would like to determine the average wait time for customers who use its drive-through
windows during the lunch hour.
Y O u r t u r n # 1N
Answers can be found on u page 19
www.freebookslides.com
C h a p t e r 1 | 1.2 Data 7
the two Main types of Data Another way to classify data is by whether they are quantitative or qualitative:
• Quantitative data use numerical values to describe something of interest either by measuring it (such as its weight, height, or distance) or by counting it (such as the number of customers or repeat customers a business receives).
• Qualitative data use descriptive terms to measure or classify something of interest. One example of qualitative data is the name of a respondent in a survey and his or her level of education. Mathematical operations such as addition, subtraction, multiplication, and division cannot be performed on this type of data.
Classifying Data by their Level of Measurement Another important way to classify data is by the way the data are measured. This distinction is critical because it affects which statistical techniques we can use in our analysis of the data. The four levels of measurement are nominal, ordinal, interval, and ratio.
A nominal level of measurement deals strictly with qualitative data assigned to prede- termined categories. One example is the gender of a survey respondent, with the catego- ries being male and female. This type of data is referred to as nominal data, or categorical data. It does not allow us to perform any mathematical operations on it, such as adding or multiplying. We can only give the data names and categorize them. (The word nominal ac- tually means “pertaining to names.”) We also cannot rank-order the data in any way from highest to lowest. An example is the state in which the survey respondent resides, such as Delaware or New Jersey (although I would try to rank my home state of Delaware on top.)
Other examples of nominal data are zip codes and telephone numbers, which can’t be added, subtracted, or placed in a meaningful order of greater than or less than. Even though the data consist of numbers, they are handled just like qualitative data. Nominal data are considered the lowest level of data, and, as a result, the statistical techniques used to analyze them are the most restrictive.
An ordinal level of measurement can be conducted on data that are on the next level up on the food chain. Ordinal data has all the properties of nominal data, with the added feature that we can rank-order the values from highest to lowest. The following example explains ordinal measurement: Recently, I felt my manhood challenged by two neighbors who claimed their lawnmowers were faster than mine. Naturally, this had to be settled by a lawnmower race down our street, Gaebel Lane. Sadly, I present Figure 1.3, which shows that I lost the race. My neighbor Tom came in first (1), my neighbor Scott came in second (2), and I came in third (3).
Quantitative data use numerical values while qualitative data relies on descriptive terms to describe something of interest.
Nominal data are data that are described as a category or a label. Examples are gender (male or female), marital status (married, single, divorced, widowed), or yes/no responses.
Ordinal data have all the properties of nominal data, with the added feature that we can rank-order the values from highest to lowest.
{ figure 1.3 An Example of Ordinal
Measurement: Tom, Me, and Scott (from left to right) on Our Mowers
www.freebookslides.com
8 C h a p t e r 1 | An Introduction to Business Statistics
We still can’t perform mathematical operations on this type of data, but we can say that Tom’s lawnmower was faster than mine and Scott’s. However, we cannot say how much faster because we didn’t record the times of the lawnmowers. We just noted who came in first, second, and third. Ordinal data that have been collected do not allow us to make mea- surements between the categories or to say, for instance, that Scott’s lawnmower is twice as fast as Bob’s. For that, we need a different type of data. (In case you were wondering, I have been unsuccessful at convincing Deb that I need more horsepower to restore our family honor at the Second Annual Gaebel Lane Lawnmower Race.)
Education level is another example of ordinal data. A master’s degree is ranked higher than a bachelor’s degree, which in turn is ranked higher than a high school diploma. How- ever, we are unable to measure the difference between these degrees in a meaningful, mathematical way. For instance, it would not be accurate to claim the difference between a master’s and a bachelor’s degree is more than the difference between a bachelor’s and a high school degree. A property of ordinal data is that the differences between categories are not meaningful and, therefore, cannot be measured.
Ordinal data can also be numerical. One example of numerical ordinal data is when we rate movies with one, two, three, or four stars. Although we can order the movies by their ratings, we can’t, for example, claim that a four-star movie is four times as good as a one- star movie.
The interval measurement level is yet a higher level of measurement. It measures inter- val data, which are strictly quantitative. Temperature measurements in degrees Fahrenheit are an example of interval data. With this level, we can measure the differences between the categories with actual numbers in a meaningful way. For instance, 70°F is 5 degrees warmer than 65°F. However, multiplication and division can’t be performed on this level of data. Why not? Simply because we cannot argue that 100°F is twice as warm as 50°F. The logic of this claim becomes more obvious when we convert the temperatures to the Celsius scale. The same two temperatures convert to 38°C and 10°C, respectively, so the twice-as-warm argument does not hold true. To help explain this, try baking a cake at twice the recommended temperature in half the recommended time. Yuck!
Another characteristic of interval data is that they do not have a true zero point. The term true zero point means that a zero data value indicates the absence of the object be- ing measured. For instance, 0°F and 0°C do not represent the absence of temperature, even though it may feel like it.
Your grade point average (GPA) is another example of interval data. We can measure the difference between a 4.0 and a 2.0 GPA by simply subtracting the two values. However, it would not be an accurate statement to claim that a 4.0 student is twice as smart as a 2.0 student. Also, GPA has no true zero point because a 0.0 GPA does not indicate the absence of a grade point average.
The most versatile of data types is the ratio level of measurement. Ratio data are as good as it gets as far as data are concerned. Examples of this type of data are ages, weights, prices, and salaries. Ratio data have all the features of interval data, with the added benefit of a true zero point. For instance, a zero salary indicates the absence of any salary. With a true zero point, we can say that a person who is six feet in height is twice as tall as a three-foot person or that a 20-year-old person is half the age of a 40-year-old.
The distinction between interval and ratio data is a fine line. To help identify the proper scale, use the “twice as much” rule. If the phrase “twice as much” accurately describes the relationship between two values that differ by a multiple of two, then the data can be consid- ered to be ratio level.
Table 1.2 summarizes the properties of the four levels of data measurement, and Figure 1.4 shows the relationship between the levels of data measurement and the two main types of data,
For example, dollars are considered to be ratio data because $20 is twice as much as $10.
Interval data, which are strictly quantitative, allow us to measure the differences between the categories with actual numbers in a meaningful way.
Types of Data
Qualitative Quantitative
Nominal Ordinal Interval Ratio
{ figure 1.4 The Two Main Types of Data
and Their Corresponding Levels
Ratio data have all the features of interval data, with the added benefit of having a true zero point.
www.freebookslides.com
C h a p t e r 1 | 1.2 Data 9
which creates data measurement scales. As we explore different statistical techniques later in this book, we will revisit these different measurement scales. You will discover that specific techniques require certain types of data.
We can summarize classifying data by the level of measurement with the following baseball analogy:
• Nominal data. The numbers on the players’ uniforms would be nominal data because these values are simply a label and are not used for any type of measurement. A player with the number 30 is not necessarily better than the player wearing number 15.
• Ordinal data. The batting order of the players would be considered ordinal data because we can rank-order the players going to the plate to hit. However, there is no useful or meaningful way to measure the differences between a player hitting 5th and a player hitting 6th.
• Interval data. The birth years of the players would be considered interval data. We can say that a player born in 1984 is three years older than a player born in 1987, but the “twice-as-much rule” does not hold true for calendar years. A person born in the year 1000 is not twice as old as a person born in the year 2000. This is because there is no true zero point with calendar years. The year 0 does not indicate the ab- sence of age or time; it is merely an arbitrary reference point.
• Ratio data. The number of home runs hit by the best hitter on the team is an example of ratio data. A player with 20 home runs has twice as many as a player with 10 home runs. There is a true zero point for these data because zero home runs represent the absence of home-run hits.
Because this is such an important concept, which will be used later in the course, take a few minutes to answer the questions in the following Your Turn section before moving on in the chapter.
{ table 1.2 | The Four Levels of Data Measurement: A Summary
level description example
Nominal Arbitrary labels for data No ranking allowed
Zip Codes (19808, 76137)
Ordinal Ranking allowed No measurable meaning to the
number differences
Education level (master’s degree, doctorate degree)
Interval Meaningful differences No true zero point
Calendar year (2014, 2015)
Ratio Meaningful differences True zero point
Income ($48,000, $0)
Identify the type of data (qualitative/quantitative) and the level of measurement for each of the following data sources:
a. Your IQ score b. The price for one gallon of gasoline c. The letter grade earned in your statistics course d. The number of boxes of Frosted Flakes on the shelf of a grocery store e. The types of cars driven by students in your class
Y O u r t u r n # 2N
Answers can be found on u page 19
www.freebookslides.com
10 C h a p t e r 1 | An Introduction to Business Statistics
time Series vs. Cross-Sectional Data Data can also be classified as time series or cross-sectional. Table 1.3 shows the average unemployment rates for the Unites States, California, Delaware, Michigan, and Texas dur- ing the month of January for indicated years. Time series data are values that correspond to specific measurements taken over a range of time periods. Each of the last five columns in Table 1.3 represents a time series of unemployment rates. Figure 1.5 shows a line graph of one of the columns, U.S. unemployment rates from 2008 until 2012. The upward trend in unemployment in 2008 and 2009 reflects the economic recession that occurred during that time period.
Time series data are values that correspond to specific measurements taken over a range of time periods.
{ table 1.3 | Unemployment Rate Data, 2008–2012
year united states % ca % de % mi % tx %
2008 4.9 5.9 3.8 7.1 4.3
2009 7.6 10.1 6.7 11.6 6.4
2010 9.7 12.3 8.8 13.7 8.2
2011 9.0 12.4 8.5 10.7 8.3
2012 8.3 10.9 7.0 9.0 7.3
Based on: http://www.bls.gov.
Cross-sectional data are values collected from a number of subjects (firms, individual, states, regions, and so forth) during a single time period.
Unlike time series data, which measure values over a range of time, cross-sectional data are values collected from a number of subjects (firms, individual, states, regions, and so forth) during a single time period. Each of the five rows labeled 2008–2012 in Table 1.3 represents a cross-section of unemployment rates for the entire country and the various states during a single year. Figure 1.6 shows a column graph of the 2012 U.S. un- employment rates for the country and the states in the table. Michigan’s high unemploy- ment rate reflects the impact that the recession had on the automotive industry. Both time series and cross-sectional data told their own stories from the same data set—the data shown in Table 1.3.
4 5 6 7 8 9
10 U.S. Unemployment Rates
Pe rc
en t
2008 2009 2010 2011 2012 Year
{ figure 1.5 A Time Series Graph of U.S.
Unemployment Rates, 2008–2012
0 US CA DE
Location
2012 Unemployment Rates
MI TX
2 4 6 8
10
Pe rc
en t
12 { figure 1.6 A Cross-Sectional Graph of 2012
Unemployment Rates
www.freebookslides.com
C h a p t e r 1 | 1.3 Descriptive and Inferential Statistics 11
Try the next Your Turn problems to test your understanding of time series and cross- sectional data.
Identify the following data as either time series data or cross-sectional data.
1. The following table shows the final win/loss records of the National League Central Division for Major League Baseball at the end of the 2012 season.
Team Wins Losses
Cincinnati Reds 91 65
St. Louis Cardinals 88 74
Milwaukee Brewers 83 79
Pittsburgh Pirates 79 83
Chicago Cubs 61 107
Houston Astros 55 107
2. The following table shows the final win/loss records of my favorite Major League Baseball team that I love to hate, the Pittsburgh Pirates, for the 2005–2012 seasons. (This is so painful to list.)
Year Wins Losses
2005 67 95
2006 67 95
2007 68 94
2008 67 95
2009 62 99
2010 57 105
2011 72 90
2012 79 83
Answers can be found on u page 19
Y O u r t u r n # 3N
1.3 Descriptive and Inferential Statistics The two main branches of statistics are descriptive and inferential. The main focus of descrip- tive statistics is to summarize and display data. Descriptive statistics plays an important role today because of the vast amount of data readily available at our fingertips. With a basic com- puter and an Internet connection, we can access volumes of data in no time at all. Being able to summarize all of these data accurately in order to get a look at the “big picture,” either graphically or numerically, is the job of descriptive statistics.
The majority of statistics that you encounter in your day-to-day life are descriptive. Figures 1.5 and 1.6 are examples of descriptive statistics for unemployment rates. An average is another popular descriptive statistic, such as the average exam score in your statistics class. The statistic provides your instructor with an overview of how well your class performed on the test.
Descriptive statistics are useful, but have limitations. By summarizing large quantities of data, you lose information. For instance, your current GPA is a descriptive statistic sum- marizing your academic performance. However, this value alone does not provide informa- tion about the level of difficulty of the courses you have taken or how your GPA compares to your classmates’.
The purpose of descriptive statistics is simply to summarize, or display, data so we can quickly get an overview of the information.
www.freebookslides.com
12 C h a p t e r 1 | An Introduction to Business Statistics
As important as descriptive statistics are to us number crunchers, we really get excited about inferential statistics. This category covers a large variety of techniques that allow us to make actual claims about a population based on a sample of data. We use the term popu- lation in statistics to represent all possible subjects that are of interest to us in a particular study. The term sample refers to a portion of the population that is representative of the population from which it was selected. Figure 1.7 illustrates this important concept.
Inferential statistics allows us to make claims or conclusions about the data based on a sample of them.
A population represents all possible subjects of interest. A sample is a subset of a population.
Because much of Alaska is a rainforest, mosquitoes grow large—so large that Alaskans refer to them as the state’s unofficial bird!
{ figure 1.7 The Relationship Between a
Population and a Sample Population
Sample
Many populations are too large or inaccessible to measure completely, so looking at a sample of the population of interest is the only feasible way to estimate it. For instance, it would not be practical to measure the average life span of the mosquito population in Alaska. We would need to measure the life span of a random sample of mosquitoes and use these data to estimate the average life span of the entire population.
Suppose I would like to estimate the average weight per box of my favorite cereal, Kellogg’s Frosted Flakes, in the population. (No, I don’t own stock in Kellogg’s, but I really like Frosted Flakes, so I want the company to stay in business.) For Kellogg’s sake, I hope the population average is very close to the target weight of 18 ounces per box. Filling boxes with less than 18 ounces could result in dissatisfied customers (me included), whereas overfill- ing boxes is giving away free cereal and will reduce profits. To accomplish this task, I would randomly select a sample of cereal boxes and measure their average weight. Let’s say the average weight is 18.2 ounces. With inferential statistics, I could determine the likelihood that the average weight of the population of boxes is actually 18 ounces if my sample aver- age were 18.2 ounces. Even if the likelihood were very low, say less than 1%, I would still have to conclude that the average weight of the population of boxes is more than 18 ounces. I would then proceed to check Kellogg’s filling process to see why the company is giving away free Frosted Flakes. This example demonstrates the usefulness of statistics in quality control programs. Figure 1.8 summarizes the process of inferential statistics.
{ figure 1.8 Using Inferential Statistics for
Quality Control Purposes: An Example
Assume the unknown average weight per box of cereal in the population is 18.0 oz.
Select a random sample of cereal boxes from the population.
Calculate the sample average—18.2 oz.
Using inferential statistics, determine that the probability
of the actual population average being 18.0 oz is less than 1%
when the sample average is 18.2 oz.
Conclude that the actual population average is greater than 18.0 oz.
The following are other examples of inferential statistics:
• Based on a recent sample, I am 95% certain that the average age of my customers is between 32 and 35 years.
• Based on a random survey, the average salary for male employees in a particular job cat- egory across the country is higher than for comparable female employees.
Descriptive statistics describe a sample while inferential statistics draw a conclusion about a population.
www.freebookslides.com
C h a p t e r 1 | 1.3 Descriptive and Inferential Statistics 13
In summary, descriptive statistics reports only on the observations at hand and nothing more. Inferential statistics makes a statement about a population based solely on results from a sample taken from that population.
Two more terms need to be mentioned here regarding populations and samples. Data used to describe something of interest about a population are known as parameters. An example of a parameter is the average weight of the population of Frosted Flake boxes (assumed to be 18 ounces). Data that describe a sample from that population are known as statistics. In our previous example, the sample average of 18.2 ounces would be considered a statistic.
Let’s check your understanding of this important concept with the following questions.
Data that describe a characteristic about a population are known as parameters.
Data that describe a characteristic about a sample are known as statistics.
Identify each of the following as either descriptive or inferential statistics.
1. Households with children under the age of 18 are more likely to have access to the Internet (77%) than family households with no children (68%).
2. Julie, who cuts and styles hair in her home salon, had 23 customers last week. 3. The average exam score for my statistics exam was an 88. 4. A recent poll showed that 57% of Americans had a favorable opinion of the president of the United
States.
Y O u r t u r n # 4N
Answers can be found on u page 19
Stats in practice: using Smartphone Data to Monitor health
With today’s technology, our smartphones have become a rich data source of our day-to-day activities. Researchers at the Massachusetts Institute of Technology used this data from student volunteers and found they could reliably conclude when they were ill. Sick students moved around much less than nor- mal and depressed students had fewer calls and text messages. As a result of this research, a company called Ginger.io was formed whose mission is to provide tools to monitor the health
of individuals using their smartphone data. When there is a disruption in someone’s normal daily pattern, Ginger.io can send a message similar to a car’s “check engine light” to that person’s friends or doctors. In order to accomplish this task, Ginger.io must analyze massive amounts of smartphone data and link it to health patterns. Sounds like this company can really use the talent of a few good statisticians! Anybody out there interested?
www.freebookslides.com
14 C h a p t e r 1 | An Introduction to Business Statistics
{ figure 1.9 Misusing Statistics: A Graphical
Example, U.S. Unemployment Rates, 2008–2012
0 5
10 15 20 25 30 35 40
U.S. Unemployment Rates
Pe rc
en t
2008 Year
2011 20122009 2010
A biased sample is a sample that does not represent the intended population and that can lead to distorted findings. Biased sampling can occur either intentionally or unintentionally.
1.4 Ethics and Statistics—It’s a Dangerous World of Data Out There
People often use statistics when attempting to persuade you to accept their point of view. Perhaps they are motivated to convince you to purchase something or to support a cause they are advocating. This motivation can lead to the misuse of statistics in several ways. One of the most common misuses is choosing a sample that ensures results consistent with the desired outcome rather than choosing a sample representative of the population of interest. This is known as having a biased sample.
Suppose I’m a lobbyist for the golf industry, and my task is to convince Congress to es- tablish a national golf holiday. During this honored day, all government and business offices would be closed so that we all could run out to chase a little white ball into a hole that’s way too small with sticks purposely designed by the evil golf club companies to make the task impossible. Sounds like fun to me! Somehow, I need to demonstrate to Congress that the average level-headed American is in favor of this. Here is where the genius part of my plan lies: Rather than survey the general American public, I pass out my survey form only at golf courses. But wait—it only gets better. I design the survey to read as follows:
We would like to propose a national golf holiday. Everybody gets the day off from work and can play golf all day. (You would not need permission from your spouse to play.) Are you in favor of this proposal?
A. Yes, most definitely.
B. Sure, why not?
C. No, I would rather spend the entire day at work.
P.S. If you choose C, your golfing privileges will be permanently revoked everywhere in the country for the rest of your life. We are dead serious.
Granted, this is an extreme example, but my point is that survey results can easily be manipulated by how we ask questions and who is responding to them. And often, major decisions rest on these results.
Another way to misuse statistics is to make differences seem greater or lesser depending on the way the data are graphed. Earlier in the chapter, I presented Figure 1.5, which showed a rather dramatic increase in the U.S. unemployment rate in 2008 and 2009. Figure 1.9 graphs the same data, but the increase in unemployment appears much less dramatic. The trick I employed (no pun intended) was to flatten the graph by simply changing the scale of the y-axis, which shows the unemployment rate. In Figure 1.5, the scale ranges from 4% to 10%, whereas in Figure 1.9, the scale has been expanded to 0%–40%. By simply expanding the scale, I made the increase in unemployment rates seem less pronounced.
Many of the polls we see on the Internet represent another potential misuse of statistics. I’m sure you have visited Web sites that encourage you to vote on a question of the day. The results of these informal polls are unreliable simply because those collecting the data have no control over who responds to the polls or how many times they respond. As stated earlier,
www.freebookslides.com
C h a p t e r 1 | 1.4 Ethics and Statistics—It’s a Dangerous World of Data Out There 15
a valid statistical study depends on selecting a sample representative of the population of interest. This is not possible when any person surfing the Internet can participate in the poll. Even though most of these polls state that the results are not scientific, it’s still a natural human tendency to be influenced by the results we see.
Many times statistical mishaps occur simply due to poor decision making. One of the most famous snafus took place during the 1936 presidential race. The Literary Digest, an influential magazine at the time, conducted a presidential election poll, based on question- naires mailed to readers and potential readers, and published the results before the election. Unfortunately, the magazine predicted that Alf Landon would win the election over Franklin D. Roosevelt. Even if history is not your best subject, you should realize that somebody at the Digest had some serious explaining to do after that election day. The problem was that the Digest drew its sample from phone books and automobile registrations. People with phones and cars in 1936 tended to be wealthier Republicans (who voted for Landon) and were not representative of the entire voting population.
A more recent example of poor decision making that was based on statistical analysis occurred in the 1980s when Coca-Cola was feeling the pressure because Pepsi’s market share was rising. To halt the trend, Coca-Cola decided to reformulate its nearly 100-year-old recipe for Coke. The new formula was sweeter than both the old formula and Pepsi’s prod- uct. After scoring well in the taste tests, Coke decided to replace its original product with the new formula. However, the test failed to consider two important factors. First, people might prefer a sweeter taste when they are drinking small quantities of a beverage as they were at time of the test. However, they don’t like to drink larger quantities of it. Second, and more importantly, Coke failed to measure the psychological impact making such a major change to a well-established product would have on consumers. Many Coke drinkers were outraged that the product they loved to drink suddenly no longer existed. After a huge public outcry, Coca-Cola admitted its mistake and brought the original formula back to market as Coke Classic and relabeled the new formulation New Coke. What a mess! The lesson here is that even large, successful corporations can misuse statistics, which can result in poor business decisions.
www.freebookslides.com
16
■ Statistics is the process of collection, analysis and presentation of data, which can then be used for inference.
• Business statistics helps improve people’s decision making in fields such as marketing, operations, finance, and human resources.
■ Data are the foundation for the field of statistics.
■ Data is defined as the values assigned to specific observations or measurements.
■ Information is derived from data for the purpose of making decisions.
■ Data sources are either primary or secondary.
• Secondary data are data collected by someone else that you are “borrowing.”
• Primary data are data that you have collected for your own use through direct observation, experiments, or surveys.
• Direct observation focuses on gathering data while the subjects of interest are in their natural environment.
• In an experiment, subjects are exposed to certain treatments and data of interest are recorded.
• A survey involves directly asking subjects a series of questions.
■ Data can be classified in different ways.
• Quantitative—characterized by numerical values.
• Qualitative—characterized by terms describing the data.
• By the way they are measured.
• A nominal level of measurement deals strictly with qualitative data.
• Ordinal level data have all the properties of data measured at the nominal level, but we can rank-order the values from highest to lowest.
• At the interval level of measurement, the differences between the data can be measured with actual numbers giving measurable meaning to the differences.
• Ratio data have all the properties of interval data, along with a true zero point.
• A zero data value indicates the absence of the object being measured.
• As time series or cross-sectional data.
• Times series data are values that correspond to a specific measurement over a range of time periods.
• Cross-sectional data are values that correspond to a specific time period.
■ Two main branches of statistics are as follows.
• Descriptive statistics summarize and display sample data.
• Inferential statistics makes a statement about a population based on sample data from that population.
■ Statistics can be misused by the following.
• Employing a biased sample that is not representative of the population of interest.
• Manipulating a graph by adjusting the scale of the data.
• Relying on Internet surveys with no control over who responds or how many times they respond to the survey.
Chapter 1 Summary
www.freebookslides.com
Business statistics. Statistics applied to the business world to help improve people’s decision making in fields such as marketing, operations, finance, and human resources.
Biased sample. A sample that does not represent the intended population and that can lead to distorted findings.
Cross-sectional data. Data values that correspond to a specific time period.
Data. The values assigned to specific observations or measurements. Descriptive statistics. The branch of statistics that focuses on
summarizing, or displaying, data. Direct observation. A method of gathering primary data by
observing subjects of interest in their natural environment. Experiment. A method of gathering primary data by exposing
subjects to certain treatments and recording the data of interest. Focus group. A direct observational technique whereby individu-
als are often paid to discuss their attitudes toward products or services in a group setting controlled by a moderator.
Inferential statistics. The field of statistics that allows us to make claims or conclusions about a population based on a sample of data from that population.
Information. Data that are transformed into useful facts that can be used for a specific purpose, such as making a decision.
Interval level of measurement. Quantitative data that can mea- sure the difference between categories with actual numbers, giving measurable meaning to the differences.
Nominal level of measurement. Qualitative data observations that are assigned to predetermined categories.
Ordinal level of measurement. Data that have all the properties of nominal data but that also permit the rank-ordering of values from highest to lowest.
Parameter. Data that describe characteristics of a population. Population. A population represents all possible outcomes or
measurements of interest. Primary data. Data collected by the person or organization that
eventually uses the data. Qualitative data. Data that use descriptive terms to measure or
classify something of interest. Quantitative data. Data that use numerical values to describe
something of interest. Ratio level of measurement. Data that have all the features of
interval data, with the added benefit of a true zero point. The term true zero point means that a zero data value indicates the absence of the object being measured.
Sample. A subset of a population. Secondary data. Data that somebody else has collected and
made available for others to use. Statistic. Data that describe characteristics about a sample. Statistics. The mathematical science that deals with the collec-
tion, analysis, and presentation of data, which can then be used as a basis for inference and induction.
Survey. A method of collecting primary data by asking subjects a series of questions.
Time series data. Data values that correspond to a specific measurement over a range of time periods.
Identify the type of data (qualitative/quantitative) and the level of measurement for Problems 1.1 through 1.18. Explain your choice. 1.1 The average monthly temperature in degrees Fahrenheit for
the city of Wilmington, Delaware, throughout the year
1.2 The average monthly rainfall in inches for the city of Wilmington throughout the year
1.3 The education level of survey respondents
Level Number of Respondents
High school 168
Bachelor’s degree 784
Master’s degree 212
1.4 The marital status of survey respondents
Status Number of Respondents
Single 28
Married 189
Divorced 62
1.5 The ages of the respondents in a survey
1.6 The genders of the respondents in a survey
1.7 The years in which the respondents to a survey were born
1.8 The voting intentions of the respondents in a survey classi- fied as Republican, Democrat, or Undecided
1.9 The race of the respondents in a survey classified as White, African American, Asian, or Other
1.10 The performance rating of employees classified as Above Expectations, Meets Expectations, or Below Expectations
1.11 The uniform number of each member on a sports team
1.12 A list of the graduating high school seniors by class rank
1.13 Final exam scores for your statistics class on a scale of 0 to 100
1.14 The state in which the respondents in a survey reside
1.15 SAT scores for graduating high school students
1.16 Movie ratings: G, PG, PG-13, R
Chapter 1 Problems
17
Chapter 1 Key Terms
www.freebookslides.com
1.17 In order to promote the development of electric cars, the government has proposed rating passenger vehicles on a letter scale of A–D based on fuel efficiency and emissions. The following five vehicles were given these ratings:
Vehicle Rating
Nissan Leaf A + Toyota Prius A - Ford Focus B
Jeep Grand Cherokee C + Ferrari 612 Scaglietti D
1.18 S&P provides ratings for the creditworthiness of countries around the world on a letter scale from AAA (highest) to D (lowest). The following table shows the S&P rating for various countries in January 2013.
Country Rating
Germany AAA
United States AA + France AA + Italy BBB + Spain BBB - Portugal BB
Identify the data shown in Problems 1.19 and 1.20 as either time series or cross-sectional.
1.19 The following table shows the closing price of the three major stock markets on February 4, 2013:
Stock Market Closing Price
Dow Jones Industrial 13,880
NASDAQ 3,131
S&P 500 1,496
1.20 The following table shows the closing price of the Dow Jones Industrial stock market during 2012:
Date Closing Price
September 28, 2012 13,437
October 31, 2012 13,096
November 30, 2012 13,026
December 31, 2012 13,104
Problems 1.21 and 1.22 refer to the following data, which show the median weekly earnings of full-time workers by gender over a five-year period:
Year Men Women
2008 $798 $638
2009 $819 $657
2010 $824 $669
2011 $854 $691
2012 $832 $684
1.21 Identify the time series data in the table.
1.22 Identify the cross-sectional data in the table.
Problems 1.23 and 1.24 refer to the following data, which shows the number of photographs sold at Island Art, a retail store in Stone Harbor, New Jersey, by print-size of a four-year period:
Year Print-Size
8 : 10 11 : 14 13 : 19 2010 117 102 160
2011 92 125 146
2012 105 111 133
2013 112 89 138
1.23 Identify the cross-sectional data in the table.
1.24 Identify the time series data in the table.
Identify each of the following as either descriptive or inferential statistics.
1.25 The average salary of a random sample of 50 high school teachers in 2013 was $52,400.
1.26 Based on a random sample of hotels in Chicago and a ran- dom sample of hotels in Atlanta, it was concluded that the average cost of a hotel room in Chicago was greater than one in Atlanta.
1.27 A study has concluded that the average credit card debt of college graduates has increased from 2012 to 2013.
1.28 The average Amazon.com rating of the book The Complete Idiot’s Guide to Statistics by 26 reviewers is 4.6 on a scale of 1 to 5.
1.29 The average American viewer watches 151 hours of TV per month.
1.30 Seventy-eight percent of customers at the Holiday Inn hotel in Dover, Delaware, arrived before 6 pm last week.
18 www.freebookslides.com
1. Primary data through a survey 2. Primary data through an experiment
3. Secondary data 4. Primary data through direct observation
Y O u r t u r n # 2 a) Quantitative/Interval. The differences between IQ scores are meaningful, but
there is no true zero point because an IQ of 0 does not indicate the absence of intelligence.
b) Quantitative/Ratio. The differences between prices are meaningful, and there is a true zero point because gasoline that is $0 per gallon is free!
c) Qualitative/Ordinal. You can rank letter grades, but the differences between the grades cannot be consistently measured.
d) Quantitative/Ratio. The differences between inventory levels are meaningful, and there is a true zero point because zero boxes on the shelf indicates an absence of the product.
e) Qualitative/Nominal. The types of cars are merely labels with no ranking or meaningful differences.
Y O u r t u r n # 3 1. Cross-sectional 2. Time series
Y O u r t u r n # 4 1. Inferential statistics, because it would not be feasible to survey every
household in the country. These results would be based on a sample of the population and used to make an inference on the entire population.
2. Descriptive statistics, because this data describes a sample, the number of customers last week.
3. Descriptive statistics, because the average exam score describes a sample, which is students in my class.
4. Inferential statistics, because it would not be feasible to survey every American in the country. These results would be based on a sample of the population and used to make an inference about the entire population.
19
Chapter 1 Solutions to Your Turn
Y O u r t u r n # 1
www.freebookslides.com
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Use Excel to display data with charts and graphs.
■ Construct a frequency distribution and histogram.
■ Construct and interpret polygons.
■ Display qualitative data using bar charts and pie charts.
■ Display quality control issues with a Pareto chart.
■ Organize data in a contingency table.
■ Present the frequency of data using a stem and leaf display.
■ Show the relationship between two variables using scatter plots.
Displaying Descriptive Statistics
C h a p t e r 2 M a p
2.1 The Role Technology Plays in Statistics | 23
2.2 Displaying Quantitative Data | 25
2.3 Displaying Qualitative Data | 42
2.4 Contingency Tables | 55
2.5 Stem and Leaf Display | 59
2.6 Scatter Plots | 61
2 C h a p t e r
www.freebookslides.com
22 C h a p t e r 2 | Displaying Descriptive Statistics
In Chapter 1, we learned that the purpose of descriptive statistics is to summarize or display data so that we can quickly obtain an overview of the information of interest. In this chapter, we will explore the methods by which data can be displayed in tables and graphs to facilitate better understanding. I find that some students (not you, of course) often underestimate the importance of presenting graphical data and information in a clear and convincing manner to lend support to their ideas. There’s no better way to make your point than with a creative chart your audience can quickly absorb.
By contrast, presenting lots of data in a table format is a surefire way to lose your audi- ence. Our brains do not process information very effectively when faced with reading a list of numbers. We do much better at comprehending data when we are presented with a picture such as a graph or chart. For instance, Table 2.1 shows the selling price, in thousands of dol- lars, of 60 two-bedroom condominiums in Myrtle Beach, South Carolina, during a recent time period. Most people, including me, do not have the attention span to read every single number in this table.
{ table 2.1 | Data Presented as a Table: Condominium Prices in Myrtle Beach
$281.0 $262.1 $291.2 $277.1 $294.5 $298.2
$247.8 $344.9 $322.5 $258.0 $226.3 $320.0
$306.0 $287.5 $228.2 $209.6 $220.0 $218.4
$247.2 $395.0 $291.4 $329.4 $335.5 $325.9
$446.3 $302.3 $257.7 $278.8 $296.8 $343.8
$254.1 $193.0 $174.4 $380.9 $198.6 $270.7
$199.0 $298.8 $268.3 $193.3 $383.6 $348.3
$295.5 $254.1 $301.2 $375.0 $359.9 $260.4
$227.8 $360.3 $299.0 $274.1 $195.9 $337.8
$246.4 $292.6 $237.0 $339.0 $300.2 $271.9
A much better approach would be to construct a chart that provides an effective snap- shot of these 60 data points. You don’t need to work as hard to understand the data in the chart, which is always a good thing, in my book.
By examining the chart in Figure 2.1, we can see the range that contains the highest number of condominiums is $250,000 to under $300,000. This information is not readily observable by merely looking at the data in the table.
{ figure 2.1 Data Presented Graphically:
Condominium Prices in Myrtle Beach
This chapter will provide you with a solid foundation to display descriptive statistics in a way that is sure to impress your future boss and colleagues. Using Microsoft Excel 2013, you will be cranking out fancy graphs like the one shown in Figure 2.1 in no time.
In addition to creating graphs, as a reader and a consumer of information you will also find yourself interpreting data that have been presented to you in a graphical format.
www.freebookslides.com
C H A P t E R 2 | 2.1 The Role Technology Plays in Statistics 23
Publications such as the Wall Street Journal and USA Today present data graphically to cap- ture the attention of their readers and to summarize complex issues efficiently. Being well versed in the art of interpreting graphical data will make you a better decision maker.
2.1 The Role Technology Plays in Statistics
Technology plays a major role in the field of statistics. Throughout this book, we will be using Excel 2013 for Windows to assist you in your efforts to construct various charts and graphs as well as to perform many of the calculations required in statistics.
When I was a youthful engineering undergraduate student in the 1970s, the words personal computer had no meaning. Windows were something you looked through, and no self-respecting consumer electronics company would dream of naming itself after a fruit. I performed calculations on a clever gadget fondly known as a slide rule. For those of you who weren’t even alive during this time period, I’ve included a picture of a slide rule in Figure 2.2.
{ figure 2.2 A Slide Rule Circa 1975.
As you can see, this device looks like a ruler on steroids. It can perform all sorts of mathematical calculations, but is far from being user friendly. During my freshman year in college, I purchased my first handheld calculator, a Texas Instrument model that could per- form only the basic math functions. It was the approximate size of a cash register. I proudly wore this device like a badge of honor on my belt, which I suspect contributed to my current back problems. Oh well, the things we do to look cool!
Fortunately, we have advanced from the Dark Ages and now have awesome, user- friendly computing power at our fingertips. Powerful programs such as SAS, SPSS, Minitab, and Excel are readily accessible to those of us who don’t know a thing about computer pro- gramming. Yet the programs allow us to perform some of the most sophisticated statistical analysis known to humankind. The next section describes how we can prepare Excel 2013 to assist us with various ways to display data and perform calculations required in statistics.
statistical Analysis Using Excel 2013 In addition to the basic statistical functions found in Excel 2013 for Windows, we will be relying on two Excel Add-ins:
• Data Analysis ToolPak—available as a standard feature in Excel (Windows version).
• PHStat—developed by Pearson Education—provides statistical tools not available in Excel’s Data Analysis ToolPak. PHStat is available for download with an access code. Go to www.pearsonhighered.com/phstat to download PHStat with your code. (See page xiv if you need a code.)
If you are a Mac user (like myself), there are some compatibility issues that we have to address for which there is good news and bad news. First the bad news—Excel for Mac (2011 or older) is not compatible with Data Analysis ToolPak. Now the good news—the version of PHStat mentioned in the previous paragraph is compatible with Excel 2011 for Mac. Also (more good news), the basic Excel statistical functions used in this book are
www.freebookslides.com
24 C h a p t e r 2 | Displaying Descriptive Statistics
compatible with Windows and Mac versions. Whenever Excel instructions shown in this textbook are not compatible with the Mac version, I will make a note to direct you to the textbook’s Web site mentioned earlier to download Excel for Mac instructions (for ver- sions 2011 and older) for that particular task. Often, you will be able to rely on PHStat for these situations.
I also need to address those using Excel 2010 for Windows with this textbook. For the most part, the instructions used in this textbook can be easily applied to your software. Whenever there is a discrepancy between the two versions, I will make a note to direct you to the book’s Web site to download Excel 2010 instructions.
We are now ready to activate Excel’s Data Analysis ToolPak (Windows version only) by using the following steps:
1. With Excel 2013 open, click on the File tab found in the upper left corner of your com- puter screen.
2. Click Options shown in the left margin in Figure 2.3. This will open the Excel Options dialog box shown in Figure 2.4.
3. Select Add-Ins in the left margin as shown in Figure 2.4.
4. Click on Go at the bottom of the screen.
{ figure 2.3 Excel’s File Drop-Down Menu
{ figure 2.4 Excel’s Options
5. Select the check boxes for Analysis ToolPak and Analysis ToolPak - VBA in the pop- up menu and click OK as shown in Figure 2.5.
6. Select the Data tab. Click on Data Analysis on the right as shown in Figure 2.6. The Data Analysis pop-up menu should appear in the spreadsheet.
Your Excel software is now ready to perform all sorts of statistical magic as we explore various techniques throughout this textbook. At this point, you can click Cancel and close out Excel. Each time you open Excel in the future, the Data Analysis option will be available under the Data tab.
{ figure 2.5 Excel’s Add-Ins Pop-Up Menu
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 25
2.2 Displaying Quantitative Data In Chapter 1, we made a distinction between quantitative data, which consist of numerical values, and qualitative data, which use descriptive categories. In this section, we will discuss the various methods used to display quantitative data. In a later section, we will cover the qualitative data.
Constructing a Frequency Distribution One of the simplest ways to describe data is through a frequency distribution, which shows the number of data observations that fall into specific intervals. I’ll use the following ex- ample to demonstrate the construction of a frequency distribution using quantitative data. The 50 values in Table 2.2 represent the number of iPads sold at an Apple store in each of the past 50 days.
A frequency distribution is a table that shows the number of data observations that fall into specific intervals.
{ figure 2.6 Excel’s Data Analysis Pop-Up
Menu
{ table 2.2 | The Number of iPads Sold in Each of 50 Days
4 2 3 2 5
5 1 3 3 2
3 2 2 3 2
2 2 3 0 1
3 1 1 5 4
1 2 4 3 5
2 0 0 3 2
3 3 3 2 2
0 4 2 4 3
1 1 4 0 1
Table 2.3 on the next page shows these same data as a frequency distribution. The first column in the table lists all the possible daily values that occurred over the 50 days: 0, 1, 2, 3, 4, or 5 iPads sold. The second column counts the number of observations for each of these values during the past 50 days. Notice that the total number of frequencies (50) shown in Table 2.3
Three iPads were sold on this Particular day.
www.freebookslides.com
26 C h a p t e r 2 | Displaying Descriptive Statistics
matches the total number of observations in Table 2.2. Because the number of iPads sold per day is a numerical value rather than a descriptive value, this is an example of a frequency distribution summarizing quantitative data.
Here’s a helpful way to distinguish between continuous and discrete data. Continuous data are often the result of measuring observations, whereas discrete data often involve counting them.
Discrete data are values based on observations that can be counted and are typically represented by whole numbers.
Continuous data are values that can take on any real numbers, including numbers that contain decimal points.
We call each row in a frequency distribution table a class. In our iPad example, the first class represents the number of days that no iPads were sold, the second class shows the num- ber of days one iPad was sold, and so on.
Before we move on, I have one more data type to throw your way. The data in Table 2.2 are known as discrete data, which means the values represent something that has been counted. Discrete data typically take on whole numbers such as 0, 1, 2, 3, and so on. Be- cause selling partial iPads is not a good business decision let alone possible, values such as 2.8 or 4.3 would not be considered discrete data in this example.
Data that can take on any real numbers, including numbers that contain decimal points, are known as continuous data. Continuous data are usually measured rather than counted. Examples of continuous data are weight, time, and distance. I’ll show you an example using continuous data later in this chapter.
The acid test for determining which type of data we are dealing with is to ask ourselves, “How many data values can be found in a specific interval of numbers?” Because discrete data can be counted, they have a finite number of values within an interval, whereas continu- ous data have an infinite number of values available. Let’s take the interval 0–3 as an exam- ple. Remembering that iPad sales were discrete data, only four possible values of iPad sales can occur within this interval (0, 1, 2, or 3). If we were measuring time, which is continuous, there are an infinite number of possible values within this interval (2.0 minutes, 2.04 min- utes, 2.046 minutes, and so on). The only limitation in the number of continuous data values is the level of precision of our measuring instrument.
Discrete vs. continuous data is an important concept throughout this textbook, so let’s take a minute to test your understanding in the following Your Turn box.
A class is a category in a frequency distribution.
{ table 2.3 | Frequency Distribution for the Number of iPads Sold in the Past 50 Days
number sold per day frequency
0 5
1 8
2 14
3 13
4 6
5 4
Total 50
Two iPads were sold in 14 of the 50 days that the data were collected.
Identify the following as either discrete or continuous data:
1. The number of students absent from your statistics class today 2. The number of hours a light bulb burned before going out 3. The number of light bulbs that burned for more than 1,000 hours in a quality control program 4. The number of minutes an airline flight was late 5. The number of red cars a dealer has on its sales lot 6. The number of inches in a person’s height 7. The number of runs scored by the Pittsburgh Pirates tonight
Y o u r t u r n # 1N
Answers can be found on u page 73
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 27
relative Frequency Distributions Another way to display frequency data is by using a relative frequency distribution. Rather than displaying the number of observations in each class, this method calculates the pro- portion of observations in each class by dividing each frequency by the total number of observations. A relative frequency distribution tells us what proportion, or fraction, a class’s observations are relative to the total observations made. Table 2.4 shows the relative fre- quency distribution for our iPad example.
Relative frequency distributions display the proportion of observations of each class relative to the total number of observations.
Notice that the fractions in the relative frequency distribution add up to 1.00. Because of rounding, the total relative frequency will sometimes not add up to exactly 1.00, but it should be very close.
Note that the last cumulative relative frequency should equal 1.00 (or very close to 1.00 due to rounding).
{ table 2.4 | Relative Frequency Distribution for the Number of iPads Sold in the Past 50 Days
number sold per day frequency relative frequency
0 5 5>50 = 0.10 1 8 8>50 = 0.16 2 14 14>50 = 0.28 3 13 13>50 = 0.26 4 6 6>50 = 0.12 5 4 4>50 = 0.08
Total 50 1.00
According to Table 2.4, two iPads were sold on 28% of the days.
Cumulative relative Frequency Distributions A cousin of the relative frequency distribution (a pun I couldn’t resist) simply totals the proportions of each class as you move down the column. It is called the cumulative relative frequency distribution. A cumulative relative frequency distribution provides you with the proportion of observations that are less than or equal to the class you are looking at—the ac- cumulated proportion, in other words. This technique would be useful if the manager of the Apple store wanted to determine the percentage of days that three or fewer iPads were sold. The cumulative relative frequency distribution for our iPad example is shown in Table 2.5.
A cumulative relative frequency distribution totals the proportion of observations that are less than or equal to the class at which you are looking.
{ table 2.5 | Cumulative Relative Frequency Distribution for the Number of iPads Sold in the Past 50 Days
number sold per day
frequency
relative frequency
cumulative relative frequency
0 5 0.10 0.10
1 8 0.16 0.10 + 0.16 = 0.26
2 14 0.28 0.26 + 0.28 = 0.54
3 13 0.26 0.54 + 0.26 = 0.80
4 6 0.12 0.80 + 0.12 = 0.92
5 4 0.08 0.92 + 0.08 = 1.00
Total 50 1.00
Looking at Table 2.5, we can now conclude that three iPads or less were sold on 80% of the business days.
www.freebookslides.com
28 C h a p t e r 2 | Displaying Descriptive Statistics
excel’s FreQUenCY Function Now that I’ve tortured you with constructing frequency distributions by hand, I’ll demon- strate how to use Excel’s FREQUENCY function to construct a distribution and generate a graph known as a histogram. A histogram is simply a graph showing the number of obser- vations in each class of a frequency distribution. Figure 2.1, the chart in which we graphed condominium prices, is an example of a histogram.
Figure 2.7A shows the iPad data from Table 2.2 along with a column labeled “Bins,” which is Excel’s strange term for the classes in our distribution. Use the following steps to construct the frequency distribution.
1. Open the Excel file iPad sales.xlsx or type in the data in Column A and Column C as shown in Figure 2.7A (except Column D).
2. Place your cursor in Cell D2 and highlight cells D2:D7. This is where our frequency distribution will be placed.
3. With cells D2:D7 highlighted, type = FREQUENCY(A2:A51,C2:C7). Do not hit the Enter key just yet!
4. Hit the Control+Shift+Enter keys together. 5. Voila! (pronounced “vwa-la”) The frequency distribution appears before your very eyes
in the highlighted cells in Column D, as shown in Figure 2.7A (circled in red).
A histogram is a graph showing the number of observations in each class of a frequency distribution.
{ figure 2.7a Constructing a Frequency
Distribution with Excel
Using a histogram to Graph a Frequency Distribution The following steps will guide you through the process of constructing a histogram in Excel for Windows. See the textbook’s Web site for Excel for Mac instructions. We’ll start with Figure 2.7B, which shows the iPad data and the bins column.
1. Select the Data tab, and click on Data Analysis in the upper right corner. The Data Analysis pop-up menu will appear as shown in Figure 2.7B.
2. In the pop-up menu, select Histogram and click OK.
3. Figure 2.7C shows the Histogram dialog box. In the Input Range text box, highlight the data in cells A1:A51.
4. In the Bin Range text box, highlight the bin values in cells C1:C7 and check the Labels box.
5. For Output options, select New Worksheet Ply and Chart Output.
6. Click OK.
www.pearsonhighered.com/ donnelly
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 29
7. Figure 2.7D shows the fruits of your labor, but a few extra steps can make it look prettier.
8. Excel tends to produce a histogram that looks like an elephant sat on it. If you click on the histogram, a border will appear around the histogram that will allow you to grab a corner with your cursor and stretch out your chart.
9. By default, Excel adds a “More” bin that doesn’t serve much purpose here. Delete cells A8 and B8 in the frequency distribution to remove this class from your histogram.
10. The labels on the histogram can be modified by highlighting the label and typing over them.
11. The “Frequency” legend to the right of the histogram can be removed by clicking on it and hitting Delete.
{ figure 2.7b Constructing a Histogram with
Excel (Steps 1 and 2)
{ figure 2.7C Constructing a Histogram with
Excel (Steps 3 and 4)
{ figure 2.7D Constructing a Histogram with
Excel (Steps 5–7)
www.freebookslides.com
30 C h a p t e r 2 | Displaying Descriptive Statistics
Figure 2.7E shows our finished histogram, which I think looks much better than Figure 2.7D. By default, Excel inserts gaps between the bars in the histogram, which is the appropriate way to display discrete data. In a later section, I will show you how to display continuous data in a histogram.
{ figure 2.7e Constructing a Histogram with
Excel (Final Result)
the Shape of histograms The shape of the histogram can tell us some useful information about our data. For exam- ple, let’s say I am currently teaching four statistics classes and that I just finished grading exams from each class. Figure 2.8 shows the histogram for each class. You can clearly see that my 8:00 a.m. class performed the best, with many students scoring in the low 90s.
8:00 A.M. Class
60 65 70 75 80 85 90 95 100
9:00 A.M. Class
60 65 70 75 80 85 90 95 100
10:00 A.M. Class
60 65 70 75 80 85 90 95 100
11:00 A.M. Class
Grades
60 65 70 75 80 85 90 95 100
{ figure 2.8 Histograms of My Four
Statistics Classes
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 31
The grade distribution appears symmetrical, with most of the scores in the middle of the range. A symmetrical distribution is one in which the right side of the distribution is the mirror image of the left side of the distribution. The shape of the histogram for the 9:00 a.m. class is similar to the one for the 8:00 a.m. class. However, the 9:00 a.m. class did not do as well—many of the students’ scores were in the mid-80s. The histogram for the 10:00 a.m. class also appears symmetrical and is centered in the mid-80s. However, the scores in this class are more spread out than those of the 9:00 a.m. class. They range from 70 to 95, whereas the 9:00 a.m. class scores range from the upper 70s to 90. Finally, my poor 11:00 a.m. class appears to have really struggled with the exam. Notice that this distribution is more concentrated on the left side, in the low 70s, so it is not symmetrical. Each histogram provides me with a quick overview of how each class performed. We will revisit the shapes of distributions in Chapter 3 when we cover calculating descriptive statistics.
While these concepts are still fresh in your brain, take a crack at a problem in the fol- lowing Your Turn box before moving on to the next topic.
A symmetrical distribution is one in which the right side of the distribution is the mirror image of the left side of the distribution.
Constructing a Frequency Distribution Using Grouped Quantitative Data Each class in the iPad frequency distribution from the last section consisted of a single value. Some data sets, particularly those with continuous data, require several values to be grouped together in a single class. This grouping prevents having too many classes in the frequency distribution, which can make it difficult to detect patterns. Ideally, the number of classes in a frequency distribution should be between 4 and 20.
To demonstrate grouped data in a frequency distribution, I’ll use the following example: In an effort to improve customer service, Dell monitors the time customers wait on hold when calling in for support. Table 2.6 lists the wait times in minutes for the last 50 callers.
{ table 2.6 | Dell’s Customer-Support Hold Times
0.6 3.9 5.4 8.3 10.2
1.2 4.4 5.5 8.7 10.5
1.3 4.4 5.8 9.0 10.9
2.5 4.6 6.1 9.3 12.2
2.8 4.6 6.4 9.3 12.5
3.2 4.6 6.9 9.5 13.1
3.2 4.8 7.0 9.5 13.3
3.5 4.9 8.0 9.7 13.6
3.8 5.1 8.1 9.8 14.4
3.9 5.2 8.1 9.9 17.4
The following table shows the number of stars that 25 reviewers gave Amazon’s Kindle, a device for reading electronic books.
4 4 5 5 5 4 3 5 3 5
5 5 4 5 2 4 5 1 5 4
3 5 5 4 1
Construct the following:
1. A frequency distribution 2. A relative frequency distribution 3. A cumulative relative frequency distribution 4. A histogram
Y o U r t U r n # 2N
Answers can be found on u page 74
www.freebookslides.com
32 C h a p t e r 2 | Displaying Descriptive Statistics
The times are sorted from shortest to longest. These data can also be found in the Excel file Dell hold times.xlsx.
Number of Classes For grouped data, we need to determine the number of classes in our frequency distribution. One method is to use the 2k Ú n rule, where
k = Number of classes n = Number of data points
The trick is to find the lowest value of k that satisfies the rule. For our Dell example, n = 50.
25 = 32 … 50 (k = 5 is too small) 26 = 64 Ú 50 (k = 6 is a good choice)
Class Width Once we decide to set k = 6, we need to determine the width of each class. The width is the breadth, or range, of numbers we plan to put into each class. We can use the following equa- tion to find a good class width:
Estimated class width = Maximum data value - Minimum data value
k
Estimated class width = 17.4 - 0.6
6 = 2.8
The previous equation provides a rough estimate for the class width. Round this esti- mate to a useful whole number that makes the frequency distribution more readable. For convenience, it would be best to round this class width up to three, but other values such as four could also be considered. There is no one correct answer for the class width. The goal of constructing a frequency distribution is to identify a useful pattern in the data, and often there is more than one acceptable way to accomplish this.
Class Boundaries The class boundaries represent the minimum and maximum values for each class. Choosing the lowest boundary in the first class is an important step. If we choose the minimum time in Table 2.6, which is 0.6 minutes, the first class would be 0.6 to less than 3.6 minutes. This is not a very convenient choice. A more useful class boundary that is easier to read would start at 0 minutes and end at less than 3 minutes. The following list shows the boundaries for the Dell example:
0 to less than 3 minutes
3 to less than 6 minutes
6 to less than 9 minutes
9 to less than 12 minutes
12 to less than 15 minutes
15 to less than 18 minutes
Because the Dell example involves continuous data (minutes), there are no gaps in the boundaries between classes. By establishing the upper boundary of the first class as “less than 3 minutes” and the lower boundary of the next class as “3 minutes,” we eliminate any gap between these classes. In this example, we were able to set up six classes, which matches the value for k that we determined earlier using the 2k 7 n rule. However, it doesn’t always work out this way, which is fine. If we had chosen a class width equal to 4 minutes, we would have ended up with five classes rather than six:
0 to less than 4 minutes
4 to less than 8 minutes
This is one of the few areas in statistics where there is more than one correct answer, so enjoy it!
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 33
8 to less than 12 minutes
12 to less than 16 minutes
16 to less than 20 minutes
Either case would be acceptable. We will continue the Dell example with a class width of three minutes and six classes.
Class Frequencies Figuring out the frequency is the easy part. Simply count up the number of observations in each class and record the total to obtain the frequency. This job is much easier when the data are sorted, as is the case with the Dell data in Table 2.6. Table 2.7 shows our finished frequency distribution along with the relative frequency and cumulative relative frequency.
Sorting the raw data from lowest to highest value makes it easier to count the number of observations contained in each class of a frequency distribution.
Occasionally you will end up with k + 1 or k - 1 classes to cover the entire range of data. No worries!
{ table 2.7 | Frequency Distribution for Dell’s Customer-Support Hold Times
number of minutes
frequency
relative frequency
cumulative relative frequency
0 to less than 3 5 0.10 0.10
3 to less than 6 18 0.36 0.46
6 to less than 9 9 0.18 0.64
9 to less than 12 11 0.22 0.86
12 to less than 15 6 0.12 0.98
15 to less than 18 1 0.02 1.00
Total 50 1.00
Based on this summary, we can conclude that the largest group of customers (18 of them) waited between 3 and 6 minutes and that nearly half the customers (46%) waited less than 6 minutes on the phone for customer support.
When constructing classes for grouped data, be sure to follow these rules:
1. Equal-size classes. All classes in the frequency distribution must be of equal width. Without equal sizes, patterns in the distribution could be misleading.
2. Mutually exclusive classes. This is a fancy term that simply means the class boundaries cannot overlap. For example, the following two classes overlap:
0 to less than 3 minutes
2.5 to less than 5.5 minutes
If a person waited 2.7 minutes for customer support, this observation would appear in both classes and violate the rule. (Violating rules in statistics is a really bad idea!)
3. Include all data values. This rule is pretty self-explanatory. If your data set has 50 observations, make sure that all 50 are accounted for in the total row of the frequency distribution.
4. Avoid empty classes. If our class widths are too narrow, some classes might not have any observations. However, most populations do not have empty intervals; there are at least a few observations within each. Because the observations we collect should be representative of the population, it is undesirable for our histogram to display a class so narrow that there are no observations in it.
5. Avoid open-ended classes (if possible). An example of an open-ended class would be to add 18-over as the last class in the distribution to include any callers who waited more than 18 minutes for service. Open-ended classes violate the first rule of equal class sizes, but sometimes they cannot be avoided.
www.freebookslides.com
34 C h a p t e r 2 | Displaying Descriptive Statistics
Constructing a histogram with Grouped Quantitative Data We will now call on the Histogram tool in the Data Analysis ToolPak in Excel to construct the histogram for the Dell example. For grouped data, the bins in Excel are the upper boundary for each class. Table 2.8 shows the bins that can be used for the Dell data. For example, I need to choose a value to represent “less than 3” which in this case is 2.9. I could have also chosen 2.99.
We can create a histogram by following the steps laid out for the iPad sales example ear- lier in the chapter. Figure 2.9 shows the “raw” histogram that Excel has generated for us, but it needs some work. Because our grouped data are continuous, we need to remove the gaps between the bars in the histogram by taking the following steps:
1. A right-click on any bar in the histogram will cause a pop-up menu to appear.
2. Left-click on Format Data Series.
3. In the dialog box, move the Gap Width slide all the way to the left.
4. Close the Format Data Series dialog box.
{ figure 2.9 Raw Histogram for
Grouped Data
Our final touch is to re-label the bins along the horizontal axis to reflect the entire range of each class. We can do this simply by changing the values in cells A2 to A7 as shown in Figure 2.10. Excel 2010 users should go to the book’s Web site for these instructions. We can also angle the labels along the horizontal axis, as shown in this figure, by doing the following:
1. Right-click the labels for the horizontal axis to open the drop-down menu.
2. Left-click on Format Axis.
3. In the Format Axis dialog box, left-click on the Size & Properties icon, which looks like this:
4. Change the Custom angle to −45 in the text box. 5. Close the Format Axis dialog box.
Now that’s what I call a great-looking histogram for grouped data!
Histograms displaying continuous data do not have gaps between their bars. By contrast, histograms displaying discrete data do have gaps between their bars.
{ table 2.8 | Bins for Dell Data
class bins
0 to less than 3 minutes 2.9
3 to less than 6 minutes 5.9
6 to less than 9 minutes 8.9
9 to less than 12 minutes 11.9
12 to less than 15 minutes 14.9
15 to less than 18 minutes 17.9
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 35
the Consequences of too Few or too Many Classes The purpose of a histogram is to provide some insight into the natural shape of the distribu- tion of interest. Using very wide classes results in a small number of classes, which may ob- scure important patterns. For example, Figure 2.11 shows a histogram for our Dell data with a class width of 9 minutes. A 9-minute width results in only two classes. This looks more like a picture of two toy blocks and tells us little about the distribution of customers waiting on hold for support.
{ figure 2.10 Finished Histogram for
Grouped Data
{ figure 2.11 Too Few Histogram Classes
Creating too many classes in our histogram also has consequences. Figure 2.12 shows the Dell data with a class width of 1 minute, which results in 18 classes. This results in a his- togram with a very jagged shape and three empty classes. I’m sure there are Dell customers in the population who have waited between 11 and 11.9 minutes on hold, but according to our histogram, they do not exist.
{ figure 2.12 Too Many Histogram Classes
www.freebookslides.com
36 C h a p t e r 2 | Displaying Descriptive Statistics
As I mentioned earlier in the chapter, you do have some flexibility in deciding the width and number of classes for your histogram. Just be careful not to wander too far in either di- rection and suffer the consequences discussed here.
are they Discrete or are they Continuous Data? Sometimes the distinction between discrete and continuous data is not obvious. For instance, my golf score next weekend would technically be discrete data because this value is arrived at by counting my total strokes over 18 holes of play. Obviously, this value needs to be a whole num- ber, such as 94, because there is no way to count a partial stroke (even though there are times my golf swing feels like one). However, if our data set contains a wide range of golf scores, such as the final scores for all of the players in the 2012 Masters, a major professional golf tournament (shown in Table 2.9) and very small increments between scores (that is, one stroke), it is common practice to conveniently display this type of information in a grouped-continuous format. These data can also be found in the Excel file titled 2012 Masters Scores.xlsx.
Exercise good judgment when deciding on the number of classes in your histogram. Too few classes can obscure the natural shape of the distribution. Too many classes can result in some classes being empty.
{ table 2.9 | Final Golf Scores of the 2012 Masters
278 286 288 291 293 296
278 286 289 291 294 297
280 286 289 291 294 297
280 286 289 291 294 298
280 286 290 292 295 299
280 287 290 292 295 299
283 287 290 292 295 299
284 288 290 293 296 301
284 288 290 293 296 302
284 288 291 293 296 306
285 288
Using the 2k 7 n rule with n = 62, I’ll set k = 6 because
26 = 64 Ú 62
The estimated class width would be
Estimated class width = 306 - 278
6 = 4.67
Setting the actual class width to either four or five would be reasonable, so I’ll go with five, starting with 278, as shown in Table 2.10. Also in this table I’m showing the frequency, rela- tive frequency, and cumulative relative frequency for each class.
{ table 2.10 | Frequency Distribution for the Final Golf Scores of the 2012 Masters
score
frequency
relative frequency
cumulative relative frequency
278–282 6 0.097 0.097
283–287 12 0.194 0.291
288–292 21 0.339 0.630
293–297 16 0.258 0.888
298–302 6 0.097 0.985
303–307 1 1.016 1.001
Total 60 1.001
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 37
Using bins of 282, 287, 292, 297, 302, and 307 in Excel, I display the histogram of golf scores in a grouped-continuous format in Figure 2.13.
{ figure 2.13 Finished Histogram for the
Final Golf Scores of the 2012 Masters
According to this histogram, the class with the largest percentage of golfers was the one with final scores between 288 and 292.
Income and age are also examples of data that are technically discrete (we count our money and our years, not measure them), but they are normally displayed in a continuous format. To test your skills on frequency distributions with grouped data, take on the follow- ing Your Turn before moving on to the next section.
A survey was performed in the Philadelphia area that recorded the annual salaries of marketing managers. The following table shows the responses from 30 managers. The numbers are in thousands of dollars.
$40.0 $58.7 $63.4 $68.6 $74.8
$46.6 $60.0 $65.7 $68.7 $77.1
$49.0 $60.7 $65.9 $69.2 $78.2
$52.9 $61.2 $66.4 $71.7 $79.2
$54.7 $62.5 $66.8 $72.3 $83.1
$55.5 $63.0 $67.7 $72.6 $87.7
Construct the following:
1. A frequency distribution 2. A relative frequency distribution 3. A cumulative relative frequency distribution 4. A histogram
Y o u r t u r n # 3N
Answers can be found on u page 74
the polygon When you want to compare the shape of two or more distributions on one graph, histograms are not your best choice because the overlapping columns of the two histograms will make the comparison difficult to interpret. A better choice is the percentage polygon, which graphs the midpoints of each class as a line rather than columns. The midpoint is the center position between the upper and lower boundaries. The height of each midpoint represents the rela- tive frequency of the corresponding class. To demonstrate the percentage polygon, consider the data in Table 2.11 on the next page, which lists the number of minutes that call centers in Denver and Phoenix spent with 50 customers. The numbers are shown in ascending order and can be found in the Excel file call center times.xlsx.
The percentage polygon graphs the midpoint of each class as a line rather than a column. The height of each midpoint represents the relative frequency of the corresponding class.
Recall that bins in Excel represent the higher end of each class (something that I sometimes can’t remember).
www.freebookslides.com
38 C h a p t e r 2 | Displaying Descriptive Statistics
PHStat will be used to generate the percentage polygon. First, however, we need to set up the class boundaries for the data. Using the 2k Ú n rule with n = 50, I’ll set k = 6 because
26 = 64 Ú 50
I’ll use the data from Phoenix to estimate the class widths for both distributions as fol- lows. (Using the Denver data would produce similar results.)
Estimated class width = 39 - 12
6 = 4.5
Rounding the class widths up to 5 minutes will result in the class boundaries shown in Table 2.12. I have also indicated the bin and midpoint for each class in the table. I’ll need these values for PHStat.
{ table 2.11 | Number of Minutes Spent with 50 Customers at Each of Two Call Centers
denver
13 13 13 13 14 14 14 14 14 16 16 17 17
18 18 18 18 19 19 19 20 20 20 20 20 21
21 21 21 21 21 21 21 23 23 23 24 24 24
24 25 25 26 26 27 31 32 33 34 36
phoenix
12 18 19 20 21 21 22 22 22 22 23 23 23
24 24 24 24 24 24 24 25 25 25 25 26 26
27 27 28 28 28 28 28 29 29 29 30 30 31
32 33 34 35 36 36 36 37 38 39 39
{ table 2.12 | Classes and Midpoints for the Call Centers
class bin midpoint
10 to less than 15 minutes 14.9 12.5
15 to less than 20 minutes 19.9 17.5
20 to less than 25 minutes 24.9 22.5
25 to less than 30 minutes 29.9 27.5
30 to less than 35 minutes 34.9 32.5
35 to less than 40 minutes 39.9 37.5
I have set up these data in Excel as shown in Figure 2.14A. Only the first nine values from Table 2.12 are shown in Columns A and B. Your actual Excel sheet would contain all 50 values. PHStat requires the first bin of a distribution to be open-ended toward negative infinity. Consequently, I added a class of “less than 10,” which has a bin equal to 9.9 in the spreadsheet. Because this class is open-ended (the lowest value could be any number less than 10), it does not have a midpoint. The first midpoint in Column D (12.5) corresponds to the second bin in Column C (14.9).
Take the following steps to use PHStat to construct the polygon for these data (Windows and Mac):
1. Go to Add@Ins + PHStat + Descriptive Statistics + Histogram & Polygons, as shown in Figure 2.14B.
2. Fill in the Histogram & Polygons dialog box as shown in Figure 2.14C. Click OK.
{ figure 2.14a Constructing a Polygon with
PHStat (Data)
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 39
Figure 2.14D on the next page shows our percentage polygon for the two call centers. We can conclude from the distributions that the call times for Denver tend to be shorter than the call times for Phoenix. At the lower end of the distribution (shorter times) the Denver percentages are higher than the Phoenix percentages. For instance, nearly 20% of Denver’s call times fall into the 12.5-minute interval compared with less than 5% of the calls to Phoenix. On the higher end of the distribution, roughly 15% of Phoenix’s calls are in the 37.5-minute interval, whereas less than 5% of Denver’s are.
As Figure 2.14E shows on the next page, using PHStat you can also create a cumula- tive percentage polygon, also known as an ogive. A cumulative percentage polygon is a line graph that plots the cumulative relative frequency distribution. For example, in Figure 2.14E, 20% of the calls in Denver fall in the … 14.9-minute interval, 40% fall in the … 19.9-minute interval, 80% fall in the … 24.9-minute interval, and so forth. A full 100% of the calls fall in the … 39.9-minute interval. There are no calls that last 40 minutes or longer. Now let’s look at the calls for Phoenix: Roughly 40% of them fall into the … 24.9-minute interval, compared with 80% of the Denver times. Notice that the Phoenix line is to the right of the Denver line. In other words, the Phoenix line is falling at the higher end of the distribution, where the times are longer. This is consistent with our findings in Figure 2.14D.
{ figure 2.14b Constructing a Polygon with
PHStat (Step 1)
{ figure 2.14C Constructing a Polygon with
PHStat (Step 2)
The cumulative percentage polygon, or ogive, is a line graph that plots the cumulative relative frequency distribution.
www.freebookslides.com
40 C h a p t e r 2 | Displaying Descriptive Statistics
While these steps are fresh in your mind, take some time to construct polygons to ob- serve just how badly my Pittsburgh Pirates have been performing lately compared with a team that has a winning tradition, the New York Yankees.
{ figure 2.14D The Percentage Polygon
{ figure 2.14e The Cumulative Percentage
Polygon (Ogive)
The following table shows the number of wins per season for the New York Yankees and Pittsburgh Pirates from 1974 until 2012, not including the strike-shortened seasons of 1981, 1994, and 1995. These data can also be found in the Excel file Pirates Yankees wins.xlsx.
new york yankees
95 97 95 103 89 94 97 95 101 101 103 95
87 98 114 96 92 88 76 71 67 74 85 89
90 97 87 91 79 103 89 100 100 97 83 89
pittsburgh pirates
79 72 57 62 67 68 67 67 72 75 72 62
69 78 69 79 73 75 96 98 95 74 85 80
64 57 75 84 84 83 98 88 96 92 92 88
Use seven classes, each with a class width of 10. Start with 51–60, 61–70, and so on, and then con- struct a percentage and cumulative percentage polygon using PHStat. What conclusions can you draw when you compare the distributions of the two teams?
Y o U r t U r n # 4N
Answers can be found on u page 74
www.freebookslides.com
C h a p t e r 2 | 2.2 Displaying Quantitative Data 41
2.2 Section Problems Basic Skills 2.1 Using the 2k Ú n rule, determine the number of classes
needed for the following data set sizes.
a. n = 100 b. n = 300 c. n = 1,000 d. n = 2,000
2.2 A data set that consists of 50 numbers has a minimum value of 16 and a maximum value of 74. Determine the class boundaries using the 2k Ú n rule if the data are a. discrete b. continuous
2.3 Consider the following discrete data:
2 4 3 3 1 1 5 2 2 1 1 3 5 2 1 4 3 4 2 2 1 3 4 5
a. Construct a frequency distribution. b. Construct a relative frequency distribution. c. Construct a cumulative relative frequency distribution.
2.4 Consider the following continuous data.
17.5 19.8 29.9 28.1 15.7 21.7 33.6 21.1 19.8 32.7 15.1 13.9 31.8 39.8 33.1 19.6 23.5 42.8 21.7 36.8 35.6 14.5 24.2 14.7 19.2 21.8 20.7 26.9 26.7 35.2
a. Construct a frequency distribution using the 2k Ú n rule.
b. Construct a relative frequency distribution. c. Construct a cumulative relative frequency distribution.
applications 2.5 The results of a survey that collected the current credit
card balances for 36 undergraduate college students are shown in the following table. These data can also be found in the Excel file college credit card.xlsx.
$2,467 $3,373 $434 $1,426 $4,628 $167 $5,927 $4,064 $4,503 $2,600 $3,673 $4,231 $1,788 $5,805 $5,395 $733 $4,890 $1,455 $5,817 $1,145 $846 $739 $4,370 $986 $5,729 $1,159 $1,021 $1,563 $967 $499 $353 $2,297 $289 $375 $162 $1,740
a. Using the 2k Ú n rule, construct a frequency distribu- tion for these data.
b. Using the results from part a, calculate the relative fre- quencies for each class.
c. Using the results from part a, calculate the cumulative relative frequencies for each class.
d. Construct a histogram for these data.
2.6 The following table shows the number of students in the 25 classes being taught this semester at Goldey-Beacom College.
32 42 42 24 33 25 37 23 35 18 46 37 34 25 45 38 28 42 32 43 43 36 28 27 40
a. Using the 2k Ú n rule, construct a frequency distribu- tion for these data.
b. Using the results from part a, calculate the relative fre- quencies for each class.
c. Using the results from part a, calculate the cumulative relative frequencies for each class.
d. Construct a histogram for these data.
2.7 A major U.S. airline records the number of no-shows on a flight that operates each day from Philadelphia to Paris. A no-show is a passenger who purchases a ticket but fails to arrive at the gate at time of departure. The following table indicates the number of no-shows during the last 70 flights. These data can also be found in the Excel file no-shows.xlsx.
1 2 1 2 3 2 1 2 2 2 1 3 3 3 3 4 2 4 3 3 1 2 4 2 4 2 4 1 0 1 1 3 2 1 2 3 1 1 3 1 2 3 1 1 2 2 0 0 3 2 4 2 1 2 1 2 3 1 4 2 3 1 2 1 1 2 1 3 4 2
a. Construct a frequency distribution for these data. b. Using the results from part a, calculate the relative fre-
quencies for each class. c. Using the results from part a, calculate the cumulative
relative frequencies for each class. d. Construct a histogram for these data.
2.8 A major electronics retailer was recently sued by 40 employees who were laid off by the company. The employees claimed they were victims of age discrimina- tion, which is illegal in the United States. The first of the two following tables shows the ages of the 40 employees who were laid off. The second of the following tables shows the age of a random sample of 40 employees currently working for the company. These data can be found in the Excel file employee ages.xlsx.
Ages of Laid-Off Employees
38 35 39 44 54 59 39 43 60 61 56 57 56 53 51 56 53 43 19 42 42 56 75 64 38 62 39 61 43 74 65 44 40 51 46 51 44 45 67 51
www.freebookslides.com
42 C h a p t e r 2 | Displaying Descriptive Statistics
Ages of a Sample of Current Employees
34 46 41 33 39 38 35 44 34 19 39 36 37 36 35 28 37 28 35 30 76 31 29 32 42 39 32 30 47 21 39 26 27 42 27 30 33 32 60 38
a. Construct a percentage polygon for these data. b. Construct a cumulative percentage polygon for these
data. c. Does it appear that the employees suing this company
have a case?
2.9 The Excel file labeled Lowes.xlsx lists the receipt total for 350 randomly selected customers for Lowes, a home improvement store.
a. Using Excel and the 2k Ú n rule, construct a frequency distribution for these data.
b. Using the results from part a, calculate the relative fre- quencies for each class.
c. Using the results from part a, calculate the cumulative relative frequencies for each class.
d. Construct a histogram for these data.
2.10 The Hawaii Island Chamber of Commerce collects ocean temperature data to help promote tourism for local busi- nesses. The Excel file titled Hawaii ocean temps.xlsx lists daily ocean temperatures for the past 125 days.
a. Using Excel, construct a frequency distribution for these data.
b. Using the results from part a, calculate the relative fre- quencies for each class.
c. Using the results from part a, calculate the cumulative relative frequencies for each class.
d. Construct a histogram for these data. e. For what percentage of days was the ocean temperature
less than 77 degrees Fahrenheit?
2.3 Displaying Qualitative Data Qualitative data are values that are categorical (nominal or ordinal measurement levels) and that describe a characteristic, such as gender or level of education. This type of data is handled differently when displayed.
Constructing a Frequency Distribution Using Qualitative Data Frequency distributions help display qualitative data by indicating the number of occur- rences of various categories. To demonstrate this procedure, we’ll use Table 2.13, which shows the final letter grade of 30 students from my statistics class. These data can also be found in the Excel file final grades.xlsx. I would like to determine the percentage of stu- dents who passed the course with a grade of C or better.
{ table 2.13 | Final Grades in a Statistics Class
B C A A B F B C B D
B C A B B C F A C B
B B C B A A A B B B
In an earlier section, we used Excel’s FREQUENCY function to summarize quantita- tive data. However, this function does not work with qualitative data, so I will use Excel’s COUNTIF function as shown in Figure 2.15A. This neat function will count the number of A’s, B’s, C’s, D’s, and F’s in our data set using the following characteristics:
= COUNTIF(range, criteria)
where
range = the range of cells from which you are counting criteria = the value that you are counting
www.freebookslides.com
C h a p t e r 2 | 2.3 Displaying Qualitative Data 43
1. Open the Excel file final grades.xlsx or enter the grade data in Column A and the Bins in Column C as seen in Figure 2.15B.
2. To count the number of A’s in the class, type = COUNTIF($A$2:$A$31,C2) in Cell D2. 3. Copy and paste this formula in Cells D3 to D6 to count the number of B’s, C’s, D’s, and F’s.
4. The formulas for the relative and cumulative frequencies are also shown in Columns E and F. These are the same calculations we did manually in the previous sections.
Figure 2.15B shows the frequency distribution for our final grades example.
{ figure 2.15a Excel’s COUNTIF Function
{ figure 2.15b The Frequency Distribution for
the Final Grades Example
Based on the value calculated in Cell F4 in Figure 2.15B, 90% of the students passed the course with a grade of C or better. I’m sure you’re itching to try your hand at generating frequency distributions with Excel, so take a shot at the following Your Turn.
Y o U r t U r n # 5N
Answers can be found on u page 75
In 2013, the companies that dominated the U.S. cell phone carrier market were AT&T, Sprint, Verizon, and T-Mobile. The following table shows the results of a survey that asked 20 people to name the com- pany that provides their current cell phone service. These data can be found in the Excel file cell phone carriers.xlsx.
Sprint AT&T Sprint AT&T Sprint Sprint Verizon AT&T AT&T Sprint Verizon Verizon AT&T Sprint AT&T Verizon T-Mobile AT&T Sprint AT&T
Construct the following:
1. Frequency distribution 2. Relative frequency distribution
www.freebookslides.com
44 C h a p t e r 2 | Displaying Descriptive Statistics
Bar Charts Bar charts are a good tool for displaying qualitative data that have been organized in cat- egories. The bars in a bar chart can be arranged either horizontally or vertically. We’ll start with a vertical bar chart and use Excel 2013 for Windows to construct the chart. See the textbook’s Web site for Excel 2011 for Mac or Excel 2010 for Windows instructions. Let’s explore the world of bar charts with the data in Figure 2.16A, which shows the grade distri- bution from my statistics class.
Bar charts are a good tool for displaying qualitative data that have been organized in categories and can be arranged in a vertical or horizontal orientation.
{ figure 2.16a Constructing a Vertical Bar
Chart with Excel (Steps 1–3)
1. Using the frequency distribution from Figure 2.15, highlight Cells C2:D6 as shown in Figure 2.16A.
2. Select the Insert tab and the Insert Column Chart icon which are both circled in red in Figure 2.16A.
3. Click on the first 2-D Column icon in the pop-down menu.
4. To add labels to your bar chart, click on the bar chart Excel created to activate the Chart Tools and choose the Design tab as shown in Figure 2.16B.
{ figure 2.16b Constructing a Vertical Bar
Chart with Excel (Steps 4–7)
www.freebookslides.com
C h a p t e r 2 | 2.3 Displaying Qualitative Data 45
5. Select Add Chart Element + Axis Titles + Primary Horizontal as shown in Figure 2.16B to insert a title along the horizontal axis.
6. Select Add Chart Element + Axis Titles + Primary Vertical to insert a title along the vertical axis.
7. Select Add Chart Element + Chart Title + Above Chart to insert a title at the top of the histogram.
Figure 2.16C shows our finished vertical bar chart displaying the qualitative grade data.
{ figure 2.16C Constructing a Vertical Bar
Chart with Excel (Final Result)
If you’ve just realized Figure 2.16C looks very much like the histograms that we’ve already discussed, you are right. However, there is a subtle difference. Histograms display quantitative data using vertical bars that are separated for discrete data and joined together for continuous data. Bar charts, on the other hand, display qualitative (categorical) data. The bars can be vertical or horizontal.
Bar charts can also be displayed in the horizontal direction and are called—you guessed it—horizontal bar charts. The following steps show how these charts are constructed in Excel.
1. Highlight the Grade data from Figure 2.16A in Cells C2:D6.
2. Click on the Insert tab and select the Insert Bar Chart icon which is to the right of the Insert Column Chart icon that was just used.
3. Click on the first 2-D Bar icon.
4. Add titles as we did with the vertical bar chart (note the axes are reversed here).
The resulting horizontal bar chart is shown in Figure 2.16D.
Horizontal bar charts display the bars in a horizontal direction.
{ figure 2.16D Horizontal Bar Chart with Excel
Now that you have mastered basic bar charts, let’s take it up a notch with the next ex- ample, shown in Table 2.14 on the next page, which provides the total points scored by the football teams in the NFC (National Football Conference) North Division in 2011 and 2012. These data can be found in the Excel file NFC.xlsx.
www.freebookslides.com
46 C h a p t e r 2 | Displaying Descriptive Statistics
{ table 2.14 | Points Scored by the Football Teams in the NFC North Division, 2011 and 2012
team points scored 2011 2012
Green Bay Packers 560 433
Minnesota Vikings 340 379
Chicago Bears 353 375
Detroit Lions 474 372
Because each category (in this case, teams) has two data points, we can display the data in a clustered bar chart. The clustered bar chart will display the two data points together, or “clustered” with one another, as Figure 2.17B shows. To get the data to look like this, per- form the following steps, as shown in Figure 2.17A.
1. Open the Excel file NFC.xlsx or insert the data from Table 2.14 into an Excel file, as shown in Figure 2.17A.
2. Highlight the data in Columns A, B, and C.
3. Click on the Insert tab and the Insert Column Chart icon which are both circled in red in Figure 2.17A.
4. Click on the Clustered Column icon, which is the first 2-D Column icon in the row.
{ figure 2.17a Constructing a Clustered Bar
Chart in Excel
Do not insert a title in cell A1 in Figure 2.17A. Doing so will interfere with the proper construction of the clustered bar chart in Excel. If you don’t believe me, go on and try it!
Figure 2.17B shows each team’s pair of data points in a bar graph format. According to this chart, we can see that Green Bay and Detroit scored fewer points in 2012, whereas Chi- cago and Minnesota both scored more when compared with the 2011 season.
{ figure 2.17b Finished Clustered Bar Chart
Clustered bar charts group several values side by side within the same category in a vertical direction.
www.freebookslides.com
C h a p t e r 2 | 2.3 Displaying Qualitative Data 47
We can also arrange our data in a stacked bar chart, as shown in Figure 2.17C. To con- struct this chart in Excel, follow the steps in the clustered bar chart example but choose the second 2-D Column icon rather than the first.
Stacked bar charts group several values in a single column within the same category in a vertical direction.
{ figure 2.17C Stacked Bar Chart
Looking at Figure 2.17C, we can easily see that Green Bay scored the most points over the two-year span, with Detroit scoring the second-most points.
Choosing between clustered and stacked bar graphs depends on the purpose of the chart. Clustered charts work well when you are comparing data within categories, such as which team scored more points in 2011 when compared with 2012. Stacked bar charts are more ef- fective at displaying totals in each category, such as which team scored the most points over the two-year period (which, in case you forgot, was my favorite team since 1967, the Green Bay Packers).
Take a stab at bar charts with some Facebook data in the next Your Turn problem.
Clustered charts work well when you are comparing data within categories, whereas stacked bar charts are more effective at displaying totals in each category.
The data in the following table show the unemployment rate (as a percentage of the workforce) for five states at the end of 2011 and 2012. These data can be found in the Excel file unemployment.xlsx.
State 2011 (%) 2012 (%)
Arizona 9.0 7.9
Florida 9.9 8.0
Nebraska 3.7 4.2
North Carolina 10.4 9.2
Virginia 6.1 5.5
Construct the most appropriate bar chart (stacked or clustered) if the goal is to display changes in un- employment rate from 2011 to 2012 for each state.
Y o U r t U r n # 6N
Answers can be found on u page 75
pareto Charts Pareto charts are a specific type of bar chart used in quality control programs by businesses to display the causes of problems graphically. The charts are essentially histograms that show, in decreasing order, the frequency of the categories that cause problems. In other words, the most problematic categories are listed first. Pareto charts are named after Vilfredo Pareto (1848–1923), an Italian industrialist who helped develop the field of microeconomics (which has tortured more students than the field of statistics, your author included). Pareto observed that 80% of the land in Italy was owned by 20% of the population. In the 1940s, the quality control consultant Joseph Juran came across Pareto’s work and began calling it Pareto’s 80/20 rule. Pareto’s rule states that 20% of defects cause 80% of quality control problems.
Pareto charts are essentially bar charts that show the frequency of the categories that cause quality control problems. The charts show the categories in a decreasing order.
www.freebookslides.com
48 C h a p t e r 2 | Displaying Descriptive Statistics
I’ll use the following example to demonstrate the use of Pareto charts. QVC, a major home shopping retailer (and my wife’s very favorite company in the world) maintains re- cords of the reasons customers return products they purchased. The data in Table 2.15 show the reasons for the returns and the number of incidences for each category during the past few weeks. These data can be found in the Excel file QVC.xlsx.
{ figure 2.18a Spreadsheet for Constructing a
Pareto Chart
Use the following steps to construct our Pareto chart with Excel 2013. See the text- book’s Web site for Excel 2011 for Mac or Excel 2010 for Windows instructions.
1. Highlight Cells A1:A6.
2. Holding down the CTRL key, highlight Cells C1:C6.
3. Holding down the CTRL key, highlight Cells D1:D6.
4. Click on the Insert tab and select Column.
5. Click on Clustered Column, the first 2-D Column icon shown in the list.
Your chart will look like the one in Figure 2.18B. But we still have a little work to do here.
1. Right-click on one of the Cumulative Relative Frequency bars (the red ones).
2. In the drop-down menu, select Change Series Chart Type.
{ table 2.15 | Reasons for and Number of Returns to QVC
reason for return frequency
Product defective 46
Disappointed with product 22
Product no longer wanted 14
Late delivery of product 5
Other 3
Pareto charts also plot the cumulative relative frequency as a line on the chart. This line is known as an ogive, which was discussed earlier in the chapter. To construct a Pareto chart in Excel, we first need to calculate the relative and cumulative relative frequencies for our data, as shown in Figure 2.18A. See Figure 2.15 if you need a refresher on how to calculate the values in Columns C and D.
www.freebookslides.com
C h a p t e r 2 | 2.3 Displaying Qualitative Data 49
The Change Chart Type dialog box will appear as seen in Figure 2.18C.
1. Click on the drop-down box to the right of Cumulative Relative Frequency in the Series Name box which is circled in Figure 2.18C.
2. Select the first Line graph in the drop-down menu as seen in Figure 2.18C.
3. Click OK.
{ figure 2.18b Preliminary Pareto Chart
{ figure 2.18C Excel’s Change Chart Type
Dialog Box
www.freebookslides.com
50 C h a p t e r 2 | Displaying Descriptive Statistics
All that is left is to change the scale of the vertical axis and add data points to the line graph with the following steps.
1. Right-click on one of the numbers on the vertical axis.
2. In the drop-down menu, left-click Format Axis.
3. The Format Axis dialog box will appear on the right side of your spreadsheet.
4. Under Axis Options, change the Maximum value from 1.2 to 1.0.
5. Under Axis Options, change the Major value from 0.1 to 0.2.
6. Click on Number at the bottom on the Format Axis menu to expand the options.
7. In the Category box, select Percentage.
8. In the Decimal places box, change to 2 to 0.
9. Close the Format Axis dialog box by clicking the X in the right-hand corner.
10. Right-click on the red ogive line on the chart and left-click on Add Data Labels.
Figure 2.18D shows our completed Pareto chart for QVC. As you can see, Pareto charts are an efficient way to summarize quality control issues. From this example, you can see by looking at the ogive, or cumulative relative frequency line, that 75.6% of the returns are due to the first two categories—defective merchandise and customers being disappointed with the merchandise.
Apply your Pareto chart skills to the airline industry in this next Your Turn section.
{ figure 2.18D Finished Pareto Chart
This red line represents the ogive in the Pareto chart.
The following table shows an airline company’s flight-delay data. The table shows the reasons for the delays and the relative frequency of each type of delay.
Reason for Delay Relative Frequency (%)
Bad weather 33
Air traffic congestion 22
Mechanical issues 18
Crew shortages 13
Too long to refuel 9
Other 5
Construct a Pareto chart for these data.
Y o U r t U r n # 7N
Answer can be found on u page 75
www.freebookslides.com
C h a p t e r 2 | 2.3 Displaying Qualitative Data 51
pie Charts Pie charts are another excellent tool for comparing proportions for qualitative (categorical) data. To demonstrate, we’ll use Table 2.16, which shows the number of computers shipped by leading computer manufacturers during the third quarter of 2012 in the United States. These data can be found in the Excel file computer shipments.xlsx.
Pie charts are another excellent tool for comparing proportions for categorical data. Each category occupies a segment of the pie that represents the relative frequency of that category.
{ table 2.16 | Estimated U.S. Computer Shipments, Third Quarter, 2012
company units shipped (000s)
HP 4,142
Dell 3,271
Apple 2,079
Lenovo 1,358
Acer 990
Others 2,548
Based on: http://www.gartner.com.
Perform the following steps, as shown in Figure 2.19A, to construct a pie chart with Excel 2013. See the textbook’s Web site for Excel 2011 for Mac or Excel 2010 for Windows instructions.
1. Highlight Cells A1:B7.
2. Click on the Insert tab and select the Insert Pie icon circled in Figure 2.19A.
3. Click on the first 2-D Pie icon.
{ figure 2.19a Constructing a Pie Chart in
Excel (Steps 1–3)
The pie chart will appear in your spreadsheet on the next page. Click on the chart and take the following steps to populate your pie chart with percentages:
4. Select the Design tab as seen in Figure 2.19B.
5. Select the Chart Style circled in Figure 2.19B.
www.freebookslides.com
52 C h a p t e r 2 | Displaying Descriptive Statistics
Figure 2.19C shows our finished pie chart, complete with U.S. market share percentages for the computer industry during the third quarter of 2012. Looking at this chart, it is easy to conclude that HP and Dell together controlled over half the U.S. market share in computers shipped during this time period.
{ figure 2.19b Constructing a Pie Chart in
Excel (Steps 4–5)
{ figure 2.19C Constructing a Pie Chart in
Excel (Final Result)
One word of warning about constructing pie charts: All categories in the data set must be included in the pie. For instance, in the last example, it may be tempting to omit the “Other” category. However, doing so would misrepresent the market share for the remaining categories. The last thing any respectable statistician wants to do is misrepresent anything.
As you can see, bar charts and pie charts work with the same type of data—qualitative data. I’m sure your inquisitive mind is now screaming with the question, “How do I choose between a pie chart and a bar chart?” If you want to compare the relative sizes of the classes to one another and together they comprise all possible categories, use a pie chart. Bar charts are more useful when you want to highlight the actual data values and when the classes com- bined don’t form a whole. For example, Figure 2.20 is a bar chart showing the number of in- dividuals 16 years or older in various employment categories in the United States from 2004 to 2013. The chart allows us to observe how the trends in the categories have changed over
{ figure 2.20 Employment Status for
Individuals 16 Years or Older, 2004–2013
Use a bar chart when you want to highlight the actual data values and when the classes combined don’t form a whole.
Use a pie chart if you want to compare the relative sizes of the classes to one another and together they comprise all possible categories.
www.freebookslides.com
C h a p t e r 2 | 2.3 Displaying Qualitative Data 53
time. One pie chart would not be able to display all this information. It could not display the trends in these categories over the 10-year span. The best we could do with a pie chart is to show the three categories for a specific year.
Before we move on, try your hand at making some Excel pie charts.
A recent Gallup Poll surveyed 1,145 people who had visited emergency rooms within the past year. The people surveyed were asked to rate the quality of care they received. The results are shown in the fol- lowing table.
Rating Frequency
Very good 527
Good 492
Poor 80
Very poor 46 Based on: USA Today/Gallup Poll.
Construct a pie chart summarizing these data.
Y o U r t U r n # 8N
Answer can be found on u page 75
2.3 Section Problems applications 2.11 The following table shows the results of a survey that
asked users of the Internet to identify their favorite search engine. These data can be found in the Excel file search engine.xlsx. (For your information, Baidu is a Chinese- language search engine.)
Google Google Yahoo Google Google Bing Google Yahoo Google Google Baidu Google Google Other Yahoo Google Google Google Yahoo Bing Baidu Google Google Google Google Google Google Yahoo Google Google
a. Using Excel, construct a frequency distribution for these data.
b. Using the results from part a, calculate the relative fre- quencies for each search engine.
c. Construct a vertical bar chart for these data.
2.12 A restaurant manager surveys her customers after their dining experience. Customers rate their experience as Excellent (E), Good (G), Fair (F), or Poor (P). The following table records the experience of 60 customers and can be found in the Excel file dining experience. xlsx.
G G E G F G G E G E F G P G E E G F G G E E F E G E P G G F E G E G G G G F E G E E G P G G E G P F E F G G P G G G G G
a. Construct a frequency distribution for these data. b. Using the results from part a, calculate the relative fre-
quencies for each class. c. Using the results from part a, calculate the cumulative
relative frequencies for each class. d. Construct a horizontal bar chart for these data. e. What percentage of customers rated their dining expe-
rience as either Excellent or Good?
2.13 Recently, a salary survey was conducted to measure the impact of having an MBA degree in various industries with four years of work experience. The following table summarizes these results:
Four Years’ Experience
Occupation No MBA MBA
Consulting $66,271 $101,137
Energy $66,461 $84,701
Finance $80,236 $89,169
Manufacturing $71,013 $90,435
Media $63,745 $97,295
Telecom $74,378 $106,142 Based on: http://www.topmba.com.
Construct a clustered bar chart that summarizes these data.
2.14 A recent business trend is for companies to purchase on- line software applications (applications that can be run on the Internet) rather than to own and install the applications
www.freebookslides.com
54 C h a p t e r 2 | Displaying Descriptive Statistics
on their own computer systems. A recent survey asked 210 small business owners if they would pay a monthly subscription fee to use the various online software ap- plications shown in the following table. The percentages of owners who answered yes were determined for January and May and are shown in the following table:
Use of Software January (%) May (%)
Business applications 22 44
Support for information technology
14 42
Computer security 15 49
Electronic storage 15 37
Based on: AMI Partners data.
Construct a clustered bar chart that summarizes these data.
2.15 The following table shows the number of graduating students in 2012 and 2013 with various majors at Sussex College.
Major 2012 2013
Management 38 30
Marketing 24 39
Finance 31 40
Economics 13 16
Accounting 25 20
With the goal of comparing the number of graduating students from 2012 and 2013 for each major, construct a stacked bar chart that summarizes these data.
2.16 The following table lists the reasons customers provided when they rated their dining experience unsatisfactory at a particular restaurant:
Reason Relative Frequency (%)
Service too slow 37
Long wait for table 16
Mistake with order 14
Poor food quality 13
Poor atmosphere 11
Other 9
Construct a Pareto chart for these data.
2.17 A manager at a local restaurant records the number of customers who ordered each of four types of entrées. The following table summarizes the results:
Entrée Type Frequency
Beef 25
Fish 17
Chicken 11
Vegetarian 7
Construct a pie chart summarizing these data as percentages.
2.18 The following table shows the breakdown of gasoline prices in terms of its components.
Component Percentage
Crude oil 60.9
Taxes 15.1
Refining 13.7
Distribution and marketing 10.3
Based on: Energy Information Administration data.
Construct a pie chart summarizing these data.
2.19 Opinion Research Corporation asked adults to describe the category that best describes their health care costs. The following table shows the number of adults in each category:
Category Number of Adults
Fairly priced 426
Expensive 274
Low cost 256
Don’t know 47
Construct a display that best describes these data.
2.20 The following table shows the economic output, or gross domestic product (GDP), for various countries in 2002 and 2012:
GDP ($ trillion)
Country 2002 2012
United States $10.5 $15.7
Japan $4.0 $6.0
China $1.3 $8.3
Germany $2.0 $3.4
France $1.4 $2.6
United Kingdom $1.6 $2.4
Italy $1.2 $2.0
Construct a display that best describes these data.
www.freebookslides.com
C h a p t e r 2 | 2.4 Contingency Tables 55
2.4 Contingency Tables All of the examples so far in this chapter have consisted of observations with a single value. For instance, each student had one grade and each manager had one salary. Contingency tables provide a format to display the frequencies of two qualitative variables. The following example will be used to demonstrate this procedure.
The manager of a 7-Eleven convenience store recorded the genders of the last 20 cus- tomers and their types of payment (credit, debit, or cash), which are shown in Table 2.17. These data can also be found in the Excel file payment types.xlsx.
Contingency tables provide a format to display the frequencies of two qualitative variables.
{ table 2.17 | Genders and Payment Types for 7-Eleven’s Customers
customer gender payment customer gender payment
1 Female Cash 11 Male Cash
2 Female Credit 12 Male Credit
3 Female Credit 13 Female Cash
4 Male Cash 14 Male Credit
5 Male Debit 15 Male Cash
6 Female Credit 16 Female Debit
7 Male Cash 17 Female Credit
8 Female Credit 18 Female Debit
9 Female Debit 19 Male Cash
10 Female Credit 20 Female Credit
The raw data in Table 2.17 are summarized more efficiently as the contingency table shown in Table 2.18.
{ table 2.18 | Contingency Table for 7-Eleven’s Customers
gender
payment female male total
Cash 2 5 7
Credit 7 2 9
Debit 3 1 4
Total 12 8 20
The “Female” column in Table 2.18 shows the number of female customers who paid with cash (2), credit cards (7), and debit cards (3), which accounts for all 12 female custom- ers in Table 2.17. The “Male” column shows the number of male customers who paid with cash (5), credit cards (2), and debit cards (1), which accounts for all eight male customers in Table 2.17. The last column in Table 2.18 shows the total number of customers, both male and female, who paid with cash (7), credit cards (9), and debit cards (4). This column ac- counts for all 20 customers.
We can also convert the frequencies in Table 2.18 to relative frequencies, as we did with the frequency distributions earlier in the chapter, by dividing all the values in Table 2.18 by 20, the total number of observations. These results are shown in Table 2.19 on the next page.
Five customers from Table 2.17 were male and paid in cash.
www.freebookslides.com
56 C h a p t e r 2 | Displaying Descriptive Statistics
Contingency tables help us identify relationships between two or more variables. Based on the 20 customers from Table 2.18, we can conclude that over half the female customers paid with credit (7 out of 12) and over half the male customers paid with cash (5 out of 8). From Table 2.19 we can conclude that 10% of the customers were both female and paid with cash. These conclusions certainly were not obvious looking at the raw data shown in Table 2.17 (at least not to me).
Constructing a Contingency table in excel (Windows) Contingency tables can be rather tedious to construct by hand (especially when there are lots of data), so I’m going to show you a cool feature in Excel known as a pivot table, which is really just a contingency table in disguise. First, arrange the data from Table 2.17 as shown in Figure 2.21A. Because we are counting the number of customers who are female or male and have paid by cash, credit, or debit, we need to include a Customer column in our spread- sheet. This new column allows Excel to count the number of rows (customers) associated with each category.
1. Click on any cell within your data.
2. Choose the Insert tab.
3. Click on the Pivot Table icon as shown in Figure 2.21A.
4. A Create Pivot Table dialog box will appear. Simply click OK.
Five males out of 20 paid with cash, so 5>20 = 0.25
{ table 2.19 | Relative Contingency Table for 7-Eleven’s Customers
gender
payment female male total
Cash 0.10 0.25 0.35
Credit 0.35 0.10 0.45
Debit 0.15 0.05 0.20
Total 0.60 0.40 1.00
{ figure 2.21a Creating a Pivot Table in
Excel (Steps 1–4)
Excel for Mac users can find instructions for pivot tables on the textbook’s Web site.
www.freebookslides.com
C h a p t e r 2 | 2.4 Contingency Tables 57
5. A new worksheet will be created for your pivot table. From the Pivot Table Fields found to the right of this worksheet,
a. Drag the Gender field down into the Column Labels box below, as shown in Figure 2.21B.
b. Drag the Payment field down into the Row Labels box below. c. Drag the Customer field down into the Values box below.
6. Your spreadsheet should look like Figure 2.21B.
{ figure 2.21b Creating a Pivot Table in Excel
(Steps 5–6)
Don’t panic when you see that the values in our pivot table are not correct. By default, Excel sums up all the values in the Customer column in our pivot table, which doesn’t help us since these values are arbitrary customer numbers from 1 to 20. We want Excel to count the number of customers in each category. To do this,
7. Left-click anywhere within the pivot table.
8. Right-click on the cell you selected.
9. In the drop-down menu, select Summarize Data By + Count.
You can now let out a big sigh of relief as our pivot table converts the observations to a frequency distribution and counts the number of them in each category, as shown in Figure 2.21C.
{ figure 2.21C Creating a Pivot Table in Excel
(Final Result)
www.freebookslides.com
58 C h a p t e r 2 | Displaying Descriptive Statistics
After a little practice with this, you will find pivot tables very useful tools for organizing complex data sets. Pivot tables work with both quantitative and qualitative data, as well as grouped data. These tables can also work with more than two variables in a data set.
Test your newly discovered pivot table skills with this next Your Turn problem.
The digital camera manager at Best Buy was investigating the relationship between the camera brand a customer purchased and whether the person also purchased an extended warranty. The following table shows the purchasing behavior of the last 20 customers who bought a digital camera.
Customer Brand Warranty Customer Brand Warranty
1 Canon No 11 Nikon No
2 Nikon No 12 Sony Yes
3 Canon No 13 Canon No
4 Sony Yes 14 Sony Yes
5 Nikon No 15 Sony No
6 Canon No 16 Canon No
7 Canon No 17 Canon No
8 Sony No 18 Nikon No
9 Nikon Yes 19 Canon No
10 Canon Yes 20 Nikon No
Construct a contingency table and a relative contingency table for these data. What conclusions might the manger draw?
Y o U r t U r n # 9N
Answers can be found on u page 75
2.4 Section Problems applications 2.21 The following table shows the final grades and genders of
24 students in a statistics class. These data can be found in the Excel file grade distribution.xlsx.
Grade Gender Grade Gender
B Male C Female
A Female A Male
B Female A Female
C Male B Male
B Male B Female
B Female B Male
A Female C Male
C Female A Female
B Male B Male
C Male A Male
A Female B Female
B Male B Female
Develop a contingency table for these data. What conclu- sions can be drawn about the grade distribution?
2.22 A regional manager at Sears compares customer satisfac- tion ratings (1, 2, 3, or 4 stars) at the company’s Media, Pennsylvania, store (M); Exton, Pennsylvania, store (E); and Darby, Pennsylvania, store (D). The following table shows these data from 50 customers, which can also be found in the Excel file Sears ratings.xlsx.
Store Rating Store Rating Store Rating
M 3 M 2 E 1
D 4 M 3 E 2
E 3 D 3 M 3
M 2 E 3 D 3
E 3 E 2 M 2
M 1 D 3 M 4
D 4 D 2 E 3
E 2 D 4 E 3
D 3 E 3 E 1
www.freebookslides.com
C h a p t e r 2 | 2.5 Stem and Leaf Display 59
2.5 Stem and Leaf Display The stem and leaf display is another graphical technique you can use to display quantitative data. A statistician named John Tukey originated the concept during the 1970s. The major benefit of this approach is that all the original data points are visible on the display and that they are very easy to construct by hand.
To demonstrate the method, I will use test scores from a recent statistics exam, which are shown in Table 2.20.
The stem and leaf display splits the data values into stems (the larger place values) and leaves (the smaller place value). By listing all of the leaves to the right of each stem, we can graphically describe how the data are distributed.
Store Rating Store Rating Store Rating
M 4 M 1 E 3
E 4 M 2 D 2
M 2 M 3 M 1
E 4 M 3 D 4
D 3 D 4 M 2
M 2 D 3 E 4
Store Rating Store Rating Store Rating
D 4 M 2 M 3
M 3 D 4
Develop a contingency table for these data. What conclu- sions can be drawn about the store location and customer satisfaction?
{ table 2.20 | Exam Scores
81 86 78 80 81 82 92 90
79 83 84 95 85 88 80 78
84 79 80 83 79 87 84 80
The first step in constructing a stem and leaf display is to sort the data from lowest to highest, as shown in Table 2.21.
{ table 2.21 | Sorted Exam Scores
78 78 79 79 79 80 80 80
80 81 81 82 83 83 84 84
84 85 86 87 88 90 92 95
Figure 2.22 shows the stem and leaf display for the scores.
The “stem” in this display is the first column of numbers, which represents the first digit of the exam scores. The “leaf” in the display is the second digit of the exam scores, with one digit for each score. The values 0, 2, and 5 on the 9 stem represent the exam scores 90, 92, and 95.
If we choose to, we can break this display down further by adding more stems. Figure 2.23 on the next page shows this approach of splitting the stems in half. Here, the stem labeled 7 (5) stores all the scores between 75 and 79. The stem 8 (0) stores all the scores between 80 and 84. After examining this display, I can see a pattern that’s not as obvious when looking at Figure 2.22: The majority of the exam scores are in the low 80s.
7 | 8 8 9 9 9
8 | 0 0 0 0 1 1 2 3 3 4 4 4 5 6 7 8
9 | 0 2 5
{ figure 2.22 A Stem and Leaf Display for the
Exam Scores
www.freebookslides.com
60 C h a p t e r 2 | Displaying Descriptive Statistics
A common mistake that my students make is to omit stems that have no leaves. Figure 2.24 shows a stem and leaf display for the following data, which represent the weekly demand for milk at a local Costco warehouse store.
105 111 111 113 116 119 132 138 140 143 143 147
7(5) | 8 8 9 9 9
8(0) | 0 0 0 0 1 1 2 3 3 4 4 4
8(5) | 5 6 7 8
9(0) | 0 2
9(5) | 5
{ figure 2.23 Splitting the Stems in Half
10 | 5
11 | 1 1 3 6 9
12 |
13 | 2 8
14 | 0 3 3 7
{ figure 2.24 A Stem and Leaf Display with
an Empty Stem
Because each data point has three digits, we’ll use the first two digits for the stems and the third digit for the leaves. Even though the 12 stem has no leaves, including this stem in the display provides a more accurate picture of this distribution. The lesson here is “don’t cut your leafless stems.”
The beauty of the stem and leaf display is its simplicity. It does not require computer software to construct, shows each of the data values, and provides a histogram-like picture of the distribution. Before moving on to the next section, use the following Your Turn example to test your stem and leaf skills on this next data set.
Sorting the data from lowest to highest makes constructing the stem and leaf display much easier and less prone to mistakes.
Be sure to include all the stems in the distribution, even the ones with no leaves, as shown in Figure 2.24.
The space between the numbers in the leaves for a stem and leaf display should be equal so that the shape of the frequency distribution is properly displayed. In other words, a string of six numbers should appear twice as long as a string of three numbers.
2.5 Section Problems Basic Skills 2.23 Construct a stem and leaf display for the following data,
which also can be found in the Excel file Prob 2-23 data .xlsx.
72 120 83 79 137 99 75 86 71 122 87 125 130
111 134 118 110 97 116 139 112 115 80 100 94 73
86 90 78 78 107 101 87 90 126 134 120 107 111
2.24 Construct a stem and leaf display for the following data, which also can be found in the Excel file Prob 2-24 data .xlsx.
130 123 122 121 113 114 112 100 125 150 113 127 139
132 111 110 105 121 123 102 140 126 137 136 137 140
108 127 145 129 146 115 121 108 137 142 109 114 132
The following table shows the ages of employees who work in an AT&T Wireless retail facility. Construct a stem and leaf display for these data by splitting the stems in half.
Y o U r t U r n # 1 0N
Answer can be found on u page 75
48 40 38 37 37 37 36 34 33 33
33 33 32 32 29 29 29 28 28 27
27 27 26 26 25 25 25 25 25 25
www.freebookslides.com
C h a p t e r 2 | 2.6 Scatter Plots 61
2.6 Scatter Plots Up to this point, most of the data we have summarized involved only a single value, such as the number of computers shipped by HP or the number of defective returns to QVC. Scatter plots provide a picture of the relationship between two quantitative variables that are paired together. To demonstrate scatter plots, we’ll use the data in Table 2.22, which shows the selling price of various sizes of Samsung LCD televisions that were listed recently on Best Buy’s Web site. These data can also be found in the Excel file Samsung TV.xlsx.
applications 2.25 The following table shows the number of cars that arrived
at a local Burger King drive-through during lunch hour (12:00–1:00 p.m.) over the past 39 days. These data can also be found in the Excel file Burger King.xlsx.
50 27 52 22 29 54 44 37 35 40 55 40 24
51 42 49 48 44 38 67 23 43 45 59 41 50
21 43 37 37 13 45 52 64 51 58 16 48 47
a. Construct a stem and leaf display for these data. b. Construct a stem and leaf display, splitting the stems
from part a.
2.26 The following table shows the ages of the top 25 golfers on the 2012 PGA money list which represents the top earners that year. These data can also be found in the Excel file PGA money list.xlsx.
23 37 32 35 34 36 32 42 30 26 34 42 35
35 30 43 27 45 28 35 24 31 37 39 32 Based on: http://www.espn.com
a. Construct a stem and leaf display for these data. b. Construct a stem and leaf display, splitting the stems
from part a.
{ table 2.22 | Size and Price Data for Samsung LCD Televisions
size (in.) price ($) size (in.) price ($)
43 500 60 1,100
55 900 46 1,600
51 900 19 200
32 400 55 2,200
51 1,200 60 1,700
37 500 55 2,000
60 2,800 22 300
60 1,100 40 600
46 1,600 40 900
Based on: http://www.bestbuy.com.
There are a total of 18 observations (televisions) in Table 2.22, each consisting of a size and the corresponding price of a television. There is an important relationship between the size and price of a television. Common sense tells us that as the size of the television in- creases, the price will also increase. In this example, we call the television price the dependent variable because we believe that the price will depend on the television’s size. The television size is known as the independent variable.
When constructing a scatter plot, the independent variable is placed on the horizontal axis, or x-axis. The dependent variable is placed on the vertical axis, or y-axis. Perform the following steps, as shown in Figure 2.25A on the next page, to construct the scatter plot in Excel 2013. See the textbook’s Web site for Excel 2011 for Mac or Excel 2010 for Windows instructions.
The dependent variable, which is placed on the vertical axis, of the scatter plot is influenced by changes in the independent variable, which is placed on the horizontal axis.
Scatter plots provide a picture of the relationship between two quantitative variables that are paired together.
www.freebookslides.com
62 C h a p t e r 2 | Displaying Descriptive Statistics
1. Open the Excel file Samsung TV.xlsx or type in the data as seen on Figure 2.25A. If you type in the data, be sure to place the independent variable (size) in the first column and the dependent variable (price) in the second column.
2. Highlight Cells A1:B17.
3. Select the Insert tab and select the Insert Scatter Chart icon circled in Figure 2.25A.
4. Click on the first Scatter icon.
{ figure 2.25a Constructing a Scatter Plot in
Excel (Steps 1–4)
{ figure 2.25b Constructing a Scatter Plot in
Excel (Final Result)
There are 16 data points on the scatter plot in Figure 2.25B. Each point represents one television from Table 2.22. For instance, the far-left data point corresponds to the 19-in.
We now have a preliminary scatter plot that could use a little work. Perform the follow- ing steps to construct the scatter plot shown in Figure 2.25B:
5. Add axis titles by clicking on the scatter plot and selecting the Design tab under Chart Tools.
6. Insert the chart title and axis titles by clicking on Add Chart Element (like we did in Figure 2.16B).
7. Format the television prices on the vertical axis to currency by right-clicking on one of the prices and use the Format Axis menu (like we did in Figure 2.18D).
www.freebookslides.com
C h a p t e r 2 | 2.6 Scatter Plots 63
television that sells for $200. Our scatter plot shows an upward trend in price as the size of the television increases. This makes sense, as we would expect larger televisions to cost more.
Use caution when deciding which variable in your scatter plot is independent and which is dependent. The relationship between independent and dependent variables exists only in one direction, as shown in the following equation:
Independent variable (x) S Dependent variable (y) Size (x) S Price (y)
The relationship does not make sense in the opposite direction. For instance, if Best Buy reduces the price of a television, doing so does not reduce the size of the television.
Line Charts A line chart is a special type of scatter plot in which the data points in the scatter plot are connected with a line. To demonstrate this type of chart, I’ll use the data in Table 2.23, which shows the annual revenues for The Walt Disney Company from 1993 to 2012. These data can also be found in the Excel file Disney revenue.xlsx.
A line chart is a special type of scatter plot in which the data points in the scatter plot are connected with a line.
{ table 2.23 | Annual Revenue for The Walt Disney Company
year revenue ($ billions)
year revenue ($ billions)
1993 8.5 2003 27.1
1994 10.4 2004 30.8
1995 12.5 2005 31.9
1996 18.7 2006 33.7
1997 22.5 2007 35.5
1998 23.0 2008 37.8
1999 23.4 2009 36.1
2000 25.4 2010 38.1
2001 25.8 2011 40.9
2002 25.4 2012 42.3
Based on: Disney Annual Reports.
The data set shown in Table 2.23 is known as a time series because each data point is associated with a specific point in time. (We first discussed time series data and charts in Chapter 1, if you recall.) We can construct a line chart using these data by performing the following steps:
1. List the data in Columns A and B as shown in Figure 2.26A on the next page. Because Year is the independent variable, place it in Column A.
2. Highlight Cells A1:B19.
3. Select the Insert tab and select the Insert Scatter Chart icon circled in Figure 2.26A.
4. Click on the second Scatter icon.
A data set is known as a time series when each data point is associated with a specific point in time.
www.freebookslides.com
64 C h a p t e r 2 | Displaying Descriptive Statistics
When graphing a time series such as the Disney example, the convention is to place the time data on the horizontal axis of the graph. This is accomplished by placing the time data in Column A in the Excel spreadsheet and the other data in Column B, as shown in Figure 2.26A.
Let’s wrap this chapter up with one final Your Turn to test your scatter plot skills by en- gaging in one of my favorite activities—car shopping.
{ figure 2.26a Constructing a Line Chart in
Excel
{ figure 2.26b Line Chart Showing Disney’s
Revenues, 1993–2012
A line chart is a special type of scatter plot in which the data points in the scatter plot are connected with a line.
Figure 2.26B shows our line chart with titles added. This chart provides much better in- formation than Table 2.23. We can see that Disney experienced the most significant revenue growth in the mid-1990s, followed by a few years of flat revenues and then significant in- creases from 2004 to 2008. Connecting the data points with a line helps readers of the chart visualize the movement in the data over time. Now, who wants to go see Mickey?
www.freebookslides.com
C h a p t e r 2 | 2.6 Scatter Plots 65
2.6 Section Problems 2.27 Netflix is a company that provides online video streaming
and a DVD-by-mail service for members since 1997. The following table shows the number of U.S. subscribers, in millions, each quarter from 2007 to 2012. These data can also be found in the Excel file Netflix subscribers.xlsx.
Quarter 2007 2008 2009 2010 2011 2012
1 6.8 8.2 10.3 14.0 22.8 23.4
2 6.7 8.4 10.6 15.0 24.6 23.9
3 7.0 8.7 11.1 16.8 23.8 25.1
4 7.5 9.4 12.3 19.5 24.4 27.1
Construct a line chart using these data. Describe the rela- tionship between time and number of subscribers.
2.28 Suppose the Internet retailer Buy.com would like to investi- gate the relationship between the amount of time in minutes a purchaser spends on its Web site and the amount of money he or she spends on an order. The following table shows the data from a random sample of 12 customers. These data can also be found in the Excel file titled Buy.com.xlsx.
Time Order Size ($) Time Order Size ($)
18 69 5 58
13 26 37 365
26 94 6 127
Time Order Size ($) Time Order Size ($)
23 199 36 160
2 49 24 75
14 38 9 250
Construct a scatter plot using these data. Describe the relationship between the amount of time in minutes a pur- chaser spends on its Web site and the amount of money he or she spends on an order.
2.29 Take-Two Interactive Software, Inc., produces video games such as Grand Auto Theft and NBA 2K9. The fol- lowing table lists the company’s quarterly profits and losses from 2007 to 2012. These data can also be found in the Excel file Take Two.xlsx.
Q 2007 ($) 2008 ($) 2009 ($) 2010 ($) 2011 ($) 2012 ($)
1 -21.5 -38.0 -53.8 -33.8 -22.0 -66.8 2 -51.2 98.2 -10.1 16.9 6.4 -93.8 3 -58.5 51.8 -55.5 12.4 -47.4 -12.5 4 -7.1 -15.0 -22.0 40.9 14.1 71.3 http:/ir.take2games.com
Construct a line chart using these data.
A few years ago, I had the opportunity to “bond” with my son Brian as we shopped for his first car when he turned 16. Brian had visions of Mercedes and BMWs dancing in his head, whereas I was thinking more along the line of Chevys and Toyotas. After many “discussions” on the matter, we compromised by looking for 1999 Volkswagen Jettas. However, Brian had two requirements:
• The car had to be black.
• It had to be the “new body” style.
Apparently, somebody at Volkswagen had the brilliant idea back in 1999 to subtly change the design of the Jetta halfway through the production year. Personally, I would never have noticed the difference. Brian, on the other hand, wouldn’t be caught dead driving in the original body style, which essentially eliminated half the used 1999 Volkswagen Jettas on the market. Undeterred, I searched the world over, asking each seller, “Is it the new body style?” The things we do for our children. What follows is a table showing the mileage of eight Jettas with the new body style and the asking price of each:
Mileage Price ($) Mileage Price ($)
21,900 16,000 65,900 10,300
34,300 11,400 72,200 12,400
41,000 13,500 76,700 8,000
53,500 14,700 84,800 9,600
Construct a scatter plot for these data. Describe the relationship between the mileage and the price of Jettas with these data.
Y o U r t U r n # 1 1N
Answers can be found on u page 75
www.freebookslides.com
66
■ Technology, such as Excel, provides an excellent tool to display descriptive data in a graphical format.
■ A frequency distribution shows the number of data observations that fall into specific intervals.
• Relative frequency distributions display the percentage of observations of each class relative to the total number of observations.
• Cumulative relative frequency distributions indicate the percentage of observations that are less than or equal to the current class.
• A histogram graphically displays the frequency distribution as a bar graph showing the number of observations in each class as the height of each bar.
• Ideally, the number of classes in a frequency distribution should be between 4 and 20.
• Some data sets require several values to be grouped together in a single class using the follow- ing rules:
• Create equal class sizes.
• Use mutually exclusive classes.
• Include all data values.
• Avoid open-ended classes.
• Histograms displaying
• discrete data have gaps between the bars indicating the frequency of each class.
• continuous data do not have gaps between the bars.
• A percentage polygon graphs the midpoints of each class as a line rather than columns.
• The height of each midpoint represents the relative frequency of the corresponding class.
• The cumulative percentage polygon, or ogive, is a line graph that plots the cumulative fre- quency distribution.
■ Contingency tables provide a format to display the frequencies of two qualitative variables.
• Contingency tables are constructed with Excel as pivot tables.
■ The stem and leaf display is a graphical technique used to present quantitative data by splitting the data values into stems (the first digits in the value) and leaves (the remaining digit in the value).
■ Bar charts are used to display data that has been organized in categories and can be arranged in a vertical or horizontal orientation.
■ Pareto charts show in a decreasing order the frequency of the classes that cause quality-control problems.
• A Pareto chart also plots the cumulative relative frequency as a line on the chart known as an ogive.
■ Pie charts are a tool for comparing proportions for categorical data.
• Each category occupies a segment of the pie that represents the relative frequency of that category.
■ Scatter plots display the relationship between two quantitative variables that are paired together on an x-y graph.
• A line chart is a type of scatter plot in which the data points in the scatter plot are connected with a line.
Chapter 2 Summary
www.freebookslides.com
67
Bar chart. A chart that displays qualitative data that have been organized in categories and can be arranged vertically or horizontally.
Class. A category in a frequency distribution. Clustered bar chart. A bar chart that groups several values side
by side within the same category in a vertical direction. Contingency table. A table that provides a format to display the
frequencies of two qualitative variables. Continuous data. Values that can take on any value within a
given range; continuous data are often the result of measuring observations rather than counting them.
Cumulative percentage polygon (ogive). A line graph that plots the cumulative relative frequency distribution.
Cumulative relative frequency distribution. A frequency distri- bution that totals the proportion of observations that are less than or equal to the class at which you are looking.
Dependent variable. The dependent variable is the variable in the scatter plot that is influenced by changes in the other variable, the independent variable; the dependent variable is placed on the vertical axis.
Discrete data. Values based on observations that can be counted; they are restricted to integer values (whole numbers).
Frequency distribution. A table that shows the number of data observations that fall into specific intervals.
Histogram. A bar graph showing the number of observations in each class as the height of each bar.
Horizontal bar chart. A bar chart that displays the bars in a horizontal direction.
Independent variable. The independent variable is the variable in the scatter plot that is not affected by changes in the other vari- able; the independent variable is placed on the horizontal axis.
Line chart. A special type of scatter plot in which the data points in the scatter plot are connected with a line.
Pareto chart. A bar chart that shows in a decreasing order the frequency of the categories that cause quality control problems.
Percentage polygon. Graphs the midpoint of each class as a line rather than a column. The height of each midpoint represents the relative frequency of the corresponding class.
Pie chart. A chart that displays categories in the shape of a pie; each segment of the pie represents the relative frequency of that category.
Relative frequency distribution. A frequency distribution that displays the proportion of observations of each class relative to the total number of observations.
Scatter plot. A chart that provides a picture of the relationship between two quantitative variables that are paired together on a graph with a horizontal and vertical axis.
Stacked bar chart. A bar chart that groups several values in a single column within the same category in a vertical direction.
Stem and leaf display. A chart that splits data values into stems (the larger place values) and leaves (the smaller place values).
Symmetrical distribution. The shape of a distribution when its two halves mirror one another.
Time series. A data set where each data point is associated with a specific point in time.
Chapter 2 Key Terms
Chapter 2 Problems 2.30 The following table shows the number of complaints re-
ceived each day by a customer service department over the past 40 days. These data can also be found in the Excel file complaints.xlsx.
8 10 8 2 4 13 23 10 6 3
18 16 11 3 3 17 12 8 10 6
3 19 9 10 21 11 8 10 0 7
20 13 18 3 5 19 2 8 10 9
a. Using the 2k Ú n rule, construct a frequency distribution for these data.
b. Using the results from part a, calculate the relative fre- quencies for each class.
c. Using the results from part a, calculate the cumulative relative frequencies for each class.
d. Construct a histogram for these data.
2.31 The Arizona Diamondbacks and the city of Phoenix are considering building a new baseball stadium for the Ma- jor League Baseball team. A decision needs to be made whether to enclose the new facility with a roof. To help make this decision, data were gathered on the number of days per month it rained during the baseball season, which
www.freebookslides.com
are shown in the following table. These data can also be found in the Excel file Diamondbacks.xlsx.
0 3 5 0 3 0 1 0 5 0 2 1 0 4 1 1 0 2 3 2 0 1 1 3 3 3 3 4 0 3 2 4 0 4 0 1 3 0 2 0 1 0 0 4 2 2 1 0 3 3
a. Construct a frequency distribution for these data. b. Using the results from part a, calculate the relative fre-
quencies for each class. c. Using the results from part a, calculate the cumulative
relative frequencies for each class. d. Construct a histogram for these data. e. What is the likelihood that a month during the baseball
season will experience one day or less of rain?
2.32 The following table shows the number of minutes that 48 Verizon Wireless customers used on their cell phone accounts last month. These data can also be found in the excel file wireless.xlsx.
235 406 339 544 78 327 922 58 76 860 549 179 492 63 1,187 188 288 90 235 353 964 577 524 43 731 45 343 170 178 338 169 136 728 678 74 483 522 279 863 373 255 692 87 486 238 218 550 402
a. Using the 2k Ú n rule, construct a frequency distribution for these data.
b. Using the results from part a, calculate the relative fre- quencies for each class.
c. Using the results from part a, calculate the cumulative relative frequencies for each class.
d. Construct a histogram for these data.
2.33 The following table lists the math SAT scores for 72 stu- dents. These data can also be found in the excel file math SAT scores.xlsx.
586 621 613 493 552 449 559 672 428 409 571 449 498 457 578 369 511 726 566 412 795 382 607 701 739 359 354 517 384 196 496 515 439 493 508 535 507 509 428 612 530 556 660 576 626 522 515 374 190 601 499 593 538 509 450 690 571 252 599 362 505 555 323 519 524 281 580 412 553 394 555 541
a. Using the 2k Ú n rule, construct a frequency distribution for these data.
b. Using the results from part a, calculate the relative fre- quencies for each class.
c. Using the results from part a, calculate the cumulative relative frequencies for each class.
d. Construct a histogram for these data.
2.34 The following data show the exam grades for two differ- ent sections of a statistics class that I teach. The first group of data is from a day section of traditional students. The second group of data is from my evening section, which is comprised mostly of older students who work full-time dur- ing the day. These data can also be found in the Excel file statistics grades.xlsx. Note: Consider these data as discrete data because fractional grades will not occur.
Day
71 69 68 90 87 76 90 66 90 71
66 75 78 80 75 90 76 77 80 100
75 75 66 86 85 86 77 75 66 77
Evening
96 98 88 94 88 86 100 99 95 89
96 98 92 85 93 83 90 88 91 89
87 82 83 87 88 88 81 93 77 90
a. Construct a percentage polygon for these data. b. Construct a cumulative percentage polygon for these data. c. What conclusions can be drawn about the grade distribu-
tion of these two sections?
2.35 On-time arrival is a critical measurement in the airline in- dustry. The Excel file titled airline arrivals.xlsx lists the number of minutes that a particular flight either arrived early (negative value) or late (positive value) over the past 300 days of operation.
a. Using Excel and the 2k Ú n rule, construct a frequency distribution for these data.
b. Using the results from part a, calculate the relative fre- quencies for each class.
c. Using the results from part a, calculate the cumulative relative frequencies for each class.
d. Construct a histogram for these data. e. What approximate percentage of flights did not arrive
late during this time period?
2.36 The following data show the average monthly revenue a store earned per customer by selling six different types of cell phones:
Phone Average Revenue Per Customer ($) iPhone 95
Blackberry 85
LG 60
Samsung 55
Motorola 55
Prepaid 20
a. Construct a vertical bar chart for these data. b. Construct a horizontal bar chart for these data.
68 www.freebookslides.com
2.37 The recent downturn in the housing market can be mea- sured by the number of days homes are on the market before they are sold. To compare the health of the housing market between the communities of Wayne, Pennsylvania, and Dover, Delaware, these data were collected for 100 homes from each city and can be found in the Excel file days on the market.xlsx.
a. Construct a percentage polygon for these data. b. Construct a cumulative percentage polygon for these
data. c. What conclusions can be drawn about the housing mar-
ket in these two communities?
2.38 Charles Schwab conducted a survey that asked 1,252 young adults between the ages of 22 and 28 the following ques- tion: “What most surprised you as you began life on your own?” The following table summarizes the responses:
Response Percentage
High cost of living 26
Difficulty saving money 22
Number of financial decisions 13
Difficulty paying all the bills 12
Challenges finding a job 10
Based on: Charles Schwab.
a. Construct a vertical bar chart for these data. b. Construct a horizontal bar chart for these data.
2.39 The following table shows the number of wins for baseball teams in the National League Central Division for the 2011 and 2012 seasons:
Team 2011 2012
St. Louis Cardinals 90 88
Chicago Cubs 71 61
Milwaukee Brewers 96 83
Cincinnati Reds 79 97
Houston Astros 56 55
Pittsburgh Pirates 72 79
Based on: http://www.espn.com.
Construct a horizontal stacked bar chart that summarizes these data.
2.40 The following table lists the reasons customers provided over the phone when they rated their customer service ex- perience with a particular cable company unsatisfactory.
Reason Frequency
Too long on hold 47
Not knowledgeable 22
Not courteous 18
Hard to understand 15
Reason Frequency
Too many transfers 10
Other 8
Construct a Pareto chart for these data.
2.41 AutoBeef is a Web site to which customers post complaints about their cars. The following table lists the number of complaints and the type of complaints posted about used Ford Explorers:
Complaint Frequency
Transmission 721
Body 437
Wheels 164
Drivetrain 139
Windows 89
Engine 55
Interior 45
Electrical 44
Steering 42
Suspension 41
Air conditioner/heater 26
Brakes 22
Other 47 Based on: http://www.carcomplaints.com/Ford/Explorer/2002.
Construct a Pareto chart for these data.
2.42 A survey conducted by NetApplications in January 2013 on the use of Internet browsers reported the following market shares:
Browser Market Share (%)
Internet Explorer 55.2
Firefox 20.0
Chrome 17.5
Safari 5.2
Opera 1.8
Other 0.3
Construct a pie chart to display these data.
2.43 SnagAJob.com surveyed 551 hiring managers to ask them what recruiters looked for when hiring seasonal employees. The following table shows the results:
Response Percentage
Positive attitude 36
Ability to work the daily schedule 27
Previous experience in the industry 23
Commitment to work for the entire summer 14
Construct a pie chart to display these data.
69 www.freebookslides.com
2.44 The following table shows the sources of our electricity, according to the U.S. Department of Energy:
Source Percentage
Coal 48
Natural gas 21
Nuclear 20
Hydro 6
Other 4
Oil 1
Construct a pie chart to display these data.
2.45 Data were collected about the time per day children 8 to 18 years old spent with various types of media. The following table reports the average time the children spent with each media category:
Media Time
Television content 4 hours 29 minutes
Music/audio 2 hours 31 minutes
Computer 1 hour 29 minutes
Video games 1 hour 13 minutes
Print 38 minutes
Movies 25 minutes
Construct a display that best describes these data.
2.46 The following table shows the average number of view- ers aged 18–49 who watch the ABC, CBS, FOX, or NBC networks at 10:00 p.m. The data were collected by Nielsen during the last week of January 2012 and 2013.
Network Average Number of Viewers (Thousands)
2012 2013
CBS 4,071 3,542
NBC 3,163 3,669
ABC 3,174 2,910
FOX 4,162 3,155
Construct a display that best describes these data.
2.47 The following table indicates the market share for LCD televisions in the fourth quarter of 2011.
Brand Market Share %
Samsung 23.6
Vizio 15.4
LG 12.4
Sony 8.0
Toshiba 7.8
Construct a display that best describes these data.
2.48 A Scottrade survey asked adults how much money they have saved for retirement. The data are as follows:
How Much Percentage
Less than $25,000 39
$25,001 to $100,000 14
$100,001 to $250,000 9
$250,001 to $500,000 7
More than $500,000 7
Not sure 24
Construct a display that best describes these data.
2.49 The number of television coverage hours for six Winter Olympics is shown in the following table:
Winter Olympics Television Coverage Hours
Albertville (1990) 116
Lillehammer (1994) 120
Nagano (1998) 124
Salt Lake City (2002) 376
Torino (2006) 398
Vancouver (2010) 835
Construct a display that best describes these data.
2.50 The following table shows the average 401(k) balances, in thousands of dollars, by age group according to the AARP.
Age Group Balance ($)
50–54 224
55–59 250
60–64 234
65–69 228
70 and older 230
Construct a display that best describes these data.
2.51 The following table displays the average mathematics scores from the Trends in International Mathematics and Science Study (TIMSS) for fourth graders in 1995 and 2011 for various countries.
Average Math Score
Country 1995 2011
Singapore 590 606
Japan 567 585
Great Britain 484 542
United States 518 541
Australia 531 508
Construct a display that best presents these data with the goal of comparing scores between 1995 and 2012 for each country.
70 www.freebookslides.com
71
2.52 A survey conducted to determine how students pay for col- lege reported the following results.
Source Percentage
Grants/scholarships 29
Parent income and savings 28
Student borrowing 18
Student income and savings 12
Parent borrowing 9
Friends/relatives 4
Construct a display that best presents these data.
2.53 The following table provides the new housing starts, in thousands, in different regions in the United States over a three-year period.
Region 2010 2011 2012
Northeast 71.6 67.7 77.8
Midwest 97.9 100.9 128.8
South 297.5 307.8 398.7
West 119.9 132.5 174.7
Based on: U.S. Department of Commerce.
Construct a display that best presents these data with the goal of comparing total housing starts over this three-year period for each region in the country.
2.54 The following data shows the ages of 55 current BMW owners. These data can also be found in the Excel file BMW owners.xlsx.
28 50 37 51 42 27 40 38 46 48 56 29 44 40 42 46 50 30 60 30 43 66 32 36 35 48 47 43 39 26 44 32 35 47 42 47 34 39 34 60 43 26 50 43 61 42 32 45 46 49 54 51 39 26 49
a. Using the 2k Ú n rule, construct a frequency distribution for these data.
b. Using the results from part a, calculate the relative fre- quency distributions for each class.
c. Using the results from part a, calculate the cumulative relative frequency distributions for each class.
d. Construct a histogram for these data.
2.55 A survey asked 614 small-business owners if they found their company’s Facebook presence valuable. The results are shown in the following table.
Response Percentage
Yes 42
No 30
Don’t have a presence 23
No longer have a presence 5
Construct a display that best presents these data.
2.56 The following data represent the number of student ab- sences for a large, two-semester statistic class. These data can also be found in the Excel file absence.xlsx.
3 5 2 5 5 3 2 6 2 2 0 2 4 4 0 5 5 2 4 2 3 5 2 3 6 5 4 3 2 7 3 7 3 4 5 3 3 5 6 4 4 3 2 3 3 3 2 6 2 4 4 5 2 1 3 4 7 3 4 3
a. Construct a frequency distribution for these data. b. Using the results from part a, calculate the relative fre-
quency distributions for each class. c. Using the results from part a, calculate the cumulative
relative frequency distributions for each class. d. Construct a histogram for these data. e. What is the likelihood that more than four students will
be absent from this statistics class?
2.57 The following data represent the number of cars per day that used the drive-through lane for a fast food restaurant.
117 104 102 98 97 96 95 91 90 90 89 88 87 87 86 85 83 82 81 78 77 77 76 75 74 71 71 71 70 70 70 69 69 67 67 64
a. Construct a stem and leaf display for these data. b. Construct a stem and leaf display for these data, splitting
the stems from part a.
2.58 A marketing research firm would like to display the re- lationship between a family’s weekly food costs and the number of family members living in the household. The following table shows the monthly food costs and the num- ber of family members for 16 families. These data can also be found in Excel file food costs.xlsx.
People Costs ($) People Costs ($)
4 926 6 1,263
5 1,155 3 1,023
3 962 8 1,265
4 909 3 1,114
4 1,084 7 1,322
2 755 2 937
4 949 5 962
4 1,000 3 829
Construct a scatter plot using these data. Describe the re- lationship between the number of household members and the family’s monthly food costs.
71 www.freebookslides.com
2.59 The following table represents the average new-home size, in square feet, in the United States over various years.
Year Average Size
1985 1,785
1990 2,080
1995 2,100
2000 2,266
2005 2,434
2010 2,392
Construct a display that best describes these data.
2.60 The term never events in the health care industry refers to mistakes that should never happen in the operating room. Researchers identified the following “never events” and their relative frequency of occurring.
Event Relative Frequency (%)
Foreign objects left behind 49.8
Wrong procedure 25.1
Wrong site 24.8
Wrong patient 0.3
Construct a Pareto chart for these data.
2.61 As a long-time lover of Cheez-It crackers, I find myself of- fended when somebody claims that Cheese Nips, which is a competing product, is just as good. To put an end to this silly argument, I performed a taste test with 24 unbiased individuals, asking them to state their preference and listed the results in the following table. Those with no preference were recorded as “No Prefer.” These data can also be found in the Excel file titled Cheezits.xlsx.
Cheez- Its
Cheez- Its
Cheese Nips
Cheez- Its
Cheez- Its
Cheese Nips
Cheez- Its
Cheez- Its
No Prefer Cheez- Its
Cheese Nips
Cheez- Its
Cheez- Its
Cheez- Its
Cheez- Its
No Prefer Cheese Nips
Cheez- Its
Cheez- Its
No Prefer Cheez- Its
Cheese Nips
Cheese- Its
Cheez- Its
a. Construct a frequency distribution for these data. b. Construct a relative frequency distribution for these
data.
2.62 The following data represents the total annual snowfall (in inches) for 30 cities.
12 13 15 18 21 21 23 26 26 27 27 28 30 33 33 35 36 36 39 40 40 42 42 44 46 47 49 50 51 57
Construct a stem and leaf display using these data.
2.63 The following table shows the percentage of children at various age groups who use smartphones and laptop com- puters according to a survey conducted by the NPD Group.
Age Smartphones (%) Laptops (%)
4–5 37 22
6–8 35 28
9–11 38 37
12–14 47 43
Construct a display that best presents these data with the goal of comparing percentages between devices for each age group.
2.64 A grocery store manager records the purchases of soda by the brands Coke (C), Pepsi (P), and Mt. Dew (M). The type of soda is also noted (regular or diet). The following table shows the brand and type of soda for the last 33 customers. These data can also be found in the Excel file soda.xlsx.
Brand Type Brand Type Brand Type
P Reg C Diet M Reg
C Diet M Reg P Diet
P Diet P Diet C Reg
M Reg C Diet P Reg
C Reg P Reg M Reg
P Reg C Reg P Reg
C Diet M Reg C Reg
C Diet M Diet M Reg
M Diet C Reg P Reg
C Reg M Reg C Diet
P Diet P Reg M Reg
Develop a contingency table for these data. What conclusions can be drawn about the brands and types of soda sales?
2.65 Golf Galaxy, a major golf equipment retailer, would like to investigate the relationship between the brand of golf clubs (Taylor Made, Nike, and Callaway) and the age of the golfer who purchased them. The Excel file titled golf clubs. xlsx lists the golf club brand purchased by the last 100 cus- tomers along with the customers’ ages. Using Excel, con- struct a pivot table for these data. What conclusions can be drawn about the golf club brand and age of the customer? Hint: Group the ages of the customers with a class width of 10 years using the following steps:
a. After the initial pivot table is constructed, right-click on one of the ages.
b. In the drop-down menu, left-click on Group. c. In the Group dialog box, input the following values:
1. Starting at = 20 2. Ending at = 59 3. By = 10
d. Click OK.
72 www.freebookslides.com
73
2.66 The class sizes for 40 courses currently being taught at Neumann University this semester are shown in the fol- lowing table. These data can also be found in the Excel file class size.xlsx.
28 26 35 28 20 43 31 22 25 18
35 39 19 29 23 31 45 35 22 28
28 20 41 36 32 32 39 33 25 30
19 43 23 31 31 51 46 20 36 25
a. Construct a stem and leaf display for these data. b. Construct a stem and leaf display, splitting the stems
from part a.
2.67 The following table shows the number of customers who have visited a T-Mobile retail store during the past 40 days. These data can also be found in the Excel file T-Mobile.xlsx.
72 99 99 100 119 91 101 74 102 130
81 76 70 97 77 70 130 85 82 131
94 125 97 112 118 72 93 93 75 95
93 104 92 105 77 138 88 77 90 92
a. Construct a stem and leaf display for these data. b. Construct a stem and leaf display, splitting the stems
from part a.
2.68 The Excel file MLB payroll.xlsx provides the payroll and number of wins for all the Major League Baseball teams
during the 2012 season. Construct a scatter plot using these data. Describe the relationship between payroll and number of wins.
2.69 The Excel file titled gasoline prices.xlsx lists the average monthly price per gallon of regular gasoline in the United States from August 1990 to January 2013 from the U.S. Energy Information Administration. Construct a line chart using these data and describe the trend.
2.70 The Excel file titled airline performance.xlsx lists the status of 100 flights as either “on time” or “late” along with the airline for that flight.
a. Construct a contingency table for these data. b. Construct a relative contingency table for these data. c. What conclusions could be drawn from these data?
2.71 The amount of time required to navigate through airport se- curity can vary from city to city. The Excel file titled TSA times.xlxs shows the number of minutes that 60 passengers spent going through security at Chicago’s O’Hare Interna- tional Airport and Seattle International Airport. Construct a display that will allow a direct comparison of the security times for both airports.
2.72 The Excel file titled US Housing Starts.xlsx lists the num- ber of housing starts in the United States each year from 1970 to 2012 provided by the U.S. Department of Com- merce. Construct a display that best describes these data.
Chapter 2 Solutions to Your Turn
Y o u r T u r n # 1 1. Discrete 2. Continuous 3. Discrete 4. Continuous
5. Discrete 6. Continuous 7. Discrete
73 www.freebookslides.com
74
Y o U r t U r n # 3
25 = 32 Ú 30, therefore use five classes.
Estimated class width = $87.7 - $40.0
5 = $9.54 ≈ $10
Salary Frequency Relative Frequency
Cumulative Relative Frequency
40–49.9 3 0.100 0.100
50–59.9 4 0.133 0.233
60–69.9 14 0.467 0.700
70–79.9 7 0.233 0.933
80–89.9 2 0.067 1.000
Total 30 1.000
Y o U r t U r n # 4
Number of Stars
Frequency
Relative Frequency
Cumulative Relative Frequency
1 2 0.08 0.08
2 1 0.04 0.12
3 3 0.12 0.24
4 7 0.28 0.52
5 12 0.48 1.00
Total 25 1.00
Y o U r t U r n # 2
74 www.freebookslides.com
75
Y o u r T u r n # 5
75
Y o u r T u r n # 6
A clustered bar chart would be more appropriate because it provides a convenient way to compare unemployment rates for all five states between 2011 and 2012.
Y o u r T u r n # 7
Y o u r T u r n # 8
Y o u r T u r n # 9 Warranty
Brand Yes No Total
Canon 1 8 9
Nikon 1 5 6
Sony 3 2 5
Total 5 15 20
Warranty
Brand Yes No Total
Canon 0.05 0.40 0.45
Nikon 0.05 0.25 0.30
Sony 0.15 0.10 0.25
Total 0.25 0.75 1.00
Based on these data, it appears that Sony customers are more likely to purchase an extended warranty when compared with Canon and Nikon customers.
As expected, as mileage increases, the selling price decreases.
Y o u r T u r n # 1 1
2(5) � 5 5 5 5 5 5 6 6 7 7 7 8 8 9 9 9
3(0) � 2 2 3 3 3 3 4
3(5) � 6 7 7 7 8
4(0) � 0
4(5) � 8
Y o u r T u r n # 1 0
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Calculate the mean, weighted mean, median, and mode.
■ Identify the most appropriate measure of central tendency to describe data.
■ Calculate and interpret the range, variance, and standard deviation.
■ Understand the coefficient of varia- tion, z-score, the empirical rule, and Chebyshev’s Theorem.
■ Calculate the mean and standard deviation of grouped data.
■ Calculate percentiles, percentile rank, and quartiles for a data set.
■ Construct and interpret box-and- whisker plots.
■ Calculate and interpret the covari- ance and the correlation coefficient for two data sets.
Calculating Descriptive Statistics
C h a p t e r 3 M a p
3.1 Measures of Central Tendency | 78
3.2 Measures of Variability | 91
3.3 Using the Mean and Standard Deviation Together | 101
3.4 Working with Grouped Data | 112
3.5 Measures of Relative Position | 116
3.6 Measures of Association Between Two Variables | 126
3
www.freebookslides.com
78 C h a p t e r 3 | Calculating Descriptive Statistics
The emphasis in Chapter 2 was on demonstrating ways to display our data graphically so that our brain cells could quickly absorb the big picture. With that task behind us, we can proceed to the next step—summarizing our data numerically. Chapter 3 focuses on how to calculate descriptive statistics manually and, if you so choose, how to verify these results with our good friend Excel. The Stats in Practice at the start of this chapter relied on the median to present income data over a five-year period. We will explore this measurement, along with many others, throughout Chapter 3. Also, I hope the opening example sends you another message loud and clear: Stay in school and get your degree!
3.1 Measures of Central Tendency Most data sets have a tendency to concentrate around a specific value. For example, the his- togram in Figure 3.1 shows that U.S. adult males from a sample have a tendency to cluster around a height of 70 in. This value is known as the central tendency for our data set. As we learned in Chapter 2, a histogram is a great tool for providing a picture to show where the central tendency can be found. In this chapter, we will explore how to precisely calculate the
Stats in practice: Using the Median to Compare Salaries
The Bureau of Labor Statistics (BLS) is an agency of the fed- eral government that collects and reports labor data for the economy. Their Web site, www.bls.gov, provides a wealth of information on earnings and employment status for various characteristics such as age, gender, and education. Accord- ing to BLS, women’s wages have increased at a higher rate than men’s since the start of the recent economic recession. Between 2007 and 2012, women’s wages have risen 12.5% compared to an 11.5% increase for men.
The median weekly wage for men in 2012 was $854, compared with a median wage of $691 per week for women. However, men had a higher unemployment rate during 2012 when com- pared to women: 8.2% vs. 7.9%.
According to BLS, education also played a role in wages. An in- dividual without a high school diploma earned a median of $451 a week in 2011, compared to $1,150 for an individual with at least a bachelor’s degree.
Based on: http://www.bls.gov.
Central tendency is a single value used to describe the center point of a data set.
{ figure 3.1 Heights of U.S. Adult Males
0
60 to
< 62
62 to
< 64
64 to
< 66
66 to
< 68
68 to
< 70
70 to
< 72
72 to
< 74
74 to
< 76
76 to
< 78
78 to
< 80
80 to
< 82
82 to
< 84
Height (in.)
Heights of U.S. Adult Males
100
200
300N u
m b
er o
f A
d u
lt s
400
900
800
700
600
500 The central tendency is the value where data points tend to cluster.
www.freebookslides.com
C h a p t e r 3 | 3.1 Measures of Central Tendency 79
where
x = The sample mean xi = The values in the sample (x1 = the first data value, x2 = the second data value,
and so on)
a n
i = 1 xi = The sum of all the data values in the sample
n = The number of data values in the sample To see how the sample mean is calculated, look at the following data set, which shows the an-
nual household incomes (in thousands of dollars) of five randomly selected families in Delaware.
$87.2 $118.9 $76.2 $107.7 $61.5
These data values are a sample because they represent a subset of all of the households in Delaware.
The sample mean is found as follows:
x = a
n
i = 1 xi
n =
87.2 + 118.9 + 76.2 + 107.7 + 61.5 5
= 451.5
5 = $90.3
The average income from our sample of five Delaware households is $90,300. The population mean is calculated in the same way as the sample mean; the only difference
is in the notation. The formula for determining the population mean is shown in Equation 3.2.
Formula 3.1 for the sample Mean
x = a
n
i = 1 xi
n
Formula 3.2 for the population Mean
m = a N
i = 1 xi
N
The mean, or average, which is the most common measure of central tendency, is calculated by adding all the values in a data set and then dividing the result by the number of observations.
value that represents the central tendency of our data. As we will see in the following sec- tions, our choices of central tendency measures are the mean, median, and mode.
the Mean The most common measure of central tendency is the mean, or average. We calculate the mean by adding all the values in our data set and then dividing the result by the number of observations. The mathematical formula for the mean differs slightly depending on whether you’re referring to the mean of the sample or the mean of the population. The formula for the sample mean is shown in Equation 3.1.
Don’t panic when you see the
symbol a n
i = 1 xi. If our data
sample contains the values 5, 8, and 2, then n = 3, x1 = 5, x2 = 8, and x3 = 2, resulting in the following expression:
a 3
i = 1 xi = x1 + x2 + x3
= 5 + 8 + 2 = 15
where
m = The population mean N = The number of data values in the population Let’s say you have just completed a statistics course that had four exams, and your
scores are as follows:
89 95 87 97
This data set is a population because all of your exam scores for the course are included.
www.freebookslides.com
80 C h a p t e r 3 | Calculating Descriptive Statistics
The population mean is shown as follows:
m = a N
i = 1 xi
N =
89 + 95 + 87 + 97 4
= 368
4 = 92
Your exam average was a 92. Very impressive!
the Weighted Mean When we calculated the average exam score in the previous example, we gave each data value the same weight in the calculation. A weighted mean refers to a mean that needs to go on a diet. Just kidding; I was checking to see whether you were paying attention. Let’s try this again. A weighted mean allows you to assign more weight to certain values and less weight to others. For example, let’s say your statistics grade this semester will be based on a combination of your final exam score, a homework score, and a final project, each weighted according to Table 3.1.
Formula 3.3 for the weighted Mean
x = a
n
i = 1 1wixi2
a n
i = 1 wi
The symbol a n
i = 1 1wi xi2 means
“the sum of w multiplied by x.” Each pair of w and x is first multiplied together, and these results are then summed.
Note that in this equation, we are dividing by the sum of the weights rather than by the number of data values.
{ table 3.1 | Scores from a Statistics Class
type score weight (%)
Exam 94 50
Project 92 35
Homework 100 15
We can calculate your final grade using the following formula for a weighted average (Equation 3.3).
where
wi = The weight for each data value xi
a n
i = 1 wi = The sum of the weights
Table 3.2 sets up how to use Equation 3.3 for our statistics class example.
{ table 3.2 | Data Used to Calculate a Weighted Mean
type score weight weight : score i xi wi 1wixi2
Exam 1 94 0.50 47.0
Project 2 92 0.35 32.2
Homework 3 100 0.15 15.0
A weighted mean allows you to assign more weight to certain values and less weight to others.
www.freebookslides.com
C h a p t e r 3 | 3.1 Measures of Central Tendency 81
a 3
i = 1 wi = 0.50 + 0.35 + 0.15 = 1.0
a 3
i = 1 1wixi2 = 47.0 + 32.2 + 15.0 = 94.2
We can obtain the same result by plugging the numbers directly into Equation 3.3, the formula for a weighted average:
x = 10.5021942 + 10.3521922 + 10.15211002
0.50 + 0.35 + 0.15 =
47.0 + 32.2 + 15.0 1.0
= 94.2
Congratulations—you earned an A! The weights in a weighted average do not need to add up to 1.0 like they do in our example.
For instance, the mean of a frequency distribution is simply a weighted mean calculation, as shown in the next example.
An airline company recorded the number of no-shows (people who fail to arrive at the gate on time to board a plane) for the past 120 flights. The frequencies are shown in Table 3.3. For 37 of the 120 flights, all of the passengers made it on board in time. There were zero no-shows, in other words. Thirty-one flights each had one passenger missing, 20 flights each had two passengers missing, and so on down the table. We would like to calculate the aver- age number of no-shows per flight.
Even though we can’t have 1.56 passengers not show up for a particular flight, the average number of no-shows can be a fraction.
{ table 3.3 | Frequency of No-Shows for Airline Flights
number of no-shows number of flights
0 37
1 31
2 20
3 16
4 12
5 4
To calculate the average number of no-shows per flight, use Equation 3.3. The weights would be the number of flights for each number of no-shows.
x = a wi xia wi = 1372102 + 1312112 + 1202122 + 1162132 + 1122142 + 142152
37 + 31 + 20 + 16 + 12 + 4
x = 187
120 = 1.56 passengers
The average number of no-shows per flight is 1.56 passengers.
the advantages and Disadvantages of Using the Mean to Summarize Data The mean is a convenient measurement for summarizing a data set with a single value. Most students will agree with me when I say it’s a pretty easy calculation to perform and understand. However, you need to beware of the mean’s potential pitfalls.
I’ll use the following example to demonstrate the first drawback of the mean. Suppose you have just been hired as a quality control manager for Kellogg’s, and you are responsible for ensuring that each box of Frosted Flakes is properly filled with 18 ounces of cereal.
www.freebookslides.com
82 C h a p t e r 3 | Calculating Descriptive Statistics
On Friday afternoon, your staff informs you that a sample of filled cereal boxes has an aver- age weight of 18.1 ounces. Satisfied that the process is working well, you head home for a relaxing weekend, only to return Monday to customer complaints that their Frosted Flakes boxes were missing some Frosted Flakes! How can this be? When you ask to see the data from Friday’s sample, you are shocked. The weights of the boxes sampled ranged widely. As the following equation shows, one box contained only 13.1 ounces of Frosted Flakes, whereas another contained a whopping 22.7 ounces!
x = a
n
i = 1 xi
n =
14.2 + 19.6 + 22.7 + 13.1 + 20.9 5
= 90.5
5 = 18.1 ounces
Obviously, the process was over-filling and under-filling boxes, resulting in a sample mean that led you to believe all was well. This example highlights one drawback of using the mean: When you summarize data with a single value, you lose information about the origi- nal data, which in this case was critical. On Tuesday, you find yourself updating your resume and searching the Internet for a new job.
Another concern about relying on the mean involves how it is affected by outliers in the data. Outliers are extreme values above or below the mean that require special consideration. They could be caused by data entry errors or measurement errors. In this case, you should consider deleting these values from the data set to avoid distorting the analysis. However, the outlier could be a legitimate value that just happens to be very large or small and should remain in the analysis. Consequently, you will have to judge carefully whether to include the outlier. For example, the following data represent the appraised value of five homes in a particular cul-de-sac:
$300,000 $320,000 $270,000 $210,000 $8,000,000
The average value of the homes, in thousands of dollars, is
m = a N
i = 1 xi
N =
300 + 320 + 270 + 210 + 8,000 5
= 9,100
5 = $1,820
As you can see, the average home value of $1,820,000 is much higher than most of the houses in the cul-de-sac. The one extreme home value of $8,000,000 distorts the population mean, making the rest of the homes in the cul-de-sac seem much more expensive than they actually are. We will discuss more about outliers and how to deal with them later in the chapter.
When you rely on the mean to summarize many data values, you lose important information about the original data.
This outlier is causing the mean of this data set to be much higher than most of the remaining values, which can be misleading.
I don’t mean to be mean, but I’m going to have you test your mean skills on this Your Turn.
1. The following data indicate the number of minutes eight randomly selected airline flights were either early (negative values) or late (positive values) arriving at their destinations. Calculate the sample mean.
14 - 17 31 - 10 0 11 5 18
2. A company has four locations at which customers were surveyed about their satisfaction levels. The following table shows the average customer rating for each of the four locations along with the number of customers at each location who responded. Calculate the average customer rating for the entire company.
Location Average Rating Number of Customers
1 7.2 116
2 8.8 80
3 6.0 67
4 7.5 91
Y o U r t U r n # 1N
Answers can be found on u page 141
Outliers are values that are much higher or lower than most of the data. The mean can be heavily influenced by outliers.
www.freebookslides.com
C h a p t e r 3 | 3.1 Measures of Central Tendency 83
the Median The next measure of central tendency that we will explore is the median. The median is the value in the data set for which half the observations are higher and half the observations are lower. To demonstrate the technique for finding the median, consider the following data set, which represents nine quiz scores for a particular statistics student:
86 95 74 83 92 70 88 81 91
We find the median by first arranging the data values in ascending order:
70 74 81 83 86 88 91 92 95
To determine the position of the median in our data set, we calculate the index point. The index point, i, marks the middle of the data values. We can calculate it using Equation 3.4.
Formula 3.4 for the Index point for the Median
i = 0.51n2
The median is the value in the data set for which half the observations are higher and half the observations are lower.
where n equals the number of data points, which in this case is nine.
i = 0.51n2 = 0.5192 = 4.5 Whenever the index point is not a whole number, we round the value up to the next
highest whole number, which, in this case, is five. The median exam score is therefore in the fifth position of our sorted data set and is shown in red:
70 74 81 83 86 88 91 92 95
The median of our quiz scores is 86. Notice that our index point using Equation 3.4 found the middle value, which is the definition of the median. There are four quiz scores below and four quiz scores above the median.
In the last section, we discussed the fact that outliers in our data set can heavily affect the mean. This is not so with the median, as I will now demonstrate. Let’s replace the quiz score of 70 with an abysmal score of 20, as shown as follows. (Aren’t you glad it wasn’t you that scored the 20?)
20 74 81 83 86 88 91 92 95
Notice that the change has no impact on the median calculation. With nine data points, the median will always be in the fifth position, regardless of the values above and below it. One of the nice features of the median is that it is not influenced by outliers as the mean was in the previous section. Unfortunately, most instructors don’t calculate grades based on the median but on the mean. The mean quiz score from this last example is 78.9 with the outlier data point, much lower than the median score of 86!
When we have an even number of data values, the procedure for finding the median dif- fers slightly. Table 3.4 shows the closing stock prices for Dick’s Sporting Goods at the end of each month between July and December 2012.
{ table 3.4 | Closing Stock Prices for Dick’s Sporting Goods
date stock price ($)
July 31 49.12
August 31 49.76
September 28 51.85
October 31 50.00
November 30 52.51
December 31 45.49
The index point is used to determine the position of the median in the data set.
The outlier in this data set does not influence the median, which remains at 86.
When there are an odd number of data values, the median is always the middle value in the data set.
www.freebookslides.com
84 C h a p t e r 3 | Calculating Descriptive Statistics
First, sort the stock prices from low to high:
$45.49 $49.12 $49.76 $50.00 $51.85 $52.51
Next, calculate the index point using Equation 3.4:
i = 0.51n2 = 0.5162 = 3 Here is where the difference lies when there is an even number of data points: When the
index point is an even whole number, the position of the median is halfway between the in- dex point (i) and the next highest data point (the i + 1 position). Because i = 3, the median is the midpoint between the 3rd value ($49.76) and 4th value ($50.00).
Median
$45.49 $49.12 $49.76 $50.00 $51.85 $52.51
In other words, the median is halfway between the two middle values whenever we have an even number of data points. The following equation shows you how to find it:
Median = $49.76 + $50.00
2 = $49.88
1. The following data represent the ages of 10 employees in a marketing department at a specific company. Identify the median age.
26 45 39 28 57 31 43 45 50 62
2. The following data are the math SAT scores of nine students from St. Mark’s High School. Identify the median SAT score.
560 610 490 670 700 460 510 590 650
Y o U r t U r n # 2N
Answers can be found on u page 141
the Mode The last measure of central tendency we’ll discuss in this chapter is the mode, which gets the least amount of attention when compared with the mean and median. Nonetheless, the mode has some useful characteristics. The mode is simply the value that appears most often in a data set, as seen in the following example.
Table 3.5 shows last week’s sales for a particular style of a woman’s dress at my wife’s favorite clothing store. The sales are shown by dress size.
{ table 3.5 | Dress Sales by Size
size number sold
4 7
6 7
8 14
10 15
12 5
14 9
A concept that some of my students struggle with is correctly assigning the median to the index point rather than the point between the middle two values in the data set. You can practice right now with this Your Turn section.
The mode is the value that appears most often in a data set.
When you have an even number of data points, and the index point is a whole number, the median lies halfway between the index point and next highest data point.
www.freebookslides.com
C h a p t e r 3 | 3.1 Measures of Central Tendency 85
A word of warning: Some of my students mistakenly think that the mode equals 15, which is the number of dresses sold. Other students make the mistake of telling me the mode in this problem is 7 because it is the frequency that appears most often.
Note that the mode is not 21. Nor is the mode equal to 11, the frequency that appears most often.
Be careful not to claim that the mode is zero in this example. That is an incorrect statement because the value zero does not occur most frequently.
The mode for this data set is Size 10 because this is the dress size that had the most sales last week (15).
For this example, the mean or median would not be very useful. For instance, to report that the average dress size sold last week was 9.1 isn’t very helpful to the manager of this department because there is no such dress size in the store.
The mode is a particularly useful way to describe categorical data such as the dress sizes in Table 3.5. Table 3.6 shows another distribution of categorical data—television sales categorized by brand. Suppose the data in Table 3.6 show the number of televisions by brand sold by a particular Walmart store last month.
{ table 3.6 | Televisions Sold by Walmart
brand number sold
Sony 21
Panasonic 9
Samsung 18
Sharp 11
Toshiba 15
Vizio 11
I’m hoping that you recognize the data in Table 3.6 as categorical data from what you learned in Chapters 1 and 2. The mode is the only choice for describing this type of data because it is qualitative rather than quantitative. The Sony television brand would be the mode here because it had the highest frequency (21). When dealing with categorical data, the mode is the category with the highest frequency, rather than the actual frequency for that category.
If no data value or category repeats more than once, then we say that the mode does not exist. Consider the following data, which represent the number of years of service for the faculty members in my department:
16 10 3 7 9 2 6
Because no value in this data set repeats itself, there is no mode.
Also, more than one mode can exist, as the following data set shows. The data set indi- cates the number of students absent from my last 10 statistics classes.
2 0 1 3 1 4 2 0 1 2 We can sort the data to make identifying the mode easier.
0 0 1 1 1 2 2 2 3 4
The modes for the data, which are shown in red, are one student and two students be- cause both values appear three times. Because the distribution has two modes, it is called a bimodal distribution.
Even if you’re not in the “mode,” I encourage you to take a minute to be sure you under- stand how to find the mode in this Your Turn section.
Categorical data are data that are described as a category or a label. Examples are gender (male or female), marital status (married, single, widowed), or yes/no responses.
www.freebookslides.com
86 C h a p t e r 3 | Calculating Descriptive Statistics
1. The following data represent the average hourly earnings in the United States for each month during 2012 according to www.data360.org. Determine the mode for these data.
Month Earnings ($) Month Earnings ($)
January 2012 16.90 July 2012 16.85
February 2012 16.85 August 2012 16.75
March 2012 16.75 September 2012 16.71
April 2012 16.74 October 2012 16.73
May 2012 16.74 November 2012 16.86
June 2012 16.81 December 2012 16.94
2. The following data show the number of touchdown passes thrown by the NFL’s top quarterbacks during the 2012 football season. Determine the mode for these data.
43 39 37 34 32 28 27 27 26 26 26 26 24 23 22 22 22 21 20 20 19 19 18 14
3. The following data represent the number of customers per day at a hardware store during the past 14 days. Determine the mode for these data.
67 62 57 31 69 32 83 49 80 53 38 36 46 41
4. The demand for various flavors of Rita’s Water Ice yesterday is shown in the following table. Identify the mode.
Flavor Number Sold
Lemon 37
Grape 46
Cherry 60
Orange 46
Lime 19 Answers can be found on u page 141
Y o U r t U r n # 3N
the Shapes of Frequency Distributions The positions of the mean and median will influence the shape of the frequency distribution for the data. Figure 3.2 shows a case in which the mean and median are approximately equal. This results in a symmetrical frequency distribution. Recall from Chapter 2 that a symmetri- cal distribution is one in which the right side of the distribution looks like the mirror image of the left side of the distribution.
{ figure 3.2 A Symmetrical Frequency
Distribution
In a symmetrical frequency distribution, the mean and median are roughly equal to each other.
Mean Median
www.freebookslides.com
C h a p t e r 3 | 3.1 Measures of Central Tendency 87
Using excel to Calculate the Mean, Median, and Mode Excel provides a convenient method for determining the mean, median, and mode for your data set. We will demonstrate this with the following example. The following data represent the number of magazine subscriptions from 12 households:
4 1 0 8 2 5 4 6 1 5 2 1
Figure 3.5 shows the Excel equations used to calculate the mean, median, and mode for this data set. The Excel functions for these calculations are as follows:
= AVERAGE1data values2 = MEDIAN1data values2 = MODE.SNGL1data values2
As you can see from Figure 3.5, the mean = 3.25, the median = 3, and the mode = 1.
In a left-skewed distribution, the median is larger than the mean.
Figure 3.3 shows a distribution that’s not symmetrical. Such a distribution is said to be skewed. Notice that higher data values dominate the data set. As you can see in this figure, the median is larger than the mean. As a result, the shape of the distribution is left-skewed, even though the data are concentrated on the right side. An easy way to remember this distri- bution is left-skewed is to observe that if you were skiing down the long slope of the graph, you would be moving in the left direction. For example, if grade inflation exists at your institution, which occurs when the grade point average (GPA) of the student body steadily increases over time, then a histogram of student GPAs will resemble a left-skewed distribu- tion, as shown in Figure 3.3.
Figure 3.4 shows the opposite scenario, one in which the data are concentrated on the lower end of the distribution. Here the median is less than the mean. The shape of the distribution is right-skewed because we ski toward the right as we move down the slope. For example, annual income data tend to be right-skewed because most of us hardworking individuals tend to be in either the middle or somewhat to the left side of the income scale, whereas a few ultra-rich Warren Buffet–types of people are spread far to the right side of the distribution.
{ figure 3.3 A Left-Skewed Frequency
Distribution
Mean Median
This distribution is left-skewed because if we were skiing down this slope, we would be moving toward the left.
{ figure 3.4 A Right-Skewed Frequency
Distribution
MeanMedian
This distribution is right-skewed because if we were skiing down this slope, we would be moving toward the right.
In a right-skewed distribution, the me- dian is less than the mean.
www.freebookslides.com
88 C h a p t e r 3 | Calculating Descriptive Statistics
If the data set does not have a mode, Excel displays “#N/A” in the cell. If there is more than one mode, Excel will incorrectly display only one mode from the data set, so use cau- tion when relying on this feature. Also, Excel will not identify the mode for categorical data.
The mean, median, and mode can also be obtained using the Data Analysis tool in Excel for Windows. See the textbook’s Web site (www.pearsonhighered.com/donnelly) for Excel for Mac instructions. If you haven’t activated the tool yet, refer to Chapter 2 for instructions. Then determine the mean, median, and mode for our data by taking the following steps:
1. Place the data in Cells A1 through A12 as shown in Figure 3.6.
2. Select Data + Data Analysis. 3. In the Data Analysis dialog box, select Descriptive Statistics and click OK.
{ figure 3.5 Excel Equations Used to
Calculate the Mean, Median, and Mode
4. In the Descriptive Statistics dialog box, click on the textbox for Input Range: and select Cells A1:A12 as shown in Figure 3.7.
5. Click on the textbox for Output Range: and select Cell C1.
6. Check Summary statistics, and click OK.
The results are shown highlighted in red in Figure 3.8, which shows the mean = 3.25, the median = 3, and the mode = 1. We will discuss other values in this figure later on in the chapter.
Be sure you’re aware of some of Excel’s deficiencies when handling the mode.
{ figure 3.6 Using Excel’s Data Analysis Tool
to Calculate the Mean, Median, and Mode (Steps 1–3)
www.freebookslides.com
C h a p t e r 3 | 3.1 Measures of Central Tendency 89
Which Measure of Central tendency Should You Use: the Mean, Median, or Mode? Each of these measures of central tendency has its advantages and disadvantages. The mean is relatively easy to determine and most widely understood by people with little statistical training. As a result, it is by far the most popular choice for measuring the central tendency. However, as you learned, the mean can be heavily affected by outliers, which at times can be misleading.
When outliers are present in the data, the median is often the best choice because it is unaffected by them. However, the median requires a little more effort to determine if you are not using computer software such as Excel, especially when several data points are in- volved. The data need to be sorted from low to high values, and the index point needs to be calculated. In the many statistics exams I have given over the years (please don’t ask how many), I have found that students struggle more with calculating the median when com- pared with calculating the mean. So give the median some extra practice when preparing for your next exam.
When describing the central tendency for categorical data, the mode is your only choice. However, there are two main drawbacks to using the mode. First, in many data sets, a mode does not exist. Second, there may be more than one mode in the data set, a situation that Excel does not properly identify. Table 3.7 summarizes our discussion of central tendency.
{ figure 3.7 Using Excel’s Data Analysis Tool
to Calculate the Mean, Median, and Mode (Steps 4–6)
{ figure 3.8 Using Excel’s Data Analysis Tool
to Calculate the Mean, Median, and Mode (Final Result)
www.freebookslides.com
90 C h a p t e r 3 | Calculating Descriptive Statistics
3.1 Section Problems Basic Skills 3.1 Consider the following data values:
18 12 7 10 15 12 6 12 14
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Describe the shape of this distribution.
3.2 Consider the following data values:
6 14 17 1 16 17 6 19
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Describe the shape of this distribution.
3.3 Consider the following data values:
14 62 0 20 26 38 8
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Describe the shape of this distribution.
3.4 Consider the following data values:
25 18 - 7 10 34 - 12 a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Describe the shape of this distribution.
applications 3.5 The following table shows the monthly unemployment
rate in the United States from January 2011 until January 2013. These data can also be found in the Excel file titled US unemployment.xlsx.
9.1 9.0 8.9 9.0 9.0 9.1 9.0 9.0 9.0 8.9 8.6 8.5 8.3
8.3 8.2 8.1 8.2 8.2 8.2 8.1 7.8 7.9 7.8 7.8 7.9
Based on: http://www.bls.gov.
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Describe the shape of this distribution.
3.6 Bank of America stock prices at the end of each month from February 2012 until January 2013 are shown as below. These data can also be found in the Excel file titled Bank of America.xlsx.
$7.97 $9.57 $8.11 $7.35 $8.18 $7.34
$7.99 $8.83 $9.32 $9.86 $11.61 $11.32
Based on: http://www.bigcharts.com
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Describe the shape of this distribution.
{ table 3.7 | A Summary of the Advantages and Disadvantages of Using the Mean, Median, and Mode
Mean
Advantages
• Relatively easy to calculate • Easy to understand
Disadvantages
• May be heavily affected by extreme values
Median
Advantages
• Not affected by extreme values
Disadvantages
• Requires more effort to determine when compared with the mean
Mode
Advantages
• Can be used with categorical data
Disadvantages
• Might not exist in some data sets • Might not be unique (more than one mode may exist)
www.freebookslides.com
C h a p t e r 3 | 3.2 Measures of Variability 91
3.7 The following frequency distribution shows the various levels of demand for a particular laptop computer sold by Costco during the last 50 business days. Determine the average number of laptops sold per day.
Number of Laptops Frequency
0 14
1 8
2 8
3 12
4 5
5 3
3.8 The following table shows the 2009 carbon emissions, in tons per capita, for various countries around the world. These data can also be found in the Excel file titled emissions.xlsx.
Country Emissions Country Emissions
United States 17.7 Canada 16.2
Mexico 4.0 France 6.3
Italy 7.0 Russia 11.2
China 5.8 United Kingdom
8.4
Australia 19.6 Qatar 79.8
Brazil 2.1 Peru 1.3
India 1.4 Japan 8.6
Based on: International Energy Agency data.
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Which of these three measurements would best
describe the central tendency of the data? e. Describe the shape of this distribution.
3.9 The following data represent the exchange rates for the euro in terms of U.S. dollars from March 2011 until February 2013. These data can also be found in the Excel file titled Euro.xlsx.
1.40 1.44 1.43 1.44 1.43 1.43
1.38 1.37 1.36 1.32 1.29 1.32
1.32 1.32 1.28 1.25 1.23 1.24
1.29 1.30 1.28 1.31 1.33 1.35
Based on: http://www.oanda.com.
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Which of these three measurements would best
describe the central tendency of the data? e. Describe the shape of this distribution.
3.10 Mark McGwire, a former Major League Baseball player who broke Roger Maris’s single-season record for home runs in 1998, recently admitted to using performance-enhancing steroids, primarily during the second half of his 16-year career. McGwire claimed he used the steroids strictly for rehabilitation purposes and that they did not give him more power to hit home runs. The following data show the number of home runs McGwire hit during his first eight years of his career followed by the number hit during his last eight years.
1986–1993
3 49 32 33 39 22 42 9
1994–2001
9 39 52 58 70 65 32 29
For both data sets,
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Describe the shape of this distribution. e. What conclusions can be drawn concerning Mark
McGwire’s claim?
Measures of variability show how much spread is present in the data.
3.2 Measures of Variability Another way to describe a data set is through measures of variability, which determine how much spread is present in the data. For example, a student who gets A’s in half of his classes and F’s in the other half has the same GPA as a student who gets straight C’s. However, the first student—the one with more variability in his grades—has to retake many courses. The second student—the one with less variability—does not have to retake any courses and can graduate on schedule. In business, less variability is an indication of more consistency, which is usually more desirable, especially in the area of quality control. Recall my example earlier in the chapter regarding the filling process for Frosted Flakes and how troublesome high variability was.
The most common measures of variability are the range, variance, and standard devia- tion. Although these measures are not as widely used by the typical person as the mean and median, they are extremely important to those in the field of statistics.
www.freebookslides.com
92 C h a p t e r 3 | Calculating Descriptive Statistics
The following data set shows five online donations recently received by the American Red Cross:
$35 $10 $50 $20 $60
The range for these data is shown as follows:
Range = $60 - $10 = $50
The benefit of the range is that it is easy to calculate and understand. However, this measure of variability has the following two drawbacks: (1) It is based only on two numbers in the data set, and (2) it is highly affected by outliers. For instance, if the last donation were changed from $60 to $1,000, the range would be $1,000 - $10 = $990, instead of $50. The $990 range does not accurately reflect the overall variability of our donations because most of the values lie between $10 and $50.
Formula 3.5 for the range
Range = Highest value - Lowest value
The range, which is one measure of variability, can found by subtracting the lowest value from the highest value in the data set.
the range The range is the difference between the highest value and the lowest value in a data set. The range, which is the simplest measure of a distribution’s variability, can be found using Equation 3.5.
The range is the easiest measure of variability to calculate, but it has the most limitations, one being that it is highly affected by outliers.
Stats in practice: Using the range to Measure Volatility
Although the range as a measurement of variability has its limi- tations, it can be useful when measuring volatility of the stock market. If a volatile day for the stock market is defined as a swing of more than 200 points, we can use the daily range of the stock market index to identify volatile days. Figure 3.9 shows the number of volatile days in the stock market from 2000 until 2012.
The surge in volatile days from 2008 to 2011 reflects the uncer- tainty in the financial markets as the economy struggled through a significant recession. The quiet period seen in 2012 represents a more stable market as investors showed more confidence in the economy. In this example, we’ve demonstrated that we can use the range to conclude that the economy is showing signs of recovering from the recent financial turmoil.
{ figure 3.9 Number of Volatile Days in the Stock Market
the Variance and Standard Deviation A much more useful measure of variability is the variance, which is determined by using all of the data values rather than only the highest and lowest. The variance measures the vari- ability, or spread, of the data points in a set around the set’s mean. The formula for calculat- ing a variance will depend on whether your data set is a sample or a population. Next, we look at each scenario.
The variance measures the variability, or spread, of the data points in a set around the set’s mean.
www.freebookslides.com
C h a p t e r 3 | 3.2 Measures of Variability 93
where
s2 = The sample variance x = The sample mean n = The sample size (number of data values)
1xi - x2 = The difference between each data value and the sample mean Using our Red Cross donation data, we start the sample variance calculation by determining the sample mean:
x = 35 + 10 + 50 + 20 + 60
5 =
175
5 = 35
Table 3.8 summarizes the following steps used to calculate the variance:
Step 1. Calculate the mean of the data set.
Step 2. Subtract the mean 1x2 from each donation 1xi2 in order to find the distance, or difference, between the mean and each donation. The differences are shown in the third column of Table 3.8.
Step 3. Square the differences that we calculated in Step 2. The squared differences are shown in the fourth column of Table 3.8.
Step 4. Add up the squared differences in the fourth column in Table 3.8, which in our Red Cross example equals 1,700.
The Variance and Standard Deviation for a Sample If our data set is a sample from a larger population, the sample variance, s2, is found using Equation 3.6.
{ table 3.8 | Sample Variance Calculations for the Red Cross Donations
xi x 1xi − x2 1xi − x2 2 35 35 0 0
10 35 - 25 625 50 35 15 225
20 35 - 15 225 60 35 25 625
Total = a 5
i = 1 1xi - x22 = 1,700
We are now ready to calculate the sample variance by plugging our values into Equation 3.6:
s2 = a
n
i = 1 1xi - x22
n - 1 =
1,700
5 - 1 = 425
Your curious mind may be asking why we square the differences in Table 3.8. Well, I commend your curiosity. If we simply sum the differences between the mean and each data value (the third column in Table 3.8), we get the following:
a 5
i = 1 1xi - x2 = 0 + 1 - 252 + 15 + 1 - 152 + 25 = 0
Formula 3.6 for the sample Variance
s2 = a
n
i = 1 1xi - x22
n - 1
www.freebookslides.com
94 C h a p t e r 3 | Calculating Descriptive Statistics
This result will happen with any data set—the sum of these differences will always be zero. The negative differences cancel out the positive differences. By squaring the differ- ences, we remove the negative signs and get a true measure of the variation in our data set. This total squared difference is known as the sum of squares, which you will see more of in future chapters.
Now, I have a question for you: What is the unit of measure for the variance? Because the original data set is in dollars, and the variance calculation has squared the difference between each donation and the average donation, the unit of measure is dollars2 (dollars squared). I know this unit of measure sounds strange, which leads me to the next measure of variability, the standard deviation.
The standard deviation also measures the average distance between all of a set’s data points and the mean. However, a nice feature of the standard deviation is that unlike the variance, the unit is not squared. Consequently, it matches those of the original data.
Next, let’s look at how the standard deviation is calculated for a sample and then for a population.
The sample standard deviation, s, is the square root of the sample variance. Equation 3.7 shows the formula for finding the sample standard deviation.
The standard deviation is the square root of the variance. The unit of measure for the standard deviation is the same as the unit for the original data.
When all the data values in the sample are the same, the sample standard deviation equals zero.
Formula 3.7 for the sample standard Deviation
s = 2s2 = H ani = 11xi - x22n - 1 In our Red Cross donation example, the sample standard deviation is determined as follows:
s = 2s2 = 2425 = 20.62 Therefore, the standard deviation from our donation sample is $20.62. Feel better? As you can see from the variance and standard deviation equations, we are simply
measuring how far on average each data value is from the mean of the sample. The farther each value is from the mean, the larger a distribution’s variance and standard deviation are. To help you grasp this important concept, Table 3.9 calculates the standard deviation for a sample in which all five donations are $35. Because all five donations are $35, the mean (average) donation is also $35.
s = H ani = 11xi - x22n - 1 = A 05 - 1 = $0 Because there is no variability in the sample (all numbers are the same), the standard
deviation equals $0. Note that the variance and the standard deviation should never be negative values. If you obtain a negative result in your calculations, stop and go back to find your mistake.
The standard deviation is the most common and most important measure of variability throughout this text- book. Keep this section in mind for future reference!
{ table 3.9 | Sample Variance Calculations for the Red Cross Donations
xi x 1xi − x2 1xi − x2 2
35 35 0 0
35 35 0 0
35 35 0 0
35 35 0 0
35 35 0 0
a 5
i = 1 1xi - x22 = 0
www.freebookslides.com
C h a p t e r 3 | 3.2 Measures of Variability 95
where
a n
i = 1 x i
2 = The sum of each data value after it has been squared
a a n
i = 1 xib
2
= The square of the sum of all data values
n = The sample size
Short-Cut Formulas for the Sample Variance and Standard Deviation Now that I’ve tortured you with the nasty standard deviation equation, I’m going to show you a short-cut equation that gives you the same results with a little less work. I recommend using this method when you are calculating the variance and standard deviation manually.
Formula 3.9 for the sample standard Deviation (short-cut)
s = a ani = 1x i2 - a a n
i = 1 xib
2
n n - 1
Formula 3.8 for the sample Variance (short-cut)
s2 = a
n
i = 1 x i
2 - a a
n
i = 1 xib
2
n
n - 1
where
a n
i = 1 x i
2 = The sum of each data value after it has been squared
a a n
i = 1 xib
2
= The square of the sum of all data values
n = The sample size
I can imagine the look on your face right now. It’s the same expression that I get from my students when I show them this so-called short-cut method. I admit that these equations appear nastier than the first ones we used, but before you call me crazy, let me demonstrate why they really aren’t, using our Red Cross data.
The following steps, summarized in Table 3.10 for our Red Cross data, are used to cal- culate the variance using the short-cut formula:
Step 1. Sum up the total of the data values 1xi2, shown in the first column of Table 3.10. For our Red Cross example, the sum of the donations is a
5
i = 1 xi = 175.
Step 2. Square the result of Step 1. For our Red Cross example, the squared sum of the
donations is a a n
i = 1 xib
2
= 117522 = 30,625. Step 3. Square each value from the first column 1x i22. The squared values are shown in the
second column of Table 3.10.
Step 4. Sum up the values in the second column of Table 3.10. For our Red Cross example,
the sum of the squared donations is a 5
i = 1 x i
2 = 7,825.
I recommend using this short-cut equation when calculating the standard deviation by hand, especially when the sample size is relatively large.
www.freebookslides.com
96 C h a p t e r 3 | Calculating Descriptive Statistics
Now carefully plug in the values from Table 3.10 into Equation 3.8. Note that n = 5 because we have five donations in our sample.
s2 = a
n
i = 1 x i
2 - a a
n
i = 1 xib
2
n
n - 1 =
7,825 - 30,625
5
5 - 1 =
7,825 - 6,125 4
= 425
This result matches the sample variance we found earlier with less work. The short-cut method for calculating the variance by hand is less work than using Equation 3.6 because you don’t have to (1) calculate the sample mean and (2) subtract the sample mean from each and every observation. These benefits become more substantial as the number of data points in the sample increases.
The Variance and Standard Deviation for a Population If our data set represents an entire population rather than a sample from a population, the variance is determined using Equation 3.10.
Formula 3.10 for the population Variance
s2 = a N
i = 1 1xi - m22
N
Formula 3.11 for the population standard Deviation
s = R aNi = 11xi - m22N
{ table 3.10 | Sample Variance Calculations for the Red Cross Donations (Short-Cut Method)
data value 1xi2 data value squared 1xi22 35 1,225
10 100
50 2,500
20 400
60 3,600
Sum of the data values: a 5
i = 1 xi = 175 Sum of the squared data values: a
5
i = 1 x i
2 = 7,825
Squared sum of the data values: a a n
i = 1 xib
2
= 117522 = 30,625
To calculate a n
i = 1 xi
2 (the sum of
the squared values), square each data value and then add up the squared terms. To calculate
a a n
i = 1 xi b
2
(the square of the sum),
add up all the data values first and then square that sum.
The variance and the standard deviation should never be negative values. If you obtain a negative result in your calculations, stop and go back to find your mistake.
where
s2 = The population variance m = The population mean N = The population size
1xi - m2 = The difference between each data value and the population mean The population standard deviation would simply be the square root of Equation 3.10.
www.freebookslides.com
C h a p t e r 3 | 3.2 Measures of Variability 97
where
a N
i = 1 x i
2 = The sum of each data value after it has been squared
a a N
i = 1 xib
2
= The square of the sum of all data values
For example, suppose that at your school there are six statistics classes with the follow- ing student sizes:
34 25 41 32 25 29
These data would be considered a population because all current classes are included. Table 3.11 summarizes the population variance calculations.
Formula 3.12 for the population Variance (short-cut)
s2 = a N
i = 1 x i
2 - a a
N
i = 1 xib
2
N
N
{ table 3.11 | Population Variance Calculations for the Class Size
data value 1xi2 data value squared 1xi22 34 1,156
25 625
41 1,681
32 1,024
25 625
29 841
Sum of the data values: a 6
i = 1 xi = 186 Sum of the squared data values: a
6
i = 1 x i
2 = 5,952
Squared sum of the data values: a a 6
i = 1 xib
2
= 118622 = 34,596
Rather than use these equations to calculate the population variance and standard devia- tion, I present the population short-cut versions to make your life easier.
As with our previous example, we plug the results from Table 3.11 into Equation 3.12 to obtain the population variance for our class sizes.
s2 = a N
i = 1 x i
2 - a a
N
i = 1 xib
2
N
N =
5,952 - 34,596
6
6 =
5,952 - 5,766 6
= 31
Formula 3.13 for the population standard Deviation (short-cut)
s = a aNi = 1x i2 - a a N
i = 1 xib
2
N N
www.freebookslides.com
98 C h a p t e r 3 | Calculating Descriptive Statistics
Measures of sample variability can also be determined using the Data Analysis Add-In. The following steps describe this procedure using our Red Cross donation data:
1. Place the Red Cross donation data in Cells A1 through A5.
2. Select Data + Data Analysis. 3. In the Data Analysis dialog box, select Descriptive Statistics and click OK.
4. In the Descriptive Statistics dialog box, click on the text box for Input Range: and select Cells A1:A5.
5. Click on the text box for Output Range: and select Cell C1.
6. Check Summary statistics, and click OK.
Figure 3.11 shows the Data Analysis output for our Red Cross example. The spreadsheet shows the sample standard deviation, variance, and range values in red that we calculated earlier in this section.
The population standard deviation is simply the square root of the population variance.
s = 2s2 = 231 = 5.57 students Using Excel to Calculate the Variance and Standard Deviation We can also rely on Excel to calculate the sample variance and standard deviation from our Red Cross example, as shown in Figure 3.10. The Excel functions for the sample variance and standard deviation are shown here. Notice the letter S in VAR.S and STDEV.S, which indicates “sample.”
= VAR.S1data values2 = STDEV.S1data values2
{ figure 3.10 Calculating the Sample
Variance and Standard Deviation Using Excel Formulas
{ figure 3.11 Calculating the Sample
Variance and Standard Deviation Using Excel Data Analysis
Excel also provides the following functions to calculate the population variance and standard deviation, for our class size example as shown in Figure 3.12. Notice the letter P in VAR.P and STDEV.P, which indicates “population.”
= VAR.P1data values2 = STDEV.P1data values2
www.freebookslides.com
C h a p t e r 3 | 3.2 Measures of Variability 99
Why Divide by n − 1 for the Sample Variance? A common question that my students often ask is why the denominator in the population variance equation is N and the denominator for the sample variance equation is n - 1? As you will see in later chapters, we use the sample variance to provide a good estimate for the population variance. This is because we rarely know the population variance but we always have enough information to calculate the sample variance. As it turns out, using n - 1 in the denominator for the sample variance in Equation 3.6 is a much better estimate of the true population variance when compared to dividing by n. There are two ways to convince you of this phenomenon. The first way is to use a mathematical proof which will cause your eyes to glaze over and send your mind off to some faraway place. Or I can use a numerical example that might possibly result in an “ahha moment.” I choose the latter.
Suppose I play the following game with my two-year old grandson, Caleb. I have three plastic cups turned upside down on the table in which I have hidden one, three, and five M&Ms, respectively. After moving the cups around on the table like a shell game, Caleb gets to pick one cup and eat the contents of his choice. (I’m assuming his mother will not be reading this. After all, that’s what grandparents are for!) What I have described is a popula- tion with values 1, 3, and 5 1N = 32 with the following mean and variance:
m = a N
i = 1 xi
N =
1 + 3 + 5 3
= 3
s2 = a N
i = 1 1xi - m22
N =
11 - 322 + 13 - 322 + 15 - 322 3
= 8
3 = 2.67
After replacing the M&M’s that Caleb has eaten from his first choice, I move the cups around and we repeat the game one more time. At this point, I have drawn a sample size of two from this population 1n = 22 by allowing Caleb to pick a cup twice. The real challenge is to now convince Caleb that the game is over. Table 3.12 shows the following information:
Column 1: All of the possible combinations of M&M’s that Caleb will eat after twice choosing a cup.
Column 2: The sample mean for each of the combinations in Column 1 using Equation 3.2.
{ figure 3.12 Calculating the Population
Variance and Standard Deviation Using Excel Formulas
The following data represent the number of books that seven adults have read during the past 12 months. Determine the variance and standard deviation of these data.
10 10 4 8 13 6 11
A local PNC Bank branch employs eight employees whose ages are shown here. Determine the variance and standard deviation of these data.
32 40 27 29 34 38 46 24
Y o U r t U r n # 4N
Answers can be found on u page 141
Before you go any further in this chapter, try your hand at calculating the variances and standard deviations in the next Your Turn box.
www.freebookslides.com
100 C h a p t e r 3 | Calculating Descriptive Statistics
Column 3: The sample variance for each of the combinations in Column 1 using Equation 3.6.
Column 4: The result of replacing n - 1 with n in the denominator of Equation 3.6.
The variance calculations for the first two samples in this table are shown for you.
{ table 3.12 | Possible Combinations of Choosing a Sample of Size Two from a Population of Size Three
(1) (2) (3) (4)
possible combinations sample mean sample variance
x = a
n
i = 1 xi
n s2 =
a n
i = 1 1xi - x22
n - 1
a n
i = 1 1xi - x22
n
11,12 1 11 - 122 + 11 - 122 2 - 1
= 0 11 - 122 + 11 - 122
2 = 0
11,32 2 11 - 222 + 13 - 222 2 - 1
= 2 11 - 222 + 13 - 222
2 = 1
11,52 3 8 4 13,12 2 2 1 13,32 3 0 0 13,52 4 2 1 15,12 3 8 4 15,32 4 2 1 15,52 5 0 0
If the sample variance is a good estimate of the true population variance, then I would expect that the average sample variance from all nine samples (Column 3) in Table 3.12 would be equal to the population variance. Let’s check it out:
Average Sample Variance = 0 + 2 + 8 + 2 + 0 + 2 + 8 + 2 + 0
9 =
24
9 = 2.67
Even though none of the sample variances in Column 3 of Table 3.12 equals the popula- tion variance (2.67), their average does equal 2.67. Because if this phenomenon, we call the sample variances found in Column 3 unbiased estimators of the population variance.
The same can’t be said for the average of Column 4 where we used n rather than n - 1 in the denominator:
Average of Column 4 = 0 + 1 + 4 + 1 + 0 + 1 + 4 + 1 + 0
9 =
12
9 = 1.33
I hope this little demonstration convinced you that using n - 1 in the denominator of the sample variance calculation provides a better estimate of the true population variance in comparison to using n. (Special thanks to Caleb Nelson for his invaluable participation in this highly important experiment.)
The sample variance is an unbiased estimator of the population variance because we would expect the average of many sample variances taken from a population would be equal to the true population variance.
Caleb might not understand statistics (yet) but he sure loves finding five M&Ms!
www.freebookslides.com
C h a p t e r 3 | 3.3 Using the Mean and Standard Deviation Together 101
3.2 Section Problems Basic Skills 3.11 Consider the following sample data values:
18 12 7 10 15 12 6 12 14
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.12 Consider the following sample data values:
5 11 17 23 14 16 11 17
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.13 Consider the following population data values:
14 41 0 20 26 38 8
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.14 Consider the following population data values:
25 18 - 7 10 34 - 12 a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
applications 3.15 A local Holiday Inn asked customers to rate their stays on
a scale of 1–10. The following list shows the ratings given by the last 10 customers:
8 8 7 10 6 9 5 7 6 8
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.16 The following list represents the number of absent students from my last nine statistics classes:
2 4 0 1 6 1 3 2 3
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.17 Every 10 years, the U.S. Census Bureau asks people about the number of people living within their households. The following list shows how eight households responded to the question.
5 1 2 6 4 4 3 5
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.18 The following values represent the number of iPhones sold per day at a local AT&T retail store during the last 10 business days:
14 5 6 11 18 10 10 12 3 15
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.19 The following list shows the starting salaries, in thousands of dollars, for 11 recent college graduates with business degrees:
36 32 40 35 32 41 35 44 38 37 40
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.3 Using the Mean and Standard Deviation Together
The standard deviation is a common measure of consistency in business applications, particularly in the area of quality control. Let’s go back to our Frosted Flakes example from earlier in the chapter, where we sampled five 18-ounce boxes and weighed the contents. Sample 1 in Table 3.13 represents the sample that caused customers to complain about missing Frosted Flakes. The mean of the sample appears to be satisfactory at 18.1 ounces. Consequently, you figured the pop- ulation of boxes was OK, which cost you your job. The problem lies with too much variability in the sample, which is reflected by a standard deviation of 4.23 ounces. Sample 2 in Table 3.13 is a more acceptable sample from a quality control perspective. The sample mean is still 18.1 ounces, but the variability is much lower: The standard deviation is only 0.12 ounces. The standard devia- tion calculations are also shown in Table 3.13. This example demonstrates the fact that the sam- ple mean alone does not provide sufficient information in a quality control setting. The sample standard deviation must also be investigated to confirm the filling process is working properly.
www.freebookslides.com
102 C h a p t e r 3 | Calculating Descriptive Statistics
{ table 3.13 | Frosted Flakes Samples: The Mean vs. the Standard Deviation
sample 1 (OZ) sample 2 (OZ)
Box 1 14.2 18.2
Box 2 19.6 17.9
Box 3 22.7 18.1
Box 4 13.1 18.1
Box 5 20.9 18.2
Mean 18.1 18.1
Standard deviation 4.23 0.12
In quality control settings, businesses prefer a smaller standard deviation, which is an indication of more consistency in the process.
In this example, we were able to compare two different standard deviations because the means from both samples were identical. When sample means are very different, com- paring standard deviations can be misleading. This is because the size of the standard deviation is affected by the scale of the data. Larger data values will tend to generate larger standard deviations. This scenario is covered in the following section.
the Coefficient of Variation The coefficient of variation, CV, measures a distribution’s standard deviation in terms of its percentage of the mean. A high CV is an indication of high variability, or less consistency, in the data. In other words, the data points vary widely among themselves.
Comparing the consistency between two data sets when their means are very differ- ent is best done with the coefficient of variation. It is a useful measure because two different data sets are likely to have different means. The coefficient of variation gives us a common
The coefficient of variation, CV, measures the standard deviation in terms of its percentage of the mean.
sample 1 sample 2
x 1oz2 x2 1oz2 2 x 1oz2 x2 1oz2 2 14.2 201.64 18.2 331.24
19.6 384.16 17.9 320.41
22.7 515.29 18.1 327.61
13.1 171.61 18.1 327.61
20.9 436.81 18.2 331.24
Total 90.5 1,709.51 90.5 1,638.11
sample 1 sample 2
s1 = a ani = 1x i2 - a a n
i = 1 xib
2
n
n - 1 s2 = a ani = 1x i2 - a a
n
i = 1 xib
2
n
n - 1
s1 = H 1,709.51 - 190.52255 - 1 s1 = H 1,638.11 - 190.52255 - 1 s1 = 4.23 oz s2 = 0.12 oz
www.freebookslides.com
C h a p t e r 3 | 3.3 Using the Mean and Standard Deviation Together 103
Formula 3.14 for the Sample Coefficient of Variation
CV = s
x 11002
where
s = The sample standard deviation x = The sample mean
Formula 3.15 for the Population Coefficient of Variation
CV = s
m 11002
where
s = The population standard deviation m = The population mean As you can see, the coefficient of variation measures the standard deviation in terms of
its percentage of the mean. When comparing two samples, the smaller CV indicates more consistency (or less variability) within the sample or population.
To demonstrate this approach, let’s compare the stock price of Nike to that of Google during the same six-month period to determine which company’s stock price was more con- sistent. Table 3.14 shows the stock prices along with the mean and standard deviation for each of the two stocks.
A smaller coefficient of variation indicates more consistency within a set of data values.
{ table 3.14 | Stock Prices for Nike and Google
date nike ($) gOOgle ($)
September 14, 2012 48.32 709.68
October 15, 2012 47.81 740.98
November 15, 2012 45.42 647.26
December 14, 2012 48.46 701.96
January 15, 2013 53.64 724.93
February 15, 2013 54.95 792.89
Mean 49.77 719.62
Standard deviation 3.70 47.96
Based on: http://www.bigcharts.com.
measure—a percentage—we can use to compare the two sets. That way, instead of compar- ing apples to oranges, we can compare apples to apples (or oranges to oranges, depending on the fruit you prefer).
Equation 3.14 shows the formula for the coefficient of variation for a sample. Equation 3.15 shows the formula for the coefficient of variation for a population.
www.freebookslides.com
104 C h a p t e r 3 | Calculating Descriptive Statistics
The coefficient of variation for each sample is computed as follows:
Nike: CV = s
x 11002 = $3.70
$49.77 11002 = 7.4%
Google: CV = s
x 11002 = $47.96
$719.62 11002 = 6.7%
Even though Google’s stock price has a higher standard deviation than Nike’s does, it is more consistent because its coefficient of variation is lower. Take this opportunity to check out the following Your Turn box. Here you will have the chance to compare the home-run consistency of two Major League Baseball players. Sounds like fun to me!
The following table shows the number of home runs hit by Jimmy Rollins and Albert Pujols over eight consecutive Major League Baseball seasons. These data can also be found in the Excel file titled homerun cv.xlsx. Who was the more consistent home-run hitter?
Year Rollins Pujols
2005 12 41
2006 25 49
2007 30 32
2008 11 37
2009 21 47
2010 8 42
2011 16 37
2012 23 30
Based on: http://www.espn.com.
Answer can be found on u page 142
Y o u r t u r n # 5N
Stats in practice: Variability Is not always a Bad thing
Earlier in this section, we discussed the problems that a high variability causes in a quality control setting. However, there are situations in the business world in which variability is viewed positively. For instance, Herr Foods, a producer of a variety of salty snacks (including my favorite potato chips), performs taste tests to compare how consumers react to its products. A prod- uct such as horseradish cheddar chips is considered a polariz- ing product because it has a very strong taste. Consumers tend to rate the product very high or very low, which results in highly variable taste-test ratings for the product. A more standard product, such as regular tortilla chips, typically receives more consistent ratings. Suppose the following table shows how seven customers rated each product on a scale of 1–10. The mean and standard deviation for each sample are also shown in the table.
Horseradish Cheddar Chips
Tortilla Chips
4 8
10 8
10 7
3 8
10 8
9 10
10 7
Mean 8.0 8.0
Standard deviation 3.1 1.0
(continued)
www.freebookslides.com
C h a p t e r 3 | 3.3 Using the Mean and Standard Deviation Together 105
Formula 3.16 for the Population z-score
z = x - m s
the z-Score One of the most common measurements in statistics is the z-score, which identifies the num- ber of standard deviations a particular value is from the mean of its population or sample. Equation 3.16 shows how the z-score for a population is computed.
The z-score identifies the number of standard deviations a particular value is from the mean of its distribution.
I assure you that this equation will be used over and over again throughout this textbook, so be sure to become familiar with it.
Even though both products have the same average (mean) rat- ing, the horseradish cheddar results are viewed more positively from a marketing perspective because of the higher standard deviation. Herr Foods does not consider high variability in the testing scores a problem if the product has a strong flavor.1
where
x = The data value of interest m = The population mean s = The population standard deviation If our data are from a sample, we would use Equation 3.17 to compute the z-score.
where
x = The data value of interest x = The sample mean s = The sample standard deviation To illustrate z-scores, we’ll use Table 3.15, which shows the number of calories contained
in a sample of fast-food hamburgers. Also shown are the mean and standard deviation for the sample, which you can verify using Excel. (Try not to drool lest you get your textbook wet.)
Formula 3.17 for the Sample z-score
z = x - x
s
{ table 3.15 | Calories for Various Fast-Food Hamburgers
hamburger type restaurant calOries
Cheeseburger McDonald’s 300
Single with everything Wendy’s 430
Big Mac McDonald’s 540
Whopper Burger King 670
Bacon cheeseburger Sonic 780
Baconator Wendy’s 840
Triple whopper with cheese Burger King 1,230
2>3 lb. Monster thickburger Hardee’s 1,420 Sample Mean 776.3
Sample Standard Deviation 385.1
1 Special thanks to Don Kirkley from Herr Foods for providing this material.
www.freebookslides.com
106 C h a p t e r 3 | Calculating Descriptive Statistics
Let’s calculate the z-score for the Triple Whopper with Cheese using Equation 3.17:
z = x - x
s =
1,230 - 776.3 385.1
= 453.7
385.1 = 1.18
What does the number 1.18 tell us? Well, our Triple Whopper w/Cheese is 453.7 calories above the sample mean. If one standard deviation is 385.1 calories, then our burger is slightly more than one standard deviation (1.18) above the sample mean.
The z-score for the Big Mac demonstrates this concept for values below the mean:
z = x - x
s =
540 - 776.3 385.1
= - 236.3 385.1
= - 0.61
The Big Mac is 236.3 calories below our sample mean, which translates to - 0.61 standard deviations. Our z-score is negative, indicating our data value is lower than the sample mean.
Had one of our hamburgers in our sample been exactly 776.3 calories, the z-score for this selection would be as follows:
z = x - x
s =
776.3 - 776.3 385.1
= 0
385.1 = 0.0
In general, z-scores will always have the following attributes:
• Positive for values above the mean
• Negative for values below the mean
• Zero for values equal to the mean
The z-score is analogous to expressing the original data in other units, such as convert- ing 2 feet to 24 in. In our example, the 540 calories for the Big Mac is being converted to a z-score of - 0.61. However, the z-score itself has no units, even though the original values will normally be expressed in units such as dollars, years, pounds, and calories.
The following Stats in Practice box highlights another use of the z-score.
Think of the z-score calculation as simply converting the value of x to a different set of units, like converting feet to inches.
Stats in practice: Comparing olympic performances
How does one compare great performances of athletes com- peting in different sports? Take, for example, the 2010 Winter Olympic Games in Vancouver. How does the performance of Switzerland’s Simon Ammann, who won the Large Hill Ski Jumping event by a margin of 14.2 points, compare to the United State’s Shani Davis, who won the 1,000-m Speedskat- ing event by 0.18 seconds? Which performance was more dominant?
This question was answered in the Wall Street Journal article titled “The Best Olympic Performances So Far” by Matthew Futterman. In order to compare performances across sporting events, we need to convert the winning scores to a common measurement scale. The z-scores that we have been discussing in this chapter provide the perfect solution.
Mr. Futterman calculated the z-scores for the winning time or score for Olympic events. These values represent the number of standard deviations the winning performance was from the average performance in that particular event. Congratulations to France’s Jay Vincent, who is credited with the most dominant performance of the 2010 Winter Olympics. His 12.2-second margin of victory in the 10K Sprint Biathlon event is 2.13 standard deviations below the average time in this event.
Now, back to our first question of whose performance was more dominant: Simon Ammann’s Large Hill Ski Jumping Event or Shani Davis’ 1,000-m Speedskating event. Ammann’s 14.2-point margin was 2.01 standard deviations above the average score whereas Shani Davis’ 0.18-second margin was less—1.81 standard deviations below the average time.
Based on: Matthew Futterman, “The Best Olympic Performances So Far,” Wall Street Journal, February 24, 2010, http://online.wsj.com.
Finally, we can use z-scores to identify outliers in the data set. Data values that have z-scores above +3 or below −3 are categorized as outliers. Table 3.16 shows the z-scores for the calories in each of our fast-food hamburgers.
Outliers are extreme values in the data set that require special consideration.
www.freebookslides.com
C h a p t e r 3 | 3.3 Using the Mean and Standard Deviation Together 107
None of the hamburgers listed in Table 3.16 would be classified as an outlier because all of the z-scores are within {3 standard deviations from the sample mean. Even the gut- busting, stroke-inducing Monster Thickburger didn’t qualify as an outlier because its z-score was only 1.67 standard deviations above the mean. (Please don’t use this as an endorsement to consume one!)
The STANDARDIZE function in Excel will calculate z-scores for us using Equation 3.17 and is executed as follows:
= STANDARDIZE1x, mean, standard deviation2 Using our Big Mac example, we have the following:
= STANDARDIZE1540, 776.3, 385.12 = - 0.61 In Chapter 8 we will use z-scores to explore how statistics can be used to make infer-
ences about a population based on a sample taken from that population. As I mentioned earlier, z-scores will be used extensively in this textbook. So file this information somewhere safe in your brain for easy access later.
the empirical rule The values of many large data sets sometimes cluster around the mean or median so that the data distribution in the histogram resembles a bell-shape, symmetrical curve. When this is the case, according to the empirical rule (sounds like a decree from the emperor) approxi- mately 68%, 95%, and 99.7% of the values will fall within { one, two, and three standard deviations of the mean, respectively. In other words, almost all of the values—99.7%—will fall within { three standard deviations of the mean. (The empirical rule is also sometimes called the 68-95-99.7 rule.)
For example, suppose that the average exam score for my large statistics class is 80 points, the standard deviation is 5.0 points, and the distribution of grades is bell-shaped around the mean, as shown in the shaded region in Figure 3.13. Because one standard deviation above the mean would be 85 180 + 52 and one standard deviation below the mean would be 75 180 - 52, the empirical rule tells us that approximately 68% of the exam scores will fall between 75 and 85 points.
We can also calculate these exam scores by rearranging Equation 3.16 in terms of x (the population) rather than z (the z-score), as shown in Equation 3.18 on the next page.
According to the empirical rule, if a distribution follows a bell-shaped, symmetrical curve centered around the mean, we would expect approximately 68%, 95%, and 99.7% of the values to fall within one, two, and three standard deviations above and below the mean, respectively.
{ table 3.16 | z-Scores for Fast-Food Hamburgers
hamburger type calOries
xi 1xi - x2 z Cheeseburger 300 - 476.3 - 1.24
Single with everything 430 - 346.3 - 0.90
Big Mac 540 - 236.3 - 0.61
Whopper 670 - 106.3 - 0.28
Bacon cheeseburger 780 3.7 0.01
Baconator 840 63.7 0.17
Triple whopper with cheese 1,230 453.7 1.18
2>3 lb. Monster thickburger 1,420 643.7 1.67
www.freebookslides.com
108 C h a p t e r 3 | Calculating Descriptive Statistics
We can find the exam scores that are one standard deviation above and below the mean by setting z = 1 and z = - 1.
x = m + zs x = 80 + 112152 = 85 x = 80 + 1 - 12152 = 75
The empirical rule applies only to bell-shaped curves that are relatively symmetrical.
{ figure 3.13 Percentage of Exam Scores That
Are One Standard Deviation Around the Mean
75 85
68%
80 907065 95 Exam Scores
The empirical rule also states that approximately 95% of the data values will fall within two standard deviations above and below the mean. In our example, the exam scores that are two standard deviations from the mean are as follows:
x = 80 + 122152 = 90 x = 80 + 1 - 22152 = 70
According to Figure 3.14, approximately 95% of the exam scores will be between 70 and 90 points.
If the data are bell-shaped and somewhat symmetrical, we expect practically all the data values to lie with three standard deviations from the center of the data.
{ figure 3.14 Percentage of Exam Scores That
Are Two Standard Deviations Around the Mean
75 85
95%
80 907065 95 Exam Scores
Taking this one final step, the empirical rule states that, under these conditions, approxi- mately 99.7% of the data values will fall within three standard deviations above and below the mean. In our example, the exam scores that are three standard deviations from the mean are as follows:
x = 80 + 132152 = 95 x = 80 + 1 - 32152 = 65
According to Figure 3.15, I would expect nearly all the exam scores to be between 65 and 95.
Formula 3.18 for Expressing the z-Score in Terms of x
x = m + zs
www.freebookslides.com
C h a p t e r 3 | 3.3 Using the Mean and Standard Deviation Together 109
This is further evidence that values outside three standard deviations around the mean are rare and are considered outliers.
Chebyshev’s theorem Chebyshev’s Theorem is a mathematical rule similar to the empirical rule except that it applies to any distribution rather than just bell-shaped, symmetrical distributions. The theorem states that for any z score greater than 1, the percent of the values that fall within z standard devia- tions above and below the mean will be at least the result obtained using Equation 3.19.
Chebyshev’s Theorem can be applied to any distribution regardless of its shape.
{ figure 3.15 Percentage of Exam Scores That
Are Three Standard Deviations Around the Mean
75 85
99.7%
80 907065 95 Exam Scores
Formula 3.19 for Chebyshev’s Theorem
a1 - 1 z 2 b * 100
So, according to the theorem, using Equation 3.19 we can state the following:
• When z = 2, at least a1 - 1 22
b * 100% = 75% of the data values will fall within two standard deviations above and below the mean.
• When z = 3, at least a1 - 1 32
b * 100% = 89% of the data values will fall within three standard deviations above and below the mean.
• When z = 4, at least a1 - 1 42
b * 100% = 94% of the data values will fall within four standard deviations above and below the mean.
In other words, regardless of whether a distribution is bell-shaped, at least 94% of the data values will fall within four standard deviations of the mean; at least 89% of the data values will fall within three standard deviations of the mean; and at least 75% of the data values will fall within two standard deviations of the mean. Chebyshev’s Theorem can be applied to any distribution of data but can only be stated for z scores that are greater than 1.
Let’s check out Chebyshev’s Theorem to see whether it really works. Airlines define turnaround time as the number of minutes required to prepare a plane for its next flight. Reducing this time is a key factor in the airline’s efforts to improve profitability in a very competitive market. Table 3.17 shows the turnaround times, in minutes, for a sample of 30 domestic flights.
Pafnuty Chebyshev (also known as Tchebysheff) was a Russian mathematician who lived from 1821–1894.
Chebyshev’s Theorem states that for any number z greater than 1, the percent of the values that fall within z standard deviations from the mean will be at least
a1 - 1 z 2 b * 100.
www.freebookslides.com
110 C h a p t e r 3 | Calculating Descriptive Statistics
Using Excel, we can determine the following:
x = 34.3 1sample mean2 s = 11.4 1sample standard deviation2
To verify that at least 75% of the observations fall within two standard deviations from the mean, we’ll rearrange Equation 3.17 in terms of x rather than z, as seen in Equation 3.20. We are using x and s here because our data represent a sample rather than a population.
{ table 3.17 | Turnaround Time (minutes)
73 64 57 49 49 45 41 39 38 38
37 37 37 36 36 34 34 34 34 34
33 31 31 30 30 29 27 27 27 25
25 25 25 25 25 23 23 22 22 21
Formula 3.20 for Expressing the z-Score (z) in Terms of x (Sample)
x = x + zs
We can find the turnaround times that are two standard deviations above and below the mean by setting z = 2 and z = - 2.
x = x + zs x = 34.3 + 122111.42 = 57.1 x = 34.3 + 1 - 22111.42 = 11.5
All but the top two turnaround times fall within this interval. Therefore, the percent of observations that falls within two standard deviations of the mean is as follows:
38
40 11002 = 95%
Because 95% is greater than 75%, Chebyshev’s Theorem holds true. Table 3.18 verifies that Chebyshev’s Theorem also holds true for three and four standard
deviations from the mean of our sample.
It’s important to remember that Chebyshev’s Theorem states that at least 75% of the data will be two standard deviations from the mean. Therefore, 95% satisfies the theorem.
{ table 3.18 | Verifying Chebyshev’s Theorem
z x s x + zs x - zs chebyshev’s percent actual percent 2 34.3 11.4 57.1 11.5 75 95
3 34.3 11.4 68.5 0.1 89 97.5
4 34.3 11.4 79.9 -11.3 94 100
As you can see in each case, the actual percent of values for 2, 3, and 4 standard deviations above and below the mean exceeds Chebyshev’s percent, which confirms the theorem works. One downside of using Chebyshev’s Theorem is that when it is applied to a bell-shaped, symmetrical distribution, it will tend to understate the percentage of observations that will fall within an interval. Now, to see if you have been paying attention, let’s see if you can handle the following Your Turn section before moving on in the chapter.
www.freebookslides.com
C h a p t e r 3 | 3.3 Using the Mean and Standard Deviation Together 111
1. Assume that the average tuition for a four-year, in-state public college is $7,000 per year with a standard deviation of $850 per year. Calculate the z-score for the following tuitions:
a. $6,000 b. $8,400
2. Assume that the average weekly rental charge for a compact car from Avis is $322 with a standard deviation of $25 per week and that the distribution for these data is bell-shaped. Find the interval of weekly charges that includes the following:
a. 68% of the car rentals around the mean b. 95% of the car rentals around the mean c. 99.7% of the car rentals around the mean
3. Assume that the average annual premium for health care insurance for an employee is $1,920 per year with a standard deviation of $160 per year and that the distribution of these data is not bell- shaped. Find the interval of annual premiums that will include at least the following:
a. 75% of the employees around the mean b. 85% of the employees around the mean (Hint: You’ll need to calculate z using Chebyshev’s
Theorem.) c. 94% of the employees around the mean
Y o u r t u r n # 6N
Answers can be found on u pages 142–143
3.3 Section Problems Basic Skills 3.20 Consider the following two sample data sets.
Set 1:
4 7 6 9 5
Set 2:
2 11 14 4 3
a. Calculate the coefficient of variation for each data set. b. Which data set has more variability?
3.21 Consider the following two sample data sets.
Set 1:
11 21 15 24 20
Set 2:
3 8 0 5 6
a. Calculate the coefficient of variation for each data set. b. Which data set has more variability?
3.22 Consider a sample with a mean equal to 40 and a standard deviation equal to 12. Calculate the z-scores for the fol- lowing values:
a. 50 b. 65 c. 35 d. 10
3.23 Consider the following sample data:
9 7 15 10 4 12
Calculate the z-scores for the following values:
a. 13 b. 16 c. 8 d. 4
applications 3.24 Assume the average price of a laptop computer is $800
with a standard deviation of $75. The following data represent the prices of a sample of laptops at Best Buy. Calculate the z-score for each of the following prices:
a. $699 b. $949 c. $625 d. $849 e. $999
3.25 The following data represent the number of minutes cus- tomers at Wendy’s had to wait in the drive-through line before their order was taken.
1 4 6 0 4 3 10 0 4
Calculate the z-scores for the following times:
a. 1 minute b. 3 minutes c. 7 minutes d. 12 minutes
3.26 Assume the average selling price for houses in a certain county is $325,000 with a standard deviation of $40,000.
a. Determine the coefficient of variation. b. Calculate the z-score for a house that sells for
$310,000. c. Using the empirical rule, determine the range of prices
that includes 95% of the homes around the mean. d. Using Chebyshev’s Theorem, determine the range of
prices that includes at least 94% of the homes around the mean.
3.27 The following data represent the number of touchdown passes per season thrown by the Benedict Arnold of the National Football League, Brett Favre (can you tell I’m
www.freebookslides.com
112 C h a p t e r 3 | Calculating Descriptive Statistics
3.4 Working with Grouped Data Back in Chapter 2, you learned about frequency distributions that were organized as grouped data instead of individual data points. We can calculate the mean, the variance, and the stan- dard deviation for this type of data using the following example.
A survey that collected demographic data from respondents asked for their ages as grouped data. This is often done to increase the likelihood of getting people to respond to surveys. People tend to feel more comfortable selecting an age category rather than owning up to their actual ages. The number of respondents in each age group is shown in Table 3.19.
{ table 3.19 | Number of Respondents and Their Age Groups
age group number of respondents 1fi2 20 to under 30 20
30 to under 40 41
40 to under 50 19
50 to under 60 9
60 to under 70 11
Total 100
The following sections will demonstrate the procedures for computing the mean, vari- ance, and standard deviation for the age of the respondents.
the Mean of Grouped Data To calculate the average age in our frequency distribution, we first need to find the midpoint for each range of ages. The midpoint is the halfway point in each age group. You can find it by taking the average of the endpoints for each class, or group. For example, the midpoint for the first group is found as follows:
20 + 30 2
= 25
Table 3.20 shows the midpoints for each class in our example.
The midpoint is the halfway point in each group and can be found by taking the average of the endpoints for each class.
a diehard Green Bay Packer fan?), during his first 18 seasons.
0 18 19 33 38 39 35 31 22
20 32 27 32 30 20 18 28 22
Verify that Chebyshev’s Theorem holds true by determin- ing the percent of observations that fall within { two and three standard deviations from the mean.
3.28 Assume the average age of an MBA student is 31.6 years old with a standard deviation of 2.8 years.
a. Determine the coefficient of variation. b. Calculate the z-score for an MBA student who is
28 years old.
c. Using the empirical rule, determine the range of ages that will include 99.7% of the students around the mean.
d. Using Chebyshev’s Theorem, determine the range of ages that will include at least 94% of the students around the mean.
e. Using Chebyshev’s Theorem, determine the range of ages that will include at least 80% of the students around the mean.
www.freebookslides.com
C h a p t e r 3 | 3.4 Working with Grouped Data 113
Equation 3.21 can be used to calculate the average age of this sample of grouped data.
{ table 3.20 | The Midpoints for the Respondents’ Age Groups
age group midpoint 1mi2 20 to under 30 25
30 to under 40 35
40 to under 50 45
50 to under 60 55
60 to under 70 65
Formula 3.21 for the Sample Mean: Grouped Data
x ≈ a
k
i = 1 1fimi2 n
where
fi = The frequency for class i mi = The midpoint for class i
n = a k
i = 1 fi (the total number of observations)
k = number of classes Did you notice the “squiggly” equal sign in Equation 3.21? This symbol indicates that this equation is only an approximation of the average age of the respondents. By grouping the ages, we are losing information about individual respondents. Because the midpoint approximates only the ages within each class, our final result is merely an approximation of the average age of all the respondents.
The approximate sample mean for our respondents’ ages is calculated as follows:
x ≈ a
k
i = 1 1fimi2 n
= 12021252 + 14121352 + 11921452 + 1921552 + 11121652
20 + 41 + 19 + 9 + 11
x ≈ 500 + 1,435 + 855 + 495 + 715
100 =
4,000
100 = 40 years
The average age of the respondents is about 40 years. If our grouped data are a population, the population mean is found using Equation 3.22.
Because the midpoint estimates only the ages in each class, the weighted average is only an approximate value.
Formula 3.22 for the Population Mean: Grouped Data
m ≈ a
k
i = 1 1fimi2 N
Equation 3.22 is identical to Equation 3.21, except m replaces x and N replaces n.
www.freebookslides.com
114 C h a p t e r 3 | Calculating Descriptive Statistics
the Variance and Standard Deviation of Grouped Data We can also determine the variability of grouped data. The sample variance for grouped data is computed using Equation 3.23.
Formula 3.23 for the Sample Variance: Grouped Data
s2 ≈ a
k
i = 1 1mi - x22fi n - 1
where
x = The approximate sample mean fi = The frequency for class i mi = The midpoint for class i
n = a n
i = 1 fi (the total number of observations)
k = number of classes
Table 3.21 summarizes the sample variance calculations for our respondents’ age example. Notice that we are using x = 40 from the previous section.
{ table 3.21 | Variance Calculations for the Respondents’ Ages
age mi fi 1x2 1mi - x2 1mi - x2 2 1mi − x 22fi 20–30 25 20 40 - 15 225 4,500
30–40 35 41 40 - 5 25 1,025
40–50 45 19 40 5 25 475
50–60 55 9 40 15 225 2,025
60–70 65 11 40 25 625 6,875
n = a fi = 100 a 1mi - x22fi = 14,900
s2 ≈ a
n
i = 1 1mi - x22fi n - 1
= 14,900
100 - 1 = 150.5
The sample standard deviation for the respondents’ ages is
s = 2s2 ≃ 2150.5 = 12.3 years If our data represent a population, the variance equation is calculated using Equation 3.24.
The standard deviation of grouped data is also just an estimate, for the same reasons the mean is.
Formula 3.24 for the Population Variance: Grouped Data
s2 ≈ a
k
i = 1 1mi - m22fi
N
Equation 3.24 is identical to Equation 3.23, except that m replaces x and N replaces n - 1. Now work the following Your Turn problem to see if you understand the procedure for
calculating the mean and standard deviation of grouped data.
www.freebookslides.com
C h a p t e r 3 | 3.4 Working with Grouped Data 115
3.4 Section Problems Basic Skills 3.29 Consider the following grouped sample data:
Values Frequency
0 to under 2 4
2 to under 4 2
4 to under 6 9
6 to under 8 7
a. Calculate the approximate mean of these sample data. b. Calculate the approximate standard deviation of these
sample data.
3.30 Consider the following grouped sample data:
Values Frequency
5 to under 10 15
10 to under 15 9
15 to under 20 21
20 to under 25 24
25 to under 30 6
a. Calculate the approximate mean of these sample data. b. Calculate the approximate standard deviation of these
sample data.
3.31 Consider the following grouped sample data:
Values Frequency
10 to under 30 26
30 to under 50 35
50 to under 70 51
70 to under 90 33
a. Calculate the approximate mean of these sample data. b. Calculate the approximate standard deviation of these
sample data.
applications 3.32 A survey that collected demographic data from respon-
dents asked them to categorize their annual incomes (in thousands of dollars) into the groups in the following table. The number of respondents for each income group is also shown in the table.
Income Number of Respondents
$20 to under $30 67
$30 to under $40 111
$40 to under $50 125
$50 to under $60 21
$60 to under $70 38
a. Calculate the approximate average income of the respondents.
b. Calculate the approximate variance and standard devia- tion of the incomes of the respondents.
3.33 A walk-in clinic for emergency room services maintains records of the number of patients it treats per day. The following table shows the frequency of the patient arrivals over the course of a 150-day period:
Number of Patients per Day Frequency
20 to under 40 10
40 to under 60 16
60 to under 80 25
80 to under 100 65
100 to under 120 34
a. Calculate the approximate average number of patients per day.
b. Calculate the approximate variance and standard devia- tion of the number of patients per day.
3.34 The Olive Garden Italian Restaurant records the amount of time customers wait for a table on Saturday evenings.
The following table summarizes the GPAs of a sample of MBA students graduating from Goldey-Beacom College this year. Calculate the mean GPA of the class, along with the variance and standard deviation.
GPA Frequency
3.0 to under 3.2 6
3.2 to under 3.4 8
3.4 to under 3.6 6
3.6 to under 3.8 14
3.8 to 4.0 6
Y o u r t u r n # 7N
Answer can be found on u page 143
www.freebookslides.com
116 C h a p t e r 3 | Calculating Descriptive Statistics
3.5 Measures of Relative Position In addition to central tendency, data can also be described in terms of relative position, which compares the position of one value in relation to other values in the data set. Percentiles and quartiles are the most common measures of relative position.
percentiles Percentiles measure the approximate percentage of values in the data set that are below the value of interest. Standardized test scores are often reported in terms of percentiles. For ex- ample, when my daughter Christin informed me that she scored a 36 on the MCAT, which is the admission test for medical schools, I wasn’t sure how to respond. However, when she explained to me that this score was in the 97th percentile, I then realized it was time to celebrate because she did better than at least 97% of the students who took the test. (It looks like there’s going to be another Dr. Donnelly in the family!)
The formal definition of the p th percentile of a data set (where p is any number between 1 and 100) is the value that at least p percent of the observations will fall below.
Some of my students confuse percentiles with percentages, so be careful not to make this mistake. In the MCAT example, the maximum score is a 45. Christin’s percentage score is therefore 36>45 = 80%, which is not the same as the 97th percentile.
There’s more than one way to determine percentiles manually, and the results from the various approaches differ slightly. I’ll present the same method used to determine the median, which uses the index point.
To demonstrate the manual technique for determining percentiles, we’ll use the following data. The numbers are the total seconds 15 customers of PNC Bank took to complete their ATM transactions. Let’s determine the value that represents the 70th percentile.
124 137 88 156 66 142 96 122
69 107 104 87 111 93 99
We first need to sort our data from lowest to highest, as shown in Table 3.22, and indicate their position.
Measures of relative position compare the position of one value in relation to other values in the data set.
Percentiles measure the approximate percentage of values in the data set that are below the value of interest.
The pth percentile of a data set (where p is any number between 1 and 100) is the value that at least p percent of the observations will fall below.
Percentiles and percentages are not the same thing. Be sure you understand the difference.
The median, discussed earlier in this chapter, is the 50th percentile.
The following table lists the frequency of wait times for the last 100 customers.
Number of Minutes per Customer Frequency
0 to under 10 6
10 to under 20 22
20 to under 30 10
30 to under 40 18
40 to under 50 28
50 to under 60 16
a. Calculate the approximate average wait time per customer.
b. Calculate the approximate variance and standard devia- tion of the wait time per customer.
3.35 The following data represent the number of home runs Hank Aaron hit each year during his 23-year baseball career.
13 27 26 44 30 39 40 34 45 44 24 32
44 39 29 44 38 47 34 40 20 12 10
a. Calculate the mean and standard deviation of these data.
b. Group these data into four classes with class boundar- ies of 10 to under 20, 20 to under 30, 30 to under 40, and 40 to under 50.
c. Calculate the approximate mean and standard deviation of these grouped data.
d. Explain the difference in the results of part c from those of part a.
www.freebookslides.com
C h a p t e r 3 | 3.5 Measures of Relative Position 117
where
P = The percentile of interest n = The number of data values Because we have 15 ATM observations and we are looking for the 70th percentile,
i = P
100 1n2 = 70
100 1152 = 10.5
However, 10.5 is not a whole number. So what do we do? We follow the same rule that we used to determine the median:
• If i is not a whole number, round i to the next whole number. The ith position represents our value of interest.
• If i is a whole number, the midpoint between the ith and i + 1 position is our value of interest.
Because i = 10.5, the 70th percentile is the data value in the 11th position, which is 122 seconds. In other words, 122 seconds constitutes the 70th percentile. Thus, 70% of the data values in the set are below 122 seconds.
Another red flag here—some students will mistakenly claim that the 70th percentile is 11. Remember, the index point, i, is not the value of interest. It is merely the position of the value of interest in our sorted data.
Excel will calculate percentiles for us with the PERCENTILE.EXC function:
= PERCENTILE.EXC1array, k2 where
array = The data range of interest k = The percentile of interest between 0 and 1 inclusive
Figure 3.16 illustrates how this function is used to find the 70th percentile for our ATM example, with the result shown in Cell D1.
To demonstrate the use of our second index rule, we’ll find the 40th percentile from our ATM example using the following equation:
i = P
100 1n2 = 40
100 1152 = 6
Pay close attention to these two rules for finding the position of the percentile of interest.
Be sure not to confuse the value of i for the percentile. The value of i represents the position of the percentile, not the value of the percentile.
{ table 3.22 | Sorted ATM Times (in Seconds)
time position time position
66 1 107 9
69 2 111 10
87 3 122 11
88 4 124 12
93 5 137 13
96 6 142 14
99 7 156 15
104 8
Next, we need to identify the index point, , by using the Equation 3.25.
Formula 3.25 for the Index Point for the pth Percentile
i = P
100 1n2
www.freebookslides.com
118 C h a p t e r 3 | Calculating Descriptive Statistics
{ figure 3.16 Excel’s PERCENTILE.EXC
Function
Because i = 6, the 40th percentile is the data value midway between the sixth (96) and seventh (99) positions in Table 3.22, as the following calculation shows:
40th percentile = 96 + 99
2 = 97.5 seconds
Notice that the percentile does not need to be an actual value in the data set. Now, let’s throw this procedure in reverse. In the previous example, we determined
the value in the data set that corresponds to a certain percentile. Now, I’ll show you how to determine the percentile rank, which identifies the percentile of a particular value within a set of data (sounds pretty exciting to me).
Table 3.23 shows the credit scores for 16 individuals. These data can also be found in the Excel file titled percentile rank.xlsx.
Excel’s value for the 70th per centile (122.4) is slightly different from the value for the 70th percentile we obtained by hand (122) because Excel uses a different method to calculate percentiles.
The percentile rank identifies the percentile of a particular value within a set of data.
{ table 3.23 | Credit Scores
name score name score
Lori 726 Marc 690
Chris 643 Kendra 747
John 777 Peter 618
Sam 695 Jordan 701
Katie 796 Teresa 660
Carole 743 David 716
Irina 642 Gia 742
Lisa 819 Ryan 682
Let’s determine the percentile rank for John, who has a credit score of 777. First, we need to sort the data from lowest to highest, as follows. The point total for John is highlighted in red.
618 642 643 660 682 690 695 701
716 726 742 743 747 777 796 819
Next, we count the number of people who have a lower credit score than John which is 13. To find the approximate percentile rank for John, we use the Equation 3.26.
Formula 3.26 for the Percentile Rank
Percentile Rank = 1Number of values below x2 + 0.5
Total number of values 11002
www.freebookslides.com
C h a p t e r 3 | 3.5 Measures of Relative Position 119
{ figure 3.17 Excel’s PERCENTRANK.EXC
Function
We can use percentile ranks to compare two different values from two different data sets. Table 3.24 lists the exam scores from a math class and a physics class. A particular student scored an 88 on her math test and a 76 on her physics test. Which of her two exam scores is higher relative to those of her classmates? To answer this question, we need to find the percentile ranks.
Excel’s value for the 86th percentile is different from the value for the 84th percentile we obtained by hand because Excel uses a different method to calculate percentile ranks.
Percentile ranks are very useful when comparing values from two different data sets.
{ table 3.24 | Exam Scores
math exam scores
59 62 66 69 72 72 75 75 78 81 83 84 85
86 88 89 90 91 92 93 94 94 95 97 98
physics exam scores
47 48 53 56 57 58 60 61 61 62 63 64 71
72 74 75 76 82 89 95
There are a total of 25 math scores, of which 14 are below an 88. Therefore, the approximate math percentile rank is as follows:
Percentile Rank = 1142 + 0.5
25 11002 = 14.5
25 11002 = 58th
There are a total of 20 physics scores, of which 16 are below a 76. Therefore, the approximate physics percentile rank is as follows:
Percentile Rank = 1162 + 0.5
20 11002 = 16.5
20 11002 = 83th
Even though the student’s math score (88) was higher than her physics score (76), the student performed better on the physics test relative to her classmates because of the higher percentile rank.
In our example, the x in the equation stands for John’s credit score of 777. Because we know there are 13 people with credit scores less than 777, we can calculate John’s percentile rank as follows:
Percentile Rank = 1132 + 0.5
16 11002 = 13.5
16 11002 = 84th
John’s credit score of 777 puts him in the 84th percentile, which places him above at least 84% of this group of 16 people.
Excel will also calculate the percentile rank with the PERCENTRANK.EXC function:
= PERCENTRANK.EXC1array, x, significance2 where
array = The data range of interest x = The value for which you want the percentile rank significance = the number of decimal places displayed for the percentile rank
Figure 3.17 shows how this function is used to find the percentile rank of John. The result is shown in Cell D1.
The percentile rank must be between 0 and 100.
www.freebookslides.com
120 C h a p t e r 3 | Calculating Descriptive Statistics
Quartiles Quartiles are simply specific percentiles of interest. The first quartile is the value that constitutes the 25th percentile, the second quartile is the value that constitutes the 50th percentile, and the third quartile is the value that constitutes the 75th percentile. The three quartiles are designated Q1, Q2, and Q3, respectively. The second quartile, Q2, is also the median, which was discussed earlier in the chapter.
Table 3.25 lists the number of mishandled baggage reports per 1,000 passengers from 1995 to 2012 during the month of July for the largest U.S. air carriers. These data can also be found in the Excel file titled mishandled bags.xlsx. Notice the upward trend from 2005 to 2007! This was a good time to drive to your vacation spot. Let’s find the three quartiles in these data.
The first, second, and third quartiles in a data set are the values for the 25th, 50th (median), and 75th percentiles, respectively.
{ table 3.25 | Mishandled Baggage Reports per 1,000 Passengers
year reports year reports
1995 5.18 2004 4.99
1996 5.30 2005 7.71
1997 4.82 2006 6.51
1998 5.09 2007 7.93
1999 5.75 2008 4.87
2000 5.64 2009 3.98
2001 4.48 2010 3.69
2002 3.99 2011 3.72
2003 4.37 2012 3.52
Based on: U.S. Department of Transportation data.
We’ll start by sorting our 18 values from lowest to highest:
3.52 3.69 3.72 3.98 3.99 4.37
4.48 4.82 4.87 4.99 5.09 5.18
5.30 5.64 5.75 6.51 7.71 7.93
We now can identify the index point for the first quartile. Using Equation 3.25 to determine the index point, we set P = 25 because the first quartile is the 25th percentile.
Index point for Q1: i = P
100 1n2 = 25
100 1182 = 4.5
Because 4.5 is a fraction, we round up like we did when we were trying to find the median in a data set. Doing so puts Q1 in the fifth position of our sorted data, which corresponds to 3.99.
Because the second quartile is the median, set P = 50 to find the index point for Q2.
Index point for Q2: i = P
100 1n2 = 50
100 1182 = 9
Q2 is the midpoint between the 9th (4.87) and 10th (4.99) position; therefore,
Q2 = 4.87 + 4.99
2 = 4.93
The index point for the third quartile, which is the 75th percentile, is shown as follows:
Index point for Q3: i = P
100 1n2 = 75
100 1182 = 13.5
www.freebookslides.com
C h a p t e r 3 | 3.5 Measures of Relative Position 121
Q3 is in the 14th position of our sorted data; therefore, Q3 = 5.64. Thus, the three quartiles were found to be as follows:
Q1 = 3.99 Q2 = 4.93 Q3 = 5.64
Excel will calculate quartiles with the QUARTILE.EXC function
= QUARTILE.EXC1array, quart2 where
array = The data range of interest quart = 1, 2, or 3 for the first, second, or third quartile, respectively Figure 3.18 shows how this function is used to find the quartiles for our mishandled
baggage example. The results are shown in Cells E2 through E4.
{ figure 3.18 Excel’s QUARTILE.EXC Function
Once again, the value shown in Cell E4 is slightly different from the results that we calculated manually because Excel uses a different technique to determine quartiles.
The interquartile range, IQR, describes the middle 50% of a range. We can find it by discarding the values in the upper and lower quartile ranges of the distribution so that only the middle values remain. To find the interquartile range, subtract the first quartile from the third quartile, as Equation 3.27 shows.
The interquartile range, IQR, describes the middle 50% of a range.
Formula 3.27 for the Interquartile Range
IQR = Q3 - Q1
The interquartile range for our mishandled baggage data is calculated as follows:
IQR = 5.64 - 3.99 = 1.65 What remains—1.65—represents the span of the IQR, or the range in which 50% of the values fall.
This is a good time to see if you “get it” by testing your percentile skills on this next Your Turn section.
Y o u r t u r n # 8 The following table lists the U.S. and Canadian box-office revenues for the highest grossing films of all time (in millions of dollars). These data can also be found in the Excel file titled boxoffice revenues.xlsx.
Film Adjusted Revenue* ($000,000) Gone with the Wind (1939) $1,538 Star Wars: A New Hope (1977) $1,355 The Sound of Music (1965) $1,084 E.T. the Extra-Terrestrial (1982) $1,080 The Ten Commandments (1956) $998 Titanic (1997) $977 Jaws (1975) $975 Doctor Zhivago (1965) $945 The Exorcist (1973) $841 Snow White and the Seven Dwarfs (1937) $829 One Hundred and One Dalmatians (1961) $760
N
www.freebookslides.com
122 C h a p t e r 3 | Calculating Descriptive Statistics
Film Adjusted Revenue* ($000,000) Star Wars: The Empire Strikes Back (1980) $747 Ben-Hur (1959) $746 Avatar (2009) $742 Star Wars: Return of the Jedi (1983) $716 The Sting (1973) $678 Raiders of the Lost Ark (1981) $671 Jurassic Park (1993) $656 The Graduate (1967) $651 Star Wars: The Phantom Menace (1999) $646 Fantasia (1941) $632 The Godfather (1972) $601 Based on: http://www.boxofficemojo.com.
*In U.S. dollars adjusted to the estimated 2010 average ticket price of $7.61.
Using these data, determine the following:
1. The three quartiles and the IQR 2. The 65th percentile 3. The percentile rank for the film The Sting (one of my favorites)
Answers can be found on u page 143
Box-and-Whisker plots A box-and-whisker plot is a graphical display showing the relative position of the three quartiles as a box on a number line. The display also shows the minimum and maximum values in the data set along with any extreme values, or outliers.
To illustrate the box-and-whisker plot, I’ll use the data in Table 3.26, which lists the number of visitors, in millions, for 15 U.S. National Parks during 2012. These data can also be found in the Excel file titled national parks.xlsx.
My wife, Deb, at a spot known as the Jump Off in the Great Smoky Mountain National Park.
{ table 3.26 | National Park Visitors, 2012
park number of visitors (in millions)
Great Smoky Mountains (TN, NC) 9.69
Grand Canyon (AZ) 4.42
Yosemite (CA) 3.85
Yellowstone (WY) 3.45
Rocky Mountain (CO) 3.23
Zion (UT) 2.97
Olympic (WA) 2.82
Grand Teton (WY) 2.71
Acadia (ME) 2.43
Cuyahoga Valley (OH) 2.30
Glacier (MT) 2.16
Bryce Canyon (UT) 1.39
Shenandoah (VA) 1.21
Everglades (FL) 1.14
Denali (AK) 0.39
Based on: http://www.nature.nps.gov/stats.
A box-and-whisker plot is a graphical display showing the relative position of the three quartiles as a box on a number line along with the minimum and maximum values in the data set and any outliers.
www.freebookslides.com
C h a p t e r 3 | 3.5 Measures of Relative Position 123
Box-and-whisker plots are constructed by taking the following steps:
Step 1. Determine the three quartiles.
Index point for Q1: i = P
100 1n2 = 25
100 1152 = 3.75
Q1 is in the fourth position of our sorted data; therefore, Q1 = 1.39 million visitors.
Index point for Q2: i = P
100 1n2 = 50
100 1152 = 7.5
Q2 is in the eighth position of our sorted data; therefore, Q2 = 2.71 million visitors.
Index point for Q3: i = P
100 1n2 = 75
100 1152 = 11.25
Q3 is in the 12th position of our sorted data; therefore, Q3 = 3.45 million visitors. Thus, the three quartiles were found to be as follows:
Q1 = 1.39 Q2 = 2.71 Q3 = 3.45
Step 2. Draw a horizontal number line that spans the length of the data values, as shown in Figure 3.19.
Step 3. Draw a box over the number line that has vertical lines at Q1, Q2, and Q3, as shown in Figure 3.19.
0.0 4.0 6.0 8.0 10.02.0
Q1 1.39
Q2 2.71
Q3 3.45
{ figure 3.19 The Box in a Box-and-Whisker
Plot
Step 4. Determine if any outliers exist in the data. Recall that outliers are extreme values in the data set that require special consideration.
Earlier in this chapter, we identified outliers as having z-scores greater than {3 standard deviations from the mean. John Tukey (1915–2000), who was a famous American statistician, proposed defining outliers as values that are above the upper limit found in Equation 3.28 or below the lower limit determined by Equation 3.29.
Formulas 3.28 and 3.29 for the Upper and Lower Limits of Outliers
Upper Limit = Q3 + 1.51IQR2 Lower Limit = Q1 - 1.51IQR2
For a data set that is normally distributed, these equations will define approximately 1 out of 100 values as outliers.
For our National Park data, the IQR is calculated as follows:
IQR = Q3 - Q1 IQR = 3.45 - 1.39 = 2.06
This results in the following upper and lower limits:
Upper Limit = 3.45 + 1.512.062 = 6.54 Lower Limit = 1.39 - 1.512.062 = - 1.70
Paul Velleman, who was a student of John Tukey, tells a well-traveled story about the origin of these equations. When asked why the factor 1.5 is used to define outliers, Tukey responded, “Because 1 is too small and 2 is too large.” When John Tukey spoke, people listened!
www.freebookslides.com
124 C h a p t e r 3 | Calculating Descriptive Statistics
Any data value below - 1.70 or above 6.54 would be considered an outlier in this example. Because the number of visitors at Great Smoky Mountain is above 6.54, 9.69 would be labeled as an outlier.
Step 5. Draw the whiskers on each end of the box as shown in Figure 3.20. The whiskers are the horizontal dotted lines that extend from each side of the box. The right whisker extends out to the highest data value in our National Park example that is not an outlier, which is 4.42 (million visitors) and which corresponds to Grand Canyon National Park. The left whisker extends to the lowest data value that is not an outlier, which is 0.39 (million visitors). It corresponds to Denali National Park.
Step 6. Identify outliers if present. If outliers exist in the data set, they are plotted with an asterisk on the number line, as shown in Figure 3.20.
{ figure 3.20 The Whiskers in a Box-and-
Whisker Plot
0.39 4.42
0.0 4.0 6.0 8.0 10.02.0
9.69
*
The finished box-and whisker plot for our National Park example is shown in Figure 3.21.
{ figure 3.21 Finished Box-and-Whisker Plot
0.0 4.0 6.0 8.0 10.02.0
*
As you can see, the box-and whisker plot provides an easy-to-understand picture of where the data are concentrated along a number line, as well as information about outliers. Now, let’s take a look at one other way to describe our data set.
the Five-number Summary We can also summarize data using a five-number summary, which consists of—you guessed it—the following five numbers for a distribution:
• The minimum value
• The first quartile
• The second quartile
• The third quartile
• The maximum value
Using the National Park data, our five-number summary would be as follows:
• 0.39
• 1.39
• 2.71
• 3.45
• 9.69
Notice that outliers are included in a five-number summary. Therefore, we include 9.69 in our summary, even though it was identified as an outlier in our box-and-whisker plot.
The following Your Turn will test your box-and-whisker skills, so I encourage you to give it a shot while all those steps are still fresh in your mind.
The five-number summary consists of a distribution’s minimum value; the values for the first, second, and third quartiles; and the maximum value.
www.freebookslides.com
C h a p t e r 3 | 3.5 Measures of Relative Position 125
Y o u r t u r n # 9 Use the following credit card balances for 16 Citibank customers to construct a box-and-whisker plot and a five-number summary.
$3,414 $10,827 $8,128 $12,437
$7,960 $378 $9,970 $9,038
$19,400 $11,499 $5,030 $11,113
$8,048 $15,783 $11,349 $10,162
Answer can be found on u page 144
N
3.5 Section Problems Basic Skills 3.36 Consider the following data set:
38 55 76 20 30 66 17 54
a. Determine the 20th percentile. b. Determine the 40th percentile. c. Determine the 60th percentile.
3.37 Consider the following data set:
22 5 18 20 13 33 30 8 39
a. Determine the 15th percentile. b. Determine the 35th percentile. c. Determine the 85th percentile.
3.38 Consider the following data set:
71 40 45 67 5 15 43 37 13 10
Determine the percentile rank for the following values:
a. 50 b. 30 c. 15
3.39 Consider the following data set:
106 83 63 104 118 124 117 136 82 97 65 141
Determine the percentile rank for the following values:
a. 100 b. 75 c. 120
3.40 Consider the following data set:
14 24 20 18 23 20 12 16 22 18 14 26 15
a. Determine the quartiles for these data. b. Calculate the interquartile range for these data.
3.41 Identify the five-number summary for the following data set:
35 24 54 2 36 23 16 43 59 55 28 81
applications 3.42 The following table shows the estimated populations
of the 12 largest U.S. cities from the 2010 Census. These data can also be found in the Excel file titled city populations.xlsx.
City
Population (in millions)
New York, NY 8.18
Los Angeles, CA 3.79
Chicago, IL 2.70
Houston, TX 2.10
Philadelphia, PA 1.53
Phoenix, AZ 1.45
San Antonio, TX 1.33
San Diego, CA 1.31
Dallas, TX 1.20
San Jose, CA 0.95
Jacksonville, FL 0.82
Indianapolis, IN 0.82
a. Calculate the 60th percentile for the data. b. Calculate the 20th percentile for the data. c. Calculate the 85th percentile for the data.
3.43 The following table shows the total runs scored by the 16 National League teams in Major League Baseball during the 2012 season. These data can also be found in the Excel file titled MLB runs.xlsx.
Team Runs Team Runs
Brewers 776 Reds 669
Cardinals 765 Pirates 651
Rockies 758 Padres 651
Diamondbacks 734 Mets 650
www.freebookslides.com
126 C h a p t e r 3 | Calculating Descriptive Statistics
3.6 Measures of Association Between Two Variables
The statistics that have been discussed in this chapter to this point have all dealt with de- scribing one variable at a time, such as Nike’s stock price or the number of televisions sold at Walmart. In this last section, you will learn about measurements that will describe the re- lationship between two variables. For example, suppose we are interested in the relationship between the number of hours that a student studies for an exam and the resulting exam score. Table 3.27 shows values for these two variables from a small sample of students.
{ table 3.27 | Exam Grades
student hours of study exam grade
1 3 86
2 7 98
3 5 92
4 4 83
5 3 78
6 2 79
{ figure 3.22 Scatter Plot of Hours and Exam
Scores
Figure 3.22 shows the scatter plot for the sample data in Table 3.27.
Team Runs Team Runs
Nationals 731 Dodgers 637
Giants 718 Cubs 613
Braves 700 Marlins 609
Phillies 684 Astros 583
a. Find the percentile rank for the runs scored by the Mets.
b. Find the percentile rank for the runs scored by the Braves.
c. Find the percentile rank for the runs scored by the Phillies.
3.44 The following data set refers to the number of customers per day at a jewelry kiosk in Christiana Mall during a 20-day period:
8 10 18 58 58 59 63 64 69 71 75 78 80 82 84 84 86 87 87 88
a. Identify the first, second, and third quartiles. b. Determine the interquartile range.
3.45 The following table shows the number of graduating students with business majors at Neumann University over the past 30 years in descending order:
269 261 242 238 225 223 217 212 208 204 199 198 197 195 195 193 193 191 189 185 181 179 177 174 174 172 171 171 170 170
a. Construct a box-and-whisker plot for these data. b. Identify the five-number summary.
www.freebookslides.com
C h a p t e r 3 | 3.6 Measures of Association Between Two Variables 127
where
sxy = The sample covariance between variables x and y x = The sample mean of the x variable y = The sample mean of the y variable 1xi - x2 = The difference between each data value and the sample mean for the
x variable 1yi - y2 = The difference between each data value and the sample mean for the
y variable n = The sample size
For this example, I am making the following arbitrary assignment of variables:
x = the hours of study y = the exam score
We need to calculate the sample average for each variable. Notice that n = 6 because our sample consists of six students. Using Equation 3.1, we have:
Hours of Study: x = a
n
i = 1 xi
n =
3 + 7 + 5 + 4 + 3 + 2 6
= 4.0
Exam Score: y = a
n
i = 1 yi
n =
86 + 98 + 92 + 83 + 78 + 79 6
= 86.0
Table 3.28 shows the calculations needed for the numerator of the covariance Equation 3.30 for our exam score example.
The sample covariance, sxy, measures the direction of the linear relationship between two variables.
Notice that the data points in Figure 3.22 tend to move in a relatively straight-line pattern across the scatter plot. As a result, we can describe this relationship between hours and exam scores as linear. In the following pages, we will examine two descriptive statistics that will measure the linear relationship between variables such as those seen in Table 3.27—the sample covariance and the sample correlation coefficient.
Sample Covariance The sample covariance, sxy, measures the direction of the linear relationship between two variables by using Equation 3.30.
Formula 3.30 for the Sample Covariance
sxy = a
n
i = 1 1xi - x21yi - y2
n - 1
I could have also chosen to reverse these assignments of x and y—the choice is completely arbitrary.
{ table 3.28 | Covariance Calculations
xi x 1xi - x 2 yi y 1yi - y 2 1xi - x 2 1yi - y 2 3 4 - 1 86 86 0 0
7 4 3 98 86 12 36
5 4 1 92 86 6 6
4 4 0 83 86 - 3 0
3 4 - 1 78 86 - 8 8
2 4 - 2 79 86 - 7 14
a 1xi - x21yi - y2 = 64
www.freebookslides.com
128 C h a p t e r 3 | Calculating Descriptive Statistics
We are now ready to plug our results into Equation 3.30:
sxy = a
n
i = 1 1xi - x21yi - y2
n - 1 =
64
6 - 1 = 12.8
Because our covariance is a positive value (12.8), we describe the relationship between hours of study and exam scores as a positive linear one. In general, a positive linear relation- ship means that as one variable increases, the second variable also tends to increase. This type of relationship fits our example well—students who study more tend to earn higher grades!
A negative covariance indicates a negative linear relationship. In this scenario, as one variable increases in value, the second variable tends to decrease. An example of this type of relationship would be price and demand for a product. As the price of the product increases, demand for that product tends to decrease.
Finally, a covariance close to zero indicates no relationship between the two variables. As the value of one variable increases, the value of second variable will have no consistent pattern.
Students may be tempted to conclude that the larger the covariance, the stronger the relationship between the two variables. Unfortunately, this statement is not true. The size of the covariance is influenced by the scale of the data. Very large data values tend to generate a large covariance. The covariance is useful in describing the direction of the relationship but not the strength of the relationship. The next descriptive statistic that we are examining, the correlation coefficient, describes both for us.
Sample Correlation Coefficient The sample correlation coefficient, rxy, measures both the strength and direction of the linear relationship between two variables and can be calculated using Equation 3.31.
The sample correlation coefficient, rxy, measures both the strength and direction of the linear relationship between two variables.
Formula 3.31 for the Sample Correlation Coefficient
rxy = sxy sxsy
where
rxy = The sample correlation coefficient sxy = The sample covariance between variables x and y sx = The sample standard deviation for the x variable sy = The sample standard deviation for the y variable
As you can see, Equation 3.31 relies on the covariance calculation that we just computed in the last section. We also need to calculate the sample standard deviations from each variable which I show here using Equation 3.6.
Hours of Study:
sx = H ani = 11xi - x22n - 1 sx = A 13 - 422 + 17 - 422 + 15 - 422 + 14 - 422 + 13 - 422 + 12 - 4226 - 1 sx = A 165 = 23.2 = 1.79
www.freebookslides.com
C h a p t e r 3 | 3.6 Measures of Association Between Two Variables 129
Exam Grade:
sy = H ani = 11yi - y22n - 1 sy = A 186 - 8622 + 198 - 8622 + 192 - 8622 + 183 - 8622 + 178 - 8622 + 179 - 86226 - 1 sy = A 3025 = 260.4 = 7.77 We are now ready to calculate our sample correlation coefficient using Equation 3.31.
rxy = sxy sxsy
= 12.8
11.79217.772 = 0.920
The values of rxy range from between - 1.0 and + 1.0. When rxy is positive, the linear rela- tionship between x and y is positive, which means that as the value of x increases, the value of y tends to increase. By contrast, when rxy is negative, the linear relationship between x and y is negative. So, as the value of x increases, the value of y tends to decrease. When rxy = 0, there is no relationship between the x and y variables.
The strength of the linear relationship between x and y is measured by how close the correlation coefficient is to + 1.0 or - 1.0. Figure 3.23 illustrates the strengths of various cor- relation coefficients.
{ figure 3.23 The Strength and Direction of
Various Linear Relationships, Along with Their Correlation Coefficients
x
y
r = 1.0
x
y
r = –1.0
x
y
r = 0.6
x
y
r = 0
A B
C E x
y
r = –0.4
D
With rxy = 0.920, we can conclude that there is a strong positive relationship between the number of hours that students study and their exam score—good news for us teachers!
I do have one important word of warning here. Just because the sample correlation coefficient tells us there is a strong relationship between the variables does not prove that one variable caused the change in the other variable. To prove causation, you need to have evidence that one variable is causing the other to move, which the correlation coefficient alone does not provide. For example, if our two variables were the left and right shoe sizes of people, we would expect a very high correlation. This is not the result of one foot causing the other foot to be a certain size. These two variables just tend to move together naturally.
The following Your Turn exercise will give you the chance to calculate the covariance of correlation coefficient for a negative relationship to test your skills on this topic.
www.freebookslides.com
130 C h a p t e r 3 | Calculating Descriptive Statistics
3.6 Section Problems Basic Skills 3.46 Consider the following sample data for two variables.
x 4 7 2 6 6
y 4 9 5 5 7
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
3.47 Consider the following sample data for two variables.
x 7 6 2 3
y 6 8 11 5
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
Business applications 3.48 Comcast’s customer service department asks its custom-
ers to rate their over-the-phone service on a scale of 1–20 immediately after their service has been completed. The company then matches each customer’s rating with the number of minutes the person waited on hold. The fol- lowing table shows the ratings and number of minutes on hold for 10 randomly selected customers and can also be found in the Excel file hold.xlsx.
Minutes Rating Minutes Rating
4 15 2 16
8 13 10 14
0 18 3 20
5 10 8 14
6 14 4 13
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
3.49 Suppose the EPA would like to investigate the relation- ship between the engine size of sedans and the miles per gallon (MPG) they get. The following table shows the engine size in cubic liters and rated miles per gallon for a selection of 2011 sedans and can also be found in the Excel file engine size.xlsx.
Car Engine Size MPG
1 2.0 26
2 2.2 30
3 2.4 25
4 3.3 21
5 3.0 23
6 2.0 28
7 2.4 24
8 2.0 29
9 3.2 19
Suppose Best Buy would like to examine the relationship between the price and weekly demand for a popular Epson printer. The following data represent the weekly demand for various price levels that were used for this printer.
Price and Demand Data for an Epson Printer
Price ($) Demand
70 18
75 23
80 10
85 16
90 17
95 15
100 6
a. Calculate the sample covariance for these variables. b. Calculate the sample correlation coefficient for these variables. c. Describe the relation between price and demand for this printer.
Y o u r t u r n # 1 0N
Answers can be found on u pages 144–145
www.freebookslides.com
C h a p t e r 3 | 3.6 Measures of Association Between Two Variables 131
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
3.50 A regional manager at Acme Markets would like to de- velop a model to predict weekly sales of pet food based on the shelf space. The following table shows the results of data collected from nine randomly selected stores and can also be found in the Excel file Acme.xlsx.
Shelf Space (Feet)
Sales ($100)
Shelf Space (Feet)
Sales ($100)
2 3 2 4
3 3 4 5
4 6 5 7
6 5 5 12
5 18
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
3.51 The American Board of Family Medicine would like to in- vestigate the theory that a mother’s shoe size can be used to predict an infant’s birth weight. The following table records a random sample of the shoe sizes of 10 moth- ers and the birth weights of their infants and can also be found in the Excel file ABFM.xlsx.
Shoe Size Weight Shoe Size Weight
7.5 7.6 8.0 6.9
8.0 7.8 8.5 9.2
9.0 8.0 7.5 6.5
8.5 9.4 8.0 9.1
8.5 7.7 9.5 9.8
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
www.freebookslides.com
132
■ Measures of central tendency describe the center point of our data set with a single value by using the mean, median, or mode.
The simple mean or average is the most common measure of central tendency and is calculated by adding all the values in our data set and then dividing the result by the number of observations.
• One drawback of the mean is that it can be heavily influenced by outliers.
The weighted mean allows you to assign more weight to certain values and less weight to others.
The median is the value in the data set for which half the observations are higher and half the obser- vations are lower.
• The median is more difficult than the mean to calculate manually, but it is not influenced by outliers.
The mode is simply the value that appears most often in a data set.
• The mode is particularly useful when it comes to describing categorical data.
• The mode might not be unique in a data set or even exist in certain data sets.
The mean, median, and mode are roughly equal to each other in symmetrical frequency distributions.
• In left-skewed distributions, the median is greater than the mean.
• In right-skewed distributions, the median is less than the mean.
■ Measures of variability determine how much spread is in your data by using the range, variance, and standard deviation.
The range is a measure of variability that is found by subtracting the lowest value from the highest value in the data set.
• The benefit of the range is that it is easy to calculate and understand but is has its drawbacks.
• It is based only on two numbers in the data set.
• It is highly affected by outliers.
The variance measures the squared difference between each data point and the mean.
The standard deviation is the square root of the variance and is in the same units as the original data.
The coefficient of variation, CV, measures the standard deviation in terms of its percentage to the mean rather than units to the mean.
• When comparing two samples, the smaller CV indicates more consistency (less variability).
The z-score identifies the number of standard deviations that a particular value is from the mean of its distribution and is positive for values above the mean and negative for values below the mean.
The empirical rule states that if a distribution follows a bell-shape, symmetrical curve centered around the mean, approximately 68%, 95%, and 99.7% of the values will fall above and below one, two, and three standard deviations around the mean, respectively.
Chebyshev’s theorem states that regardless of whether a distribution is bell-shaped or not, at least 94% of data values will fall within four standard deviations of the mean; at least 89% of data values will fall within three standard deviations of the mean; and at least 75% of data values will fall within two standard deviations of the mean.
The mean and standard deviation can be calculated for grouped data by using the midpoint of each class to approximate all the data within that class.
• Because the midpoint approximates only the data within each class, our final result is merely an approximation of the average and standard deviation.
Chapter 3 Summary
www.freebookslides.com
133
Box-and-whisker plot. A graphical display showing the relative position of a distribution’s three quartiles as a box on a num- ber line, along with the minimum and maximum values.
Categorical Data. Data that are described as a category or label. Chebyshev’s Theorem. A theorem that states that regardless of
whether a distribution is bell-shaped, at least 94% of data val- ues will fall within { four standard deviations of the mean, at least 89% of data values will fall within { three standard deviations of the mean, and at least 75% of data values will fall within { two standard deviations of the mean.
Coefficient of variation. A measure of the standard deviation in terms of its percentage of the mean.
Empirical rule. A rule which states that if a distribution follows a bell-shaped, symmetrical curve centered around the mean,
approximately 68%, 95%, and 99.7% of the values fall within one, two, and three standard deviations around the mean, respectively.
Five-number summary. A list that consists of a distribution’s minimum value; first, second, and third quartiles; and maximum value.
Index point. The index point, i, marks the middle of the data values and is used to determine the position of the median in the data set.
Interquartile range, IQR. The difference between the first and third quartiles. It corresponds to the data in the middle 50% of the range.
Left-skewed distribution. The shape of the distribution when the median is higher than the mean.
■ Measures of relative position compare the position of one value in relation to other values in the data set.
■ Percentiles measure the approximate percentage of values in the data set that are below the value of interest.
■ Quartiles are simply specific percentiles of interest.
• The first quartile is the 25th percentile, the second quartile is the 50th percentile, and the third quartile is the 75th percentile.
■ The interquartile range, IQR, is the difference between the first and third quartile.
■ A box-and-whisker plot is a graphical display showing the relative position of the three quartiles as a box on a number line along with the minimum and maximum values in the data set.
■ The five-number summary consists of a distribution’s minimum value, values for the first, second, and third quartiles, and maximum value.
■ Measures of association describe the relationship between two variables.
■ The sample covariance measures the direction of the linear relationship between two variables.
• A positive covariance indicates a positive linear relationship, which means as one variable in- creases, the second variable also tends to increase.
• A negative covariance indicates a negative linear relationship, which means as one variable in- creases, the second variable tends to decrease.
■ The sample correlation coefficient measures both the strength and the direction of the linear rela- tionship between two variables.
• The correlation coefficient ranges between - 1.0 and + 1.0. • When the correlation coefficient is positive, the linear relationship between x and y is positive.
• When the correlation coefficient is negative, the linear relationship between x and y is negative.
• The strength of the linear relationship between x and y is measured by how close the correlation coefficient is to + 1.0 or - 1.0.
Chapter 3 Key Terms
www.freebookslides.com
x = a
n
i = 1 1wixi2
a n
i = 1 wi
m = a N
i = 1 xi
N
x = a
n
i = 1 xi
n
Formula 3.3 for the Weighted Mean
Formula 3.2 for the Population Mean
Formula 3.1 for the Sample Mean
3.1 Central Tendency (pp 78–91)
Chapter 3 Equations
Mean. A measure of central tendency that is calculated by adding up all of the values in a data set and then dividing the result by the number of observations.
Measures of central tendency. Measures that use a single value to describe the center point of a data set.
Measures of relative position. Measures that compare the posi- tion of one value in relation to other values in a data set.
Measures of variability. Measures that determine how much of a spread there is within a data set.
Median. The value in a data set for which half the observations are higher and half the observations are lower.
Midpoint. The halfway point in a set of data. It can be found by taking the average of the endpoints for each class.
Mode. The value that appears most often in a data set. Outliers. Outliers are values that are much higher or lower than
most of the data. Percentiles. Measure the approximate percentage of values in the
data set that are below the value of interest. Percentile rank. Identifies the percentile of a particular value
within a set of data. Pth percentile. The approximate percentage of values in the data
set that are below the value of interest (where p is any number between 1 and 100).
Quartiles. The first, second, and third quartiles are the 25th, 50th (median), and 75th percentiles, respectively.
Range. A measure of variability that is found by subtracting the lowest value from the highest value in a data set.
Right-skewed distribution. The shape of a distribution when its mean is higher than its median.
Sample Correlation Coefficient, rxy. Measures both the strength and direction of the linear relationship between two variables.
Sample Covariance, sxy. Measures the direction of the linear relationship between two variables.
Standard deviation. The square root of a distribution’s variance. Variance. A measure of variation that describes the relative
distance between the data points in a set around the mean of the data set.
Weighted mean. A weighted mean allows you to assign more weight to certain values and less weight to others when calculating the mean.
z-score. A measure that identifies the number of standard deviations a particular value is from the mean of its distribution.
Formula 3.4 for the Index Point for the Median i = 0.51n2
134 www.freebookslides.com
135 135
Formula 3.5 for the Range Range = Highest value - Lowest value
Formula 3.6 for the Sample Variance s2 = a
n
i = 1 1xi - x22
n - 1
Formula 3.7 for the Sample Standard Deviation s = 2s2 = H ani = 11xi - x22n - 1 Formula 3.8 for the Sample Variance (Short-Cut) s2 =
a n
i = 1 x i 2 -
a a n
i = 1 xib
2
n
n - 1
Formula 3.9 for the Sample Standard Deviation (Short-Cut) s = a ani = 1x i2 - a a n
i = 1 xib
2
n
n - 1
Formula 3.10 for the Population Variance s2 = a N
i = 1 1xi - m22
N
3.2 Measures of Variability (pp 91–101)
Formula 3.11 for the Population Standard Deviation s = R aNi = 11xi - m22N Formula 3.12 for the Population Variance (Short-Cut) s2 =
a N
i = 1 x i 2 -
a a N
i = 1 xib
2
N
N
Formula 3.13 for the Population Standard Deviation (Short-Cut)
s = a aNi = 1x i2 - a a N
i = 1 xib
2
N N
www.freebookslides.com
136
3.3 Using the Mean and Standard Deviation Together (pp 101–112)
Formula 3.14 for the Sample Coefficient of Variation CV = s
x 11002
Formula 3.15 for the Population Coefficient of Variation CV = s
m 11002
Formula 3.16 for the Population z-score z = x - m s
Formula 3.17 for the Sample z-score z = x - x
s
Formula 3.18 for Expressing the z-Score in Terms of x x = m + zs
Formula 3.19 for Chebyshev’s Theorem
Chebyshev’s Theorem states that for any number z greater than 1, the percent of the values that fall within z standard deviations from the mean will be at least plus or minus¢1 - 1
z 2 ≤ * 100
Formula 3.20 for Expressing the z-Score (z) in Terms of the Sample (x)
x = x + zs
3.4 Working with Grouped Data (pp 112–116)
Formula 3.21 for the Sample Mean: Grouped Data x ≈ a
k
i = 1 1fimi2 n
Formula 3.22 for the Population Mean: Grouped Data m ≈ a
k
i = 1 1fimi2 N
Formula 3.23 for the Sample Variance: Grouped Data s2 ≈ a
k
i = 1 1mi - x22fi n - 1
Formula 3.24 for the Population Variance: Grouped Data s2 ≈ a
k
i = 1 1mi - m22fi
N
www.freebookslides.com
137
3.5 Measures of Relative Position (pp 116–126)
Formula 3.25 for the Index Point for the pth Percentile i = P
100 1n2
Formula 3.26 for the Percentile Rank Percentile Rank = 1Number of values below x2 + 0.5
Total number of values 11002
Formula 3.27 for the Interquartile Range IQR = Q3 - Q1
Formulas 3.28, 3.29 for the Upper and Lower Limits for Outliers
Upper Limit = Q3 + 1.51IQR2 Lower Limit = Q1 - 1.51IQR2
Chapter 3 Problems 3.52 You are car shopping (lucky you!) and are considering a
Ford, a Chevy, and a Honda. You are basing your decision on the criteria in the following table. You have also ranked each of the criterions based on its importance to you, with a rank of 5 being the most important: price (5), reliability (4), looks (3), gas mileage (3), and resale value (2). You have scored each car for each criterion on a scale of 1–10 110 = highest2, as shown in the following table. Calculate the average score for each car.
Criteria Ford Chevy Honda
Price 7 8 3
Reliability 7 6 9
Looks 5 7 5
Gas mileage 4 6 8
Resale value 7 4 8
3.53 The following data represent the number of days homes were on the market before being sold in New Castle County, Delaware, in 2014:
80 74 62 79 55 56 64 44 13 74 98 87 45 142 88 47 79
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Which of these three measurements would best describe
the central tendency of the data? e. Describe the shape of this distribution.
3.54 The average number of hours that people of Brazil spend per month on social networking sites is nearly double the worldwide average, drawing the attention of companies such as Facebook. The following data represent the number of hours that a sample of people from Brazil spent on a so- cial networking site last month.
1.5 1.0 2.3 12.1 8.8 13.2 40.2 1.5 12.4
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Which of these three measurements would best describe
the central tendency of the data? e. Describe the shape of the distribution.
Formula 3.30 for the Sample Covariance sxy = a
n
i = 1 1xi - x21yi - y2
n - 1
Formula 3.31 for the Sample Correlation Coefficient rxy = sxy sxsy
3.6 Measures of Association Between Two Variables (pp 126–131)
www.freebookslides.com
3.55 Internet service providers compete on services such as download speeds that are measured in megabits per second (Mbps). The following data represent the download speeds that 16 Comcast customers experienced recently.
6 18 7 8 8 6 10 16 11 5 14 6 12 12 16 13
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Describe the shape of the distribution.
3.56 The Fan Cost Index measures the average cost for a typical family to attend a Major League Baseball game. The index comprises the prices of two adult average-price tickets, two child average-price tickets, two small draft beers, four small soft drinks, four regular-size hot dogs, parking for one car, two game programs, and two adult-size adjustable caps (the least expensive). The Excel file Fan Cost Index lists the in- dex for each MLB team for the 2012 season. Using Excel,
a. Calculate the mean. b. Calculate the median. c. Determine the mode. d. Which of these three measurements would best describe
the central tendency of the data? e. Describe the shape of this distribution.
3.57 A country’s fertility rate can have a major long-term impact on its economic health. Low fertility rates eventually cause the average age of the population to skew higher, making it more difficult to fund programs such as social security. The following data represent a sample showing the number of children from 10 families.
1 5 3 1 2 2 1 4 0 1
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.58 The following table lists the average monthly unemploy- ment rate from July to September 2012 for various European countries.
Country Rate Country Rate
Belgium 7.4 Denmark 8.1
France 10.7 Germany 5.4
Spain 25.5 Ireland 15.0
United Kingdom 7.9 The Netherlands 5.3
Austria 4.5 Sweden 7.7
a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.59 Delta is one of the largest airlines in the world and also has one of the oldest fleets of planes. The following data represent the age, in years, of a sample of eight planes from Delta’s fleet.
17 22 8 19 20 21 7 14
a. Calculate the range for this sample. b. Calculate the variance for this sample. c. Calculate the standard deviation for this sample.
3.60 The following data represent the number of pounds lost by 10 individuals who participated in a weight loss program. A negative number represents a weight loss, whereas a positive number represents a weight gain.
- 12 -8 - 15 - 10 4 -6 -9 5 -8 - 10 a. Calculate the range. b. Calculate the variance. c. Calculate the standard deviation.
3.61 Text messages have been a major source of revenue for cell phone carriers and for the first time in history the aver- age number of text messages per month decreased from the second to the third quarter of 2012. The Excel file text messages.xlsx lists the number of text messages sent last month from a sample of 70 cell phone customers. Using Excel, determine the range, variance, and standard devia- tion for this sample.
3.62 A company operates two retail outlets at different locations. The following table lists the customer satisfaction ratings on a scale of 1–10 for each location:
Store 1 Store 2
7 8
4 7
6 10
3 8
9 8
Which location provides a more consistent level of cus- tomer satisfaction?
3.63 The following table shows the number of wins per season for the New England Patriots and Detroit Lions NFL teams from 2004 through 2012. This data can also be found in the Excel file NFL wins.xlsx.
Year New England Detroit
2004 14 6
2005 10 5
2006 12 3
2007 16 7
2008 11 0
2009 10 2
2010 14 6
2011 13 10
2012 12 4
Which team experienced more variability with games won per season?
138 www.freebookslides.com
139
3.64 The following table lists the 20 largest companies in the world in 2013 ranked by their market capitalizations (in billions of dollars). A company’s market capitalization is defined as the number of its shares multiplied by the price per share. This data can also be found in the Excel file market cap.xlsx.
Company Market Cap ($) Company
Market Cap ($)
Apple 423 Procter & Gamble 210
Exxon 407 AT&T 203
Google 264 Pfizer 202
Berkshire Hathaway
252 Wells Fargo 189
General Electric 245 JPMorgan Chase 186
Wal-Mart 236 Coca-Cola 172
Microsoft 233 Oracle 165
IBM 227 Phillip Morris 156
Chevron 227 Merck 131
Johnson & Johnson
211 Verizon 130
a. Determine the coefficient of variation. b. Calculate the z-score for a company with a market
capitalization of $200 billion. c. Test to determine if the empirical rule holds true by
determining the percentage of observations that fall within { one standard deviation from the mean.
d. Verify that Chebyshev’s Theorem holds true by deter- mining the percentage of observations that fall within { two standard deviations from the mean.
3.65 Suppose I recorded the attendance of my students in a recent statistics class because I wanted to investigate the relationship between the number of classes they missed and their final grades. The following table shows this data for a random sample of nine students. This data can also be found in the Excel file missed classes.xlsx.
Missed Classes
Final Grade
Missed Classes
Final Grade
4 81 2 84
7 79 0 90
2 93 5 86
5 70 2 95
0 96
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
3.66 As a measure of productivity, Verizon Wireless records the number of customers each of its retail employees activates weekly. An activation is defined as either a new customer signing a cell phone contract or an existing customer
renewing a contract. The following table shows the number of weekly activations for eight randomly selected employ- ees along with their job-satisfaction levels rated on a scale of 1 - 10 110 = most satisfied2. This data can also be found in the Excel file Verizon satisfaction.xlsx.
Activations Satisfaction Activations Satisfaction
36 8.0 19 6.1
25 7.9 28 7.0
40 8.5 33 8.2
38 9.0 25 7.7
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
3.67 The Excel file labeled Customer service champs.xlsx lists the top 25 companies, with the best customer service scores ranked by Business Week in 2012.
a. Determine the coefficient of variation. b. Calculate the z-score for a company with a score of 900. c. Test if the empirical rule holds true by determining the
percentage of observations that fall within { two stan- dard deviations from the mean.
d. Verify that Chebyshev’s Theorem holds true by deter- mining the percentage of observations that fall within { three standard deviations from the mean.
3.68 The following table shows the frequency distribution for the golf scores recorded during the 2012 Masters tournament:
Score Frequency
278–282 6
283–287 12
288–292 21
293–297 16
298–302 6
303–307 1
a. Calculate the approximate average golf score for the tournament.
b. Calculate the approximate variance and standard deviation for the tournament.
3.69 The following table shows the frequency distribution for the mileage on a sample of Avis rental cars:
Mileage Frequency
5,000 to under 6,000 16
6,000 to under 7,000 11
7,000 to under 8,000 24
8,000 to under 9,000 10
9,000 to under 10,000 15
10,000 to under 11,000 9
www.freebookslides.com
a. Calculate the approximate average mileage per car for the sample.
b. Calculate the approximate variance and standard devia- tion for the sample.
3.70 The following data represent the tips left by 21 customers for the waitstaff at a local restaurant:
$18.40 $10.35 $12.15 $ 7.75 $14.00 $ 9.50 $11.45 $16.00 $15.50 $12.75 $10.50 $12.40 $13.75 $10.75 $ 8.40 $17.85 $16.50 $17.60 $14.10 $10.00 $11.00
a. Calculate the 30th percentile for the data. b. Calculate the 45th percentile for the data. c. Calculate the 65th percentile for the data.
3.71 The following data represent the number of students enrolled in 20 business classes this semester at Wilmington University:
29 33 45 26 30 19 21 42 42 24 34 30 28 24 20 25 13 46 40 32
a. Calculate the 20th percentile for the data. b. Calculate the 70th percentile for the data. c. Calculate the 90th percentile for the data.
3.72 The following table lists the SAT scores for 27 college students:
845 1,040 815 1,345 1,554 668 1,165 919 1,175 629 490 1,074 387 894 1,419 941 454 673 696 974 564 1,245 1,535 665 1,471 1,188 680
a. Identify the first, second, and third quartiles. b. Determine the interquartile range.
3.73 The following data represent the number of customers per day that entered an AT&T wireless retail center in Orlando over a 30-day period.
114 106 124 84 86 104 161 183 146 123 189 138 157 166 121 153 222 103 168 147 202 115 156 183 201 202 178 122 94 227
a. Identify the first, second, and third quartiles. b. Determine the interquartile range.
3.74 The following tables record the times of swimmers in the 50-m freestyle and 100-m backstroke events at a recent meet. A particular swimmer swam the freestyle event in 33 seconds and the backstroke in 72 seconds. In which event did the swimmer perform better relative to the competition?
50-m Freestyle Times 26 29 31 32 32 33 34 35
100-m Backstroke Times 68 71 72 75 76 78 78 78 79 80
3.75 The following table shows the final exam scores for the stu- dents from my last statistics class:
78 100 88 84 73 78 70 99 92 96 87 89 81 79 80 84 86 85 79 80 72 69 89 66 76
Determine the percentile ranks for the following scores:
a. 70 b. 75 c. 82 d. 90
3.76 The following data indicate the battery life, in minutes, on a single charge, for 25 iPads:
215 219 229 230 236 239 240 244 247 255 262 264 271 279 280 282 285 285 290 296 301 310 326 327 330
a. Construct a box-and-whisker plot for these data. b. Identify the five-number summary.
3.77 The following data set represents the odometer mileage, in thousands of miles, of 30 used cars currently in inventory at Mojo Motors:
109.6 107.2 104.4 103.2 100.5 99.9 98.6 97.6 96.2 93.2 93.1 92.9 88.9 86.8 86.4 83.6 83.5 82.8 81.5 80.9 76.8 75.2 75.1 70.7 69.9 69.7 67.2 63.0 61.0 59.8
a. Construct a box-and-whisker plot for these data. b. Identify the five-number summary.
3.78 Fair Isaac, the company that developed the current credit score model used by most lenders today, would like to ex- amine the relationship between the age and credit score of an individual. The following table shows the credit scores and ages of 10 randomly selected people. This data can also be found in the Excel file Fair Isaac.xlsx.
Age Credit Score Age Credit Score
36 675 47 790
24 655 35 720
54 760 59 760
28 615 40 685
31 660 46 610
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
3.79 Suppose Consumer Reports would like to investigate the rela- tionship between the battery life, in hours, and the screen size, in diagonal inches, of a laptop computer. The following table shows a random sample of eight laptops and the battery life, in hours, and corresponding screen size, in inches, of each. This data can also be found in the Excel file laptop battery.xlsx.
Battery Life Screen Size Battery Life Screen Size
3.6 15.6 3.1 14.5
4.5 17.3 3.4 13.3
4.2 14.5 4.8 11.6
4.5 11.6 3.9 13.6
a. Calculate the sample covariance. b. Calculate the sample correlation coefficient. c. Describe the relationship between x and y.
140 www.freebookslides.com
Chapter 3 Solutions to Your Turn
Y o U R T U R n # 1
1. x = a x n
= 14 + 1 - 172 + 31 + 1 - 102 + 0 + 11 + 5 + 18
8 =
52
8 = 6.5 minutes
2. x = a wi xia wi = 1116217.22 + 180218.82 + 167216.02 + 191217.52
116 + 80 + 67 + 91 =
2,623.7
354 = 7.41
Y o U R T U R n # 2 1. The sorted ages are as follows:
26 28 31 39 43 45 45 50 57 62 i = 0.51n2 = 0.51102 = 5
The median is the midpoint between the fifth (43) and sixth (45) values.
Median = 43 + 45
2 = 44
2. The sorted SAT scores are as follows:
460 490 510 560 590 610 650 670 700 i = 0.51n2 = 0.5192 = 4.5
The median is the fifth value, which is 590.
Y o U R T U R n # 3 1. Mode = $16.74, $16.75, and $16.85. All three values appear twice. 2. Mode = 26. This value appears four times. 3. No mode exists because no value repeats in the data set.
4. Mode = Cherry. This flavor has the highest number of sales. This is not a coincidence, as it happens to be my favorite!
Y o U R T U R n # 4 1. These data are considered a sample because only a subset of adults in the
general population is included in the problem.
xi x2i 10 100
10 100
4 16
8 64
13 169
6 36
11 121
a 7
i = 1 xi = 62 a
7
i = 1 x i 2 = 606
a a n
i = 1 xib
2
= 16222 = 3,844
s2 = a
n
i = 1 x i 2 -
a a n
i = 1 xib
2
n
n - 1 =
606 - 3,844
7
7 - 1
= 606 - 549.14
6 = 9.48
s = 2s2 = 29.48 = 3.08
2. These data are considered a population because the ages of all eight employees in the bank branch are included in the problem.
xi x 2 i
32 1,024
40 1,600
27 729
29 841
34 1,156
38 1,444
46 2,116
24 576
a 8
i = 1 xi = 270 a
8
i = 1 x i 2 = 9,486
a a N
i = 1 xib
2
= 127022 = 72,900
s2 = a N
i = 1 x i 2 -
a a N
i = 1 xib
2
N
N =
9,486 - 72,900
8
8
= 9,486 - 9,112.5
8 = 46.7
s = 2s2 = 246.7 = 6.8
141 www.freebookslides.com
Y o U R T U R n # 5
Rollins Pujols
x x2 x x2
12 144 41 1,681
25 625 49 2,401
30 900 32 1,024
11 121 37 1,369
21 441 47 2,209
8 64 42 1,764
16 256 37 1,369
23 529 30 900
Total 146 3,080 315 12,717
Rollins Pujols
sR = a ani = 1x 2i - a a n
i = 1 xib
2
n
n - 1 sP = a ani = 1x 2i - a a
n
i = 1 xib
2
n
n - 1
sR = H 3,080 - 11462288 - 1 sP = H 12,717 - 13152288 - 1 sR = A 3,080 - 2,664.507 sP = A 12,717 - 12,403.137 sR = 259.36 sP = 244.84 sR = 7.70 sP = 6.70
xR = a a
n
i = 1 xib
n =
146
8 = 18.25 xP =
a a n
i = 1 xib
n =
315
8 = 39.38
CVR = sR xR 11002 CVP =
sP xP 11002
CVR = 7.70
18.25 11002 = 42.2% CVP =
6.70
39.38 11002 = 17.0%
Albert Pujols is a more consistent home-run hitter because he has a lower CV.
Y o U R T U R n # 6
1. a) z = x - x
s =
$6,000 - $7,000 $850
= - 1.18
b) z = x - x
s =
$8,400 - $7,000 $850
= 1.65
2. a) x = x + zs x = $322 + 1121$252 = $347 x = $322 + 1 - 121$252 = $297
b) x = $322 + 1221$252 = $372 x = $322 + 1 -221$252 = $272 c) x = $322 + 1321$252 = $397 x = $322 + 1 - 321$252 = $247 3. a) x = x + zs x = $1,920 + 1221$1602 = $2,240 x = $1,920 + 1 -221$1602 = $1,600
142 www.freebookslides.com
b) a1 - 1 z 2 b = 0.85
1
z 2 = 0.15
z 2 = 1
0.15 = 6.67
z = 26.67 = 2.58 x = x + zs x = $1,920 + 12.5821$1602 = $2,332.80 x = $1,920 + 1 - 2.5821$1602 = $1,507.20 c) x = $1,920 + 1421$1602 = $2,560 x = $1,920 + 1 - 421$1602 = $1,280
Y o u r T u r n # 7
GPA Midpoint
3.0 to under 3.2 3.1
3.2 to under 3.4 3.3
3.4 to under 3.6 3.5
3.6 to under 3.8 3.7
3.8 to 4.0 3.9
x ≈ a
k
i = 1 1fimi2 n
x ≈ 16213.12 + 18213.32 + 16213.52 + 114213.72 + 16213.92
6 + 8 + 6 + 14 + 6
= 141.2
40 = 3.53
GPA mi fi x 1mi - x2 1mi - x22 1mi - x22fi 3.0–3.2 3.1 6 3.53 - 0.43 0.1849 1.1094 3.2–3.4 3.3 8 3.53 - 0.23 0.0529 0.4232 3.4–3.6 3.5 6 3.53 - 0.03 0.0009 0.0054 3.6–3.8 3.7 14 3.53 0.17 0.0289 0.4046
3.8–4.0 3.9 6 3.53 0.37 0.1369 0.8214
n = Σfi = 40 Σ1mi - x22 fi = 2.764
s2 ≈ a k
i = 1 1mi - x22fi n - 1
= 2.764
40 - 1 = 0.0709.
s ≈ 20.0709 = 0.267 Y o u r T u r n # 8 1. n = 22
Q1: i = P
100 1n2 = 25
100 1222 = 5.5
Q1 is in the 6th position of our data sorted from lowest to highest; therefore, Q1 = $671.
Q2: i = P
100 1n2 = 50
100 1222 = 11
Q2 is the midpoint between the 11th ($747) and 12th ($760) positions; therefore,
Q2 = $747 + $760
2 = $753.5
The calculation for the third quartile index point is shown as follows:
Q3: i = P
100 1n2 = 75
100 1222 = 16.5
Q3 is in the 17th position of our sorted data; therefore, Q3 = 977. Thus, the three quartiles were found to be as follows:
Q1 = $671 Q2 = $753.5 Q3 = $977
IQR = $977 - $671 = $306
2. i = P
100 1n2 = 65
100 1222 = 14.3
The 65th percentile is the data value in the 15th position and is equal to $945.
3. There are a total of 22 films, of which 6 are below The Sting.Therefore, the approximate percentile for The Sting is as follows:
Percentile = 162 + 0.5
22 11002 = 6.5
22 11002 = 30th
143 www.freebookslides.com
Y o U R T U R n # 9 Sort the data from lowest to highest:
Q1: i = P
100 1n2 = 25
100 1162 = 4
$378 $8,048 $10,162 $11,499
$3,414 $8,128 $10,827 $12,437
$5,030 $9,038 $11,113 $15,783
$7,960 $9,970 $11,349 $19,400
Q1 is midway between the fourth (7,960) and the fifth (8,048) positions of our sorted data.
Q1 = 7,960 + 8,048
2 = 8,004
Q2: i = P
100 1n2 = 50
100 1162 = 8
Q2 is midway between the eighth (9,970) and the ninth (10,162) positions of our sorted data.
Q2 = 9,970 + 10,162
2 = 10,066
Q3: i = P
100 1n2 = 75
100 1162 = 12
Q3 is midway between the 12th (11,349) and the 13th (11,499) positions of our sorted data.
Q3 = 11,349 + 11,499
2 = 11,424
IQR = Q3 - Q1 IQR = 11,424 - 8,004 = 3,420 Upper Limit = Q3 + 1.51IQR2 Upper Limit = 11,424 + 1.513,4202 = 16,554 Lower Limit = Q1 - 1.51IQR2 Lower Limit = 8,004 - 1.513,4202 = 2,874
There are two outliers in the data set: $378 and $19,400.
3,414 15,783
0 8 12 16 204
19,400
(000’s Dollars)
11,424
10,066
8,004
378
* *
Five-number summary: 378, 8,004, 10,066, 11,424, 19,400
Y o U R T U R n # 1 0
a) Price: x = a
n
i = 1 xi
n =
70 + 75 + 80 + 85 + 90 + 95 + 100 7
= 85.0
Demand: y = a
n
i = 1 yi
n =
18 + 23 + 10 + 16 + 17 + 15 + 6 7
= 15.0
xi x 1xi - x2 yi y 1yi - y2 1xi - x2 1yi - y2 70 85 - 15 18 15 3 - 45 75 85 - 10 23 15 8 - 80 80 85 - 5 10 15 - 5 25 85 85 0 16 15 1 0
90 85 5 17 15 2 10
95 85 10 15 15 0 0
100 85 15 6 15 - 9 - 135
a 1xi - x21yi - y2 = -225
144 www.freebookslides.com
b) sxy = a
n
i = 1 1xi - x21yi - y2
n - 1 =
- 225 7 - 1
= - 37.5
sx = H ani = 11xi - x22n - 1 sx = A 170 - 8522 + 175 - 8522 + 180 - 8522 + 185 - 8522 + 190 - 8522 + 195 - 8522 + 1100 - 85227 - 1 sx = A 7006 = 2116.67 = 10.80 sy = H ani = 11yi - y22n - 1 sy = A 118 - 1522 + 123 - 1522 + 110 - 1522 + 116 - 1522 + 117 - 1522 + 115 - 1522 + 16 - 15227 - 1 sy = A 1846 = 230.67 = 5.54
rxy = sxy
sxsy =
- 37.5 110.80215.542 = - 0.627
c) We have discovered a negative relationship between price and demand for this printer. As the price increases, weekly demand tends to de- crease, which would be expected.
145 www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Distinguish between classical, empirical, and subjective probability.
■ Identify the basic properties of probability.
■ Calculate and interpret the intersection and union of events.
■ Use the addition rule and multiplication rule for probability.
■ Interpret the meaning of conditional probability.
■ Use Bayes’ Theorem to calculate revised probabilities from prior probabilities.
■ Count the total number of possible outcomes using the fundamental counting principle.
■ Distinguish between permutations and combinations.
Introduction to Probabilities
C h a p t e r 4 M a p
4.1 An Introduction to Probabilities | 148
4.2 Probability Rules for More Than One Event | 156
4.3 Counting Principles | 176
4
www.freebookslides.com
148 C h a p t e r 4 | Introduction to Probabilities
Organizations in today’s business world face a great deal of uncertainty when they are making decisions. Probability provides a valuable tool to quantify this uncertainty so that managers can make better decisions. Some examples of how probability is used in business follow:
• An e-commerce business would like to know the probability that a customer will make a purchase after browsing through the firm’s Web site for more than 10 minutes.
• A credit card executive would like to examine the probability that a customer with a poor credit score will be late with his or her next payment.
• A media consultant is asked to determine the probability that the viewing audience for next year’s Super Bowl will exceed 130 million people.
• A company’s sales department would like to establish the probability that a male cus- tomer will purchase an extended warranty after buying a laptop computer.
In this chapter, we will explore the topic of probability and discover its usefulness in a variety of business settings.
4.1 An Introduction to Probabilities A probability is a numerical value that indicates the chance, or likelihood, of a specific event occurring. Weather forecasters commonly use probabilities when referring to the chance of rain the following day. A probability is expressed by statisticians as a number ranging from 0 to 1. The number is translated into a percentage. For example, if an event cannot occur, then it is assigned a probability of 0, which is stated as 0%. By contrast, if the event will ab- solutely occur, the probability of it occurring is 1, or 100%.
But before we go any further, we need to tackle some new statistics jargon. The follow- ing terms are widely used when talking about probability:
• Experiment. The process of measuring or observing an activity for the purpose of collecting data. An example is rolling a single six-sided die.
• Sample space. All the possible outcomes, or results, of an experiment. The sample space for our single-die experiment is the numbers {1, 2, 3, 4, 5, 6}. Statisticians put the numbers in braces to signal that they represent the sample space.
A probability is a numerical value ranging from 0 to 1. It indicates the chance, or likelihood, of a specific event occurring. If there is no chance of the event occurring, the probability is 0. If the event is absolutely going to occur, the probability of it occurring is 1.
An outcome is just a fancy word for a result of an experiment. For example, if I roll a single die and get a six, the outcome of the experiment is a six.
Probability is probably (no pun intended) the most misunder- stood topic in the field of statistics. People often struggle to make rational decisions when dealing with probabilities be- cause it’s difficult to judge the likelihood of complex events. For example, most people (including my wife) are much more opti- mistic about winning the state lottery than the actual numbers merit. A common type of lottery is called 6/49. The goal of it is to correctly choose 6 out of 49 numbers. As you will see later in the chapter, the chance of winning this lottery is an infinitesimal 0.00000007, or nearly 1 out of 14 million. The probability is so low that it is difficult to fathom. If you purchase one lottery ticket every day of the year, you can expect to win once every 38,286 years. To give this some perspective, 38,000 years ago humans were living in caves during the Stone Age.
Let’s compare your probability of winning the 6/49 lottery to the likelihood that you will be struck by lightning. According to the
National Oceanic and Atmospheric Administration (NOAA), the federal agency that monitors atmospheric conditions, the odds of being struck by lightning in the United States on any given day are approximately 1 out of 400,000. According to these statistics, you are 35 times more likely to be struck by lightning today than win the lottery.
In spite of presenting this useful information to my wife in what I considered to be a very convincing manner, she still insisted that I go out and buy lottery tickets during a severe thunderstorm when the jackpot was unusually large. The good news is that I returned home safely without getting lit up like a Christmas tree. The bad news is that we didn’t win the lottery (big surprise), as evidenced by the fact that I haven’t quit my day job.
Stats in practice: Statistics author Sent Out by Wife to purchase Lottery tickets During thunderstorm: What’s Wrong with this picture?
www.freebookslides.com
C h a p t e r 4 | 4.1 An Introduction to Probabilities 149
• Event. One or more outcomes of an experiment. The outcome, or outcomes, is a sub- set of the sample space. An example of an event is rolling a pair with two dice.
• Simple event. An event with a single outcome in its most basic form that cannot be sim- plified. An example of a simple event is rolling a five with a single die.
Table 4.1 shows some other examples of experiments and their corresponding sample spaces.
The event “rolling a pair with two dice” is not a simple event because it contains two outcomes—the numbers from each die.
{ table 4.1 | Examples of Experiments and Their Sample Spaces
experiment sample space
Flip a coin {heads, tails}
Answer a multiple-choice question {a, b, c, d, e}
Inspect a product {defective, not defective}
Draw a card from a standard deck {52 cards in the deck}
There are three methods of assigning probability that we will discuss in this chapter: classical, empirical, and subjective.
Classical probability Classical probability is used when we know the number of possible outcomes of the event of interest and can calculate the probability of that event using Equation 4.1.
Classical probability is used when we know the number of possible outcomes of the event of interest and can calculate the probability of that event using Equation 4.1.
Formula 4.1 for classical probability
P1A2 = Number of possible outcomes that constitute Event A Total number of possible outcomes in the sample space
where
P1A2 = The probability that Event A will occur For our single-die experiment, our sample space has six possible outcomes, as shown in
Figure 4.1.
{ figure 4.1 The Sample Space for a Single
Die
If the simple Event A is defined as rolling a five, which has only one possible way of oc- curring, then the probability of Event A occurring is calculated as follows:
P1A2 = 1 6
= 0.167
In other words, there is a 16.7% probability of rolling a five. This is an example of simple probability because we are considering the likelihood of a single (simple) event occurring by itself. Later in this chapter, we will expand this concept to consider two or more events occurring.
Classical probability assumes that each event in the sample space has the same likeli- hood of occurring. That is, the chance of rolling a one is the same as rolling a two, and so forth. You also need to know the total number of possible outcomes in the sample space.
Simple probability represents the likelihood of a single (simple) event occurring by itself.
Classical probability requires that you know the number of outcomes that pertain to a particular event. You also need to know the total number of possible outcomes in the sample space.
www.freebookslides.com
150 C h a p t e r 4 | Introduction to Probabilities
Formula 4.2 for empirical probability
P1A2 = Frequency in which Event A occurs Total number of observations
If the sample space includes every possible simple event that can occur, then we say that set of events is collectively exhaustive (sounds like how I feel when I’m trying to make my publisher’s writing deadlines). For example, the events 1, 2, 3, 4, 5, and 6 are collectively ex- haustive when we roll a single die. When we roll the die, one of these outcomes must occur.
We can expand our classical probability example to rolling two dice together. This changes the sample space to the following one, which has 36 possible outcomes. Each pair of numbers represents the outcome of the two dice. Let’s define Event A as obtaining a sum of five. There are four ways in which a sum of five could be rolled; they are highlighted in yellow in the following sample space.
Sample Space When Rolling Two Dice to Obtain a Sum of Five
511,12 11,22 11,32 11,42 11,52 11,62 12,12 12,22 12,32 12,42 12,52 12,62 13,12 13,22 13,32 13,42 13,52 13,62 14,12 14,22 14,32 14,42 14,52 14,62 15,12 15,22 15,32 15,42 15,52 15,62 16,12 16,22 16,32 16,42 16,52 16,626
We can now calculate the probability of rolling a sum of five with our two dice. Because there are four ways to obtain a sum of five out of the 36 possible outcomes,
P1A2 = 4 36
= 0.111
In other words, there is an 11.1% chance of two dice summing to the number five.
A sample space is described as collectively exhaustive if it includes every possible simple event that can occur.
The sample space {male, female} would be an example of collectively exhaustive events because a person’s gender must be one or the other.
Try your luck on this card example to test your understanding of classical probability.
1. What is the probability of randomly selecting a spade from a standard 52-card deck? 2. What is the probability of obtaining a sum of eight when rolling two dice?
Y O u r t u r n # 1N
Answers can be found on u page 189
empirical probability With classical probability, we understand the underlying process of what we are working with, such as “There are 4 aces in a deck of 52 cards, so the probability of drawing an ace is 4/52.” When we don’t have the information needed to determine the number of outcomes associated with an event (there is no “known” sample space, in other words), we rely on empirical probability. Empirical probability involves conducting an experiment to observe the frequency with which an event occurs. We then calculate the ratio of the number of times the event occurred relative to the total number of times we observed that it both did and did not occur (Equation 4.2),
Empirical probability involves conducting an experiment to observe the frequency with which an event occurs.
Empirical probability requires that you count the frequency that an event occurs through an experiment and calculate the probability from the experiment’s relative frequency distribution. Say for example, I am a store owner and would like to know the probability that a per-
son who walks in my store will make a purchase. Classical probability is no help to me here because I don’t have any information about why someone makes a purchase. I need to use empirical probability by counting how many customers come to my store over a period of time and how many of those customers made a purchase. If 100 customers walked into my store today and 15 made a purchase, then my empirical probability for this event would be 15>100 = 0.15.
www.freebookslides.com
C h a p t e r 4 | 4.1 An Introduction to Probabilities 151
On a recent trip to the Nautica Factory Outlet store in Hilton Head, South Carolina, I was presented a scratch card from the salesperson that entitled me to a discount between 5% and 50% on my purchase. My discount card turned out to be 15%. Hoping to do better, I qui- etly told my wife to pretend she didn’t know me (which she was happy to do) and to get her own card. I’m sad to report Deb came back with a whopping 5% discount. For the sake of this example, let’s suppose that when Deb approached her, the salesperson had 20 cards with the discounts shown in Table 4.2.
{ table 4.2 | Nautica Factory Outlet Discount Cards
discount (%) number of cards
5 9
10 4
15 2
20 3
30 0
40 1
50 1
Total 20
{ table 4.3 | Calculating Empirical Probabilities
discount (%) number of cards probability
5 9 9>20 = 0.45 10 4 4>20 = 0.20 15 2 2>20 = 0.10 20 3 3>20 = 0.15 30 0 0>20 = 0.00 40 1 1>20 = 0.05 50 1 1>20 = 0.05
Total 20 20,20 = 1.00
For instance, the 5% discount has a frequency of nine because there were nine of these cards in the salesperson’s hand. We can determine the probability of Deb receiving each of the discounts using the relative frequency distribution procedure discussed in Chapter 3. This gives us the empirical probabilities of Deb receiving the discounts shown in Table 4.3.
As Table 4.3 shows, the probability of Deb getting a 5% discount is 45%. What was the probability that her discount would exceed my 15%? Because there were 5 cards out of the 20 that were greater than 15%, the probability of Deb’s discount exceeding 15%, which I’ll define as Event A, was as follows:
P1A2 = 5 20
= 0.25
Oh well, it was worth a try! There is an important connection between classical and empirical probabilities that
can be explained with the following example. Suppose I flip a fair coin (one with an equal chance of observing a heads or tails) three times and observe three tails. The empirical probability for this experiment is shown in Table 4.4.
There are three cards with 20%, one card with 40%, and one card with 50%.
Empirical probability is also known as the relative frequency approach because it relies on relative frequencies that were discussed in Chapter 2.
www.freebookslides.com
152 C h a p t e r 4 | Introduction to Probabilities
Even though the empirical probability of a tails in this example is 100%, we all know the classical probability is 50%. If we flipped the coin, say, 500 times, the empirical prob- ability would be very close to 50%. What we have discovered here is the law of large numbers, which states that when an experiment is conducted a large number of times, the empirical probabilities of the process will converge to the classical probabilities.
The following Your Turn problem will give you an opportunity to test your newly learned empirical probability skills.
The law of large numbers states that when an experiment is conducted a large number of times, the empirical probabilities of the process will converge to the classical probabilities.
{ table 4.4 | The Empirical Probabilities of a Coin Flip
outcome frequency probability
Heads 0 0>3 = 0.00 Tails 3 3>3 = 1.00 Total 3 3,3 = 1.00
In a recent survey of 1,025 adults conducted by the poll-taking company Gallup asked how much money they planned to spend on Christmas gifts. The results are shown in the following table:
Amount Frequency
$1,000 or more 297
$500–$999 246
$250–$499 144
$100–$249 164
Less than $100 41
No opinion 133
Total 1,025
a) What is the probability that a randomly selected person is planning to spend between $250 and $499 for Christmas?
b) What is the probability that a randomly selected person is planning to spend $250 or more for Christmas?
Y O u r t u r n # 2N
Answers can be found on u page 189
Subjective probability We use subjective probability when classical and empirical probabilities are not available. These are instances in which data or experiments are not available to calculate probabilities. Instead, we rely on our experience and judgment to estimate the probabilities.
The following examples demonstrate how subjective probability is used in the business world:
• A director of marketing estimates that there is a 20% probability that her company’s biggest competitor will reduce its prices in the next month.
• A human resource manager reports that there is a 75% chance that his company will institute a hiring freeze for the upcoming year.
• A market analyst believes that there is a 50% probability that Apple will announce a new version of the iPhone next month.
In each case, it would be very difficult to determine these probabilities using classical or empirical methods. Rather, these subjective probabilities would most likely be based on the
We use subjective probability when classical and empirical probabilities are not available and instead we rely on experience and intuition to estimate the probabilities.
www.freebookslides.com
C h a p t e r 4 | 4.1 An Introduction to Probabilities 153
expertise and judgment of the individuals. We often engage in this type of assessment in our day-to-day lives, albeit more informally. Have you, perhaps, at some point in your college career mulled over the possibility of passing tomorrow’s exam after staying out late with your friends the night before? If you have, you have put subjective probability to work!
Let’s see if you can distinguish between the three different types of probabilities in the next Your Turn problem.
{ table 4.5 | Emergency Room Arrival Methods
method of arrival frequency probability
Walk-in 132 132>197 = 0.67 Ambulance 61 61>197 = 0.31 Helicopter 2 2>197 = 0.01 Prison guard 2 2>197 = 0.01 Total 197 197,197 = 1.00
Indicate whether classical, empirical, or subjective probability should be used to determine each of the following:
a. The probability that the baseball player Josh Hamilton will hit a home run during his next at bat b. The probability of drawing a jack from a deck of cards c. The probability that I will shoot lower than a 90 during my next round of golf d. The probability of winning your state’s lottery e. The probability that the price of gasoline will exceed $4.00 per gallon next summer f. The probability that I will finish writing my next textbook before my deadline
Y O u r t u r n # 3N
Answers can be found on u page 190
Basic properties of a probability Our next step is to review the “rules and regulations” that govern probability theory. The ba- sic ones are as follows:
Probability Rule 1 If P1A2 = 1, then with certainty, Event A must occur. An example is Event A = Rolling a single six-sided die and observing a 1, 2, 3, 4, 5, or 6.
Probability Rule 2 If P1A2 = 0, then with certainty, Event A will not occur. An example is Event A = Draw- ing five cards from a 52-card deck without replacing any of them and observing five aces in your hand. (A 52-card deck only has four aces. The only way this event can occur is if some- body is cheating and has another ace up his or her sleeve!)
Probability Rule 3 The probability of any event must range from 0 to 1. Probabilities can never be negative or greater than 1. For example, the probability of my wife buying a pair of shoes next month could be 0 (0%), 1 (100%), or some number in between. However, the probability could never be - 1 1 - 100%2 or 2 (200%). (My experience tells me my subjective probability of this event occurring will be closer to 100% than 0%, but I should keep that assessment to myself.)
Probability Rule 4 The sum of all the probabilities for the simple events in the sample space must be equal to 1. For example, Table 4.5 shows the way in which patients arrived at the University of Virginia Medical Center’s emergency room during a recent 24-hour period.
Note that the sum of the probabilities in the third column adds to 1.00 because every simple event in the sample space is included in the table. In other words, the only recorded methods of arrival are those listed in Table 4.5.
www.freebookslides.com
154 C h a p t e r 4 | Introduction to Probabilities
Probability Rule 5 The complement to Event A is defined as all of the outcomes in the sample space that are not part of Event A. The complement is denoted as A′. Using this definition, we can state the following:
The complement to Event A is defined as all the outcomes in the sample space that are not part of Event A and is denoted as A′.
Formula 4.3 for the complement rule
P1A2 + P1A′2 = 1 or P1A2 = 1 - P1A′2
In other words, the probability of the complement of an event occurring is 100% minus the probability of the event itself occurring. We can see this graphically in Figure 4.2, which shows a Venn diagram. The box represents the entire sample space, and the shaded circle represents Event A. The area outside the circle within the box represents the complement of Event A.
{ figure 4.2 Venn Diagram Illustrating the
Complement Rule A
A
Table 4.6 demonstrates the complement rule by showing the results of a survey con- ducted by Impulse Research for the Downtown Cookie Company. In the survey, 1,033 adults were asked to identify their favorite cookie.
{ table 4.6 | Favorite Cookie Survey
favorite cookie frequency probability
Chocolate chip 548 0.53
Peanut butter 165 0.16
Oatmeal 155 0.15
Sugar/shortbread 114 0.11
Other 51 0.05
Total 1,033 1.00
We’ll define Event A as selecting a person whose favorite cookie was chocolate chip. This means that Event A′ represents the probability of selecting a person whose favorite cookie was not chocolate chip. From Table 4.6, we can determine P1A′2 as follows:
P1A2 = 0.53 P1A′2 = 1 - P1A2 = 1 - 0.53 = 0.47
The probability of selecting someone whose favorite cookie is not chocolate chip is 47%. Notice that the complement rule saved us some work because it is easier to calculate than adding up all the following probabilities:
P1A′2 = 0.16 + 0.15 + 0.11 + 0.05 = 0.47 Test your newfound skills in the following Your Turn box before moving on to the next
section.
www.freebookslides.com
C h a p t e r 4 | 4.1 An Introduction to Probabilities 155
4.1 Section Problems Basic Skills 4.1 Identify which of the following values are valid and not
valid numbers for a probability:
a. 5
4 f. 14%
b. 0.04 g. - 3
3 c. 200% h. 0% d. 0.5 i. 1.2
e. 1
8 4.2 What is the probability of randomly selecting a diamond
from a standard 52-card deck?
4.3 Consider the experiment of rolling two dice. a. What is the probability of obtaining a sum of seven? b. What is the probability of obtaining a sum of three or
less? c. What is the probability of obtaining a sum of ten or
more?
4.4 Indicate whether classical, empirical, or subjective prob- ability should be used to determine each of the following: a. The probability that the Green Bay Packers will make
the playoffs this year. b. The probability that no students will be absent from
my next statistics class.
c. The probability that I will draw three of a kind in a five-card hand.
d. The probability that the local bakery will sell more than five loaves of rye bread tomorrow.
e. The probability that I will randomly select a red M&M from a bowl that contains five red, eight yellow, and seven green M&Ms.
applications 4.5 A customer survey asked respondents to indicate their high-
est levels of education. The only three choices in the survey were high school, college, and other. If 29% indicated high school and 53% indicated college, determine the percentage of respondents who chose the “other” category.
4.6 A survey was conducted in which 125 families were asked how many cats lived in their households. The results are as follows:
Number of Cats Number of Households
0 76
1 32
2 12
3 3
4 2
Total 125
1. Identify which of the following values are valid and not valid numbers for a probability:
a. 0.19 b. - 0.6 c. 0 d. 51% e. 1.08
Y O u r t u r n # 4N
Answers can be found on u page 190
f. 124%
g. 2 3
h. 1
i. - 1 6
2. The following table shows the average change in salaries for full-time permanent employees over a recent one-year period as determined by a survey of 2,795 human resource professionals by Harris Interactive:
Change in Salary Frequency Probability
11% or more 58 0.02
4%–10% 351 0.13
1%–3% 720 0.26
No change 1,491 0.53
Decrease 175 0.06
Total 2,795 1.00
Use the complement rule to determine the probability that an employee did not take a pay cut.
www.freebookslides.com
156 C h a p t e r 4 | Introduction to Probabilities
a. What is the probability that a randomly selected family has one cat?
b. What is the probability that a randomly selected family has more than one cat?
c. What is the probability that a randomly selected family has cats?
d. Is this an example of classical, empirical, or subjective probability?
4.7 A total of 200 adults responded to a survey asking them to name their favorite national park. The relative frequencies are as follows:
Park Relative Frequency (%)
Yellowstone 33
Great Smoky Mountains 19
Yosemite 19
Acadia 7
Other ?
Total 100
a. What percentage of respondents chose the “Other” category?
b. How many respondents selected Yellowstone? c. How many respondents selected either Yosemite or
Acadia? d. Is this an example of classical, empirical, or subjective
probability?
4.8 The following table shows the frequencies of executives’ salary ranges at a particular organization:
Salary Range Frequency
Under $60,000 2
$60,000 to under $70,000 5
$70,000 to under $80,000 7
$80,000 to under $90,000 4
$90,000 to under $100,000 6
$100,000 or more ?
Total 26
a. How many executives at this organization earned $100,000 or more per year?
b. What is the probability that a randomly selected executive earned $100,000 or more per year?
c. What is the probability that a randomly selected executive earned $60,000 or more per year?
d. What is the probability that a randomly selected executive earned between $70,000 and $90,000 per year?
4.9 Braun Research recently surveyed U.S. adults about the number of cups of coffee they drink per day and per week. The percentages are as follows:
Number of Cups Percentage
Two or more cups a day 33
One cup a day 19
Two cups a week 11
One cup a week 9
Don’t drink coffee 28
a. What percentage of adults drink coffee? b. What percentage of adults drink two cups or more of
coffee a week? c. What percentage of adults drink one or two cups per
week?
4.2 Probability Rules for More Than One Event
Up until now, we have focused on basic probability concepts that primarily deal with a sin- gle event. However, in the business world, situations are rarely this simple. Oftentimes, they involve two or more events that intersect with one another. For example, a banking manager might want to know the probability that a customer who has a poor credit score will default on her mortgage. In this case there are two events to consider:
Event A = Customer defaults on mortgage Event B = Customer has a low credit score
To address this type of probability, we need to explore the concepts presented in this section.
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 157
the Intersection of events To demonstrate working with probabilities of multiple events, I will use the following ex- ample. Now that my children are older and living away from home, I cherish those moments when the phone rings and I see one of their names appear on my caller ID. Experience has taught me that I can categorize these calls as either “crisis”—involving such things as a com- puter, a car, an ATM card, or a cell phone—or “noncrisis”—when the kids call just to see if I’m alive and well so that I’ll be available for their next crisis.
Table 4.7, which is called a contingency table, categorizes the last 50 phone calls by child and type of call.
A contingency table indicates the number of occurrences of events that are classified according to two categorical variables.
{ table 4.7 | A Contingency Table for Phone Calls
child crisis noncrisis total
Christin 12 7 19
Brian 10 4 14
John 6 11 17
Total 28 22 50
I received a total of 14 phone calls from Brian, of which 10 were crisis and 4 were noncrisis.
Contingency tables show the actual or relative frequency of two categorical variables at the same time. In this case, the categorical variables are the child and type of call. I’ll as- sume that this past pattern of calls will hold true in the near future. We’ll define Events A and B as follows:
Event A = The next phone call will come from Christin Event B = The next phone call will involve a crisis
We can use the contingency table to calculate the simple probability that the next phone call will come from Christin:
P1A2 = 19 50
= 0.38
The probability that the next phone call will involve a crisis would be as follows:
P1B2 = 28 50
= 0.56
These simple probabilities are also known as marginal probabilities in some settings. What about the probability that the next phone call will come from Christin and will in-
volve a crisis? This event is known as the intersection of Events A and B and is described as A ¨ B. Figure 4.3 shows a Venn diagram describing the intersection of Events A and B. It is the shaded region shared by both events.
Marginal probability is another term used for simple probability.
There were a total of 19 calls from Christin (12 crisis and 7 noncrisis) in Table 4.7.
There were a total of 28 crisis calls between all three kids in Table 4.7.
The intersection of Events A and B represents the number of instances in which Events A and B occur at the same time (that is, the same phone call is both from Christin and a crisis).
The number of phone calls from our contingency table that meet both criteria is found at the intersection of the Crisis column and the Christin row in Table 4.7, which is 12; therefore,
P1A and B2 = P1A ¨ B2 = 12 50
= 0.24
This explains why I hold my breath as I pick up the phone! The probability of the intersec- tion of two events is known as a joint probability.
The probability of the intersection of two events is known as a joint probability.
A B
A and B
{ figure 4.3 Venn Diagram Illustrating the
Intersection of A and B
www.freebookslides.com
158 C H A P T E R 4 | Introduction to Probabilities
Therefore, the probability that the next phone call is either from Christin (Event A) or a crisis (Event B) is as follows:
P1A or B2 = P1A h B2 = 35 50
= 0.70
Pay close attention to the wording of a probability question. Does it include the word and or the word or? One way to distinguish between the use of and and or is to remember the following relationships that always hold true:
And S Intersection Or S Union
Our previous example shows that there is a big difference between the probability of the intersection of two events occurring and the probability of the union of two events occurring:
Intersection: P1A and B2 = P1A ¨ B2 = 12 50
= 0.24
Union: P1A or B2 = P1A h B2 = 35 50
= 0.70
{ figure 4.4 Venn Diagram Illustrating the
Union of Events A and B A B
A or B
{ table 4.8 | A Contingency Table Showing the Union of Two Events: Phone Calls
child crisis noncrisis total
Christin 12 7 19
Brian 10 4 14
John 6 11 17
Total 28 22 50
child type of call number of calls
Christin Crisis 12
Christin Noncrisis 7
Brian Crisis 10
John Crisis 6
Total = 35
Many of us college professors have been accused of tricking our poor defenseless students with the use of and and or in exams. Convince yourself that you understand the difference.
The probability of the intersection of two events occurring can never be more than the probability of the union of two events occurring.
The Union of Events The union of Events A and B represents the number of instances in which either Event A or Event B or both occur together. The union is denoted as A h B. Figure 4.4 shows a Venn diagram describing the union of Events A and B. It consists of all three shaded regions.
The union of Events A and B represents the number of instances where either Event A or B occur or both events occur together.
Using our previous example, the highlighted numbers in Table 4.8 show the instances that include either
• A call—crisis or noncrisis—from Christin (Event A)
or
• A crisis phone call from any of the three kids (Event B)
Note that there were a total of 35 such calls 112 + 7 + 10 + 6 = 352.
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 159
Notice that the probability of the union occurring is 70%, whereas the probability of the intersection occurring is just 24%. Why is this so? Because the union of Events A and B in- clude the intersection of Events A and B (the orange region in Figure 4.4) as well as the red and yellow regions in Figure 4.4. You will never encounter a situation in which the probabil- ity of the intersection of two events is greater than the union.
Understanding the difference between the intersection and the union of events and how to calculate them is very important. For example, suppose Comcast Cable is tracking customer complaints and would like to know the probability that an unsatisfied customer is male and has a premium channel package. This question requires the use of the intersection of events (AND). If the union of events (OR) is erroneously used, the resulting probability will be higher than the true value. Take a few minutes to test your understanding in the fol- lowing Your Turn problem before moving on.
the addition rule In the previous sections, we defined the intersection and union of events in general terms. Now it is time to use the addition rule for probabilities to calculate the probability of the union of events, that is, the probability that Event A, or Event B, or both events will occur. However, the addition rule requires us to first learn on a new concept: mutually exclusive events.
Two events are considered to be mutually exclusive if they cannot occur at the same time during the experiment. To demonstrate this, refer to Table 4.9, which shows the grade distri- bution of one of my statistics classes along with the genders of the students.
The addition rule for probabilities is used to calculate the probability of the union of events, that is, the probability that Event A, or Event B, or both events will occur.
Two events are considered to be mutually exclusive if they cannot occur at the same time during the experiment.
The following table indicates the number of customers at Walmart who purchased a digital camera with and without extended warranties. The contingency table also identifies the age group of the customers.
Age Group Warranty No Warranty Total
Less than 40 5 34 39
40 or Older 6 15 21
Total 11 49 60
What is the probability that a randomly selected customer
a. chose to purchase the warranty? b. was less than 40 years old? c. was 40 years or older and chose not to purchase a warranty? d. was less than 40 or chose not to purchase a warranty?
Y o U r t U r n # 5N
Answers can be found on u page 190
{ table 4.9 | Grade Distribution of My Statistics Class (by Gender)
grade female male total
A 6 3 9
B 4 8 12
C 0 4 4
Total 10 15 25
Consider the following two events:
Event A = Student earned an A grade Event B = Student earned a B grade
www.freebookslides.com
160 C h a p t e r 4 | Introduction to Probabilities
Formula 4.5 for The Addition Rule for Events That Are Not Mutually Exclusive
P1A or B2 = P1A2 + P1B2 - P1A and B2
The addition rule depends on whether or not the two events are mutually exclusive. Events A and B would be considered mutually exclusive because a student cannot receive both an A and a B grade at the same time. This concept is shown graphically in the Venn diagram in Figure 4.5. As you can see, mutually exclusive events have no overlap in the sample space.
{ figure 4.5 Venn Diagram Illustrating
Mutually Exclusive Events A B
For mutually exclusive events, the addition rule states that the probability of two events occurring is simply the sum of their individual probabilities. Equation 4.4 shows how the ad- dition rule is written.
An example of two events that are not mutually exclusive: Event A = a randomly selected student gets an A grade on the exam and Event B = a randomly selected student is female. Both of these events can occur together.
Formula 4.4 for The Addition Rule for Mutually Exclusive Events
P1A or B2 = P1A2 + P1B2
For our grade-distribution example, the probability that a randomly selected student earned either an A or a B grade is calculated as follows:
P1A2 = 9 25
= 0.36 P1B2 = 12 25
= 0.48
P1A or B2 = P1A2 + P1B2 P1A or B2 = 0.36 + 0.48 = 0.84
Next, let’s consider the following two events from the grade example:
Event A = Student earned an A grade Event B = Student is female
Now, Events A and B are not mutually exclusive. This is because a student can receive an A grade and be female at the same time. This concept is shown graphically in the Venn dia- gram in Figure 4.6.
{ figure 4.6 Venn Diagram Illustrating
Events That Are Not Mutually Exclusive A B
You can see in Figure 4.6 that there is overlap between Events A and B (orange-shaded region). For events that are not mutually exclusive, the addition rule states that the probabil- ity of the two events occurring is the sum of their individual probabilities occurring minus the probability of the intersection of two events, as shown in Equation 4.5.
P(A and B) is shown in the orange-shaded region.
This term represents the orange-shaded region in Figure 4.6. We subtract it out of Equation 4.5 to avoid double counting this orange region. For our grade-distribution example, the probability that a randomly selected student
either earned an A (Event A) or is female (Event B) is determined as follows.
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 161
Nine of the 25 students in the class received A’s (Event A). Ten of the 25 students in the class are female (Event B). Therefore,
P1A2 = 9 25
= 0.36 P1B2 = 10 25
= 0.40
P(A and B) is the intersection of the two events: both receiving an A and being female. Our data from Table 4.8 show that six women received A’s. Thus,
P1A and B2 = 6 25
= 0.24
Now we are ready to calculate the probability that a randomly selected student either earned an A (Event A) or is female (Event B) using Equation 4.5.
P1A or B2 = P1A2 + P1B2 - P1A and B2 P1A or B2 = 0.36 + 0.40 - 0.24 = 0.52
Why do we need to subtract the intersection of Events A and B in the addition rule in Equation 4.5 when they are not mutually exclusive? Figure 4.7 shows what happens when the probabilities of the two events are added together. A total of nine students earned an A grade, of which six were female. There were a total of 10 female students, of which 6 earned an A. Adding the probabilities of Events A and B results in counting the six female students who earned an A grade twice. The overlap for these six students is evident in Figure 4.7. To avoid counting these students twice, we subtract this intersection of Events A and B in Equation 4.5.
{ figure 4.7 The Addition Rule for Events
That Are Not Mutually Exclu- sive: The Grade Distribution
Grade
A B C Total
Female
6 4 0
10
Male
3 8 4
15
Total
9 12
4 25
Before moving on, this would be a good time to convince yourself that you understand the addition rule with the following Your Turn problem.
The following table shows the number of Bank of America customers who have overdue accounts. The data are broken down by the credit card type and number of days overdue.
Card Type
Days Overdue Standard Gold Total
30 days or less 165 90 255
31–60 days 96 121 217
61–90 days 42 49 91
More than 90 days 22 15 37
Total 325 275 600
Determine the probability that a randomly selected customer
a. has a Standard card and is 31–60 days overdue b. has a Standard card or is 30 days or less overdue c. has a Gold card and is 61–90 days overdue d. is 31–60 days or is 30 days or less overdue e. is 31–60 days and is 61–90 days overdue
Y o U r t U r n # 6 N
Answers can be found on u page 190
www.freebookslides.com
162 C h a p t e r 4 | Introduction to Probabilities
Conditional probability Conditional probability is the probability of Event A occurring, knowing, or given the condi- tion, that Event B has already occurred. In other words, the likelihood of Event A occurring can be affected by the fact that Event B has already occurred.
Consider the following example of a conditional probability: The SAT is a nationally administered test that many colleges use to evaluate student admissions. The math portion of the exam is scored on a scale of 0–800. Some students will enroll in a preparation course in the hopes of increasing their chances of a higher score. Table 4.10 shows the number of students in different categories of math scores and identifies the number of students who participated in a preparation class.
Conditional probability is the probability of Event A occurring, given the condition that Event B has occurred.
40 students who took the prep class scored in the 401–600 range
{ table 4.10 | Math SAT Scores with and Without a Prep Class
score range prep class no prep class total
201–400 8 53 61
401–600 40 107 147
601–800 22 20 42
Total 70 180 250
Consider the following two events:
Event A = Student scored in the 601–800 range in math Event B = Student participated in a prep class
We would like to investigate whether the prep class increased the chance of scoring in the 601–800 range. Conditional probability can help us answer this question.
Because the sample space for Event A is 250 students and the number of students who scored in the 601–800 range is 42, the simple probability, P1A2, is calculated as follows:
P1A2 = 42 250
= 0.168
There is a 16.8% chance that a randomly selected student scored in the 601–800 range. This simple probability is also known as a prior probability because it is determined without any additional information.
However, what if we had some additional information regarding the randomly selected student? Suppose we know the student participated in a prep class. We are now seeking the probability that the student scored in the 601–800 range, given he or she participated in a prep class. The notation for the probability of Event A, given the condition that Event B occurred, is shown as follows:
P1A � B2 For this conditional probability, the sample space of interest is reduced to those students who took the prep class, which is 70. Out of those 70 students, 22 scored in the 601–800 range. Therefore, the probability of a student scoring in the 601–800 range, given he or she partici- pated in a prep class, is as follows:
P1A � B2 = 22 70
= 0.314
Based on this evidence, it appears that the prep class has influenced the probability of scor- ing in the 601–800 range because
P1A2 = 0.168 P1A � B2 = 0.314
What we have learned is that students who take the prep class have a higher probability of scoring in the 601–800 range.
Prior probability is the probability of Event A occurring as determined without any additional information that could influence the event.
Students who take the prep class have nearly twice the probability of scoring in the 601–800 range than a randomly selected student from the sample space.
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 163
Equations 4.6 and 4.7 show how a conditional probability is calculated.
Formulas 4.6 and 4.7 for Calculating a Conditional Probability
P1A � B2 = P1A and B2 P1B2
or
P1B � A2 = P1A and B2 P1A2
Equation 4.6 requires that P1B2 7 0, whereas Equation 4.7 requires that P1A2 7 0. We can apply this equation to our example, as follows, to verify our SAT result:
P1A and B2 = 22 250
= 0.088
P1B2 = 70 250
= 0.280
P1A � B2 = P1A and B2 P1B2 =
0.088
0.280 = 0.314
Whichever way you calculate it, a conditional probability is also known as a posterior probability (I’ll resist using a “behind” joke here), which is a revision of the prior probability using additional information. In this case, the additional information is the fact that the stu- dent participated in the prep class.
Conditional probabilities have many applications in the business environment, such as the following:
• A bank would be very interested to know how probable it is that a customer with a credit- card balance of less than $3,000 will pay his entire balance in any given month.
• A car manufacturer would like to know the probability that a 40-year-old female customer will choose to purchase an extended warranty from the factory.
The following Your Turn problem will use the 2008 Summer Olympics to test your understanding of conditional probability.
This result matches the probability that we found earlier using Table 4.10.
A conditional probability is also known as a posterior probability, which is a revision of the prior probability using additional information.
The following table lists the number of medals won by particular countries during the 2012 Summer Olympics in London.
Gold Silver Bronze Total
United States 46 29 29 104
China 38 27 23 88
Russia 24 26 32 82
Other 194 222 272 688
Total 302 304 356 962
a. What is the probability that a randomly selected medal is gold? b. What is the probability that a randomly selected medal was won by Russia? c. What is the probability that a randomly selected medal was silver and won by the United States? d. What is the probability that a randomly selected medal was bronze or won by China? e. Given that a medal is gold, what is the probability that it was won by the United States? f. Given that a medal was won by Russia, what is the probability that it was Bronze?
Y o U r t U r n # 7N
Answers can be found on u page 190
www.freebookslides.com
164 C h a p t e r 4 | Introduction to Probabilities
Independent and Dependent events Two events are considered independent of each other if the occurrence of one event has no impact on the occurrence of the other event. Consider the following two independent events:
Event A: Today, I join the multitudes and decide to purchase the current version of Apple’s iPhone.
Event B: Later that same day, Apple announces the development of the newest version of the iPhone with several cool features that the current version does not have.
Even though the timing of these two events may feel like the cruel work of fate, obvi- ously they are independent of one another. I would have a difficult time convincing any rational person that Apple’s management was waiting for my purchase before making this announcement.
If the occurrence of one event affected the probability of another event, we would call these events dependent. Consider the following two dependent events:
Event A: You earn an A grade on your statistics exam.
Event B: You study many hours preparing for your statistics exam.
As a teacher, I am confident that the occurrence of Event B will have an impact on the prob- ability of Event A, making these two events dependent.
To apply this concept, I’ll use the following example. My wife, Deb, is an avid tennis player, and we enjoy playing matches against each other. We do, however, have one dif- ference of opinion on the court. Deb likes to have a nice long warm-up session at the start, where we hit the ball back and forth and back and forth for what seems like an eternity to me. All during this time, a little voice in my head is saying, “Who’s winning?” and “What’s the score?” My ideal warm-up is to bend at the waist to tie my sneakers. Deb tells me that when we rush through the warm-up, she doesn’t play as well. “Hogwash!” I say, and I’ll use conditional probability to show her who’s right. Table 4.11 shows the outcomes of our last 25 matches, along with the type of warm-up before we started keeping score.
Two events are considered independent of one another if the occurrence of one event has no impact on the occurrence of the other event.
If the occurrence of one event affects the occurrence of another event, the events are considered dependent.
{ table 4.11 | A Contingency Table for Tennis Matches
warm-up time deb wins bob wins total
Short 4 11 15
Long 7 3 10
Total 11 14 25
We’ll define the following events of interest:
Event A = Deb wins the tennis match Event B = The warm-up time is long
First, using the totals columns in Table 4.11, we’ll calculate the marginal probability of Deb winning the match, P1A2. The calculation is as follows:
P1A2 = 11 25
= 0.44
Next, we’ll calculate the conditional probability of Deb winning the match, given that the warm-up period was long, P1A � B2, using Equation 4.6:
P1A and B2 = 7 25
= 0.28
P1B2 = 10 25
= 0.40
P1A � B2 = P1A and B2 P1B2 =
0.28
0.40 = 0.70
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 165
If the warm-up period has no impact on Deb’s chances of winning (the events are inde- pendent events), then I would expect the conditional probability that she will win because of a long warm-up to be equal to the marginal probability that she will win regardless of the length of the warm-up. In other words, P1A � B2 would equal P1A2.
Unfortunately for me, once again Deb seems to be right. The probability of her winning regardless of the length of the warm-up is just 44%. The probability of her winning given the condition of a long warm-up is 70%. These two events are dependent on one another. Excuse me while I go apologize to my wife.
In general, the definition of two events that are independent is shown in Equation 4.8.
Otherwise, Events A and B are dependent. Spend a few minutes on the next Your Turn problem to be sure you understand the con-
cept of independent and dependent events.
Formula 4.8 for Determining if Events A and B Are Independent
P1A � B2 = P1A2
Because this probability is not equal to 70%, Events A and B are not independent. It seems that Deb’s chance of winning is affected by the length of the warm-up.
The following table shows the number of adults (in thousands) in the United States who were employed and unemployed in 2012 along with their marital statuses.
Status Employed Unemployed Total
Married 95,886 6,480 102,366
Never Married 39,348 6,025 45,373
Total 135,234 12,505 147,739
Event A = Person is unemployed Event B = Person is married
Determine whether Events A and B are independent or dependent.
Y o U r t U r n # 8N
Answer can be found on u page 191
the Multiplication rule Earlier, I introduced the addition rule for probability to calculate the union of Events A and B. In this section, I will use the multiplication rule to determine the probability of the intersec- tion of two events occurring, or P(A and B). Recall that this situation is known as the joint probability. We can derive the multiplication rule, shown in Equation 4.9, by rearranging the conditional probability equation, Equation 4.6, and using algebra to solve for P(A and B). Likewise, the multiplication rule shown in Equation 4.10 can be derived from Equation 4.7. These equations assume that Events A and B are dependent.
The multiplication rule is used to determine the probability of the intersection (joint probability) of two events occurring, or P (A and B).
Formulas 4.9 and 4.10 for The Multiplication Rule for Dependent Events
P1A � B2 = P1A and B2 P1B2
P1A and B2 = P1B2P1A� B2 or
P1B � A2 = P1A and B2 P1A2
P1A and B2 = P1A2P1B � A2
www.freebookslides.com
166 C h a p t e r 4 | Introduction to Probabilities
To demonstrate the multiplication rule for dependent events, consider a grocery store that unknowingly received a potato chip order containing an unusually high percentage of bags with salt content below quality control standards. The day you walk in the store to pur- chase two bags, there are 32 bags on the shelf, 9 of which have low salt content. What is the probability that both bags you select will have low salt content?
To answer this question, we first define the following events:
Event A = The first bag has low salt content Event B = The second bag has low salt content
The two events are dependent because if the first bag selected is removed from the shelf, the sample space for selecting the second is reduced from 32 to 31 bags, which affects the prob- abilities. We can use the multiplication rule shown in Equation 4.10 to determine the prob- ability that both bags will be low on salt, or P(A and B). First, recognize that the probability of Event A occurring is determined as follows:
P1A2 = 9 32
= 0.281
The conditional probability P1B � A2 refers to the probability that the second bag is low on salt given that the first bag selected was also low on salt. Because the first bag selected was not replaced on the shelf, there is one less low-salt bag among the remaining 31 bags. This means that
P1B � A2 = 8 31
= 0.258
Therefore, using the multiplication rule, we can tell that the joint probability that both bags selected will be low salt is as follows:
P1A and B2 = P1A2P1B � A2 P1A and B2 = 10.281210.2582 = 0.072
There is slightly more than a 7% chance that you will leave the grocery store with two bags low on salt content.
As we have explained, Events A and B are independent if P1B � A2 = P1B2. When two events are independent, the probability of them both occurring is simply the product of their individual probabilities of occurring. In this case, the multiplication rule can be simplified as shown in Equation 4.11.
Only 8 of the remaining 31 bags have low salt because the first bag selected was also low salt.
For example, the Club Bistro restaurant in Wilmington, Delaware, has observed that a customer will order the Chef’s Special for the evening 18% of the time. Assuming that cus- tomer orders are independent of one another, we can use Equation 4.11 to calculate the joint probability of the following two events occurring:
Event A = The first customer orders the Chef’s Special Event B = The second customer orders the Chef’s Special
P1A and B2 = P1A2P1B2 P1A and B2 = 10.18210.182 = 0.032
In case you were wondering, the multiplication rule for independent events is not limited to only two events. It can be used to calculate any number of independent events, as Equation 4.12 shows:
Independence means that the probability of the second person ordering the Chef’s Special is the same regardless of whether the first person ordered the Chef’s Special.
Formula 4.11 for The Multiplication Rule for Two Independent Events
P1A and B2 = P1A2P1B2
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 167
To demonstrate this rule, suppose you walk into class and your teacher surprises you with a five-question true/false pop quiz. If you randomly guess at all five answers, what is the probability you will answer all of them correctly? I’ll define the following events:
A1 = Answering question 1 correctly A2, A3, A4, and A5 = Answering questions 2, 3, 4, and 5 correctly
Because you are randomly guessing (shame on you!), you have a 50% chance of Event A1 occurring. You have the same chance (50%) of answering each of the other four questions right. Therefore,
P1of 5 correct answers2 = P1A12P1A22P1A32P1A42P1A52 P1of 5 correct answers2 = 10.5210.5210.5210.5210.52 = 0.031
You have a 3% chance of correctly guessing at all five true/false answers. As you can see, this is not a great test-taking strategy!
The multiplication rule is very helpful in a business setting because people’s intuition often leads them astray when they are assessing probabilities. To illustrate, consider the fol- lowing two statements:
Statement 1: You will complete all of the goals that were assigned to you by your boss this year.
Statement 2: You will complete all of the goals that were assigned to you by your boss this past year, and you will receive an above-average salary increase based on your performance.
Which statement has the higher probability of occurring? One research study found that most people selected choices similar to Statement 2 as being more likely. Including the above-average salary increase apparently gives Statement 2 more credibility. But now that you are well versed in the multiplication rule, I hope you see that this is not possible. To prove my point, let’s define the following events:
Event A: You will complete all of the goals that were assigned to you by your boss this year.
Event B: You will receive an above-average salary increase based on your performance.
Statement 2 corresponds to P(A and B), which, according to the multiplication rule, equals P1A2P1B � A2. Mathematically, it is impossible for P(A and B) 7 P(A), which means Statement 2 could never be more likely than Statement 1, no matter how convincing your intuition happens to be. Be sure to give the next Your Turn problem a try to make sure the multiplication rule makes sense to you.
Statement 1 = Event A occurring, while Statement 2 = Event (A and B) occurring.
1. Draw two cards from a standard 52-card deck without replacing the first card. What is the prob- ability that the first card will be a red queen and the second card will be a red card?
2. Draw two cards from a standard 52-card deck, replacing the first card after you draw it. What is the probability that the first card will be a red queen and the second card will be a red card?
Y o U r t U r n # 9N
Answers can be found on u page 191
Contingency tables with probabilities So far in the chapter, we have used contingency tables to show the frequency of events. We will now convert those frequencies into probabilities. We do so by dividing each number in the table by the total number of observations. Let’s say Club Bistro has two types of entrée,
Formula 4.12 for The Multiplication Rule for n Independent Events
P1A1 and A2 and cand An2 = P1A12P1A22cP1An2
www.freebookslides.com
168 C H A P T E R 4 | Introduction to Probabilities
{ table 4.12 | Frequency of Customer Satisfaction by Entrée Type
response meat fish total
Satisfied 70 100 170
Not Satisfied 10 20 30
Total 80 120 200
{ table 4.13 | Probability of Customer Satisfaction by Entrée Type
response meat fish total
Satisfied 70>200 = 0.35 100>200 = 0.50 170>200 = 0.85 Not Satisfied 10>200 = 0.05 20>200 = 0.10 30>200 = 0.15 Total 80>200 = 0.40 120>200 = 0.60 200>200 = 1.00
{ figure 4.8 A Summary of Customer
Satisfaction Probabilities by Entrée Type
Response Meat Fish Total
0.35 0.50 0.85
0.05 0.10 0.15
Total 0.40 0.60 1.00
Joint Probabilities Marginal Probabilities
Conditional Probabilities
0.35 0.40
0.50 0.60
0.05 0.40
0.10
0.875
0.833
0.125
0.167 0.60
= =
= =
= =
= =
=
=
=
=
Satis�ed (A) Not Satis�ed (B)
(C ) (D)
P(A and C ) = 0.35 P(A and D) = 0.50
P(B and C ) = 0.05 P(B and D) = 0.10
P(A) = 0.85 P(B) = 0.15
P(C) = 0.40 P(D) = 0.60
P(A|C)
P(A|D)
P(B|C )
P(B|D)
P(A and C ) P(C )
P(A and D) P(D)
P(B and C ) P(C )
P(B and D) P(D)
meat and fish. Customers are individually asked after their meals if they were satisfied with them. Table 4.12 shows the contingency table for the past 200 customers.
What can we conclude about Table 4.13? Figure 4.8 summarizes the various types of probabilities discussed in this chapter using the following events:
Event A = Customer is satisfied with the meal Event B = Customer is not satisfied with the meal Event C = Customer orders a meat entrée Event D = Customer orders a fish entrée
Table 4.13 converts each frequency into a probability by dividing each number in Table 4.12 by 200, the total number of customers.
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 169
From Figure 4.8, we can conclude that the probability of a customer being satisfied with his or her meal is P1A2 = 0.85. The probability that a customer is satisfied with his or her meal and had a meat entrée is P1A and C2 = 0.35. (This is one of the joint probabilities shown in Figure 4.8.) Finally, the probability that a customer is satisfied with his or her meal, given he or she had a meat entrée, is P1A� C2 = 0.875. (This is one of the conditional probabilities shown in Figure 4.8.) We can also display the joint probabilities from Figure 4.8 using the decision tree shown in Figure 4.9.
The first two branches on the left side of the tree represent the events that a customer is satisfied with his or her meal (A) or is not satisfied with his or her meal (B). The four branches on the right side of the tree represent the joint probabilities for all the combina- tions of satisfaction and lack of satisfaction by entrée. Summing these four probabilities 10.35 + 0.50 + 0.05 + 0.102 results in 1.0, which represents the entire sample space. Note that decision trees can also be used to display marginal probabilities.
In Figure 4.9, I chose to start the tree branches on the left side with the Satisfied/Not Satisfied events. I could have just as easily chosen the Meat/Fish events on the left side of the decision tree. Either tree structure would be acceptable.
Mutually exclusive and Independent events Earlier in the chapter we discussed mutually exclusive events being events that could not occur at the same time. Using our Club Bistro example, Events A and B would be mutually exclusive because a customer could not be satisfied and not satisfied at once. Also, Events C and D are mutually exclusive because we are assuming that an entrée must be either a meat or a fish dish. Therefore, we can state the following:
P1A and B2 = 0 P1C and D2 = 0
I have one final word on mutually exclusive and independent events. Two events cannot be both independent and mutually exclusive. Think about it: Independent events can occur at the same time. One the other hand, by definition, mutually exclusive events can’t occur at the same time. Let’s look at an example:
Consider Event A (the customer is satisfied) and Event B (the customer is not satisfied.) These two events are mutually exclusive because the customer cannot be satisfied and not satisfied at the same time. As a result, these events cannot be independent and are therefore dependent on one another based on the following logic.
We know from Figure 4.3 that P1A2 = 0.85. If Events A and B are independent, then P1A� B2 should also equal 0.85. But if we are told that Event B has occurred (the customer is not satisfied), then the probability of Event A occurring (the customer is satisfied) cannot be 0.85. Instead, it must equal 0 because there is no chance the customer can also be satis- fied. Therefore, these mutually exclusive events must be dependent because
P1A� B2 ≠ P1A2 Remember, Events A and B are independent if P1A� B2 = P1A2.
{ figure 4.9 Decision Tree for Club Bistro
Satis�ed (A) P(A) = 0.85
Not Satis�ed (B) P(B) = 0.15
P(A and C ) = 0.35
P(A and D) = 0.50
P(B and C ) = 0.05
P(B and D) = 0.10
Meat (C )
Fish (D)
Meat (C )
Fish (D)
These four probabilities add up to 1.0 because they represent the entire sample space 10.35 + 0.50 + 0.05 + 0.10 = 1.02.
Decision trees are used to display marginal and joint probabilities from a contingency table.
www.freebookslides.com
170 C h a p t e r 4 | Introduction to Probabilities
This argument holds true for any two mutually exclusive events. I do have one word of caution here. It is not accurate to describe the terms mutually exclusive and independent as opposites of one another. In other words, you cannot conclude that because events are not independent they will be mutually exclusive.
In this next Your Turn section, you’ll get the chance to use a contingency table and deci- sion tree to help one of Deb’s favorite stores, Costco, evaluate the spending patterns of its members.
Costco is a warehouse store that requires its customers to have a membership to purchase items. Costco offers nonbusiness customers two types of membership. Gold Star members pay an annual fee of $50, whereas Executive members pay a $100 annual fee but also earn a 2% reward on most Costco purchases. The following contingency table shows the number of customers who had check-out totals above and below $200 along with their corresponding membership type.
Membership
Check-Out Total Gold Executive
$200 or less 66 21
More than $200 15 48
Set up a contingency table similar to that in Figure 4.8 showing the following:
a. Marginal probabilities b. Joint probabilities c. Conditional probabilities d. Display these probabilities in a decision tree using check-out total as the starting branches. e. What conclusions can be made concerning the spending patterns of each membership type?
Y o U r t U r n # 1 0N
Answers can be found on u page 191
Bayes’ theorem Thomas Bayes (1701–1761) developed a mathematical rule that calculates P1A� B2 from information about P1B� A2. In other words, if we know something about the probability of Event B occurring, given that Event A occurred, we can calculate the reverse—that is, we can calculate the probability of Event A occurring, given that Event B occurs. Bayes’ Theorem has many practical applications, such as determining the probability of discovering a terrorist with airport security measures in place and evaluating the effectiveness of drug testing athletes.
Before we go any further, it’s very important to convince yourself that the two condi- tional probabilities we just discussed are not identical. I’ll use the following example to ex- plain this difference and to demonstrate Bayes’ Theorem.
I want to play golf tomorrow, but the local weather forecast calls for rain. Let’s define the following events:
Event A1 = It rains tomorrow Event A2 = It does not rain tomorrow Event B = Rain is predicted in tomorrow’s weather forecast
Events A1 and A2 are mutually exclusive because if one event occurs, the other cannot. They are also collectively exhaustive because one of them must occur tomorrow. I am interested in discovering the probability that it will rain tomorrow, given the forecast calls for rain. This is represented as the conditional probability P1A1 � B2.
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 171
To answer this question, I gathered the following information. The average number of days per year that rain is recorded in my hometown is 91. Therefore, the simple probability that rain will occur on any given day is as follows:
P1A12 = 91
365 = 0.25
Because Events A1 and A2 are mutually exclusive and collectively exhaustive, the prob- ability that it will not rain on any given day is calculated as follows:
P1A22 = 1 - 0.25 = 0.75 So far, though, we only know the probability of Events A1 and A2 occurring. What we
need to know is the probability of rain being predicted for tomorrow (Event B). Otherwise, we won’t be able to determine P1A1 � B2, which is the probability of it raining, given that rain is in the forecast.
To determine the probability of Event B—the probability of rain being predicted— I counted the number of days that it actually rained in the past year and checked the historical forecast for those days. I discovered that on 85% of the days that it actually rained, rain had been predicted. Based on this fact, I set the following conditional probability:
P1B� A12 = 0.85 P1B� A12 is the probability that rain will be in tomorrow’s forecast, given that it actually does rain tomorrow.
Notice the important distinction between the following two conditional probabilities:
P1A1 � B2 = The probability that it will rain tomorrow, given rain is in the forecast. P1B� A12 = The probability that rain will be in tomorrow’s forecast, given that it
actually does rain tomorrow.
Even though these two statements sound similar, their meanings are very different. Finally, I identified the number of days that it did not rain in the past year and checked
the historical forecast for those days. I discovered that, on 20% of the days that it did not rain, rain had been in the forecast. Based on this fact, I set the following conditional probability:
P1B� A22 = 0.20 P1B� A22 is the probability that rain will be in tomorrow’s forecast, given that it doesn’t rain tomorrow. Now I’m ready to call on Bayes’ Theorem, shown in Equation 4.13, to answer my question: What is the probability that it will rain tomorrow, given the forecast calls for rain?
The probabilities P1A12 and P1A22 are known as prior probabilities because they are determined without any other information, such as a weather forecast.
We just determined that this probability is 0.85.
This probability is what we ultimately want to determine.
Pay careful attention to the distinction between P1A1 � B2 and P1B� A12. Some of my students really struggle with this distinction.
Formula 4.13 for the Bayes’ Theorem
P1Ai� B2 = P1Ai2P1B� Ai2
P1A12P1B� A12 + P1A22P1B� A22 + g+ P1An2P1B� An2
where
Ai = The ith event of interest from a choice of n events B = An event that has already occurred In our weather example, i = 1 because we are interested in determining P1A1 � B2, and
n = 2 because the events A1 and A2 are collectively exhaustive. Carefully plug in the prob- abilities that we have acquired into Equation 4.13:
P1A1 � B2 = P1A12P1B� A12
P1A12P1B� A12 + P1A22P1B� A22 P1A1 � B2 =
10.25210.852 10.25210.852 + 10.75210.202
P1A1 � B2 = 0.2125
0.2125 + 0.15 =
0.2125
0.3625 = 0.586
It must either rain or not rain tomorrow.
Bayes’ Theorem is used to update prior probabilities with new information.
www.freebookslides.com
172 C h a p t e r 4 | Introduction to Probabilities
Given that tomorrow’s forecast calls for rain, there is a 58.6% chance that it will actu- ally rain tomorrow. This probability is known as a revised, or posterior, probability. Without any weather forecast, the prior probability of rain was 25%. Now that we have a weather forecast calling for rain, we have revised this probability to 58.6%. Oh well, I better prepare myself for a soggy day on the course.
If using Equation 4.13 makes you squeamish, the revised probabilities that Bayes’ Theorem provides can also be derived in a table, as Table 4.14 shows. Columns 2 and 3 rep- resent the prior and conditional probabilities with which we started. These two columns are multiplied together to calculate the joint probabilities shown in Column 4.
When Column 4 is summed, we have the probability that Event B has occurred, which in this example is the probability that rain is in tomorrow’s forecast (36.25%).
Column 5 shows our final result, the revised probabilities. Note that this calculation is the same as Equation 4.6, which determined conditional probability earlier in the chapter.
P1A� B2 = P1A and B2 P1B2
This table summarizes the calculations for Equation 4.13.
{ table 4.15 | Credit Scores of PNC Bank Customers
event credit score percentage p 1 ai2 A1 Less than 600 25 0.25
A2 600 to 700 45 0.45
A3 More than 700 30 0.30
{ table 4.14 | An Example of Bayes’ Theorem in Table Form
(1) (2) (3) (4) (5)
event
prior prob
conditional prob
joint prob
revised prob
Ai P1Ai2 P1B� Ai2 P1Ai and B2 P1Ai� B2 A1 0.25 0.85 0.2125 0.2125>0.3625 = 0.586 A2 0.75 0.20 0.1500 0.1500>0.3625 = 0.414
P1B2 = 0.3625 Total = 1.000
Let’s look at the following example to see what happens to Bayes’ Theorem when we have more than two collectively exhaustive events. PNC Bank classifies its credit card customers into three categories by their credit scores. Table 4.15 shows the percentage of customers who fall into each group.
We’ll define Event B as follows:
Event B = Customer is late on his or her current credit card payment
We also know the following historical information:
• Customers with credit scores of less than 600 are late with their payments 40% of the time, or P1B� A12 = 0.40.
• Customers with credit scores between 600 and 700 are late with their payments 10% of the time, or P1B� A22 = 0.10. Customers with credit scores of more than 700 are late with their payments 5% of the time, or P1B� A32 = 0.05.
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 173
Suppose PNC Bank wants to use Bayes’ Theorem to determine the probability that a customer has a credit score of less than 600 given that he or she is late on his or her current credit card payment, or P1A1 � B2.
P1A1 � B2 = P1A12P1B� A12
P1A12P1B� A12 + P1A22P1B� A22 + P1A32P1B� A32 P1A1 � B2 =
10.25210.402 10.25210.402 + 10.45210.102 + 10.30210.052
P1A1 � B2 = 0.10
0.10 + 0.045 + 0.015 =
0.10
0.16 = 0.625
There is a 62.5% chance that a late payment is from a customer with a credit score of less than 600. All the revised probabilities for this example are shown in Table 4.16.
{ table 4.16 | Bayes’ Theorem in Table Form
(1) (2) (3) (4) (5)
event
prior prob
conditional prob
joint prob
revised prob
Ai P1Ai2 P1B� Ai2 P1Ai and B2 P1Ai� B2 A1 0.25 0.40 0.100 0.100>0.16 = 0.625 A2 0.45 0.10 0.045 0.045>0.16 = 0.281 A3 0.30 0.05 0.015 0.015>0.16 = 0.094
P1B2 = 0.160 Total = 1.000 The answer to PNC Bank’s question can also be found here in the table.
Now that you’re a Bayes’ Theorem expert, show off your newfound skills by complet- ing the following Your Turn problem.
Suppose that there is a 90% chance that a test for performance-enhancing drugs will provide a positive test for an athlete who actually took them. In addition, there is a 15% chance that the same test will provide a positive test for an athlete who did not take them. (This is known as a false positive.) Assume that 8% of the athlete population is currently taking performance-enhancing drugs. Using Bayes’ Theorem, determine the probability that a randomly selected athlete who tests positive is actually a user of performance-enhancing drugs.
Y o U r t U r n # 1 1N
Answer can be found on u page 192
4.2 Section Problems Basic Skills Use the following contingency table to answer questions from Problems 4.10 to 4.14.
Event A Event B
Event C 9 6
Event D 4 21
Event E 7 3
4.10 Determine the following probabilities:
a. P1A2 b. P1B2 c. P1C2 d. P1D2 e. P1E2
www.freebookslides.com
174 C h a p t e r 4 | Introduction to Probabilities
4.11 Determine the following probabilities:
a. P1A and C2 b. P1A and D2 c. P1B and E2 d. P1A and B2
4.12 Determine the following probabilities:
a. P1B or C2 b. P1B or D2 c. P1A or E2 d. P1A or B2
4.13 Determine the following probabilities:
a. P1A� C2 b. P1C� A2 c. P1B� E2 d. P1E� B2
4.14 Use Bayes’ Theorem to determine P1B� D2.
applications 4.15 Consider the following experiment that involves rolling a
pair of dice:
Event A = Rolling a nine
Event B = Rolling a pair (both dice the same)
a. Are these two events mutually exclusive? Why or why not?
b. Are these two events independent? Why or why not?
4.16 Consider the following experiment that involves flipping a single coin and rolling one six-sided die:
Event A = Coin comes up tails
Event B = Rolling a four with the die
a. Are these two events mutually exclusive? Why or why not?
b. Are these two events independent? Why or why not?
4.17 Consider an experiment with a standard 52-card deck from which one card is randomly selected and not re- placed. Then a second card is randomly selected. Define the following events:
Event A = The first card is a heart
Event B = The second card is a heart
a. Are these two events mutually exclusive? Why or why not?
b. Are these two events independent? Why or why not?
4.18 A recent survey found that 75% of households had Internet access and 80% of households had cable television. Also, it was reported that 70% of the households in the survey had both Internet and cable television. Determine the probability that a randomly selected household in the survey had either Internet access or cable.
4.19 A local car dealership currently has 36 used GM, Ford, and Toyota vehicles on the lot that can be classified as either cars or trucks. The following data are available:
• Twenty-six vehicles are cars. • Eleven vehicles are GMs. • Fifteen vehicles are Fords. • Three vehicles are both Toyotas and trucks. • Fourteen vehicles are both Fords and cars.
a. What is the probability that a randomly selected vehicle is a Toyota?
b. What is the probability that a randomly selected vehicle is a truck?
c. What is the probability that a randomly selected vehicle is a either a Ford or a car?
d. What is the probability that a randomly selected vehicle is a GM truck?
e. What is the probability that a randomly selected vehicle is a Toyota, given it is a car?
f. What is the probability that a randomly selected vehicle is a truck, given it is a Ford?
g. Construct a decision tree for these events.
4.20 The following table shows the frequencies that the Green Bay Packers of the NFL called a running play or a passing play for various down and distance situations for the first five games of a recent season. (Yes, I actually counted these frequencies myself.)
Down and Distance Run Pass
First down and 10 or more yards to go 55 81
Second down and 6 or more yards to go 27 52
Second down and 5 or less yards to go 18 10
Third down and 2 or more yards to go 3 60
Third down and 1 yard to go 1 2
What is the probability that the Packers will do the following:
a. Pass the ball on any given down b. Run the ball on second down c. Pass the ball, given that it is third down and they have
1 yard to go d. Run the ball on first down e. Run the ball, given that it is second down and they
have 6 or more yards to go f. Construct a decision tree for these events.
4.21 At a local restaurant, 22% of the customers order take- out. If 8% of the customers order takeout and choose a hamburger, determine the probability that a customer who orders takeout will order a hamburger.
4.22 A recent Wall Street Journal poll found that 70% of Americans felt the U.S. government was not working well. If seven people were randomly selected, what is the probability that all seven felt the government is not work- ing well?
www.freebookslides.com
C h a p t e r 4 | 4.2 Probability Rules for More Than One Event 175
4.23 The following table shows the number of people, in thou- sands, in the United States with and without health insur- ance in 2011, according to the U.S. Census Bureau:
Age Group Insured Uninsured
Under 18 years 66,835 6,902
18 to 24 years 22,491 7,649
25 to 34 years 29,690 11,529
35 to 44 years 31,588 8,399
45 to 64 years 68,544 13,382
65 years and older 40,817 690
a. What percentage of the U.S. population in 2011 did not have health insurance and was between the ages of 18 to 24 years?
b. What percentage of the U.S. population in 2011 did not have health insurance or was between the ages of 25 to 34 years?
c. What percentage of the U.S. population in 2011 did have health insurance, given they were 65 years or older?
d. Do age group and health insurance appear to be indepen- dent or dependent events? Define Event A as a person 45 to 64 years old and Event B as the person insured. What conclusions can be drawn with this information?
Based on: U.S. Census Bureau data.
4.24 Thirty-five percent of customers who purchased products from an e-commerce site had orders exceeding $100. If 20% of the customers have orders exceeding $100 and also pay with the e-commerce site’s sponsored credit card, determine the probability that a customer whose order exceeds $100 will pay with the sponsored credit card.
4.25 A single card is drawn from a standard 52-card deck. What is the probability that the card is either
a. A king, or a four, or a five b. A diamond, or a heart, or club c. A two, or a three, or a club d. A six, or a seven, or a spade, or a diamond
4.26 In 2012, 37% of taxpayers who filed their tax return elec- tronically self-prepared their taxes. If the IRS randomly selected three tax returns submitted electronically, what is the probability that all three were self-prepared?
4.27 The following table shows the number of men and women, in thousands, enrolled in degree-granting institu- tions in the United States in 2010. The men and women are categorized by their age groups.
Age Group Men Women
14 to 17 years old 92 19
18 and 19 years old 1,842 2,276
20 and 21 years old 1,931 2,120
22 to 24 years old 1,666 2,008
25 to 29 years old 1,414 1,783
30 to 34 years old 745 1,078
35 years old and over 1,354 2,587
Based on: National Center for Education Statistics
Determine the probability that a randomly selected student
a. Was a female b. Was 22 to 24 years old c. Was a woman who was 35 years old or older d. Was either a women or 25 to 29 years old e. Was a man, given that the student was 22 to 24 years old f. Was 30 to 34 years old, given that the student was a man
4.28 A hotel asked its customers to rate their stays as Excellent, Good, Fair, or Poor. The following table shows the fre- quency of each rating as well as the gender of the customer.
Rating Men Women
Excellent 3 9
Good 20 12
Fair 16 7
Poor 6 2
Determine the probability that a randomly selected customer
a. Rated his or her stay as Excellent b. Rated his or her stay as either Good or Fair c. Rated his or her stay as other than Poor d. Was a man who rated his stay as Good e. Either was a woman or rated his or her stay as Fair f. Rated her stay as Good, given the customer was a woman g. Was a woman, given the person rated the stay as Poor h. Construct a decision tree for these events.
4.29 Super D is a major video distributor that purchases blank DVDs from two sources: Disk Makers, which provides 62% of the DVDs, and Media Supply, which provides the remaining 38%. Historically, 3% of the DVDs Super D has purchased from Disk Makers have been defective, whereas 2% of the DVDs purchased from Media Supply have been defective. A randomly selected DVD is found to be defec- tive. Use Bayes’ Theorem to determine the probability that the DVD came from Disk Makers.
4.30 A sporting goods company operates retail stores in the New York and Atlanta areas. Customers were asked to rate their shopping experiences, the results of which are sum- marized in the following table:
Shopping Experience Percentage
Poor 15
Average 45
Good 40
Consider the following information:
• 67% of the customers who rated their store Poor came from the Philadelphia area.
• 36% of the customers who rated their store Average came from the Philadelphia area.
• 30% of the customers who rated their store Good came from the Philadelphia area.
Use Bayes’ Theorem to determine the probability that a customer who shopped in the Philadelphia area rated his or her experience as Good.
www.freebookslides.com
176 C h a p t e r 4 | Introduction to Probabilities
4.3 Counting Principles To use classical probability, which we introduced at the beginning of this chapter, we need to be able to count the number of events of interest along with the total number of events that are possible in the sample space. For simple events, like rolling a single die, the number of possible outcomes (six) is obvious. But for more complex events, like a state lottery drawing, we need to rely on techniques known as counting principles to arrive at the correct answer. Let’s look at these techniques.
the Fundamental Counting principle After a tough round of golf on a hot afternoon, Brian, John, and I decide to revive our spirits at the ice cream store on the way home. I’m desperately trying to decide from among four flavors and three toppings in which to indulge. Let’s have
k1 = The number of ice cream flavors I’m trying to decide from among
and
k2 = The number of topping flavors I’m trying to decide from among
How many different combinations of ice cream and toppings am I faced with, assuming I can choose only one flavor and one topping? (After all, I am watching my weight.) Fortu- nately, I can use the fundamental counting principle, which tells me that if one event (my ice cream choice) can occur in k1 ways and a second event (my topping choice) can occur in k2 ways, the total number of ways both events can occur together is 1k121k22 = 142132 = 12 ways.
Now I can extend this principle to more than two events. In addition to flavors and toppings, I have another tempting choice: A choice between a small and large serv- ing. That leaves me with a mind-boggling number of combinations to choose from: 1k121k221k32 = 142132122 = 24. The combinations are summarized in Table 4.17.
The fundamental counting principle states that if there are k1 choices for the first event, k2 choices for the second event … and kn choices for the nth event, then the total number of possible outcomes is (k1)(k2)(k3)
. . . (kn).
{ table 4.17 | Ice Cream Combinations
ice cream flavors toppings size
CH = Chocolate HF = Hot Fudge LG = Large
VA = Vanilla BS = Butterscotch SM = Small
ST = Strawberry SP = Sprinkles
CF = Coffee
list of combinations (by flavor, topping, and size)
CH-HF-LG VA-HF-LG ST-HF-LG CF-HF-LG
CH-HF-SM VA-HF-SM ST-HF-SM CF-HF-SM
CH-BS-LG VA-BS-LG ST-BS-LG CF-BS-LG
CH-BS-SM VA-BS-SM ST-BS-SM CF-BS-SM
CH-SP-LG VA-SP-LG ST-SP-LG CF-SP-LG
CH-SP-SM VA-SP-SM ST-SP-SM CF-SP-SM
In general, the fundamental counting principle tells me that if there are k1 choices for the first event, k2 choices for the second event, and kn choices for the nth event, then the total number of possible outcomes is as shown in Equation 4.14.
www.freebookslides.com
C h a p t e r 4 | 4.3 Counting Principles 177
where
ki = The number of choices for the ith event n = The number of events Another demonstration of the fundamental counting principle is to calculate the number
of unique combinations for a state’s automobile license plates. Suppose the state plates have three letters followed by four numbers. The state doesn’t allow the number zero and the let- ter O to be used because their resemblance to one another can cause confusion. Because we have 25 possible letters (all of the numbers of the alphabet except O) and 9 possible numbers (1–9), the total number of unique combinations is as follows:
FIRST LETTER
SECOND LETTER
THIRD LETTER
FIRST NUMBER
SECOND NUMBER
THIRD NUMBER
FOURTH NUMBER
25 25 25 9 9 9 9
25 * 25 * 25 * 9 * 9 * 9 * 9 = 102,515,625
That’s 102,515,625 possible license plates.
This number represents k1 = 25 because there are 25 possible choices for the first letter in the license plate.
Formula 4.14 for the Fundamental Counting Rule
1k121k221k32 g 1kn2
Stats in practice: running Out of Internet addresses
Every device that communicates on the Internet, whether it be a desktop computer or a smartphone, needs a unique IP address so that it can be identified. Think of the IP address as basically a postal address for your Internet device.
Those who designed the Internet back in the 1970s used the Internet Protocol Addressing Scheme version 4 (IPv4). Because computers speak a binary language, they only recognize zeros and ones. The IPv4 address format that the Internet was estab- lished on consists of a string of 32 zero/one digits. An example of an IPv4 address is as follows:
00001101.10110000.11110011.00110001
Because each digit must be a zero or one, we can use the Fundamental Counting Principle to find that there are 232 combinations or a total of
232 = 4,294,967,296
unique IP addresses available. Years ago, the founders of the Internet figured this would be an ample number of addresses. Today we know differently.
With the huge growth in devices that depend on an Internet connection over the past few years such as Apple’s iPhone and iPad, it was projected that we would run out of IP addresses with the IPv4 format in 2012. Another contributing factor to the shortage of IP addresses is the rapid increase in the demand for technology in developing countries like China and India. Lack of
IP address have many consequences; Internet connections will slow down and computers will have difficulty communicating with each other.
To address this shortage on IP addresses (pun intended), a new protocol system, known as IPv6, has been developed. This new format allows for a combination of 128 zero/one digits, as seen in the following example:
00001101.10110000.11110011.00110001. 00110000.10000001.00011000.11100011.
10100101.01101010.11001010.00001001. 10111001.11101101.01111001.01010111
Using the IPv6 format, there are a total of 2128 combinations, which provides
2128 = 340,282,366,920,938,000,000,000,000,000,000,000,000
unique IP addresses. To facilitate the transition from IPv4 to IPv6, the Internet community organized World IPv6 Launch Day on June 6, 2012. The goal of this event was to obtain a commit- ment from the Internet industry, such as equipment manufactur- ers and ISPs, to hasten the conversion to IPv6.
When I told my daughter about IPv6, her first reaction was, “They’ll never run out of all of those addresses.”
“Yeah, that’s what they said in the 1970s,” I replied.
www.freebookslides.com
178 C h a p t e r 4 | Introduction to Probabilities
permutations Permutations are the number of different ways in which different objects can be arranged in or- der. In a permutation, there can be only one of each arrangement of the objects. As an example, there are six permutations for the numbers 1, 2, and 3. The permutations are as follows:
123 132 213 231 312 321
But what if we had many numbers instead of just three? How many permutations would there be? Finding all of the permutations by manually writing them down as we just did would be time consuming. Instead, we can use Equation 4.15. By definition, the number of permutations of n distinct objects is n!
Permutations are the number of different ways in which objects can be arranged in order. The number of permutations of n objects selected x at a time can be found by
nPx = n!
1n - x2!.
Let’s use our previous example to work out Equation 4.15. The number of permutations of the three distinct objects in our example is 3! Now you can plug 3! into Equation 4.15 to find the number of permutations more easily.
Using the n! permutation rule, we find the following:
3! = 132122112 = 6 There are six permutations for the numbers 1, 2, and 3. This is the same result we got by arranging the numbers manually.
Now suppose we have six numbers instead of three. Using Equation 4.15, we find that the number of permutations associated with six numbers is as follows:
6! = 162152142132122112 = 720 Let’s work another problem. Before the beginning of a professional basketball game, the
starting five players are announced one at a time. How many different ways can we arrange the order in which the players are announced? The number of permutations is calculated as follows:
5! = 152142132122112 = 120 Suppose we want to select only some of the objects in the group. If there are 12 players
on the team, how many different ways can any five players on the team be announced at the start of the game?
We can find the number of permutations for this problem using Equation 4.16.
By definition, 0! = 1.
Formula 4.15 for the Permutations of n Distinct Objects
n! = n1n - 121n - 221n - 32 g122112
Formula 4.16 for the Permutations of n Objects Selected x at a Time
nPx = n!
1n - x2!
where
n = The total number of objects x = The number of objects to be selected Using our basketball example again, if there are 12 players on the team, how many dif-
ferent ways can any 5 players on the team be announced to start the game? In this case, be- cause n = 12 and x = 5, the number of permutations is as follows:
12P5 = 12!
112 - 52! = 112211121102192182172162152142132122112
172162152142132122112 12P5 = 112211121102192182 = 95,040
www.freebookslides.com
C h a p t e r 4 | 4.3 Counting Principles 179
Formula 4.17 for the Permutations of n Objects Selected x at a Time
nPx = n!
1n - x2! = n1n - 121n - 22 g1n - x + 12
I’m sure glad it’s not my job to decide the order of the announcements. It’s easier to calculate the number of permutations using Equation 4.17, which is alge-
braically the same as Equation 4.16.
I recommend using this equation to calculate permutations. It requires less effort than Equation 4.16.
This works because every value in the denominator (the bottom of the fraction) will cancel out with many values in the numerator (the top of the fraction). I will show you why with the following demonstration. Suppose we have 10 objects 1n = 102, and we are removing 2 at a time 1x = 22. How many permutations will we have?
Recall that Equation 4.16 is as follows:
nPx = n!
1n - x2! Plugging our numbers into 4.16 we get the following:
10P2 = 10!
110 - 22! = 1102192182172162152142132122112
182172162152142132122112 = 1102192 = 90
Equation 4.17 is as follows:
nPx = n!
1n - x2! = n1n - 121n - 22 g 1n - x + 12
Plugging our numbers into Equation 4.17, we get the following:
1n - x + 12 = 10 - 2 + 1 = 9 10P2 =
n!
1n - x2! = 1102192 = 90
As you can see, Equation 4.17 has fewer calculations. Sometimes the order of events is not of consequence. We’ll discuss those cases in the
next section.
Combinations Combinations are similar to permutations, except that the order of the objects is not important. The number of combinations of n objects selected x at a time can be found using Equation 4.18.
Equation 4.17 is easier to use than Equation 4.16 because it cancels out the numbers 1 through 8 in the numerator and denominator that are present when using Equation 4.16. We are left with x number of factors, which in this case is two (10 and 9).
Combinations are the number of different ways in which objects can be arranged without regard to order. The number of combinations of n objects selected x at a
time can be found by nCx = n!
1n - x2!x!. Formula 4.18 for the Combinations of n Objects Selected x at a Time
nCx = n!
1n - x2!x!
where
n = The total number of objects x = The number of objects to be selected As with permutations, it’s easier to calculate the number of combinations using
Equation 4.19, which is algebraically the same as Equation 4.18.
www.freebookslides.com
180 C h a p t e r 4 | Introduction to Probabilities
For example, in poker, 5 cards are selected randomly from a deck of 52 cards. How many five-card combinations exist?
52C5 = 52!
152 - 52!5! = 15221512150214921482
152142132122112 = 2,598,960
How many five-card permutations exist?
52P5 = 52!
152 - 52! = 15221512150214921482 = 311,875,200
There are more five-card permutations than combinations. For example, the 2 five-card groups (or hands) hands shown below have the same combination of cards but are consid- ered two different permutations. Recall that the order matters with permutations. By con- trast, with combinations the order doesn’t matter. Consequently, the two hands would be counted as only one hand, or combination, because they consist of the same cards, only in a different order:
When the order of objects is important, use permutations. When the order of objects does not matter, like a poker hand, use combinations.
Formula 4.19 for the Combinations of n Objects Selected x at a Time
nCx = n!
1n - x2!x! = n1n - 121n - 22 g 1n - x + 12
x!
HAND 1 HAND 2
Ace of spades Ace of spades
Queen of hearts Ten of spades
Ten of spades Queen of hearts
Ten of diamonds Ten of diamonds
Three of clubs Three of clubs
Now that we know the total number of five-card combinations from a 52-card deck, we can calculate the probability of a flush, which is any five cards that are all the same suit (spades, clubs, hearts, or diamonds). For you poker veterans, I am including a royal flush and a straight flush in this calculation.
First, we need to count the number of five-card flushes of one suit, let’s say diamonds. Because there are 13 diamonds in the deck, the number of combinations of these 13 dia- monds, selected 5 at a time, is as follows:
13C5 = 13!
113 - 52!5! = 1132112211121102192 152142132122112 = 1,287
Because there are four suits in the deck, the total number of five-card flushes from any suit is 11,2872142 = 5,148. Therefore, the probability of being dealt a flush, including royal and straight, in a five-card hand is calculated as follows:
P1Flush2 = 5,148 2,598,960
= 0.00198
roughly twice in 1,000 hands of poker. Ready to deal? Combinations are also useful for calculating the probability of winning a state lottery
drawing. At the start of this chapter, I referred to a typical lottery game that requires you to pick 6 numbers out of a possible 49. The number of 6-number combinations from a pool of 49 numbers is as follows:
49C6 = 49!
149 - 62!6! = 149214821472146214521442
162152142132122112 = 13,983,816
Because the order of the numbers in a lottery does not matter, we use the combination rather than the permutation formula.
www.freebookslides.com
C h a p t e r 4 | 4.3 Counting Principles 181
Because there are nearly 14 million different six-number combinations, the probability that your combination is the winner is as follows:
P1Winning a 6>49 Lottery2 = 1 13,983,816
= 0.00000007
With those chances of winning the lottery, you better not quit your day job just yet. Probability does not have a memory. The same six numbers selected in last week’s lot-
tery drawing have the exact same probability of being chosen again in this week’s lottery. That’s because the two drawings are independent events and have absolutely no influence on each other. Therefore, choosing a lottery number because it has not been selected recently does not increase your odds of winning. Sorry if I ruined your favorite strategy!
Here’s something you will like: Rather than deal with all those nasty factorial calcula- tions, we can let Excel figure out the number of permutations or combinations for us. The functions are as follows:
= PERMUT1n,x2 = COMBIN1n,x2
For example, if we type = PERMUT152,52 from our five-card poker example into Excel, the result will be 311,875,200. If we type = COMBIN152,52, the result will be 2,598,960.
Combinations are useful in business when a product or service is available with differ- ent options. For example, suppose a car model has five different option packages available. The manufacturer will probably be interested in knowing, for production reasons, how many variations of the model exist when customers choose two options.
To be sure you understand the counting rules we have discussed, work out the problems in the following Your Turn section.
This is one of the biggest misconceptions in probability, especially in gambling. No matter how many consecutive heads are observed when tossing a coin, the probability of the next toss being a heads is always 50%. The coin has no memory of previous tosses.
1. A restaurant has a menu with four appetizers, seven entrées, four desserts, and three drinks. If a meal consists of an appetizer, an entrée, a desert, and a drink, how many different meals can you order?
2. The NBA teams with the 13 worst records at the end of the season participate in a lottery to determine the order in which they will draft new players for the next season. How many different arrangements exist for the drafting order for these 13 teams?
3. A combination lock has a total of 40 numbers and will unlock with the proper three-number sequence. How many possible combinations exist?
4. I would like to select 3 paperback books from a list of 11 books to take on vacation. How many different sets of three books can I choose?
Y O u r t u r n # 1 2N
Answers can be found on u page 192
4.3 Section Problems Basic Skills 4.31 If the order of objects is of importance, how many ways
can I select eight objects three at a time?
4.32 If the order of objects is of importance, how many ways can I select nine objects two at a time?
4.33 If the order of objects is not of importance, how many ways can I select eight objects three at a time? Why is this result different from Problem 4.31?
4.34 If the order of objects is not of importance, how many ways can I select nine objects two at a time? Why is this result different from Problem 4.32?
www.freebookslides.com
182 C h a p t e r 4 | Introduction to Probabilities
applications 4.35 I would like to customize a desktop computer online.
I have to choose among the following categories:
• processor (five choices) • hard drive (four choices) • memory (three choices) • monitor (four choices) • keyboard (two choices)
How many unique computers can I configure with these choices?
4.36 In a race with eight swimmers, how many ways can the swimmers finish first, second, and third?
4.37 A panel of 12 jurors needs to be selected from a group of 50 people. How many different juries can be selected?
4.38 What is the probability of being dealt a full house (three-of-a-kind and a pair) in five-card poker?
4.39 What is the probability of winning a 4>20 lottery game where 4 numbers are picked from a range of 20?
4.40 There are four teams in the NFL’s NFC North Division. How many different ways can the four teams finish at the end of the season in the standings?
4.41 An event planner needs to decide a seating arrangement for eight people at a table. Calculate the total number of possible arrangements available from which to choose.
4.42 A research study needs to select three people to partici- pate from a group of nine. Calculate the total number of unique groups that can be formed.
4.43 An executive needs to select 4 stores from a total of 10 to participate in a customer service program. Determine the number of possible groups of four stores.
4.44 Determine the number of ways in which a jury of 6 men and 6 women can be selected from a group of 13 men and 15 women.
www.freebookslides.com
183
■ A probability is a numerical value ranging from zero to one that represents the likelihood of an event occurring.
• Classical probability refers to a situation in which we know the number of possible outcomes of the event of interest.
• Empirical probability observes the number of occurrences of an event through an experiment and calculates their probability from a relative frequency distribution.
• Subjective probability relies on people’s experience and intuition to estimate the probabilities.
■ If the sample space includes every possible event that can occur, then we say that the events are collectively exhaustive.
■ Simple probability represents the likelihood of a single event occurring.
■ The law of large numbers states that when an experiment is conducted a large number of times, the empirical probabilities of the process will converge to the classical probabilities.
■ A contingency table indicates the number of occurrences of events classified according to two variables.
• Marginal probabilities are simple probabilities found by using the total occurrences in the margins of a contingency table.
■ The intersection of Events A and B represents the number of instances in which Events A and B occur at the same time.
• The probability of the intersection of two events is known as a joint probability.
■ The union of Events A and B represents the number of instances in which either Event A or B occurs or both events occur together.
■ Two events are considered to be mutually exclusive if they cannot occur at the same time during an experiment.
■ Prior probability is the probability of Event A occurring without your knowing any additional information that could affect the event.
■ Conditional probability is the probability of Event A occurring when you know Event B has already occurred.
• Conditional probability is also known as a posterior probability.
• Two events are considered independent of one another if the occurrence of one event has no impact on the probability of the other event.
• If the occurrence of one event affected the probability of another event, the events are dependent events.
■ The multiplication rule is used to determine the probability of the intersection of two events, or P(A and B), otherwise known as the joint probability.
■ Thomas Bayes (1701–1761) developed a mathematical rule, known as Bayes’ Theorem, for calculating P1A � B2 from information about P1B � A2.
■ The fundamental counting principle states that if there are k1 choices for the first event, k2 choices for the second event, and kn choices for the nth event, then the total number of possible outcomes is 1k121k221k32 g1kn2.
■ Permutations are the number of different ways in which objects can be arranged in order.
■ Combinations are similar to permutations, except that the order of the objects is not important.
chapter 4 Summary
www.freebookslides.com
184
chapter 4 Key Terms
Addition rule. A mathematical rule used to calculate the prob- ability of the union of events.
Bayes’ Theorem. A theorem used to calculate P1A� B2 from information about P1B� A2.
Classical probability. A probability that is determined by dividing the number of possible outcomes of an event by the total number of possible outcomes in the sample space.
Collectively exhaustive. Describes a set of events where at least one of the events must occur during an experiment.
Combinations. The number of different ways in which objects can be arranged without regard to order.
Complement. All of the outcomes in the sample space that are not part of the event of interest.
Conditional probability (of A given B). The probability of Event A occurring given the condition that Event B has already occurred.
Contingency table. A table that shows the number of occur- rences of events of an experiment classified by two variables.
Decision trees. Display marginal and joint probabilities from a contingency table.
Dependent events. Events wherein the occurrence of one event affects the occurrence of another event.
Empirical probability. A probability determined by counting the frequency of an event during an experiment.
Event. One or more outcomes of an experiment that are a subset of the sample space.
Experiment. The process of measuring or observing an activity for the purpose of collecting data.
Fundamental counting principle. A principle that states that if there are k1 choices for the first event, k2 choices for the sec- ond event, … and kn choices for the nth event, then the total number of possible outcomes is 1k121k221k32 g1kn2.
Independent events. Events that have no impact on the probabil- ity of each other occurring.
Intersection (of Events A and B). The number of instances in which Events A and B occur at the same time.
Joint probability. The probability of the intersection of two events.
Law of large numbers. A law that states that when an experi- ment is conducted a large number of times, the empirical probabilities of the process will converge to the classical probabilities.
Marginal probabilities. Simple probabilities found in the margins, or row and column totals, of a contingency table.
Multiplication rule. A rule used to determine the probability of the intersection of two events.
Mutually exclusive events. Events that cannot occur at the same time.
Permutations. The number of different ways in which objects can be arranged in order.
Posterior probability. A probability that is a revision of a prior probability using additional information.
Prior probability. The probability of an event occurring as determined without any additional information that could affect the event.
Probability. A numerical value ranging from zero to one that represents the likelihood of a specific event occurring.
Sample space. A set of all possible outcomes of an experiment. Simple event. An event with a single outcome in its most basic
form that cannot be simplified. Simple probability. The likelihood of a single event occurring. Subjective probability. A probability that is calculated based on
the experience and intuition of a person (or people). A subjec- tive probability is made when classical and empirical prob- abilities cannot be calculated.
Union (of Events A and B). All of the instances in which Event A or Event B or both occur.
4.1 An Introduction to Probabilities (pp 148–156)
chapter 4 Equations
Formula 4.1 for the Classical Probability P1A2 = Number of possible outcomes that constitute Event A Total number of possible outcomes in the sample space
Formula 4.2 for the Empirical Probability P1A2 = Frequency in which Event A occurs
Total number of observations
Formula 4.3 for The Complement Rule P1A2 + P1A′2 = 1 or P1A2 = 1 - P1A′2
www.freebookslides.com
185
4.2 Probability Rules for More Than One Event (pp 156–175)
Formula 4.4 for The Addition Rule for the Mutually Exclusive Events P1A or B2 = P1A2 + P1B2
Formula 4.5 for The Addition Rule for the Events That Are Not Mutually Exclusive
P1A or B2 = P1A2 + P1B2 - P1A and B2
Formulas 4.6 and 4.7 for Calculating a Conditional Probability
P1A� B2 = P1A and B2 P1B2
or
P1B� A2 = P1A and B21A2
Formula 4.8 for Determining If Events A and B Are Independent P1A� B2 = P1A2
Formulas 4.9 and 4.10 for The Multiplication Rule for Dependent Events
P1A� B2 = P1A and B2 P1B2
P1A and B2 = P1B2P1A� B2 or
P1B� A2 = P1A and B2 P1A2
P1A and B2 = P1A2P1B� A2
Formula 4.11 for The Multiplication Rule for Two Independent Events
P1A and B2 = P1A2P1B2
Formula 4.12 for The Multiplication Rule for n Independent Events
P1A1 and A2 and g and An2 = P1A12P1A22 g P1An2
Formula 4.13 for the Bayes’ Theorem P1Ai� B2 = P1Ai2P1B� Ai2
P1A12P1B� A12 + P1A22P1B� A22 + g + P1An2P1B� An2
Formula 4.14 for the Fundamental Counting Rule 1k121k221k32 g1kn2
4.3 Counting Principles (pp 176–182)
Formula 4.15 for the Permutations of n Distinct Objects n! = n1n - 121n - 221n - 32 g 122112
www.freebookslides.com
Formulas 4.16 and 4.17 for the Permutations of n Objects Selected x at a Time
nPx = n!
1n - x2! or
nPx = n!
1n - x!2 = n1n - 121n - 22 g1n - x + 12
Formulas 4.18 and 4.19 for the Combinations of n Objects Selected x at a Time
nCx = n!
1n - x2!x! or
nCx = n!
1n - x2!x! = n1n - 121n - 22 g1n - x + 12
x!
4.45 Identify which of the following values are valid and not valid numbers for a probability:
a. 2.1 f. 110%
b. 4
4 g. -
1
3 c. 76% h. 1 d. 0.8 i. 0.007
e. 9
8
4.46 What is the probability of randomly selecting a heart from a standard 52-card deck?
4.47 Consider the experiment of rolling two dice.
a. What is the probability of obtaining a sum of eight? b. What is the probability of obtaining a sum of eight or
less? c. What is the probability of obtaining a sum of four or
more?
4.48 Indicate whether classical, empirical, or subjective prob- ability should be used to determine each of the following:
a. The probability that it will rain tomorrow b. The probability that you will roll doubles when throwing
two dice c. The probability that I will pass tomorrow’s statistics
exam d. The probability that I will select a Milky Way candy bar
out of a bowl of Halloween candy
4.49 A survey was conducted in which 150 households were asked how many working televisions they owned. The results are as follows:
Number of Televisions Number of Households
0 5
1 34
2 50
3 29
4 12
5 12
6 8
Total 150
a. What is the probability that a randomly selected house- hold has one television?
b. What is the probability that a randomly selected house- hold has more than two televisions?
c. What is the probability that a randomly selected house- hold has fewer than four televisions?
d. Is this an example of classical, empirical, or subjective probability?
4.50 A recent survey administered by ZoneDiet.com asked 1,000 adults, “How far are you from your ideal weight?” The results are shown in the following table:
Response Frequency
1–5 lbs 150
6–10 lbs 140
11–15 lbs 90
16 or more 380
I’m content ?
Total 1,000
chapter 4 Problems
186 www.freebookslides.com
187
a. How many adults responded that they are content with their current weight?
b. What is the probability that a randomly selected adult is content with his or her weight?
c. What is the probability that a randomly selected adult is 1–5 lbs from his or her ideal weight?
d. What is the probability that a randomly selected adult is 6 lbs or more from his or her ideal weight?
4.51 The following table indicates the frequency of laptops sold per day at a local Best Buy store during a particular time period. During the period, there were never any days in which more than seven laptops were sold.
Daily Demand Frequency
0 7
1 11
2 26
3 13
4 15
5 5
6 8
7 5
a. What is the probability that three laptops will be sold tomorrow?
b. What is the probability that four or more laptops will be sold tomorrow?
c. What is the probability that either one or two laptops will be sold tomorrow?
d. What is the probability that less than two laptops will be sold tomorrow?
e. Is this an example of classical, empirical, or subjective probability?
4.52 Consider an experiment with the following two events:
A = A statistics test is scheduled for 8:00 a.m. B = Every student arrives to class on time for the test
a. Are these two events mutually exclusive? b. Are these two events independent?
4.53 Consider the following experiment—a card is chosen ran- domly from a 52-card deck, observed, and then replaced. After shuffling the deck, a second card is drawn and ob- served. Consider the following events:
A = The first card is the jack of diamonds B = The second card is the jack of diamonds a. Are these two events mutually exclusive? b. Are these two events independent?
4.54 Consider the following experiment—a card is chosen randomly from a 52-card deck, observed, and not replaced.
A second card is drawn and observed. Consider the follow- ing events:
A = The first card is the jack of diamonds B = The second card is the jack of diamonds a. Are these two events mutually exclusive? b. Are these two events independent?
4.55 A local university has a student population that is 57% male. Sixty-four percent of the students are undergraduates; 40% are both male and undergraduates.
a. What is the probability that a randomly selected student is both female and an undergraduate?
b. What is the probability that a randomly selected student is either male or an undergraduate?
4.56 The airline industry defines an on-time flight as one that arrives within 15 minutes of its scheduled time. The following table shows the number of on-time and late flights leaving Philadelphia and arriving in Orlando during a recent time period by airline:
Airline On-Time Late
Southwest 239 68
US Airways 288 130
Air Tran 180 63
a. What is the probability that a randomly selected flight was from Southwest and was on time?
b. What is the probability that a randomly selected flight was from Air Tran or was on time?
c. Given that the flight was late, what is the probability that it was from US Airways?
d. Given that the flight was from Southwest, what is the probability that it was late?
e. Construct a decision tree for these probabilities.
4.57 A test has multiple-choice questions, with four choices of answers from which to choose. After reading the first four questions, you realize you have no idea what any of the correct answers are. Assume you randomly guess at the an- swers for all four questions.
a. What is the probability that you answered the first ques- tion correctly?
b. What is the probability that you answered the first two questions correctly?
c. What is the probability that you answered the first three questions correctly?
d. What is the probability that you answered all four questions correctly?
e. What assumption are you making with these calculations?
4.58 The following table shows the number of students who earned an A, B, C, and D grade in a business statistics class along with their year in their program.
www.freebookslides.com
188
Grade Sophomore Junior
A 14 30
B 31 38
C 20 16
D 11 5
a. What percentage of students in this class are juniors? b. What percentage of students in this class earned a
B grade? c. What percentage of students in this class were
sophomores and earned a B grade? d. What percentage of students in this class were juniors or
earned an A grade? e. What percentage of students in this class earned a C
grade, given they were sophomores? f. What percentage of students in this class were
sophomores, given they earned a C grade? g. Do course grade and year in the program appear to be
independent or dependent? Define Event A as earn- ing an A grade and Event B as a student in his or her sophomore year.
4.59 In college basketball, a turnover is defined as losing pos- session of the basketball to the opposing team without scor- ing a basket. In theory, reducing the number of turnovers increases the likelihood of winning a game. The following table categorizes the number of wins and losses by the number of turnovers made by the Villanova Wildcats during two recent seasons.
Turnovers Per Game Win Lose
5–8 6 0
9–12 17 5
13–16 22 10
17–20 7 4
21–24 0 2
Assume that a randomly selected game was chosen during one of the two seasons. What is the probability that the game
a. was won by Villanova? b. had 9–12 turnovers made by Villanova? c. was lost by Villanova, and Villanova made 13–16
turnovers? d. was won by Villanova or Villanova made 5–8 turnovers? e. was won by Villanova, given that Villanova made 9–12
turnovers? f. had 21–24 turnovers made by Villanova, given that
Villanova lost the game? g. Construct a decision tree for these probabilities. h. Do winning and turnovers appear to be independent or
dependent events for Villanova? Define Event A as a game with 13–16 turnovers and Event B as a win. What conclusions can be drawn about these events?
4.60 A snack-food company produces potato chips on three dif- ferent production lines. Line 1 produces 20% of the total output, Line 2 produces 30%, and Line 3 produces the balance. Each line is sampled to ensure the salt content is within the proper range. Historically, 4% of Line 1’s output does not meet the salt standards, 3% of Line 2’s fails to meet the standards, and 2% of Line 3’s does not meet the salt standards. A random bag of potato chips was selected and did not meet the salt standards. What is the probability that the chips were produced in Line 3?
4.61 A computer program consists of 1,000 lines of code. For the program to work properly, all 1,000 lines must be correct. Assume that the probability of any line of code being correct is 0.9999.
a. What is the probability that the program will work properly?
b. What assumptions do you need to make to determine this probability?
4.62 According to Internet World Stats, 79% of North American adults used the Internet in 2012. If five people are randomly chosen, what is the probability that all five use the Internet?
4.63 A call center for customer support records the time each customer requires for service and whether the call occurred during the week (Monday through Friday) or during the weekend (Saturday and Sunday). The results are shown in the following table:
Time (Minutes) Week Weekend
Less than 5 15 3
5 to less than 10 26 4
10 to less than 15 11 9
15 to less than 20 22 6
More than 20 10 14
Determine the probability that a randomly selected call
a. was during the week b. was less than 20 minutes c. was 10 to less than 20 minutes d. was more than 20 minutes during the weekend e. was 15 to less than 20 minutes or occurred during the
weekend f. was 5 to less than 10 minutes, given it occurred during
the week g. occurred during the week, given it was 5 to less than
10 minutes h. Construct a decision tree for these events.
4.64 Ann is the owner of Pizzas R Us, a small company that delivers pizza from two different locations. The Mayfair site handles 40% of the total orders while the Claymont location delivers the remaining orders. In its promotional materials, Pizzas R Us strives to deliver all orders within 45 minutes. Historically, the Claymont location has
www.freebookslides.com
189
experienced 5% of its orders taking longer than 45 minutes to deliver. The Mayfair store has been late on 15% of its orders. Ann has just spoken to a customer whose order was delivered 1 hour after it was placed but did not remember which location the order originated. What is the probability that the late order came from the Mayfair store?
4.65 I would like to order a car from the factory and I have to choose among the following categories:
• exterior color (four choices) • interior color (four choices) • engine size (three choices) • transmission (two choices) • option packages (four choices)
How many unique cars can I choose from with these choices?
4.66 What is the probability of winning a 5/30 lottery game where 5 numbers are picked from a range of 30?
4.67 A multiple-choice test has 10 questions, with each question having four choices.
a. How many different ways can a student answer the 10 questions?
b. What is the probability that a student who randomly answers each question will answer all of them correctly?
4.68 How many different ways can 10 new movies be ranked first, second, and third by a movie critic?
4.69 My bank requires me to establish a four-digit pin number for my debit card.
a. How many possible pin numbers can I choose from? b. What is the probability that someone can correctly guess
my pin number?
4.70 A director for a play has to choose an actor to play a lead male role and an actress to play a lead female role. The director has to choose from among five males and seven females. Determine how many possible male–female combinations the director has to choose from for the two lead roles.
4.71 If a salesperson is responsible for eight stores in her terri- tory, determine how many different ways she can schedule a visit with five of them today.
4.72 A graduate class has 12 students with A grades and 16 students with B grades. Calculate the number of ways in which 4 A students and 5 B students can be uniquely selected.
4.73 The NFL has 32 teams that are evenly divided into two con- ferences, the NFC and the AFC. One team from each con- ference will play in the Super Bowl to determine the NFL champion.
a. How many unique pairs of teams exist that can play in the Super Bowl?
b. Do you have enough information from this problem to calculate the probability that the two Super Bowl teams will be the Green Bay Packers and the Pittsburgh Steelers? Why or why not?
chapter 4 Solutions to Your Turn
Y o u r T u r n # 1
1. P1Spade2 = 13 52
= 0.25 2. P182 = 5 36
= 0.139
Y o u r T u r n # 2
1. P1250 - 4992 = 144 1025
= 0.140 2. P1 7 2502 = 144 + 246 + 297 1025
= 687
1025 = 0.670
www.freebookslides.com
190
a. empirical, because we have historical data for the number of home runs Josh Hamilton normally hits
b. classical, because we know the number of cards and the number of jacks in the deck
c. If I have data from my last several rounds of golf, this would be empirical; otherwise, subjective.
d. classical, because we can calculate the probability based on the lottery rules e. subjective, because I would not be collecting data for this experiment f. subjective, because I would not be collecting data for this experiment
Y O u R T u R n # 3
Y O u R T u R n # 4 1. a. valid probability b. not a valid probability because probability cannot be less than zero c. valid probability d. valid probability e. not a valid probability because probability cannot be more than one f. not a valid probability because probability cannot be more than one
g. valid probability h. valid probability i. not a valid probability because probability cannot be less than zero 2. P1No pay cut2 = 1 - 10.02 + 0.13 + 0.26 + 0.532 = 1 - 0.94 = 0.06
Y O u R T u R n # 5
a. P1warranty2 = 11 60
= 0.183
b. P1 6 402 = 39 60
= 0.65
c. P1 Ú 40 and no waranty2 = 15 60
= 0.25
d. P1 6 40 or no waranty2 = 5 60
+ 34
60 +
15
60 =
54
60 = 0.90
Y O u R T u R n # 6
a. P1Standard and 319602 = 96 600
= 0.16
b. P1Standard or 6 302 = 325 600
+ 255
600 -
165
600 =
415
600 = 0.692
c. P1Gold and 619902 = 49 600
= 0.082
d. P131960 or 6 302 = 217 600
+ 255
600 =
472
600 = 0.787
e. P131960 and 619902 = 0 600
= 0.0
Y O u R T u R n # 7
a. P1Gold2 = 302 962
= 0.314
b. P1Russia2 = 82 962
= 0.085
c. P1Silver and United States2 = 29 962
= 0.030
d. P1Bronze or China2 = 356 962
+ 88
962 -
23
962 =
421
962 = 0.438
e. P1United States� Gold2 = P1United States and Gold2
P1Gold2 P1United States and Gold2 = 46
962 = 0.048
P1Gold2 = 302 962
= 0.314
P1United States� Gold2 = 0.048 0.314
= 0.153
f. P1Bronze� Russia2 = P1Bronze and Russia2
P1Russia2 P1Bronze and Russia2 = 32
962 = 0.033
P1Russia2 = 82 962
= 0.085
P1Bronze� Russia2 = 0.033 0.085
= 0.388
www.freebookslides.com
191
Y o u r T u r n # 1 0 a., b., c. d.
Less than $200 (A) P(A) = 0.58
More than $200 (B) P(B) = 0.42
Gold (C )
Exec (D)
Gold (C )
Exec (D)
P(A and C) = 0.44
P(A and D) = 0.14
P(B and C ) = 0.10
P(B and D) = 0.32
e. Because the conditional probabilities are P1A� C2 = 0.815, we can con- clude that Gold Star members are more likely to spend less than $200. And because P1B� D2 = 0.696, we can conclude that executive members are more likely to spend more than $200.
Y o u r T u r n # 9 1. Define A = First card is a red queen Define B = Second card is red
P1A2 = 2 52
= 0.038
P1B� A2 = 25 51
= 0.490
P1A and B2 = P1A2P1B� A2 = 10.038210.4902 = 0.0186
2. Define A = First card is a red queen Define B = Second card is red
P1A2 = 2 52
= 0.038
P1B2 = 26 52
= 0.50
P1A and B2 = P1A2P1B2 = 10.038210.502 = 0.019
P1A2 = 12,505 147,739
= 0.085
P1A � B2 = P1A and B2
P1B2 P1A and B2 = 6,480
147,739 = 0.044 P1B2 = 102,366
147,739 = 0.693
P1A � B2 = 0.044 0.693
= 0.063
P1A � B2 ≠ P1A2 Events A and B are dependent.
Y o u r T u r n # 8
Check-Out Total Gold Executive Total
0.44 0.14 0.58 0.10 0.32 0.42
Total 0.54 0.46 1.00
Joint Probabilities Marginal Probabilities
Conditional Probabilities
0.44 0.54
0.14 0.46
0.10 0.54
0.32
0.815
0.304
0.185
0.696 0.46
= =
= =
= =
= =
=
=
=
=
$200 or Less (A) More than $200 (B)
(C ) (D)
P(A and C ) = 0.44 P(A and D) = 0.14
P(B and C ) = 0.10 P(B and D) = 0.32
P(A) = 0.58 P(B) = 0.42
P(C) = 0.54 P(D) = 0.46
P(A|C)
P(A|D)
P(B|C )
P(B|D)
P(A and C ) P(C )
P(A and D) P(C )
P(B and C ) P(C )
P(B and D) P(D)
www.freebookslides.com
Y O u R T u R n # 1 1 Define A1 = Player used drug, A2 = Player did not use drug, and B = Player tested positive for the drug. P1A12 = 0.08 P1A22 = 1 - 0.08 = 0.92 P1B� A12 = 0.90 P1B� A22 = 0.15
P1A1� B2 = P1A12P1B� A12
P1A12P1B� A12 + P1A22P1B� A22 P1A1� B2 =
10.08210.902 10.08210.902 + 10.92210.152
P1A1� B2 = 0.072
0.072 + 0.138 =
0.072
0.21 = 0.343
Y O u R T u R n # 1 2 1. 4 * 7 * 4 * 3 = 336 different meals 2. 13! = 6,227,020,800 different ordered arrangements
3. 40P3 = 40!
140 - 32! = 140213921382 = 59,280
4. 11C3 = 11!
111 - 32!3! = 11121102192 132122112 = 165
192 www.freebookslides.com
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Identify the rules of a discrete probability distribution.
■ Calculate and interpret the mean and standard deviation of a discrete distribution.
■ Understand the characteristics of a binomial experiment.
■ Calculate binomial probabilities.
■ Calculate and interpret the mean and standard deviation of a binomial distribution.
■ Understand the characteristics of a Poisson process.
■ Calculate Poisson probabilities.
■ Approximate binomial probabilities using the Poisson distribution.
■ Calculate hypergeometric probabilities.
Discrete Probability Distributions
C h a p t e r 5 M a p
5.1 Introduction to Discrete Probability Distributions | 195
5.2 Binomial Distributions | 207
5.3 Poisson Distributions | 218
5.4 The Hypergeometric Distribution | 229
5 C h a p t e r
www.freebookslides.com
194 C h a p t e r 5 | Discrete Probability Distributions
We discussed the difference between discrete and continuous data back in Chapter 2. If you are counting the number of customers visiting your store on a given day, you are working with discrete data. In this case, the values are typically whole numbers (or integers) such as 10 or 16. In most applications, discrete data cannot take on fractional values like 30.5 because having 30.5 customers visit your store in one day is not physically possible. By contrast, continuous data, which are the focus of Chapter 6, can take on any real number, including fractional values. Unlike discrete data, which are counted, continuous data are typ- ically measured. Examples are the height and weight of people, which can take on an infinite number of possible values. For example, a hypothetical statistics author’s weight could be 186.1 lbs or 186.1456 lbs. The number of possibilities is limited only by the precision of the measurement.
This chapter will show you how to determine discrete probabilities. Discrete probabili- ties are probabilities that describe the likelihood that certain discrete data will occur. For example, consider Tony’s Pizza, which offers on its menu three pizza sizes that sell for $5, $10, and $15. Table 5.1 shows the historic probabilities of customers ordering each size.
{ table 5.2 | Probabilities of Passing an Exam when Guessing at the Answers
number of test questions
probability of passing
10 0.0035
20 0.0000295
40 0.0000000028
{ table 5.1 | Discrete Probabilities for Tony’s Pizza
price ($) probability (%)
5 30
10 25
15 45
The price of the pizza would be considered discrete data because the values are limited to these three prices. Table 5.1 describes the discrete probability distribution for these sizes. We can see from these data that the $15 pizza is the most popular size, whereas the $10 is the least popular. Probabilities, in general, are often difficult to assess when we rely on our intuition or judgment. For example, you might be surprised by how low the probability is of your passing a multiple-choice test you are completely unprepared for and must guess the answers to. (Not that you would ever try such a crazy thing!) Table 5.2 summarizes the prob- abilities for such a scenario based on the number of test questions. (Assume that 70% is a passing grade.)
For example, the probability of correctly guessing at least 7 (70%) of the 10 multiple- choice questions each with four choices is only 0.0035 (less than 1%). For a 40-question test, the probability drops to an infinitesimal 0.0000000028. This translates to passing the exam once in every 357,142,857 attempts. I’m not sure your professor is going to let you try the exam that many times to pass. In this chapter, you will learn how to calculate the prob- abilities displayed in Table 5.2.
Our test-taking example brings to mind a recurring nightmare I have experienced for as long as I can remember: In the dream, I am back in college. Suddenly, I realize I’m enrolled in a math course I have never attended. I finally work up the nerve to walk into the class- room and find myself face to face with . . . an exam. At this point, I wake up in a cold sweat, thankful that I had only been dreaming. After calculating the probability of passing an exam
www.freebookslides.com
C h a p t e r 5 | 5.1 Introduction to Discrete Probability Distributions 195
in this situation, you surely have come to the same conclusion that I did many years ago: It doesn’t pay to take a multiple-choice exam unprepared and by guessing at the answers. Table 5.2 provides proof.
Businesses often rely on discrete probabilities to help them make important decisions, including the following:
• Forecasting customer demand to plan for staffing and inventory needs
• Quantifying the risk of producing defective items to provide better control of a manu- facturing process
• Gauging different customer satisfaction scores to improve customer service
These and other types of discrete probabilities will be considered throughout this chapter.
5.1 Introduction to Discrete Probability Distributions
In Chapter 4, we discussed conducting experiments to acquire data. A simple experiment would be to roll a fair six-sided die (one with an equal chance of observing each number). Examples of more complex experiments businesses might conduct to calculate probabilities would be the following:
• To record the number of customers who enter a Best Buy store each hour during the business day
• To randomly select six customers who walked into an AT&T Wireless store and count the number who signed new cell phone contracts
• To request that each customer checking out of a Marriott Hotel rate his or her satisfac- tion with the stay as a 1, 2, 3, 4, or 5
Each of these experiments would generate discrete data, such as the following:
• Twenty-six customers entered the Best Buy store between 10:00 and 11:00 a.m.
• One of the six customers at the AT&T store signed a cell phone contract.
• Four is the satisfaction rating, on a scale of 1–5, provided by the last customer to check out of the Marriott Hotel.
Discrete random Variables Discrete random variables have outcomes that typically take on whole numbers as a result of conducting an experiment. The values 26, 1, and 4 are examples of values that a discrete random variable often takes on. The term random is used because the value of the variable cannot be known with certainty before the experiment. For example, it would be unreason- able to expect me (or anyone else) to accurately predict that 26 customers will arrive during the first hour of business at the Best Buy store. The value of the random variable becomes known with certainty after the experiment is conducted. By convention, the value of the ran- dom variable is often denoted by x.
Some experiments will generate continuous data and are known as continuous random variables. Continuous random variables have outcomes that take on any numerical value as a result of conducting an experiment. Examples of continuous random variables include the following:
• The length of time a customer waits in a checkout line at a Whole Foods grocery store
• The ounces of soda consumed by an adult in one month
• The weight of a tractor-trailer at a weigh station on Interstate 95
The acid test for determining whether we are dealing with discrete or continuous ran- dom variables is to ask ourselves, “How many data values can be found in a specific interval
Discrete random variables have outcomes that typically take on whole numbers as a result of conducting an experiment.
Continuous random variables have outcomes that take on any numerical value as a result of conducting an experiment.
www.freebookslides.com
196 C h a p t e r 5 | Discrete Probability Distributions
of numbers?” Discrete random variables have outcomes that are limited to a finite number of values within an interval, whereas continuous random variables have an infinite number of outcomes within an interval. In the Marriot Hotel (discrete) example, there are only five pos- sible outcomes within the interval 1–5 for a customer to choose from when rating his or her satisfaction. In the Whole Foods (continuous) example, there are an infinite number of wait times within the interval 0–5 minutes. Possible wait times could be 3 minutes, 3.2 minutes, or 3.27 minutes. Because we are measuring time on a continuous scale, the only limitation in the number of values within this 0- to 5-minute interval is our measuring instrument’s level of precision.
As mentioned in Chapter 2, there are some exceptions to these guidelines, especially when the outcome of the random variable covers a wide range of values. Income values, for instance, are technically discrete data (we count our money, not measure it). But because of the very large number of possible income values, it is more practical to consider these data as continuous.
We will discuss continuous random variables in more detail in Chapter 6.
rules for Discrete probability Distributions A listing of all the possible outcomes of an experiment for a discrete random variable along with the relative frequency of each outcome is called a discrete probability distribution. To demonstrate this concept, let’s consider the Olive Garden restaurant, which records the fre- quencies of group sizes that arrive for dinner. The Olive Garden wants to know this informa- tion so that it can arrange its available seating in the most efficient manner.
Table 5.3 shows these frequencies. The “Group Size” column shows the discrete random variables in our experiment. Notice how the group sizes are all whole numbers (the Olive Garden won’t see a party of 2.6 people). The “Frequency” column displays the number of times each random variable occurred during the experiment. The “Relative Frequency” column shows the relative frequencies for each group size for the last 50 tables. Relative frequencies are a proportion of the total, so they can consist of fractions. (Recall that relative frequency distributions were discussed at length in Chapter 2.)
A listing of all the possible outcomes of an experiment for a discrete random variable along with the relative frequency of each outcome is called a discrete probability distribution.
Group size represents discrete data because there are only a finite number (five) of possible values for the outcome of this random variable within the interval 2–6.
{ table 5.3 | Olive Garden’s Probability Distribution for Group Sizes
group size frequency relative frequency
2 17 17>50 = 0.34 3 6 6>50 = 0.12 4 16 16>50 = 0.32 5 4 4>50 = 0.08 6 7 7>50 = 0.14
Total 50 1.00
The relative frequencies in Table 5.3 represent the probabilities for each outcome of the discrete random variable (group size). If the 50 tables are representative of a typical evening, we can conclude the probability is greatest (34%) that the next group arriving for dinner will consist of two people.
Figure 5.1 shows the probability distribution in graphical form. See Chapter 2 for a re- fresher on how to construct this chart in Excel.
www.freebookslides.com
C h a p t e r 5 | 5.1 Introduction to Discrete Probability Distributions 197
A discrete probability distribution meets the following conditions:
• Each outcome in the distribution needs to be mutually exclusive with other outcomes in the distribution—that is, the value of the random variable cannot fall into more than one of the frequency distribution classes. For example, it is not possible for the same group to consist of both two and three people.
• The probability of each outcome, P1x2, must be between 0 and 1 (inclusive); that is, 0 … P1x2 … 1 for all values of x. In the previous example, P1x = 42 = 0.32, which falls between 0 and 1.
• The sum of the probabilities for all the outcomes in the distribution needs to add up to
1—that is, a n
i = 1 P1xi2 = 1, where n equals the total number of possible outcomes.
In Table 5.3, notice that the “Relative Frequency” (probability) column adds to 1.00. Occa- sionally, rounding errors occur when probabilities are added, causing the total to be slightly more or less than 1, such as 0.999 or 1.001. We normally assume that values such as these are close enough to 1 for our purposes.
the Mean of a Discrete probability Distribution The mean of a discrete probability distribution is simply the weighted average of the out- comes of the random variable that comprise it. We can calculate it using Equation 5.1.
{ figure 5.1 Graph Showing Olive Garden’s
Probability Distribution for Group Sizes
0% 5%
2 3 4 5 6
10% 15% 20%
30% 25%
35% 40%
Pr ob
ab ili
ty
Olive Garden Probability Distribution
Group Size
Formula 5.1 for the Mean of a Discrete probability Distribution
m = a n
i = 1 xiP1xi2
where
m = The mean of the discrete probability distribution xi = The value of the random variable for the ith outcome
P1xi2 = The probability that the ith outcome will occur n = The number of outcomes in the distribution
Table 5.4 shows the calculations that determined the mean of our discrete probability distribution for our Olive Garden example. The third column in the table is the product of the first two columns.
www.freebookslides.com
198 C h a p t e r 5 | Discrete Probability Distributions
The table shows us that the mean group size at the Olive Garden is 3.56 people. Obviously, 3.56 will never be the actual size of any one particular group arriving for dinner. Rather, it represents the average group size over the last 50 tables. The mean of a discrete probability distribution does not have to equal one of the values of the outcome for the random variables (2, 3, 4, 5, or 6 in this case).
We could have also directly calculated the mean by using Equation 5.1:
m = a n
i = 1 xiP1xi2
m = 12210.342 + 13210.122 + 14210.322 + 15210.082 + 16210.142 m = 0.68 + 0.36 + 1.28 + 0.40 + 0.84 m = 3.56 people
Another term for describing the mean of a discrete probability distribution is the expected value, E1x2. We can calculate the expected value using Equation 5.2.
The mean of a discrete probability distribution is the weighted average of the outcomes of the random variable in the distribution.
{ table 5.4 | Calculating the Mean of a Discrete Probability Distribution (for Olive Garden’s Group Sizes)
group size probability
xi P1xi2 xi P1xi2 2 0.34 0.68
3 0.12 0.36
4 0.32 1.28
5 0.08 0.40
6 0.14 0.84
Total 1.00 3.56
E1x2 = m = a n
i = 1 xiP1xi2
where
E1x2 = The expected value of the discrete probability distribution m = The mean of the discrete probability distribution xi = The value of the random variable for the ith outcome
P1xi2 = The probability that the ith outcome will occur n = The number of outcomes in the distribution
the Variance and Standard Deviation of a Discrete probability Distribution Just when you thought it was safe to get back into the water, along comes another variance and standard deviation! Fear not. If you’ve seen one variance and standard deviation calcula- tion, you’ve seen them all. Remember, we learned in Chapter 3 that the variance measures the spread of the individual values around the mean of a data set and that the standard devia- tion is the square root of the variance. We can calculate the variance for a discrete probabil- ity distribution using Equation 5.3.
Expected value is another term for the mean of a probability distribution.
Formula 5.2 for the expected Value of a Discrete probability Distribution
www.freebookslides.com
C h a p t e r 5 | 5.1 Introduction to Discrete Probability Distributions 199
where
s2 = The variance of the discrete probability distribution xi = The value of the random variable for the ith outcome
P1xi2 = The probability that the ith outcome will occur n = The number of outcomes in the distribution
To demonstrate the use of these equations, we’ll use the Olive Garden distribution shown in Table 5.4. The calculations for the variance are summarized in Table 5.5. Columns 1, 2, and 3 are the results from Table 5.4. The remaining columns are found as follows:
Column 4 = Column 1 minus Column 3 S xi - m Column 5 = Column 4 squared S 1xi - m22 Column 6 = Column 5 multiplied by Column 2 S 1xi - m2 2 P1xi2
The sum of Column 6 (1.93) equals the variance of the discrete probability distribution.
Formula 5.3 for the Variance of a Discrete Probability Distribution
s2 = a n
i = 1 1xi - m22P1xi2
{ table 5.5 | Calculating the Variance of a Discrete Probability Distribution (for Olive Garden’s Group Sizes)
(1) (2) (3) (4) (5) (6)
xi P1xi2 M xi − M 1xi − M22 1xi − M22P1xi2 2 0.34 3.56 - 1.56 2.43 0.83
3 0.12 3.56 - 0.56 0.31 0.04
4 0.32 3.56 0.44 0.19 0.06
5 0.08 3.56 1.44 2.07 0.17
6 0.14 3.56 2.44 5.95 0.83
Total = 1.93
s2 = a n
i = 1 1xi - m22P1xi2 = 1.93 people squared
Recall that the standard deviation 1s2 is the square root of the variance: s = 2s2
The standard deviation of our example distribution is as follows:
s = 2s2 = 21.93 = 1.39 people A more efficient way to calculate the variance of a discrete probability distribution is to
use Equation 5.4.
The units of the variance are the squared units of the original data.
Formula 5.4 for Calculating the Variance of a Discrete Probability Distribution (Shortcut)
s2 = a a n
i = 1 x 2i P1xi2b - m2
www.freebookslides.com
200 C h a p t e r 5 | Discrete Probability Distributions
where
s2 = The variance of the discrete probability distribution xi = The value of the random variable for the ith outcome
P1xi2 = The probability that the ith outcome will occur m = The mean of the discrete probability distribution n = The number of outcomes in the distribution
Table 5.6 summarizes the calculations needed to solve Equation 5.4. The second column is the square of the first column. The fourth column is the product of the second and third columns.
{ table 5.6 | Calculating the Variance of a Discrete Probability Distribution (for Olive Garden’s Group Sizes)
xi x2i P1xi2 x2i P1xi2 2 4 0.34 1.36
3 9 0.12 1.08
4 16 0.32 5.12
5 25 0.08 2.00
6 36 0.14 5.04
Total = 14.60
a n
i = 1 x 2i P1xi2 = 14.60
s2 = a a n
i = 1 x 2i P1xi2b - m2
s2 = 14.60 - 13.5622 = 14.60 - 12.67 = 1.93 Again, the variance equals 1.93, so the standard deviation for our example is again 1.39 people. However, Equation 5.4 requires a lot less effort to calculate.
As explained in Chapter 3, the standard deviation measures the dispersion of the out- come of the discrete random variables in relation to the distribution’s mean. The closer each group size is to 3.56, the lower the standard deviation is. If the individual group sizes tend to be far from 3.56, the standard deviation will be larger. If the Olive Garden discovers that on certain nights the standard deviation of the group size tends to be higher, it may want to set up tables differently on those nights than on nights when the group sizes tend to be more consistent (where the standard deviation tends to be smaller).
I can sense that look of doubt on your face, so let me convince you by changing the Olive Garden example as follows. Let’s assume all 50 groups that arrived consisted of four people. In this case, P1x = 42 = 1.0 and all of the other discrete probabilities are equal to zero, as shown in Table 5.7.
A large standard deviation indicates that the size of the party from one group to the next varies quite a bit. A small standard deviation tells us that most of the group sizes are close to the average group size (3.56).
{ table 5.7 | Calculating the Variance of a Discrete Probability Distribution (for Olive Garden’s Group Sizes)
xi x2i P1xi2 x2i P1xi2 2 4 0.0 0.0
3 9 0.0 0.0
4 16 1.0 16.0
5 25 0.0 0.0
6 36 0.0 0.0
Total = 16.0
www.freebookslides.com
C h a p t e r 5 | 5.1 Introduction to Discrete Probability Distributions 201
Because all 50 tables consisted of four people, the mean of this distribution is 4.0, or m = 4.0. The variance for this new distribution is calculated as follows:
a n
i = 1 x 2i P1xi2 = 16.0
s2 = a a n
i = 1 x 2i P1xi2b - m2
s2 = 16.0 - 14.022 = 16.0 - 16.0 = 0.0 This result demonstrates that the variance of the distribution measures the degree of dispersion of the random variable from the mean of the distribution. Because all outcomes of the discrete random variable equal four and the mean is four, the variance is zero. Have I convinced you yet?
The mean and standard deviation for discrete probability distributions are useful when comparing two different distributions. For example, the two best-selling statistics reference books on the market at the time of this writing are Statistics for Dummies and The Complete Idiot’s Guide to Statistics. Both books are sold on the Amazon Web site, which provides the distribution for the number of stars reviewers gave each book. (The rating scale is from one to five stars.) Table 5.8 provides these data.
{ table 5.8 | Ratings for Two Statistics Books on Amazon
number of reviewers
number of stars dummies idiot’s guide
5 16 19
4 8 7
3 4 3
2 6 0
1 2 0
Total 36 29
First, we need to convert these frequencies to probabilities, as shown in Table 5.9.
{ table 5.9 | Probability Distribution for Two Statistics Books on Amazon
dummies idiot’s guide
stars frequency probability frequency probability
5 16 16>36 = 0.444 19 19>29 = 0.655 4 8 8>36 = 0.222 7 7>29 = 0.241 3 4 4>36 = 0.111 3 3>29 = 0.103 2 6 6>36 = 0.167 0 0>29 = 0.000 1 2 2>36 = 0.056 0 0>29 = 0.000
Total 36 1.000 29 0.999
Using Equation 5.1, we calculate the mean number of stars for each book:
Dummies:
m = a n
i = 1 xiP1xi2
m = 15210.4442 + 14210.2222 + 13210.1112 + 12210.1672 + 11210.0562 m = 2.220 + 0.888 + 0.333 + 0.334 + 0.056 m = 3.831
Occasionally, summing all of the probabilities for a discrete distribution will not add up to exactly 1.0 because of rounding.
www.freebookslides.com
202 C h a p t e r 5 | Discrete Probability Distributions
Idiot’s Guide:
m = a n
i = 1 xiP1xi2
m = 15210.6552 + 14210.2412 + 13210.1032 + 12210.02 + 11210.02 m = 3.275 + 0.964 + 0.309 + 0.0 + 0.0 m = 4.548
According to these calculations, the Idiot’s Guide book has a higher average rating from re- viewers than the Dummies book.
Let’s next examine the variances and standard deviations. Table 5.10 shows the variance calculations for both books.
We calculate the standard deviations for the reviews of each book as follows:
Dummies:
a n
i = 1 x 2i P1xi2 = 16.375
s2 = a a n
i = 1 x 2i P1xi2b - m2
s2 = 16.375 - 13.83122 = 16.375 - 14.677 = 1.698 s = 2s2 = 21.698 = 1.303
Idiot’s Guide:
a n
i = 1 x 2i P1xi2 = 21.158
s2 = a a n
i = 1 x 2i P1xi2b - m2
s2 = 21.158 - 14.54822 = 21.158 - 20.684 = 0.474 s = 2s2 = 20.474 = 0.688
Because the Idiot’s Guide book has a lower standard deviation, the customer reviews for this book are more consistent than those of the Dummies book. By observing the original data in Table 5.8, you can see that the number of stars ranges from three to five for the Idiot’s Guide book, whereas the number of stars for the Dummies book varies from one to five. This is shown graphically in Figure 5.2, which compares the two distributions.
This column was calculated in Table 5.9 { table 5.10 | Variance Calculations for Two Statistics Books on Amazon
dummies idiot’s guide
xi x2i P1xi2 x2i P1xi2 P1xi2 x2i P1xi2 5 25 0.444 11.100 0.655 16.375
4 16 0.222 3.552 0.241 3.856
3 9 0.111 0.999 0.103 0.927
2 4 0.167 0.668 0.000 0.000
1 1 0.056 0.056 0.000 0.000
Total 16.375 21.158
www.freebookslides.com
C h a p t e r 5 | 5.1 Introduction to Discrete Probability Distributions 203
I have one word of warning concerning this last example. Technically, the book reviewer data are ordinal data. I’m sure you remember that back in Chapter 1, we defined ordinal data as measurements that are rank-ordered with no assurance that the differences between the ranks are uniform. In our book example, we have no certainty that the difference between a two-star and three-star rating is identical to the difference between a three-star and four-star rating. By contrast, the intervals between the Olive Garden data are consistent, making the Olive Garden data interval data. Everyone agrees that the difference between a party of two and a party of three is the same as the difference between a party of four and a party of five.
Because of the ambiguity of the intervals, technically it’s not proper to calculate the mean and standard deviation of ordinal data. Nonetheless, it’s common practice when it comes to data such as book ratings. For example, Amazon graphically shows the mean num- ber of stars for books on its Web site.
Another example of this statistical “controversy” is the use of the Likert Scale, which is often used in survey questions, such as the one shown in Table 5.11.
The Dummies distribution is more spread out than the Idiot’s Guide distribution, which provides visual evidence that the Dummies standard deviation is higher.
{ figure 5.2a Ratings Distribution for the
Statistics for Dummies Book
0 0.1
1 2 3 4 5
0.2 0.3 0.4
0.6 0.5
0.7
Stars
Dummies Distribution
P ro
b ab
il it
y { figure 5.2b Ratings Distribution for The
Complete Idiot’s Guide to Statistics Book
0 0.1
1 2 3 4 5
0.2 0.3 0.4
0.6 0.5
0.7
Stars
P ro
b ab
il it
y Idiot’s Guide Distribution
{ table 5.11 | Likert Scale Example
please circle the number indicating your agreement or disagreement to the following statement:
i love statistics.
Strongly Agree 5
Agree 4
Neither Agree nor Disagree 3
Disagree 2
Strongly Disagree 1
Again, we are dealing with ordinal data here because we can’t say with certainty that the difference between “strongly disagree” and “disagree” is the same as the difference between “strongly agree” and “agree.” However, it is often assumed that the differences between the categories are close enough to consider Likert scales to be interval data.
There are plenty of other examples of this issue in the world of statistics. Anytime a researcher gathers data by asking respondents to rate something such as their satisfaction on
www.freebookslides.com
204 C h a p t e r 5 | Discrete Probability Distributions
a scale of 1–5, or 1–10, or 1–100, technically the researcher is collecting ordinal data. How- ever, as we have seen already, ordinal data are often treated as interval data, which allows us to calculate means and standard deviations to our heart’s delight. Just be aware that some people in the world of statistics take offense at such liberties.
Now is your chance to make sure you have followed this discussion so far. I’m particu- larly fond of this next Your Turn question, which highlights the performance of the NFL quarterback who broke my heart, Brett Favre. After many years of playing for my beloved Green Bay Packers, Favre retired in 2008. But then in 2009, he came out of retirement (again) and even had the audacity to play for the Packer’s division rival, the Minnesota Vikings. To my chagrin, he played pretty well that year, beating Green Bay twice in the process. Revenge is sweet, however. In 2010, the Packers put Favre and the Vikings in their place, beating them twice on their way to winning the Super Bowl.
The following table shows the frequency distribution for the number of interceptions thrown per game by Brett Favre relative to the Packer’s wins and losses over the course of his career. (An interception occurs when the quarterback throws a pass that is caught by the opposing team.) Favre currently holds the all-time career interception record for the NFL.
Number of Interceptions per Game Games Won Games Lost
0 91 12
1 59 37
2 23 29
3 9 21
4 0 5
5 0 1
a. Develop a discrete probability distribution of interceptions thrown by Brett Favre for the games won. Next, develop a discrete probability distribution of interceptions thrown by Brett Favre for the games lost.
b. What was the average number of interceptions thrown by Brett Favre per game that was won? c. What was the average number of interceptions thrown by Brett Favre per game that was lost? d. Calculate the variance and standard deviation for both distributions. e. What conclusions can you draw about Brett Favre’s interceptions during his career (other than
he threw too many)?
Y o u r t u r n # 1N
Answers can be found on u page 242
the expected Monetary Value When the discrete random variable is expressed in terms of dollars, the mean of the distribu- tion is known as the expected monetary value (EMV). The EMV is commonly used to evalu- ate the profit potential of projects or the financial return of investment portfolios. We can use Equation 5.2 to calculate the EMV. The following example will demonstrate this concept.
The RAD Construction Company has been awarded a contract with the state of California to replace a bridge on Pike Creek Road. If the project is completed on time, which is defined as during the month of September, RAD expects to earn $100,000 in profit. If the project is completed before September, the state contract calls for a $20,000 bonus to be paid to RAD. If the project is completed after September, there is a $10,000 penalty. RAD estimates the probability of completing the project early, on time, and late to be 25%, 60%, and 15%, respectively. What is the EMV of the project for RAD? Table 5.12 summarizes the information that has been provided so far.
The expected monetary value (EMV) is the mean of a discrete probability distribution when the discrete random variable is expressed in terms of dollars.
www.freebookslides.com
C h a p t e r 5 | 5.1 Introduction to Discrete Probability Distributions 205
We can use Equation 5.2 to calculate the EMV for this project:
EMV = m = a n
i = 1 xiP1xi2
EMV = 1$120,000210.252 + 1$100,000210.602 + 1$90,000210.152 EMV = $103,500
Once the project is complete, RAD will earn $90,000, $100,000, or $120,000, depending on the completion time. What does the $103,500 represent in the context of this example? (Don’t worry—when I ask this question of my students, I often get a blank look.) The EMV is the long-term average profit for this project. Even though the actual project will occur only once, to determine the EMV we need to consider the hypothetical case that the project occurs over and over again. There will be times the profit will be $90,000, other times it will be $100,000, and other times it will be $120,000, with the frequencies reflected in the prob- abilities shown in Table 5.12. The long-term average of all these profits, weighted with their respective probabilities, is expected to be $103,500.
See how the EMV can help you win a bet playing basketball in the following Your Turn problem.
The EMV represents the long-term average profit for this project, as if this project occurred over and over again.
{ table 5.12 | RAD Construction Example
completion net profit ($) probability
Before September 120,000 0.25
September 100,000 0.60
After September 90,000 0.15
Your best friend proposes a bet on the basketball court. You get to attempt one free throw. If you make the free throw, your friend will pay you $20. If you miss the free throw, you will pay your friend $25. Based on your past performance on the court, you estimate the probability that you will make the free throw to be 65%. Should you take the bet? Why or why not?
Y o u r t u r n # 2N
Answer can be found on u page 243
5.1 Section Problems Basic Skills 5.1 Consider the following discrete probability distribution:
Outcome Probability
0 0.06
1 0.11
2 0.24
3 0.27
4 0.20
5 ?
Determine the missing probability for the random variable that equals 5.
5.2 Consider the following discrete probability distribution:
Outcome Probability
1 0.18
2 0.25
3 0.35
4 0.22
a. Calculate the mean of this distribution. b. Calculate the standard deviation of this distribution.
www.freebookslides.com
206 C h a p t e r 5 | Discrete Probability Distributions
5.3 Consider the following discrete probability distribution:
Outcome Probability
10 0.10
15 0.30
20 0.20
25 0.30
30 0.10
a. Calculate the mean of this distribution. b. Calculate the standard deviation of this distribution.
5.4 The following table provides five different distributions for the daily demand for loaves of sourdough bread at a local bakery. Identify which distributions are valid dis- crete probability distributions and which ones are not. Explain your answers.
Daily Demand
Probability Distributions
A B C D E
0 0.1 0.0 0.1 0.1 0.1
1 0.1 0.1 0.1 0.1 0.1
2 0.2 0.2 0.2 0.2 0.2
3 0.4 0.3 0.3 0.4 0.2
4 0.3 0.3 0.2 1.3 0.2
5 0.1 0.1 0.1 0.1 0.1
applications 5.5 A survey recorded the number of children 18 years old or
younger who lived in 200 households. The following table shows the results:
Number of Children Number of Families
0 88
1 40
2 42
3 20
4 7
5 3
a. Determine the mean number of children per household. b. Determine the standard deviation for the number of
children per household.
5.6 Steve Blass owns two fast-food restaurants in Delaware: one located in Stanton and another located in Newark. Steve has recorded customer satisfaction ratings for both locations on a scale of 1 to 5 15 = Most satisfied2. The following table summarizes the data:
Number of Customers
Rating Stanton Newark
1 4 12
2 12 12
3 8 18
4 36 15
5 20 18
a. Calculate the mean satisfaction rating at each location. b. Calculate the standard deviation of each distribution. c. What conclusions can be drawn from these results?
5.7 The following table shows the discrete probability distri- bution for the number of bedrooms per house in a certain community:
Number of Bedrooms Probability
3 0.23
4 0.57
5 0.14
6 0.06
a. Determine the mean number of bedrooms per house. b. Determine the standard deviation for the number of
bedrooms per house.
5.8 Kohls Candy Company developed a new consumer prod- uct that is expected to earn $4,000 in profit each year if consumer demand is low, $20,000 per year if consumer demand is moderate, and $36,000 per year if consumer demand is high. The probability of low, moderate, and high demand is 30%, 45%, and 25%, respectively. Deter- mine the EMV for the new product.
5.9 Avalon Bakery would like you to recommend how many loaves of its famous marble rye bread to bake at the beginning of the day. Each loaf costs the bakery $3.00 and can be sold for $6.00. Leftover loaves at the end of each day are donated to charity. Research has shown that the probabilities for demands of 25, 50, and 75 loaves are 35%, 25%, and 40%, respectively. Make a recom- mendation for Avalon to bake 25, 50, or 75 loaves each morning.
www.freebookslides.com
C h a p t e r 5 | 5.2 Binomial Distributions 207
5.2 Binomial Distributions We are now ready to address a specific type of discrete probability distribution known as the binomial distribution. In the previous section, we defined an experiment as the process of measuring or observing an activity for the purpose of collecting data. Let’s say our experi- ment involves counting the customers who sign cell phone contracts at an AT&T Wireless store. Each customer would be considered a trial for the experiment. For this particular experiment, we have only two possible outcomes for each trial: either the customer signs a contract (a success) or the customer doesn’t sign a contract (a failure). Because we can have only two possible outcomes for each trial, this is known as a binomial experiment.
the Characteristics of a Binomial experiment Let’s say that, historically, 10% of the customers who walk into an AT&T store sign cell phone contracts. Therefore, the probability of a success, p, for any given customer is 0.10. Because there are only two outcomes possible, the probability of a failure for any given customer, q, is 0.90. For a binomial experiment, the probability of a success, p, and the prob- ability of a failure, q, must be the same for every trial in the experiment. Because only two outcomes are allowed in a binomial experiment, p = 1 - q always holds true.
The word success does not have to be assigned to the positive outcome, and the word failure need not apply to the negative one. These are merely labels that can be assigned to either outcome. Just be sure to keep the two straight:
p = The probability of a success q = The probability of a failure
Another characteristic of a binomial experiment is that each trial is independent of any other trials. In other words, the probability of the second customer signing a contract is not affected by whether the first customer signed or did not sign a contract.
Finally, a binomial experiment consists of a fixed number of trials, denoted by n. We count the number of successes in those trials, which we label as the value of x. For example, if our experiment consists of six randomly selected customers, and one of them signs a con- tract, we have the following parameters:
n = 6 x = 1
Recall that we already established that the probability of a success, p, and the probability of a failure, q, are as follows:
p = 0.10 q = 0.90
Given this information, we can calculate the probability that one customer of the six will sign a contract.
Other examples of binomial experiments include the following:
• Testing whether a part is defective or not defective after it has been manufactured
• Observing whether a customer purchases or does not purchase an extended warranty for a new laptop
• Recording whether a household watched or did not watch the series finale of ABC’s Lost
Using Binomial Distributions A binomial probability distribution allows us to calculate the probability of a specific num- ber of successes for a certain number of trials. Therefore, the random variable for this dis- tribution would be the number of successes that were observed. To demonstrate a binomial distribution, let’s use the following example.
Orange Lake Golf Resort in Orlando, Florida, provides a free 1-hour golf clinic every Monday for its guests. Historically, 20% of the guests who attend the clinic register for
A binomial experiment has the following characteristics: (1) The experiment consists of a fixed number of trials, denoted by n; (2) each trial has only two possible outcomes, a success or a failure; (3) the probability of a success and the probability of a failure are constant throughout the experiment; (4) each trial is independent of the other trials in the experiment.
Assigning the terms success and failure to outcomes is completely arbitrary. I could have easily assigned success to a customer not signing a contract and failure to a customer signing a contract.
www.freebookslides.com
208 C h a p t e r 5 | Discrete Probability Distributions
where
n! = n1n - 121n - 221n - 32 c 142132122112 For our Orange Lake example, n = 3 and x = 1.
nCx = n!
1n - x2!x! = 3!
13 - 12!1! = 132122112 122112112 = 3
So far, we have calculated a binomial probability the hard way by breaking it down step by step. Let me show you a much easier way to calculate these probabilities using the
paid golf lessons during the remainder of the week. I have long suspected this is why they provide the “free” clinics. If we randomly select three attendees—call them Bob, Kate, and Roger—what is the probability that one of the attendees will pay for golf lessons this week? This is a job for the binomial probability distribution.
Let’s define Event A as follows:
Event A = Bob pays for lessons, whereas Kate and Roger do not
We can calculate the probability of Event A by identifying the following simple probabilities:
P1Bob = Yes2 = 0.20 P1Kate = No2 = 0.80 P1Roger = No2 = 0.80 If we define a success as a person paying for lessons and a failure as a person not paying
for lessons, then p = 0.20 and q = 0.80. We have three trials in this example 1n = 32 be- cause each of the three people can either pay or not pay for golf lessons. The probability that all three of these simple events will occur together (Event A) can be found using the multi- plication rule for independent events, shown as Equation 4.12 in Chapter 4.
P1A2 = pqq = pq 2 = 10.2210.822 = 0.128 However, this probability represents the likelihood that only Bob pays for lessons, not
the likelihood that any one of the three people will pay for lessons. If Kate pays for lessons, whereas Bob and Roger decline (let’s call this Event B), we have the following sequence and probability:
P1Bob = No2 = 0.80 P1Kate = Yes2 = 0.20 P1Roger = No2 = 0.80 P1B2 = qpq = pq 2 = 10.2210.822 = 0.128
Lastly, if Roger is the only person from the group paying for the lessons (Event C), we have the following sequence and probability:
P1Bob = No2 = 0.80 P1Kate = No2 = 0.80 P1Roger = Yes2 = 0.20 P1C2 = qqp = pq 2 = 10.2210.822 = 0.128
We have a total of three ways in which one person from the group will pay for lessons, with each scenario having a 12.8% chance of occurring. Therefore, the probability that exactly one person from this group of three will pay for golf lessons is the probability that Event A or Event B or Event C will occur. We can find this probability by using the addition rule for mutually exclusive events, shown as Equation 4.4 in Chapter 4.
P1A or B or C2 = P1A2 + P1B2 + P1C2 = 0.128 + 0.128 + 0.128 = 13210.1282 = 0.384
The value “3” in this analysis represents the number of ways in which three people can be selected one at a time. We explored this concept with combinations in Chapter 4. In general, the number of ways in which n objects can be selected x at a time is shown in Equation 5.5.
These three simple events are independent because we are assuming that, for example, if Bob decides to pay for lessons, the probability of Kate or Roger paying for lessons is still 20%. The decision of one person does not influence the decision of another.
Events A, B, and C are mutually exclusive because if one of these events occurs, the other two events cannot.
Formula 5.5 for Combinations of n Objects Selected x at a Time
nCx = n!
1n - x2!x!
www.freebookslides.com
C h a p t e r 5 | 5.2 Binomial Distributions 209
where
P1x, n2 = The probability of observing x successes in n trials n = Number of trials x = Number of successes p = Probability of a success q = Probability of a failure
We can calculate the probability that one of our three resort guests will pay for golf les- sons this week in one step using Equation 5.6:
P1x, n2 = n!1n - x2!x! p xq n - x
P11, 32 = 3!13 - 12!1!10.202 110.8023 - 1
P11, 32 = 13212211212211211210.20210.802 2
P11, 32 = 13210.20210.642 = 0.384 What other values can the random variable x take on in this example other than 1?
Because this example includes only Bob, Kate, and Roger, the number of successes is lim- ited to the values 0, 1, 2, and 3. In general, the number of successes in a binomial experiment must range from zero to n. The number of successes can never exceed the number of trials. Let’s first look at the probability that none of the three resort guests pay for golf lessons.
P1x, n2 = n!1n - x2!x! p xq n - x
P10, 32 = 3!13 - 02!0!10.202 010.8023 - 0
P10, 32 = 13212211213212211211210.202 010.8023
P10, 32 = 11211210.5122 = 0.512 What is the probability that two of the three resort guests pay for golf lessons?
P12, 32 = 3!13 - 22!2!10.202 210.8023 - 2
P12, 32 = 13212211211212211210.202 210.8021
P12, 32 = 13210.04210.802 = 0.096 Finally, the probability that all three of the resort guests pay for golf lessons is as
follows:
P13, 32 = 3!13 - 32!3!10.202 310.8023 - 3
P13, 32 = 13212211211213212211210.202 310.8020
P13, 32 = 11210.0082112 = 0.008
The number of successes, x, can never exceed the number of trials, n, in a binomial experiment.
Remember that 0! = 1 and x0 = 1 for any value of x.
general equation for a binomial distribution, which is shown in Equation 5.6. This equation determines the probability of exactly x successes from n trials.
Formula 5.6 for the Binomial Probability Distribution
P1x, n2 = n!1n - x2!x! p xq n - x
www.freebookslides.com
210 C h a p t e r 5 | Discrete Probability Distributions
Let’s revisit our AT&T Wireless store example and calculate the probability that exactly one customer of the six randomly selected will sign a cell phone contract. Remember, 10% of the customers who walk in the store sign a contract. For this example, our variables are as follows:
n = 6 x = 1 p = 0.10 q = 0.90
Using Equation 5.6, we have the following:
P1x, n2 = n!1n - x2!x! p xq n - x
P11, 62 = 6!16 - 12!1!10.102 110.9026 - 1
P11, 62 = 16215214213212211215214213212211211210.10210.902 5
P11, 62 = 16210.10210.59052 = 0.3543 There is a 35.4% chance that exactly one customer from a group of six will sign a
cell phone contract. What about the probability that none of the six customers will sign a contract?
P10, 62 = 6!16 - 02!0!10.102 010.9026 - 0
P10, 62 = 16215214213212211216215214213212211211210.102 010.9026
P10, 62 = 11211210.53142 = 0.5314 Here’s a tricky question that causes some of my students to struggle. What is the prob-
ability that more than one of the six selected customers will sign a contract? This event includes two, three, four, five, or six customers signing a contract. Using the notation that P1x2 = The probability of x successes, I’m looking for the following:
P122 + P132 + P142 + P152 + P162 In order to calculate this probability directly, I would have to employ Equation 5.6 five
separate times and add all of the results. A much smarter approach (and a lot less work) is to call on the complement rule of probability that we learned in Chapter 4. From our previous discussions about discrete probability distributions, we know the following to be true:
P102 + P112 + P122 + P132 + P142 + P152 + P162 = 1.0
Equation 4.3 stated that P 1A2 = 1 - P 1A'2. That is, the probability of Event A equals one minus the probability that Event A does not occur (its complement).
Notice that the probability of 0 or 1 or 2 or 3 successes sums to 1.0, as shown in the follow- ing equation, because we have three trials in our experiment.
P1x = 0 or 1 or 2 or 32 = 0.512 + 0.384 + 0.096 + 0.008 = 1.0 When we conduct our experiment, the value of our random variable, x, must be equal to
0, 1, 2, or 3. This is consistent with the discrete probability distribution rule that states that the sum of the probabilities for all the random variables in the distribution must sum to 1. Figure 5.3 shows this binomial distribution graphically.
{ figure 5.3 The Golf Lesson Binomial
Distribution
0 1 2 3 4
0.1 0.2 0.3 0.4
0.6 0.5
Number of Golfers
Golf Lesson Binomial Distribution
Pr ob
ab ili
ty
www.freebookslides.com
C h a p t e r 5 | 5.2 Binomial Distributions 211
where
m = The mean of the binomial distribution n = The number of trials p = The probability of a success For our AT&T example, the mean of the distribution is as follows:
m = np = 16210.12 = 0.6 customer In other words, out of six randomly selected customers, we expect an average of 0.6 (10% of them) to sign a new contract. The mean of the binomial distribution represents the long-term average number of successes to expect based on the number of trials conducted.
To demonstrate the mean of this binomial distribution, let’s consider five different groups that consist of six customers. Suppose that zero customers signed a contract from the first group of six. The second group of six had one customer sign, whereas the third and fourth groups also had zero customers sign a contract. From the last (fifth) group of six cus- tomers, two signed a contract. The mean number of customers who signed a contract from each group is calculated as follows:
0 + 1 + 0 + 0 + 2 5
= 0.6 customer
The standard deviation for a binomial probability distribution can be calculated using Equation 5.8.
By simply rearranging the above equation with a little bit of algebra, I can answer my ques- tion with fewer calculations.
P122 + P132 + P142 + P152 + P162 = 1.0 - P102 - P112 P122 + P132 + P142 + P152 + P162 = 1.0 - 0.5314 - 0.3543 = 0.1143
There is an 11.4% probability that more than one of our six customers will sign a cell phone contract.
the Mean and Standard Deviation of a Binomial Distribution Earlier in the chapter, we calculated the mean and standard deviation of a discrete prob- ability distribution. The mean for a binomial probability distribution can be calculated using Equation 5.7.
Formula 5.7 for Calculating the Mean of a Binomial Distribution
m = np
Formula 5.8 for Calculating the Standard Deviation of a Binomial Distribution
s = 2npq where
s = The standard deviation of the binomial distribution n = The number of trials p = The probability of a success q = The probability of a failure
www.freebookslides.com
212 C h a p t e r 5 | Discrete Probability Distributions
For our AT&T example, the standard deviation of the distribution is calculated as follows:
s = 2npq = 216210.1210.92 s = 20.54 = 0.735 customer
This value represents the variation that we would see in the number of successes over six tri- als, assuming the chance of a success is 10%. The larger the standard deviation is, the more variation we would expect in the number of successes.
Take a few minutes to see if you can correctly determine some binomial probabilities in the next Your Turn problem.
The standard deviation of a binomial distribution represents the variation that we would see in the number of successes over n trials, assuming the chance of a success is p.
Suppose a recent survey conducted by Cafe Napoli found that 84% of their customers were satisfied with their most recent meal.
a. Calculate the probability that exactly four of the next five customers will be satisfied. b. Calculate the probability that less than four of the next five customers will be satisfied. c. Calculate the mean for this distribution. d. Calculate the standard deviation for this distribution. e. What assumptions need to be made to validate your results?
Y o U r t U r n # 3N
Answers can be found on u page 243
Binomial probability tables As the number of trials increases in a binomial experiment, calculating probabilities using Equation 5.6 will really drain the batteries in your calculator and possibly even your brain. An easier way to arrive at these probabilities is to use a binomial probability table, which is provided in Table 1 in Appendix A in the back of this textbook. Table 5.13 is an excerpt from this appendix.
The probability table is organized by values of n, the total number of trials. The number of successes, x, makes up the rows of each section, and the probability of success, p, makes up the columns. Notice that the sum of each block of probabilities for a particular value of p adds to 1.0.
Let’s go back to our Orange Lake Golf Resort example, where three resort guests at- tended the free golf clinic on Monday. Recall that 20% of the attendees pay for golf lessons later in the week. The probabilities that we calculated earlier for each value of x are high- lighted in yellow in Table 5.13.
The highlighted values represent the probabilities that 0, 1, 2, or 3 people from 3 randomly selected people will pay for golf lessons at Orange Lake.
{ table 5.13 | Binomial Probabilities from Table 1 in Appendix A p
n x 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
2 0 0.8100 0.7225 0.6400 0.5625 0.4900 0.4225 0.3600 0.3025 0.2500
1 0.1800 0.2550 0.3200 0.3750 0.4200 0.4550 0.4800 0.4950 0.5000
2 0.0100 0.0225 0.0400 0.0625 0.0900 0.1225 0.1600 0.2025 0.2500
3 0 0.7290 0.6141 0.5120 0.4219 0.3430 0.2746 0.2160 0.1664 0.1250
1 0.2430 0.3251 0.3840 0.4219 0.4410 0.4436 0.4320 0.4084 0.3750
2 0.0270 0.0574 0.0960 0.1406 0.1890 0.2389 0.2880 0.3341 0.3750
3 0.0010 0.0034 0.0080 0.0156 0.0270 0.0429 0.0640 0.0911 0.1250
www.freebookslides.com
C h a p t e r 5 | 5.2 Binomial Distributions 213
It’s now time to revisit the question I posed at the start of the chapter: What is the prob- ability that a student will pass a 10-question, multiple-choice test by randomly guessing at each answer? We assumed each question had four choices, so if a student were guessing, the success of correctly answering a question would be 25%. Therefore, p = 0.25, which would mean q = 0.75. Each question represents a trial, so the number of trials, n, equals 10. We also assumed that 70% was a passing grade, which would mean the student would need to answer 7, 8, 9, or 10 questions correctly to pass.
Table 5.14 shows the section of Appendix A that we need to answer this question. The probability of earning a score of 70% or better is the sum of the four probabilities under the p = 0.25 column that are highlighted in yellow.
{ table 5.14 | Binomial Probability Tables from Appendix A
p
n x 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
10 0 0.3487 0.1969 0.1074 0.0563 0.0282 0.0135 0.0060 0.0025 0.0010
1 0.3874 0.3474 0.2684 0.1877 0.1211 0.0725 0.0403 0.0207 0.0098
2 0.1937 0.2759 0.3020 0.2816 0.2335 0.1757 0.1209 0.0763 0.0439
3 0.0574 0.1298 0.2013 0.2503 0.2668 0.2522 0.2150 0.1665 0.1172
4 0.0112 0.0401 0.0881 0.1460 0.2001 0.2377 0.2508 0.2384 0.2051
5 0.0015 0.0085 0.0264 0.0584 0.1029 0.1536 0.2007 0.2340 0.2461
6 0.0001 0.0012 0.0055 0.0162 0.0368 0.0689 0.1115 0.1596 0.2051
7 0.0000 0.0001 0.0008 0.0031 0.0090 0.0212 0.0425 0.0746 0.1172
8 0.0000 0.0000 0.0001 0.0004 0.0014 0.0043 0.0106 0.0229 0.0439
9 0.0000 0.0000 0.0000 0.0000 0.0001 0.0005 0.0016 0.0042 0.0098
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0010
Notice that the probability of answering exactly nine correctly is 0.0000 according to Table 5.14. If we use Equation 5.6, the actual probability for this event is 0.000029. How- ever, because we have space for only four decimal places in the table, the probability was rounded to 0.0000. The same situation holds true in this table for the probability of answer- ing exactly 10 questions correctly.
Using the yellow highlighted numbers in Table 5.14, we can determine the probability of passing the multiple-choice (MC) test by guessing as follows:
P1Passing MC Test2 = 0.0031 + 0.0004 = 0.0035 Notice that this is the probability I reported in Table 5.2.
Table 5.14 also has highlighted (in green) the probabilities needed to determine the chance of passing a 10-question true/false (TF) test, under the p = 0.50 column.
P1Passing TF Test2 = 0.1172 + 0.0439 + 0.0098 + 0.0010 P1Passing TF Test2 = 0.1719
This probability is much higher than those for the multiple-choice test because the prob- ability of success is higher 1p = 0.502 when there are only two choices for each question. In other words, the student has a 50% chance of answering one of the true/false questions right but only a 25% chance of answering one of the multiple-choice questions right when guessing.
We saved ourselves a lot of work in this last example by using Table 1 in Appendix A rather Equation 5.6. However, the tables are limited to specific combinations of values for n, x, and p. As a result, some binomial probabilities cannot be determined using the tables.
The next Your Turn problem will give you the chance to test your understanding of the binomial probability tables.
www.freebookslides.com
214 C h a p t e r 5 | Discrete Probability Distributions
Using excel and phStat to Calculate Binomial probabilities Another convenient way to calculate binomial probabilities is to rely on Excel’s BINOM.DIST function which has the following characteristics:
= BINOM.DIST1x, n, p, cumulative2 where
x = Number of successes n = Number of trials p = Probability of a success cumulative = FALSE, if you want to determine the probability of exactly x successes occurring cumulative = TRUE, if you want to determine the probability of x or fewer successes occurring
Consider the following example. According to First American CoreLogic, 45% of the mortgages in Florida were underwater in 2012. The term underwater refers to a situation in which borrowers owe more on their mortgages than their properties are worth. If we ran- domly select three Florida mortgages, what is the probability that exactly two of them are underwater?
We can use Table 5.13 to see that this probability equals 0.3341.We can also use Excel’s BINOM.DIST function to give us the same result.
= BINOM.DIST12, 3, 0.45, FALSE2 = 0.3341 We specify FALSE because we want to determine the probability of exactly two mortgages from our sample being underwater. Excel will also calculate the probability that two or fewer mortgages from our sample will be underwater.
= BINOM.DIST12, 3, 0.45, TRUE2 = 0.9089 We specify TRUE because we want to determine the probability of two or fewer mortgages from our sample being underwater. The probability of this event is 0.9089, which can be confirmed using Table 5.13 and the following equation:
P1x … 22 = P102 + P112 + P122 P1x … 22 = 0.1664 + 0.4084 + 0.3341 = 0.9089
In other words, there is nearly a 91% chance that zero, one, or two mortgages from our Florida sample of three will be underwater. This is also known as the cumulative probability because it sums up all the individual probabilities of two or less.
Finally, we can calculate binomial probabilities using the Excel Add-In PHStat for Windows. See the textbook’s Web site (www.pearsonhighered.com/donnelly) for Excel for Mac instructions. The following steps demonstrate this technique for our Florida mortgage example:
1. Go to Add-Ins + PHStat + Probability & Prob. Distributions + Binomial, as shown in Figure 5.4.
It is estimated that 40% of drivers passing through a particular tollbooth use E-ZPass, an electronic toll collection system. Use the binomial tables in Appendix A to determine the probability of the following:
a. Exactly three of the next seven cars will use the E-ZPass system b. At least five of the next seven cars will use the E-ZPass system
Y o U r t U r n # 4N
Answers can be found on u page 243
www.freebookslides.com
C h a p t e r 5 | 5.2 Binomial Distributions 215
{ figure 5.4 PHStat’s Function for
Calculating Binomial Distributions (Step 1)
2. Fill in the Binomial Probability Distribution dialog box as shown in Figure 5.5. Click OK.
{ figure 5.5 PHStat’s Function for
Calculating Binomial Distributions (Step 2)
Figure 5.6 shows the binomial probabilities that we found in Table 5.13 as well as the mean and standard deviation for this distribution. Notice that cumulative probabilities are also displayed in the output. For example, the probability that one or fewer mortgages from our sample of three are underwater is calculated as follows:
P1x … 12 = P102 + P112 = 0.57475
{ figure 5.6 Final Binomial Probabilities
Calculated Using PHStat
www.freebookslides.com
216 C h a p t e r 5 | Discrete Probability Distributions
{ figure 5.7 Final Binomial Probabilities
Calculated Using PHStat: A Histogram
From this information, we can easily determine the probability that more than one mort- gage from our sample of three are underwater by recognizing that this is the complement of the previous probability:
P1x 7 12 = 1 - P1x … 12 P1x 7 12 = 1 - 0.57475 = 0.42525
This probability is also provided by PHStat in Cell F15 in Figure 5.6. As an added bonus, PHStat will also display the histogram for a binomial distribution.
Figure 5.7 shows the histogram for our Florida mortgage example.
The x-axis shows the number of mortgages that are underwater (successes) while the y-axis denotes the probability for observing the exact number of successes in the sample.
One benefit of using Excel and PHStat to determine binomial probabilities is that you are not limited to the values of n, x, and p shown in the binomial table in Appendix A. Excel’s BINOM.DIST function allows you to use any value between zero and one for p and any value for n that you choose. Obviously, the value of x—the number of successes—will always be limited to whole numbers ranging from zero to n.
Use the next Your Turn example to determine the probability that customers will pur- chase insurance for their cell phones.
Cell phone retailers offer insurance plans for customers that provide protection if the phone is lost or accidently damaged. Sarah is a sales representative for Verizon Wireless, and historically has sold insur- ance plans to 53% of her customers who purchase new cell phones. Suppose that Sarah has sold cell phones to 16 customers so far this week. Answer the following questions using Excel and PHStat.
a. What is the probability that exactly 10 customers purchased insurance plans this week from Sarah?
b. What is the probability that fewer than 10 customers purchased insurance plans this week from Sarah?
c. What is the probability that more than five customers purchased insurance plans this week from Sarah?
d. Construct a histogram for this binomial probability distribution.
Y o U r t U r n # 5N
Answers can be found on u pages 243–244
www.freebookslides.com
C h a p t e r 5 | 5.2 Binomial Distributions 217
5.2 Section Problems Basic Skills 5.10 Consider a binomial probability distribution with
p = 0.60 and n = 7. Determine the following probabilities:
a. P1x = 22 b. P1x … 12 c. P1x 7 52
5.11 Consider a binomial probability distribution with p = 0.35 and n = 8. Determine the following probabilities:
a. exactly three successes b. less than three successes c. six or more successes
5.12 Consider a binomial probability distribution with p = 0.25. Determine the probability of exactly four suc- cesses for the following conditions:
a. n = 5 b. n = 7 c. n = 10
5.13 Consider a binomial probability distribution with p = 0.65 and n = 15. Determine the mean and standard deviation of this distribution.
applications 5.14 If a student estimated that the probability of correctly
answering each question in a multiple-choice question is 80%, use the binomial tables to determine the probability of earning at least a 70% grade on a 20-question exam.
5.15 A recent survey taken by Adecco of 1,047 employees found that 28% of them would lay off their bosses if they could. Answer the following questions based on a random sample of 10 employees:
a. What is the probability that exactly three employees would lay off their bosses?
b. What is the probability that three or fewer employees would lay off their bosses?
c. What is the probability that five or more employees would lay off their bosses?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.16 A hotel claims that 90% of its customers are very satisfied with its service. Answer the following questions based on a random sample of eight customers:
a. What is the probability that exactly seven customers are very satisfied?
b. What is the probability that more than seven customers are very satisfied?
c. What is the probability that less than six customers are very satisfied?
d. Suppose that of the eight customers selected, four re- sponded that they are very satisfied. What conclusions can be drawn about the hotel’s claim?
5.17 The budgeting Web site HelloWallet reported that 25% of U.S. households have withdrawn money from a 401(k) or other retirement account for needs other than retirement in 2013. A random sample of 11 U.S. households was selected.
a. What is the probability that exactly two households withdrew funds from a retirement account for needs other than retirement?
b. What is the probability that less than three households withdrew funds from a retirement account for needs other than retirement?
c. What is the probability that more than five households withdrew funds from a retirement account for needs other than retirement?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.18 According to a survey by Apartments.com, 35% of apart- ment renters in 2013 had owned a home at one point. Consider a random sample of nine apartment renters.
a. What is the probability that exactly three renters from this sample previously owned a home?
b. What is the probability that less than four renters from this sample previously owned a home?
c. What is the probability that exactly six or seven renters from this sample previously owned a home?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.19 According to Catalyst, based on a survey of Fortune 500 companies, 14% of Executive Officer positions in 2012 were female. Answer the following questions based on a random sample of 12 corporate officers:
a. What is the probability that one corporate officer was female?
b. What is the probability that less than four corporate of- ficers were female?
c. What is the probability that more than two corporate officers were female?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.20 An e-commerce Web site claims that 6% of people who visit the site make a purchase. Answer the following questions based on a random sample of 15 people who visited the Web site.
a. What is the probability that none of the people will make a purchase?
b. What is the probability that less than three people will make a purchase?
www.freebookslides.com
218 C h a p t e r 5 | Discrete Probability Distributions
5.3 Poisson Distributions Now that we have mastered the binomial probability distribution, we are ready to move on to the next discrete distribution, the Poisson.
A Poisson distribution is useful for calculating the probability that a certain number of events will occur over a specific interval of time or space. For example, we could use the distribution to determine the likelihood that 10 customers will walk into a store during the next hour or that two car accidents will occur at a busy intersection this month. So, let’s grab some crepes and croissants and learn about some math cooked up by the French.
the Characteristics of a poisson process In our last section, we defined a binomial experiment as one in which the number of suc- cesses are counted over a specific number of trials. The result of each trial is either a success or a failure. A Poisson process counts the number of occurrences of an event over a period of time, area, distance, or any other type of measurement.
In a binomial experiment, the value of the random variable (number of successes) was limited to the number of trials. By contrast, the Poisson process can have any number of outcomes. For instance, the number of customers who walk into our local convenience store during the next hour could be zero, one, two, three, or so on. The outcome for the random variable for the Poisson distribution would be the actual number of occurrences—in this case, the number of customers arriving during the next hour.
The mean for a Poisson distribution is the average number of occurrences that would be expected over the unit of measurement. For a Poisson process, the mean has to be the same for each equal interval of measurement. For instance, if the average number of customers walking into the store each hour is 11, this average needs to apply to every 1-hour increment.
Another characteristic of a Poisson process is that the number of occurrences during one interval is independent of the number of occurrences in other intervals. In other words, if six customers walk into the store during the first hour of business, this would have no effect on the number of customers arriving during the second hour.
Finally, the intervals that are defined in the Poisson process cannot overlap. Using our previous example, if we are interested in counting the number of customers arriving during 1-hour periods, the time segments cannot overlap one another. For example, using the 1-hour intervals 1:00–2:00 p.m. and 1:30–2:30 p.m would violate this requirement.
Examples of the random variables that could be used in a Poisson probability distribu- tion include the following:
• The number of cars that arrive at a tollbooth over a specific period of time
• The number of typographical errors found in a manuscript
• The number of customers who call to complain about a service problem this month
• The total number of home runs hit in Major League Baseball games today
This probability distribution is named after Simeon Poisson, a French mathematician who developed the distribution during the early 1800s.
A Poisson process has the following characteristics: (1) The experiment consists of counting the number of occurrences of an event over a period of time, area, distance, or any other type of measurement; (2) the mean of the Poisson distribution has to be the same for each equal interval of measurement; (3) the number of occurrences during one interval has to be independent of the number of occurrences in any other interval; (4) the intervals that are defined in the Poisson process cannot overlap.
A Poisson process does not count successes and failures like the binomial. Rather, it counts the number of occurrences of a particular event over a specific interval such as time or distance.
c. What is the probability that more than one person will make a purchase?
d. Construct a histogram for this distribution. e. Suppose that out of the 15 customers, 4 made a
purchase. What conclusions can be drawn about the e-commerce site’s claim?
5.21 According to IDC, 70% of smartphones in the world use Google’s Android operating system in the fourth quarter of 2012. Answer the following questions based on a ran- dom sample of 14 smartphone users.
a. What is the probability that exactly nine people from this sample have a smartphone using the Android oper- ating system?
b. What is the probability that all 14 people from this sample have a smartphone using the Android operating system?
c. What is the probability that 11 or fewer people from this sample have a smartphone using the Android oper- ating system?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
www.freebookslides.com
C h a p t e r 5 | 5.3 Poisson Distributions 219
Now that you understand the basics of a Poisson process, let’s calculate some probabil- ity distributions.
Using poisson probability Distributions If a random variable follows a pattern consistent with a Poisson probability distribution, we can calculate the probability of a certain number of occurrences over a given interval. To make this calculation, we need to know the average number of occurrences for the event over the interval. To demonstrate the use of the Poisson probability distribution, I’ll use this example.
The following story is true, and the names have not been changed because nobody in this story is innocent. For many years, when my sons Brian and John were teenagers they would accompany me on a golf pilgrimage to Myrtle Beach, South Carolina. On our last night one particular year, we were browsing through Martin’s Golf Superstore. Brian somehow convinced me to purchase a used, fancy, brand-name golf club that he swore he absolutely had to have in order to reach his full potential as a golfer. Even used, the club cost more than any club I had ever purchased new.
Early the following morning, we packed our bags, checked out of the hotel, and drove to our final round of golf, which I had cleverly planned to be along our route back home. On the first tee, Brian pulled out his new, used prize possession and proceeded to hit a “duck hook,” which is a golfer’s term for a ball that goes very short and very left, often into a bunch of trees, rarely to be seen again. I smiled nervously at Brian and tried to convince my- self that he’d be fine on the next hole. After hitting duck hooks on holes two, three, and four, I found myself physically restraining Brian from throwing his new, used, prized possession into the lake.
After our round was over, I patiently drove back to Myrtle Beach to return the club, add- ing an hour to what would have been a 10-hour car ride. At Martin’s, the woman cheerfully said she would take the club back as long as I had the receipt (cue scary music). I vaguely remembered putting the receipt someplace “special” just in case I would need it, but after packing, checking out, and playing golf, I would have had a better chance of discovering a cure for cancer than remembering where I had put that piece of paper.
Not being one to give up easily, I marched back to the car and started unpacking every- thing. After a short while, during which time I had spread out our dirty underwear and socks all over the parking lot, the same woman walked out to tell me the store would gladly refund my money without the receipt if I would just pack up my things and put them back in the car. Apparently, I was scaring some customers away. (I recommend you consider this strategy when you’re trying to return something without the darned receipt.)
Anyway, let’s assume that during Brian’s brief career as a golfer, the mean number of golf balls he will lose during a round is 4.2. Because this value is an average, it does not have to be a whole number. We will also assume that the actual number of Brian’s lost golf balls during one round follows the Poisson distribution.
We can use the Poisson probability distribution to calculate the probability that Brian will lose x number of golf balls during his next round with Equation 5.9.
To test this assumption that the number of golf balls that Brian loses during one round follows the Poisson distribution, we’ll need to perform a goodness-of- fit test, a procedure that will be discussed in Chapter 12.
Formula 5.9 for the Poisson Probability Distribution
P1x2 = l xe - l
x!
where
x = The number of occurrences of interest over the interval l = The mean number of occurrences over the interval e ≈ 2.71828 P1x2 = The probability of exactly x occurrences over the interval
www.freebookslides.com
220 C h a p t e r 5 | Discrete Probability Distributions
We can now calculate the probability that Brian will lose exactly two golf balls during his next round. With l = 4.2 and x = 2, Equation 5.9 becomes as follows:
P122 = l xe - l
x! =
14.22212.71828 - 4.22 2!
P122 = 117.64210.0149962 2
= 0.1323
In other words, Brian has a 13.2% chance of losing exactly two golf balls during his next round. We can also calculate the cumulative probability that Brian will lose no more than two golf balls using the following equations:
P1x … 22 = P102 + P112 + P122
P102 = 14.2 0212.71828 - 4.22
0! =
11210.0149962 1
= 0.0150
P112 = 14.2 1212.71828 - 4.22
1! =
14.2210.0149962 1
= 0.0630
P1x … 22 = 0.0150 + 0.0630 + 0.1323 = 0.2103 There is a 21% chance that Brian will lose no more than two golf balls during his next round.
I have one final question: What is the probability that Brian will lose four or more golf balls during his next round? You can express this probability as follows:
P1x Ú 42 = P142 + P152 + g Notice from this equation that the probability of x being greater than or equal to four in-
cludes an infinite number of events. Mathematically, with a Poisson distribution, there is no upper limit to the number of occurrences during an interval. If Brian is having a particularly bad round of golf, he could lose a lot of balls with no limit other than his patience. (Unfor- tunately, I have personally observed this on occasion.) Because we cannot add all the prob- abilities for an infinite number of occurrences, we need to take another approach. From our rules of discrete probability distributions, we know the following:
P102 + P112 + P122 + P132 + P142 + P152 + g = 1.0 With a little algebra, we can rearrange the previous equation as follows:
P142 + P152 + g = 1.0 - P102 - P112 - P122 - P132 Therefore, the probability that Brian will lose four or more golf balls can be expressed in the following manner:
P1x Ú 42 = 1.0 - P102 - P112 - P122 - P132 We have previously used the complement rule of probability discussed in Chapter 4 to
solve the problem of summing an infinite number of occurrences. Note that we already cal- culated the probabilities on the right side of the equation except for P(3). Like we did before, we can use the Poisson distribution equation to find P132:
P132 = 14.2 3212.71828 - 4.22
3! =
174.088210.0149962 132122112 = 0.1852
Now we can plug in the values of all of the probabilities and calculate the answer:
P1x Ú 42 = 1.0 - P102 - P112 - P122 - P132 P1x Ú 42 = 1.0 - 0.0150 - 0.0630 - 0.1323 - 0.1852 = 0.6045
There is a 60.45% chance that Brian will lose four or more golf balls during his next round. I see we will be visiting the golf store very soon to buy more golf balls! Not Martin’s Golf Superstore, however. Apparently, the Donnelly family has been given a lifetime ban after the suitcase “incident.”
There’s one more cool feature of the Poisson distribution: As Equation 5.10 shows, the variance of the distribution is the same as the mean.
I recommend carrying out the intermediate Poisson calculations out to six decimal places to avoid rounding errors in the final results. Check with your instructor about rounding your final results.
There is no upper limit to the number of occurrences for the Poisson distribution. Mathematically, there are an infinite number of terms in this equation.
www.freebookslides.com
C h a p t e r 5 | 5.3 Poisson Distributions 221
Using a poisson Distribution to Calculate the probability of arrivals One of the more common uses of the Poisson distribution is to determine the probability of customer arrivals. For example, a local PNC Bank branch has a drive-through window. On average, 12 customers per hour arrive at the window, and we’ll assume these arrivals follow the Poisson distribution. What is the probability that exactly four customers will arrive dur- ing the next 30 minutes?
To answer this question, we need to adjust the average number of arrivals per hour to a 30-minute interval. If the bank averages 12 customers arriving per hour, it would average 6 customers every 30 minutes, so l = 6.0. To find the probability that 4 customers will arrive during the next 30 minutes, we use Equation 5.9 with x = 4:
P1x2 = l xe - l
x!
P142 = 16 4212.71828 - 62
4! =
11,296210.0024792 142132122112 = 0.1339
How about the probability that two customers will arrive during the next 15 minutes? Some students will tell me that this probability is the same as our last example, which was four customers over 30 minutes (0.1339). I’ll show you that this is not the case. First, we need to convert the arrival average to a 15-minute interval. If we average six customers ar- riving every 30 minutes, then we average three customers every 15 minutes, which makes l = 3.0. To find the probability that two (half of the four for the 30-minute interval) cus- tomers will arrive during the next 15 minutes, we have the following:
P122 = 13 2212.71828 - 32
2! =
19210.0497872 122112 = 0.2240
You can see this probability is not the same as our previous example. I’m sure you’re itching to see if you understand how to calculate a Poisson probability distribution—the next Your Turn problem will give you a chance.
Suppose the average number of complaints received by Christiana Hospital from patients is 7.4 every four weeks. Assuming the number of complaints per month follows the Poisson distribution, determine the following probabilities:
a. Exactly three complaints during the next four weeks b. Three or fewer complaints during the next four weeks c. Five or more complaints during the next four weeks d. Exactly three complaints during the next two weeks
Y o U r t U r n # 6N
Answers can be found on u page 244
Formula 5.10 for the Variance of a Poisson Distribution
s2 = l
So, for this distribution there are no nasty variance calculations such as those we dealt with in previous chapters. For our golf ball example, the variance is as follows:
s2 = l = 4.2
The standard deviation then is calculated as follows:
s = 2l = 24.2 = 2.05 The variance of the Poisson distribution is equal to the mean.
www.freebookslides.com
222 C h a p t e r 5 | Discrete Probability Distributions
The probability table is organized by values of l, the average number of occurrences. The probability that Brian will lose two golf balls during his next round when he averages losing 4.2 balls is highlighted in yellow (0.1323). This value was calculated earlier using the Poisson distribution equation. If you add up the probabilities in a column for a particular value of l, they will sum to 1. As with the binomial tables, one limitation of using the Poisson tables is that you are restricted to using only the values of l that are shown in the table.
The next Your Turn problem will give you the chance to test your understanding of the Poisson probability tables.
poisson probability tables Just like binomial distributions, for certain mean values, Poisson probability distributions can be looked up in a table. You can find the Poisson distribution table in Table 2 in Appendix A of this book. Table 5.15 is an excerpt from this appendix for the probabilities from our golf ball example.
{ table 5.15 | Poisson Probability Tables from Appendix A
L
x 4.10 4.20 4.30 4.40 4.50 4.60 4.70 4.80 4.90 5.00
0 0.0166 0.0150 0.0136 0.0123 0.0111 0.0101 0.0091 0.0082 0.0074 0.0067
1 0.0679 0.0630 0.0583 0.0540 0.0500 0.0462 0.0427 0.0395 0.0365 0.0337
2 0.1393 0.1323 0.1254 0.1188 0.1125 0.1063 0.1005 0.0948 0.0894 0.0842
3 0.1904 0.1852 0.1798 0.1743 0.1687 0.1631 0.1574 0.1517 0.1460 0.1404
4 0.1951 0.1944 0.1933 0.1917 0.1898 0.1875 0.1849 0.1820 0.1789 0.1755
5 0.1600 0.1633 0.1662 0.1687 0.1708 0.1725 0.1738 0.1747 0.1753 0.1755
6 0.1093 0.1143 0.1191 0.1237 0.1281 0.1323 0.1362 0.1398 0.1432 0.1462
7 0.0640 0.0686 0.0732 0.0778 0.0824 0.0869 0.0914 0.0959 0.1002 0.1044
8 0.0328 0.0360 0.0393 0.0428 0.0463 0.0500 0.0537 0.0575 0.0614 0.0653
9 0.0150 0.0168 0.0188 0.0209 0.0232 0.0255 0.0281 0.0307 0.0334 0.0363
10 0.0061 0.0071 0.0081 0.0092 0.0104 0.0118 0.0132 0.0147 0.0164 0.0181
11 0.0023 0.0027 0.0032 0.0037 0.0043 0.0049 0.0056 0.0064 0.0073 0.0082
12 0.0008 0.0009 0.0011 0.0013 0.0016 0.0019 0.0022 0.0026 0.0030 0.0034
13 0.0002 0.0003 0.0004 0.0005 0.0006 0.0007 0.0008 0.0009 0.0011 0.0013
14 0.0001 0.0001 0.0001 0.0001 0.0002 0.0002 0.0003 0.0003 0.0004 0.0005
15 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0001 0.0001 0.0002
While working on research for my Ph.D. dissertation back in the Stone Age, I spent time at a DuPont facility in Buffalo, New York, that produced Tedlar. Tedlar is a thin film used to protect a variety of surfaces. It is produced in sheets that resemble plastic wrap. To inspect the Tedlar for defects, three-foot squares of it are placed on light panels and examined. Assume the number of defects in a three-foot square follows the Poisson distribution. The average number of defects per square is 0.05. Use the Poisson probabilities in Appendix A to answer the following:
a. What is the probability that there is exactly one defect in the square? b. What is the probability that there is a defect in the square?
Y o U r t U r n # 7N
Answers can be found on u page 244
www.freebookslides.com
C h a p t e r 5 | 5.3 Poisson Distributions 223
Using excel and phStat to Calculate poisson probabilities You can also conveniently calculate Poisson probabilities using Excel. The built-in POISSON.DIST function has the following characteristics:
= POISSON.DIST1x, l, cumulative2 where
cumulative = FALSE, if you want to determine the probability of exactly x occurrences cumulative = TRUE, if you want to determine the probability of x or fewer occurrences
We can use Excel’s POISSON.DIST function to calculate the probability that Brian will lose exactly two golf balls during his next round of golf when he averages losing 4.2 balls.
= POISSON.DIST12, 4.2, FALSE2 = 0.1323 Excel will also calculate the cumulative probability that Brian will lose two balls or less dur- ing his next round.
= POISSON.DIST12, 4.2, TRUE2 = 0.2102 Earlier in the chapter, we calculated this probability as being 0.2103. This (very) slight
difference is due to the fact that Excel uses more significant figures in the Poisson calcula- tions than we used with our calculator.
We can also calculate Poisson probabilities using the Excel Add-In PHStat for Windows. See the textbook’s Web site for Excel for Mac instructions. The following steps demonstrate this technique for our golf ball example.
1. Go to Add-Ins + PHStat + Probability & Prob. Distributions + Poisson, as shown in Figure 5.4.
2. Fill in the Poisson Probability Distribution dialog box as shown in Figure 5.8 on the next page. Click OK.
Is this something that could happen once in a million times? Is it something that could happen once in a thousand times, or once every 5,000 times? What exactly are the risks involved?
—President Barack Obama, following the BP oil spill in the Gulf of Mexico
President Obama’s question was on the minds of many people following BP’s disastrous oil spill in the Gulf of Mexico begin- ning in the spring of 2010. Increasing oil prices in the last decade have made it economically feasible to drill in deep waters. During this time, the number of deepwater wells in the Gulf of Mexico increased from 17 to 130. But just how safe is deepwater drilling?
We can use the Poisson distribution to determine the probabil- ity of future oil spills, but to do so, we need to assign a value for l, which represents the average number of major oil spills per year. Given the fact that we have experienced one major spill during the 10-year period when deepwater drilling became
more prevalent, a rough estimate for l could be set at 0.1 spills per year. Using this assumption, what is the probability that a major oil spill will occur during the next 20 years? First, we need to convert l to a 20-year interval by multiplying 0.1 by 20. With l = 2.0 spills per 20-year period and x = 1, we have the following:
P112 = l xe-l
x ! =
12.01212.71828-2.02 1!
P112 = 12.0210.1353352
1 = 0.2707
Based on our assumptions, there is a 27% chance of another major deepwater oil spill occurring during the next 20 years. I have to admit that this conclusion is based on a very small amount of data; nevertheless, I imagine this is not a statistic that President Obama would be thrilled to hear.
Stats in practice: Using the poisson Distribution to estimate the probability of an oil Spill
www.freebookslides.com
224 C h a p t e r 5 | Discrete Probability Distributions
Figure 5.9 shows the Poisson probabilities that we saw in Table 5.15. Isn’t technology wonderful?
{ figure 5.8 PHStat’s Function for
Calculating a Poisson Distribution
{ figure 5.9 Final Poisson Probabilities
Calculated Using PHStat
Notice that we also have the cumulative probabilities displayed in Column D in Figure 5.9. For example, we calculated earlier that the probability of Brian losing two or fewer balls in his next round was as follows:
P1x … 22 = P102 + P112 + P122 P1x … 22 = 0.0150 + 0.0630 + 0.1323 = 0.2103
This result is shown in Figure 5.9 in Cell D10. The slight difference in probabilities is due to rounding.
We also calculated the probability that Brian will lose four or more balls on his next round as being 0.6045. You can find this value in Figure 5.9 as well, in Cell G12.
As we discovered earlier, PHStat can also display the histogram for our Poisson distri- bution; Figure 5.10 shows the histogram for our golf ball example.
www.freebookslides.com
C h a p t e r 5 | 5.3 Poisson Distributions 225
One benefit of using Excel to determine Poisson probabilities is that you are not limited to the values of l shown in the Poisson table in Appendix A. Excel’s POISSON.DIST func- tion allows you to use any value for l.
Use the next Your Turn problem to see if you understand how to use Excel and PHStat to calculate Poisson probabilities.
{ figure 5.10 Final Poison Probabilities
Displayed Using PHStat: A Histogram
As a young engineer, I spent several years working for Diamond Shamrock Corporation at its chlorine plant in Delaware City, Delaware. Each month, we would track the number of recordable injuries, which are defined by the Occupational Safety and Health Administration as injuries to employees that require medical treatment beyond routine first aid. Assume the number of recordable injuries each month fol- lows a Poisson distribution with an average of 1.4 injuries per month. Use Excel to answer the following questions:
a. What is the probability that exactly one recordable injury will occur next month? b. What is the probability that less than two recordable injuries will occur next month? c. What is the probability that four or more recordable injuries will occur next month? d. Construct a histogram of the probabilities for this Poisson distribution using PHStat.
Y o U r t U r n # 8N
Answers can be found on u page 245
Using poisson Distributions to approximate Binomial Distributions We can calculate binomial probabilities using the Poisson distribution when the following conditions are present:
• When the number of trials, n, is greater than or equal to 20
and
• When the probability of a success, p, is less than or equal to 0.05
www.freebookslides.com
226 C h a p t e r 5 | Discrete Probability Distributions
where
x = Number of successes n = The number of trials p = The probability of a success You might be asking yourself at this moment just why you would want to do this. The
answer is because the Poisson formula has fewer computations than the binomial formula and, under the stated conditions, the distributions are very close to one another. I’m all for taking the easy way when I have a choice.
I’ll demonstrate this point with an example. Avon Products ships boxes to its representa- tives that contain the products that the representatives ordered. Historically, 2% of the boxes do not contain the correct products. Twenty boxes are randomly selected and inspected to ensure they have the proper contents. We want to determine the probability that exactly two of these boxes do not have the correct items. This is a binomial experiment with n = 20, x = 2, and p = 0.02. Using Equation 5.6, we can calculate the binomial probability as follows:
P1x, n2 = n!1n - x2!x! p xq n - x
P12, 202 = 20!120 - 22!2! 10.022 210.98220 - 2
P12, 202 = 1202119211821172 g 132122112!11821172 g 132122112122112 10.022 210.98218
P12, 202 = 12021192122112 10.0004210.6951352 = 0.0528
Now, I’ll use Equation 5.11, the Poisson approximation to the binomial distribution, to prove my point:
np = 120210.022 = 0.4
P1x2 = 1np2 x2.71828-1np2
x!
P122 = 10.42 22.71828-10.42
2! =
10.16210.6703202 2
= 0.0536
In my opinion, these probabilities are close enough (5.3% versus 5.4%), and fewer calcula- tions were needed using Equation 5.11. If you need further evidence, Figures 5.11 and 5.12 show the histograms for each distribution.
Formula 5.11 for Using the Poisson Equation to Calculate Binomial Probabilities
P1x2 = 1np2 x 2.71828 - 1np2
x!
In other words, a distribution with a large number of trials and a small probability for suc- cess in those trials can be considered a Poisson distribution. Binomial probabilities can be calculated using Equation 5.11 under these circumstances.
If you need to calculate binomial probabilities with the number of trials, n, greater than or equal to 20 and the probability of a success, p, less than or equal to 0.05, you can use the equation for the Poisson distribution to approximate the binomial probabilities.
www.freebookslides.com
C h a p t e r 5 | 5.3 Poisson Distributions 227
{ figure 5.11 The Binomial Probability
Distribution When n = 20 and p = 0.02
Even to a skeptic, these two distributions look very much alike. So, my advice to you is to use the Poisson equation if you’re faced with calculating binomial probabilities when n Ú 20 and p … 0.05.
The following Your Turn problem will give you the chance to use this approximation technique to predict the probability that your next fast-food order will not be correct.
{ figure 5.12 The Poisson Probability
Distribution When the Mean = 0.4
A fast-food manager claims that only 3% of the orders that are filled are inaccurate. Use the first 20 orders of the day to answer the following:
a. Use Equation 5.6 to calculate the probability that exactly three orders from the first 20 are not correct.
b. Use Equation 5.11 to calculate the probability that exactly three orders from the first 20 are not correct.
c. How do the two probabilities compare? d. Suppose that of the first 20 orders of the day, four were not correct. What conclusions can be
drawn about the manager’s claim?
Y o U r t U r n # 9N
Answers can be found on u page 245
www.freebookslides.com
228 C h a p t e r 5 | Discrete Probability Distributions
5.3 Section Problems Basic Skills 5.22 Consider a Poisson probability distribution with l = 3.0.
Determine the following probabilities.
a. P1x = 32 b. P1x … 22 c. P1x 7 42
5.23 Consider a Poisson probability distribution with l = 4.7. Determine the following probabilities.
a. exactly five occurrences b. more than six occurrences c. three or fewer occurrences
5.24 Consider a Poisson probability distribution. Determine the probability of exactly four occurrences for the following conditions:
a. l = 2.0 b. l = 3.0 c. l = 4.0 d. What conclusions can be made about how these prob-
abilities change with l?
5.25 Consider a Poisson probability distribution with l = 8.5. Determine the mean and standard deviation of this distribution.
applications 5.26 Assume the number of births in a local hospital follows a
Poisson distribution and averages 2.6 per day.
a. What is the probability that no births will occur today? b. What is the probability that less than four births will
occur today? c. What is the probability that more than one birth will
occur today?
5.27 Sara is a salesperson for Camera’s Etc. which is a retailer for high-end digital cameras. Historically, Sara has averaged selling 2.1 extended warranties per day for cameras that she sells. Assume the number of camera warranties that Sara sells per day follows the Poisson distribution.
a. What is the probability that Sara will sell five extended warranties tomorrow?
b. What is the probability that Sara will not sell an extended warranty tomorrow?
c. What is the probability that Sara will sell more than two extended warranties tomorrow?
d. What is the standard deviation for this distribution?
5.28 A particular intersection in Delaware is equipped with a surveillance camera. The number of traffic tickets issued to drivers passing through the intersection follows the Poisson distribution and averages 4.5 per month.
a. What is the probability that seven traffic tickets will be issued at the intersection next month?
b. What is the probability that less than three traffic tick- ets will be issued at the intersection next month?
c. What is the probability that five or more traffic tickets will be issued at the intersection next month?
5.29 A customer support center for a computer manufacturer receives an average of 1.5 phone calls every 5 minutes. Assume the number of calls received follows the Poisson distribution.
a. What is the probability that no calls will arrive during the next 5 minutes?
b. What is the probability that three or more calls will arrive during the next 5 minutes?
c. What is the probability that three calls will arrive during the next 10 minutes?
d. What is the probability that no more than two calls will arrive during the next 10 minutes?
5.30 Production records indicate that 1.5% of the light bulbs produced in a facility are defective. A random sample of 22 light bulbs was selected.
a. Use the binomial distribution to determine the prob- ability that two defective bulbs are found.
b. Use the Poisson approximation to the binomial distri- bution to determine the probability that two defective bulbs are found.
c. How do these two probabilities compare?
5.31 Research in Motion (RIM) developed the Blackberry cell phone that was widely adopted by businesses for their employees. However, with the increase in popu- larity of Apple’s iOS and Google’s Android operating systems for mobile devices, sales of Blackberry devices have declined recently. The market share for devices using RIM’s operating system was estimated to be 1.6% in 2013. A random sample of 25 mobile devices was selected.
a. Use the binomial distribution to determine the prob- ability that less than three devices from this ample use the RIM operating system.
b. Use the Poisson distribution to determine the probabil- ity that less than three devices from this ample use the RIM operating system.
www.freebookslides.com
C h a p t e r 5 | 5.4 The Hypergeometric Distribution 229
5.4 The Hypergeometric Distribution One of the key features of the binomial and Poisson distributions was that the events are in- dependent of one another. The underlying assumption with these distributions is that you are sampling with replacement or from a very large population without replacement so that the probabilities of a success or number of occurrences remains constant. However, sometimes samples are randomly selected from a small population without being replaced. Under these conditions, the probabilities of success change repeatedly because the sample space becomes smaller after each selection. Have no fear, worried student, when you are faced with these odds. This is a job for the hypergeometric distribution (cue the superhero music)!
Calculating probabilities for a hypergeometric Distribution The best way to explain the “superpowers” of a hypergeometric distribution is to start with an example: A Pennsylvania retailer currently employs 22 sales associates, of which 8 are more than 55 years in age. (We’ll refer to the people over 55 as the “older employees” in this problem to differentiate them from younger employees.) Due to a recent downturn in the economy, the retailer decided to reduce its sales force by seven employees. Of the seven peo- ple laid off, five were older employees. If the employees who were laid off were randomly selected, what is the probability that five of them would be from the older group? This infor- mation would be useful for a lawyer who is investigating a possible age discrimination case.
I’ll define a success as an older employee being selected to be laid off. This example in- volves sampling without replacement because once an employee is selected to be laid off, he or she can’t be selected again to be laid off. As a result, the probability of future employees being selected changes due to the reduction in the sample space. To demonstrate, let’s define the following event:
Event A = Randomly selected laid@off employee is older than 55
Because 8 of the 22 employees are older than 55, the probability of a success is then as follows:
P1A2 = 8 22
= 0.364
However, the probability isn’t constant throughout the sampling process. Let’s assume the first employee laid off was older than 55. What is the probability that the next laid-off employee is older than 55? Well, because we are sampling without replacement, the sample space has been reduced from 22 to 21. Because one of the older employees has been previ- ously selected, the number of remaining older employees is down to seven. Therefore, the probability that an older employee will be selected to be laid off (a success) is now given as follows:
P1A2 = 7 21
= 0.333
It is important to realize that the probability of success in our example changes during the sampling process, which violates the requirements for a binomial probability distribu- tion. Therefore, the binomial distribution is not appropriate here, and we need the hypergeo- metric distribution to step in and save the day (sort of like Underdog).
For events that have only two possible outcomes, such as success or failure, the hyper- geometric probability is calculated using Equation 5.12.
The hypergeometric distribution is used when samples are taken from a small population without being replaced.
Remember, a success does not need to be defined as a positive outcome.
Because the first employee selected was older and we are sampling without replacement, only 7 of the remaining 21 employees are older.
Formula 5.12 for the Hypergeometric Distribution
P1x2 = N - RCn - x #
RCx
NCn
www.freebookslides.com
230 C h a p t e r 5 | Discrete Probability Distributions
where
N = The population size R = The number of successes in the population n = The sample size x = The number of successes in the sample We have seen the term nCx in both this chapter and in Chapter 4. It represents the num-
ber of combinations of n objects selected x at a time. In this example, the objects are em- ployees. In Chapter 4, I showed you the following short-cut method for calculating combinations (Equation 4.19):
nCx = n!
1n - x2!x! = n1n - 1211n - 222c1n - x + 12
x!
Based on our definition of a success, we have the following variables for our example:
N = The total number of employees = 22 R = The number of older employees = 8 n = The number of employees laid off = 7 x = The number of older employees laid off = 5
If we plug these data into Equation 5.12, we can find the probability that five of the seven laid-off employees will be older than 55 if they are chosen randomly:
P1x2 = N - RCn - x #
RCx
NCn
P152 = 22 - 8C7 - 5 #
8C5
22C7 = 14
C2 # 8C5 22C7
We still need to calculate the value of each of the three combinations. Using Equation 4.19, we can start with the result of 14C2:
nCx = n!
1n - x2!x! = n1n - 121n - 22 g 1n - x + 12
x!
14C2 = 14!
114 - 22!2! 1n - x + 12 = 114 - 2 + 12 = 13
14C2 = 11421132 122112 =
182
2 = 91
There are 91 ways in which we can choose two employees from a group of 14. In our example, there were 14 employees who were younger than 55, and two of them were laid off.
Next, we obtain the value of 8C5 as follows:
8C5 = 8!
18 - 52!5! 1n - x + 12 = 18 - 5 + 12 = 4
8C5 = 182172162152142 152142132122112 =
6,720
120 = 56
There are 56 ways in which we can choose five employees from a group of eight. In our example, there were eight employees older than 55, and five of them were laid off.
Finally, we obtain the value of 22C7 as follows:
22C7 = 22!
122 - 72!7! 1n - x + 12 = 122 - 7 + 12 = 16
22C7 = 1222121212021192118211721162
172162152142132122112 = 859,541,760
5,040 = 170,544
This value represents the number of ways that younger employees can be selected to be laid off.
This value represents the number of ways that older employees can be selected to be laid off.
This value represents the total number of ways all 22 employees can be selected 7 at a time. In other words, this is the entire sample space.
www.freebookslides.com
C h a p t e r 5 | 5.4 The Hypergeometric Distribution 231
There are 170,544 ways in which we can choose seven employees randomly from a group of 22. In our example, there were 22 employees in the population, and seven of them were being laid off.
We are now ready for our final result (drum roll, please). The probability that five of the seven laid-off employees will be older than 55 if they are chosen randomly is calculated as follows:
P152 = 14C2 #
8C5
22C7 =
19121562 1170,5442 = 0.0299
What we have learned is that there is less than a 3% chance that five older employees will be in this group of seven who are laid off, if the laid-off employees were randomly selected. It sounds like the lawyers might have a field day with this retailer if they file an age-discrimination case. Results such as these are often used in courts to help substantiate the claims of plaintiffs.
Just like the distributions we discussed previously in this chapter, the hypergeometric distribution also has a mean and a standard deviation, shown with Equations 5.13 and 5.14, respectively.
Formula 5.13 for the Mean of the Hypergeometric Distribution
m = nR
N
Formula 5.14 for the Standard Deviation of the Hypergeometric Distribution
s = A nR1N - R2N 2 A N - nN - 1 where
N = The population size R = The number of successes in the population n = The sample size For our retailer example, the mean of the distribution represents the expected number of
older employees to be laid off such that the proportion of laid-off employees who are older matches the proportion of older employees in the sales force as a whole. Using Equation 5.13, we have the following:
m = nR
N =
172182 22
= 2.55
If seven employees are laid off randomly, we would expect 2.55 of them to be older based on the number of older employees in the sales force.
The standard deviation of this distribution is found using Equation 5.14:
s = B nR1N - R2N 2 B N - nN - 1 = B 172182122 - 8212222 B 22 - 722 - 1 s = A 784484 A 1521 = 21.619820.7143 = 11.273210.8452 = 1.076
If we randomly select seven employees to be laid off over and over again, s = 1.076 repre- sents the variation we expect to see in the number of older employees in the laid-off group.
Now that we have drained our calculator batteries with all these combination calcula- tions, let me show you a simpler approach with Excel in the following section.
The fact that five older employees were laid off, which is nearly twice as high as expected, confirms the low probability (3%) that laid- off employees were chosen randomly. I smell a lawsuit!
www.freebookslides.com
232 C h a p t e r 5 | Discrete Probability Distributions
Using excel and phStat to Calculate hypergeometric probabilities A much more convenient way to calculate hypergeometric probabilities is to rely on Excel’s HYPGEOM.DIST function which has the following characteristics:
= HYPGEOM.DIST1x, n, R, N, cumulative2 where
N = The population size R = The number of successes in the population n = The sample size x = The number of successes in the sample cumulative = FALSE, if you want to determine the probability of exactly x occurrences cumulative = TRUE, if you want to determine the probability of x or fewer occurrences We can use Excel’s HYPGEOM.DIST function to calculate the probability that exactly
five of the seven laid-off employees will be older than 55 years.
= HYPGEOM.DIST15, 7, 8, 22, FALSE2 = 0.0299 Excel will also calculate the cumulative probability that five or fewer of the seven laid-
off employees will be older than 55 years.
= HYPGEOM.DIST15, 7, 8, 22, TRUE2 = 0.9977 As you can see, this function returns the result 0.0299, matching the probability from
our manual calculations with a whole lot less work! Finally, we can calculate hypergeometric probabilities using the Excel add-in PHStat for
Windows. See the textbook’s Web site for Excel for Mac instructions. The following steps demonstrate this technique for our retailer example:
1. Go to Add-Ins + PHStat + Probability & Prob. Distributions + Hypergeometric, as shown in Figure 5.4.
2. Fill in the Hypergeometric Probability Distribution dialog box as shown in Figure 5.13. Click OK.
{ figure 5.13 Using PHStat to Calculate
Hypergeometric Probabilities
Figure 5.14 shows the hypergeometric probabilities for all the possible values of x (0 to n). Remember, x represents the number of successes from the sample, and n represents the size of the sample. As a result, the probabilities in Column C sum to 1.0. Note that the probability in Cell C15 represents the probability that our sample consisted of five older employees 1x = 52 and that this value matches what we manually calculated (0.0299).
www.freebookslides.com
C h a p t e r 5 | 5.4 The Hypergeometric Distribution 233
PHStat will also display the histogram for a hypergeometric probability. Figure 5.15 shows the histogram for our retailer example.
{ figure 5.14 Final Hypergeometric
Probabilities Calculated Using PHStat
{ figure 5.15 Final hypergeometric
Probabilities Calculated Using PHStat: A Histogram
An assembly process has just produced 16 laptop computers. Three of them have a defect of which the manufacturer is unaware. A school just placed an order for 5 of the 16 computers.
a. Determine the probability that two of the laptops delivered to the school will have the defect. b. Calculate the mean and standard deviation for this distribution. c. Confirm your answer in part a with Excel and PHStat.
Y o U r t U r n # 1 0N
Answers can be found on u pages 245–246
5.4 Section Problems Basic Skills 5.32 Consider a hypergeometric probability distribution with
n = 5, R = 6, and N = 12. Calculate the following probabilities:
a. P1x = 32 b. P1x = 22 c. P1x … 12 d. Calculate the mean and standard deviation of this
distribution.
5.33 Consider a hypergeometric probability distribution with n = 3, R = 5, and N = 9. Calculate the following probabilities:
a. P1x = 02 b. P1x 7 12 c. P1x 6 32 d. Calculate the mean and standard deviation of this
distribution.
Now it’s your turn to see what you have learned in this section. Give this next Your Turn problem your full attention to be sure you can handle a hypergeometric probability distribu- tion on your own.
www.freebookslides.com
234 C h a p t e r 5 | Discrete Probability Distributions
5.34 An urn contains six blue balls and eight yellow balls. If four balls are selected randomly without being replaced, what is the probability that of the balls selected, three of them will be blue and one of them will be yellow?
applications 5.35 I find a bowl of Christmas M&M’s (only red and green) that
Deb has hidden from me in the house one day. I quickly grab a handful before being caught. Before shoving them into my mouth to get rid of the evidence, I notice that I have selected six red M&M’s and no green ones. Let’s say there were 8 green and 10 red M&M’s in the bowl before my discovery. What is the probability of this event occurring?
5.36 White boxers are dogs that have a genetic disposition for going deaf within the first year after they are born. Suppose a litter of nine white boxer puppies contained two dogs that would eventually experience deafness. A family randomly selected two puppies from this litter to take home as family pets. Determine the following probabilities:
a. None of the two puppies selected will experience deafness.
b. One of the two puppies selected will experience deafness.
c. Both puppies selected will experience deafness. d. Calculate the mean and standard deviation of this
distribution. e. Verify these results with Excel.
5.37 A political committee consists of seven Democrats and five Republicans. A subcommittee of six people needs to be formed from this group. Determine the probability that this subcommittee will consist of the following:
a. Two Democrats and four Republicans if they were ran- domly selected
b. Four Democrats and two Republicans if they were ran- domly selected
c. Three Democrats and three Republicans if they were randomly selected
d. Calculate the mean and standard deviation for the distribution which defines selecting a Republican as a success.
e. Verify these results with Excel.
5.38 I have a statistics class of 20 students, of whom 12 are female. I randomly select three students to make a group presentation to the class. What is the probability of the following occurring?
a. All of the students in the group are male. b. One of the students in the group is male. c. Two of the students in the group are male. d. All three students in the group are female. e. Calculate the mean and standard deviation for the
distribution which defines selecting a male as a success.
f. Verify these results with Excel.
www.freebookslides.com
235
■ Discrete random variables have outcomes that take on whole numbers when an experiment is conducted.
■ A discrete probability distribution meets the following conditions:
• Each outcome in the distribution needs to be mutually exclusive.
• The probability of each outcome, P1x2, must be between 0 and 1 (inclusive). • The sum of the probabilities for all the outcomes in the distribution needs to add up to 1.
■ The mean of a discrete probability distribution is a weighted average of the outcomes of the random variables in the distribution.
■ The expected value is another term for the mean of a probability distribution.
■ The expected monetary value (EMV) is the dollar outcome that can be expected based on a probability distribution.
■ The standard deviation of a discrete probability distribution measures the dispersion of the outcomes of the discrete random variables in relation to the distribution mean.
■ A binomial experiment has the following characteristics:
• The experiment consists of a fixed number of trials denoted by n.
• Each trial has only two possible outcomes, a success or a failure.
• The probability of success and the probability of failure are constant throughout the experiment.
• Each trial is independent of any other trial in the experiment.
■ The number of successes in a binomial experiment must range from zero to n.
■ The mean of the binomial distribution represents the long-term average number of successes to expect based on the number of trials.
■ The standard deviation of the binomial distribution represents the variation we would see in the number of successes over n trials, assuming the chance of a success is p.
■ A Poisson process has the following characteristics:
• The experiment consists of counting the number of occurrences of an event over a period of time, area, distance, or any other type of measurement.
• The mean of the Poisson distribution has to be the same for each interval of measurement.
• The number of occurrences during one interval is independent of the number of occurrences in any other interval.
■ Mathematically, with a Poisson distribution, there is no upper limit to the number of occurrences during the interval.
■ The variance of the Poisson distribution is equal to the mean.
■ You can use the equation for the Poisson distribution to approximate the binomial probabilities when the number of trials is greater than or equal to 20 and the probability of a success is less than or equal to 0.05.
■ When samples are randomly selected from a finite population without being replaced, the hypergeo- metric distribution is the appropriate choice rather than calculating a binomial distribution.
• Under these conditions, the probabilities of success change repeatedly because the sample space becomes smaller after each selection.
• The mean of a hypergeometric distribution represents the expected number of successes such that the proportion of successes in the sample matches the proportion of successes in the population.
Chapter 5 Summary
www.freebookslides.com
236
Binomial experiment. An experiment with the following char- acteristics: (1) The experiment consists of a fixed number of trials denoted by n; (2) each trial has only two possible outcomes, a success or a failure; (3) the probability of suc- cess and the probability of failure are constant throughout the experiment; (4) each trial is independent of any other trial in the experiment.
Continuous random variables. Have outcomes that take on any numerical value, including fractions, as a result of conducting an experiment.
Discrete probability distribution. A listing of all the possible outcomes of an experiment for a discrete random variable along with the relative frequency, or probability, of each outcome.
Discrete random variables. Have outcomes that take on whole numbers as a result of conducting an experiment.
Expected monetary value (EMV). The dollar outcome that can be expected based on a probability distribution. Specifically,
the EMV is the weighted dollar average for the distribution if the dollar values are associated with discrete probabilities.
Expected value. Another term for the mean of a discrete prob- ability distribution.
Hypergeometric distribution. A probability distribution that oc- curs when samples are randomly selected from a finite popu- lation without being replaced. Under these conditions, the probabilities of success change repeatedly because the sample space becomes smaller after each selection.
Poisson process. An experiment with the following character- istics: (1) The experiment involves counting the number of occurrences of an event over a period of time, area, distance, or any other type of measurement; (2) the mean of the Poisson distribution has to be the same for each interval of measure- ment; (3) the number of occurrences during one interval is in- dependent of the number of occurrences in any other interval.
236
Chapter 5 Equations
5.1 Introduction to Discrete Probability Distributions (pp 195–206)
Formula 5.1 for the Mean of a Discrete Probability Distribution m = a n
i = 1 xiP1xi2
Formula 5.2 for the Expected Value of a Discrete Probability Distribution E1x2 = m = a n
i = 1 xiP1xi2
Formula 5.3 for the Variance of a Discrete Probability Distribution s 2 = a
n
i = 1 1xi - m22P1xi2
Formula 5.4 for the Variance of a Discrete Probability Distribution (Shortcut) s2 = a a n
i = 1 x 2i P1xi2b - m2
Formula 5.5 for Combinations of n Objects Selected x at a Time nCx = n!
1n - x2!x!
5.2 Binomial Distributions (pp 207–218)
Formula 5.6 for the Binomial Probability Distribution P1x, n2 = n!
1n - x2!x!p xq n - x
Chapter 5 Key Terms
www.freebookslides.com
237
Formula 5.7 for Calculating the Mean of a Binomial Distribution m = np
Formula 5.8 for Calculating the Standard Deviation of a Binomial Distribution s = 2npq Formula 5.9 for the Poisson Probability Distribution P1x2 = l
xe - l
x!
Formula 5.10 for the Variance of a Poisson Distribution s2 = l
Formula 5.11 for Using the Poisson Equation to Calculate Binomial Probabilities P1x2 = 1np2 x 2.71828 - 1np2
x!
Formula 5.12 for the Hypergeometric Distribution P1x2 = N - RCn - x #
RCx
NCn
Formula 5.13 for the Mean of the Hypergeometric Distribution m = nR
N
5.4 The Hypergeometric Distribution (pp 229–234)
5.3 Poisson Distributions (pp 218–228)
Formula 5.14 for the Standard Deviation of the Hypergeometric Distribution s = A nR1N - R2N2 A N - nN - 1 Chapter 5 Problems
5.39 AIG, an international insurance and financial services organization, recently announced that the performance of employees would be rated on a scale from 1 to 4. The top 10% of employees would receive a 1 rating, 20% of the employees would be rated with a 2, and 50% would be rated with a 3. The remaining employees would receive a 4 rating. The rating scheme is known as a forced-ranking system. It was begun after the government bailed out AIG and forced the company to link compensation to perfor- mance. Suppose the Wilmington, Delaware, facility of AIG has 450 employees. Determine the number of employees who can receive each rating.
5.40 The following distribution list displays the number of no-shows for a particular Delta Airlines flight and the
historical probability that each number of no-shows will occur. A no-show is a person who has a reservation for a flight but fails to arrive prior to its departure.
No-Shows Probability
0 0.23
1 0.32
2 0.22
3 0.15
4 0.08
a. Determine the mean number of no-shows for this flight. b. Determine the standard deviation for the number of no-
shows for this flight.
www.freebookslides.com
238
5.41 A survey was conducted to determine the number of cats living in individual households. The results are summarized in the following table:
Number of Cats Probability
0 0.37
1 0.28
2 0.21
3 0.10
4 0.04
a. Determine the mean number of cats per household. b. Determine the standard deviation for the number of cats
per household.
5.42 I am currently teaching two statistics classes, one at 8:00 a.m. and the other at 10:00 a.m. The following table summarizes my attendance records by showing the probability of the number of absent students per class:
Probability
Number of Absent Students 8 a.m. Class 10 a.m. Class
0 0.06 0.16
1 0.19 0.32
2 0.25 0.25
3 0.20 0.16
4 0.21 0.06
5 0.09 0.05
a. Calculate the mean number of students absent for each class. b. Calculate the standard deviation for the number of
students absent for each class. c. Are these results to be expected?
5.43 Travel insurance reimburses travelers for the cost of their trips if the trips are canceled for a variety of reasons. If a $10,000 policy costs $400 and you estimate that there is a 3% chance your trip will be canceled, should you purchase the insurance?
5.44 An investor has two portfolios to consider. Portfolio A is more heavily invested in bonds, whereas Portfolio B con- tains more stocks. The following table provides the annual returns for both portfolios under three different market conditions as well as the probability for each market con- dition in the upcoming year. Which portfolio should the investor choose to maximize her annual return?
Market Conditions
Portfolio Weak Normal Strong
A ($) -1,500 2,500 4,000 B ($) -4,000 3,000 6,000 Probabilities (%) 25 60 15
5.45 Tees R Us, which manufactures and sells T-shirts for sport- ing events, is providing shirts for an upcoming tournament. Each shirt will cost $10 to produce and will be sold for $16. Any unsold shirts left over at the end of the tournament can be sold for $5 apiece in the near future. Tees R Us assumes the demand for the shirts will be 1,000, 2,000, 3,000, or 4,000. The company also estimates that the probabilities of each of these sales level occurring will be 15%, 25%, 30%, and 30%, respectively. Determine the expected monetary value of the project if Tees R Us chooses to print 3,000 shirts for the tournament.
5.46 The following table shows Bob’s Bookstore’s estimated demand for a new calendar. The bookstore needs to decide whether to order 100, 200, or 300 calendars for the start of the year. Each calendar costs the store $6 to purchase and can be sold for $14. The store can sell any unsold calendars back to its supplier for $2 each. Determine the number of calendars Bob’s Bookstore should order to maximize its expected monetary value.
Demand Probability
100 0.25
200 0.40
300 0.35
5.47 At the start of each Super Bowl, the NFL championship game between the winners of the NFC and AFC, a coin toss determines the team that will receive the opening kickoff. The NFC team won the coin toss 14 straight years from 1998 until 2011. Determine the probability of one team winning this coin toss 14 straight times.
5.48 A recent survey found that only 45% of Americans were sat- isfied with their current jobs. Answer the following questions based on a random sample of 15 American workers:
a. What is the probability that exactly six employees were satisfied with their current jobs?
b. What is the probability that exactly nine employees were satisfied with their current jobs?
c. What is the probability that either four or five employees were satisfied with their current jobs?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.49 A foreclosure is a legal process that a lender uses to recover the balance of a mortgage owed by a homeowner who has stopped making payments. An unusually high volume of foreclosures occurred during the most recent recession, and as a result, errors were made in the foreclosure process to a significant number of borrowers. For example, auditors found that 24% of foreclosures processed by PNC Financial Services had errors that would have required compensation for the borrowers. A random sample of five foreclosures was selected from PNC Financial Services.
www.freebookslides.com
239
a. What is the probability that exactly three foreclosures from this sample will have an error that would have re- quired compensation?
b. What is the probability that none of the foreclosures from this sample will have an error that would have re- quired compensation?
c. What is the probability that two or fewer foreclosures from this sample will have an error that would have re- quired compensation?
d. Construct a histogram for this distribution.
5.50 The Center for Disease Control and Prevention estimated that 37% of Americans received a flu shot during the winter of 2012–2013. A random sample of seven Americans was selected.
a. What is the probability that exactly four people from this sample received a flu shot that winter?
b. What is the probability that more than two people from this sample received a flu shot that winter?
c. What are the mean and standard deviation for this distribution?
d. Construct a histogram for this distribution.
5.51 A golfer claims that 80% of the time, he will score less than 90 on the golf course he normally plays. Consider his next 10 rounds of golf.
a. What is the probability that he will score lower than 90 on all 10 rounds?
b. What is the probability that he will score lower than 90 on eight or more rounds?
c. What is the probability that he will score lower than 90 on either six or seven rounds?
d. Construct a histogram for this distribution. e. Suppose that out of the 10 rounds, he scores lower than
90 on five of them. What conclusions can be drawn about the golfer’s claim?
5.52 In 2012, 79% of Southwest Airlines flights arrived at their destinations on time. Suppose a random sample of 12 Southwest Airlines flights was selected.
a. What is the probability that all 12 flights were on time? b. What is the probability that more than nine flights were
on time? c. What is the probability that seven or fewer flights were
on time? d. What are the mean and standard deviation for this
distribution? e. Construct a histogram for this distribution.
5.53 According to the NPD Group, 70% of the basketball shoes purchased by American men are never worn on a basketball court. Answer the following questions based on a random sample of 13 men who purchased basketball shoes:
a. What is the probability that 12 men will not use their shoes on a basketball court?
b. What is the probability that more than 10 men will not use their shoes on a basketball court?
c. What is the probability that less than 12 men will not use their shoes on a basketball court?
d. Construct a histogram for this distribution. e. Suppose that out of the 13 men, 5 will not use their
shoes on a basketball court. What conclusions can be drawn about the claim by the NPD Group?
5.54 According to the University Business Officers, 86% of first-time, full-time freshman at private colleges were the recipients of some form of financial aid in 2011. A random sample of six freshmen in 2011 was selected.
a. What is the probability that all six freshmen from this sample received financial aid in 2011?
b. What is the probability that four or more freshmen from this sample received financial aid in 2011?
c. What is the probability that less than five freshmen from this sample received financial aid in 2011?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.55 Regifting is defined as the act of taking a gift that has been given to you and presenting it as a gift to someone else. Ac- cording to survey conducted by American Express regard- ing consumer spending, 79% of the respondents felt that it was socially acceptable to regift during the holiday season (big sigh of relief). Suppose a random sample of 10 holiday shoppers was selected.
a. What is the probability that nine shoppers from this sample felt that regifting was socially acceptable?
b. What is the probability that more than seven shop- pers from this sample felt that regifting was socially acceptable?
c. What is the probability that less than 10 shoppers from this sample felt that regifting was socially acceptable?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.56 When iPhone was first released in 2007, Google Maps was the default mapping software that was included in Apple’s mobile operating system. In September 2012, Apple re- leased an upgraded operating system for the iPhone which replaced Google Maps with its own newly developed Apple Maps. Unfortunately, Apple Maps was plagued with many mapping errors and did not contain all of the features found in Google Maps. In a December 2012 survey of iPhone users, 45% of the respondents said that they “hated Apple Maps.” Using the binomial tables, answer the following questions based on a random sample of 20 iPhone users:
a. What is the probability that 12 iPhone users from this sample hated Apple Maps?
b. What is the probability that more than 12 iPhone users from this sample hated Apple Maps?
c. What is the probability that less than 10 iPhone users from this sample hated Apple Maps?
www.freebookslides.com
240
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.57 According to the Pew Research Center, 23% of American adults read an e-book during 2012. A random sample of nine adults was selected.
a. What is the probability that exactly two adults from this sample read an e-book last year?
b. What is the probability that less than four adults from this sample read an e-book last year?
c. What is the probability that five or more adults from this sample read an e-book last year?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.58 According to the Graduate Management Admission Council, applications to two-year MBA programs have been on the decline during the past few years. A survey during 2012 reported that 62% of U.S. schools experienced fewer appli- cations when compared to 2011. A random sample of eight U.S. schools with a two-year MBA program was selected.
a. What is the probability that exactly two schools from this sample experienced a decline in applications in 2012?
b. What is the probability that more than five schools from this sample experienced a decline in applications in 2012?
c. What is the probability that three or fewer schools from this sample experienced a decline in applications in 2012?
d. What are the mean and standard deviation for this distribution?
e. Construct a histogram for this distribution.
5.59 A first draft of a 400-page manuscript has 36 typos that are spread randomly across the pages. Assume the number of typos per page follows the Poisson distribution.
a. What is the probability that there is one typo in the first 10 pages?
b. What is the probability that there is one typo in the first 20 pages?
c. What is the probability that there are four typos in the first 50 pages?
d. What is the probability that there are 12 typos in the first 110 pages?
5.60 Methodist Hospital serves as a major trauma center for Indianapolis with one of the largest emergency depart- ments in the country, averaging 11.0 ED patients per hour. Assume the number of ED patients arriving per hour follows the Poisson distribution.
a. What is the probability that six ED patients will arrive during the next hour?
b. What is the probability that three ED patients will arrive during the next 30 minutes?
c. What is the probability that seven or more ED patients will arrive during the next hour? (I suggest using Excel or the Poisson tables for this question.)
d. What is the probability that less than 10 ED patients will arrive during the next hour? (I suggest using Excel or the Poisson tables for this question.)
5.61 In college basketball, a turnover is defined as losing posses- sion of the basketball to the opposing team. During a recent basketball season, the Villanova Wildcats averaged 13 turn- overs per game. Assume the number of turnovers per game follows the Poisson distribution.
a. What is the probability that Villanova will have eight turnovers during a game?
b. What is the probability that Villanova will have less than 10 turnovers during a game? (I suggest using Excel for this problem.)
c. What is the probability that Villanova will have more than 15 turnovers during a game? (I suggest using Excel for this problem.)
d. What is the probability that Villanova will have four turnovers during the first half of a game?
5.62 Customers arrive at a local ice cream stand at an average rate of 16 per hour and follow a Poisson distribution.
a. What is the probability that two customers will arrive during the next 15 minutes?
b. What is the probability that four customers will arrive during the next 15 minutes?
c. What is the probability that six customers will arrive during the next 30 minutes?
d. What is the probability that six customers will arrive during the next 45 minutes?
5.63 According to the Department of Transportation, United Airlines lost an average of 3.87 bags per 1,000 passengers during 2012. Assume the number of lost bags follows the Poisson distribution.
a. What is the probability that, over the next 1,000 United passengers, nobody will lose their bag?
b. What is the probability that, over the next 1,000 United passengers, less than three will lose their bag?
c. What is the probability that, over the next 500 United passengers, nobody will lose their bag?
d. What is the probability that, over the next 500 United passengers, less than three will lose their bag?
5.64 According to the National Hurricane Center, the average number of hurricanes during the Atlantic season, which runs from June 1 to November 30, was 6.5 hurricanes per year from 1982 to 2012. Assume the number of hurricanes per year follows the Poisson distribution.
a. What is the probability that one hurricane will occur in the Atlantic next year?
b. What is the probability that less than three hurricanes will occur in the Atlantic next year?
www.freebookslides.com
241
c. What is the probability that more than four hurricanes will occur in the Atlantic next year?
d. What is the standard deviation for this distribution?
5.65 Harv& Marv’s Outback Alaska provides personalized 4-hour or 8-hour whale watching tours in Juneau Alaska. (Count Deb and I as two very satisfied customers.) Suppose the number of whales spotted during a 4-hour tour follows the Poisson distribution and averages 5.3.
a. What is the probability that exactly three whales will be spotted during the next 4-hour tour?
b. What is the probability that less than four whales will be spotted during the next 4-hour tour?
c. What is the probability that more than five whales will be spotted during the next 4-hour tour?
d. What is the probability that exactly six whales will be spotted during the next 8-hour tour?
5.66 According to Experian, 2.5% of car-loan payments were 30 days past due in 2012, the lowest percentage since 2007. Lenders prefer auto loans to home mortgages because, when borrowers get into financial trouble, they tend to pay the auto loan first because cars are more easily seized by banks. A random sample of 24 car loans was randomly selected.
a. Use the binomial distribution to determine the probabil- ity that exactly one loan is 30 days past due from this sample.
b. Use the binomial distribution to determine the probabil- ity that exactly four loans are 30 days past due from this sample.
c. Use the Poisson distribution to determine the probabil- ity that exactly one loan is 30 days past due from this sample.
d. Use the Poisson distribution to determine the probability that exactly four loans are 30 days past due from this sample.
5.67 According to hybridcars.com, the market share of hybrid cars in the United States in February 2013 is 3.4%. Con- sider a random sample of 20 cars in the United States.
a. Use the binomial distribution to determine the probabil- ity that there are no hybrid cars from this sample.
b. Use the binomial distribution to determine the prob- ability that there are less than two hybrid cars from this sample.
c. Use the Poisson distribution to determine the probability that there are no hybrid cars from this sample.
d. Use the Poisson distribution to determine the probability that there are less than two hybrid cars from this sample.
5.68 The U.S. Census reports that 3.5% of households have at least three generations living under one roof. Consider a random sample of 24 households.
a. Use the binomial equation to determine the probability that three households have at least three generations liv- ing in the same house.
b. Use the Poisson equation to determine the probability that three households have at least three generations liv- ing in the same house.
c. How do these two probabilities compare?
5.69 A grocery store has 18 two-liter bottles of diet cola on the shelf, four of which have exceeded their shelf-life date. You randomly select three bottles of diet cola without check- ing the expiration date. Determine the probability of the following:
a. None of the bottles have exceeded their expiration date. b. At least two of the bottles have exceeded their expiration
date. c. Calculate the mean and standard deviation of this
distribution. d. Verify your results with Excel.
5.70 An IRS agent has 19 tax returns on her desk, of which 14 were filed using the short form (1040A). She randomly chooses eight returns to audit. Determine the probability of the following:
a. All eight were filed using the short form. b. At least six were filed using the short form. c. Explain why it is not possible for none of the tax returns
to be filed using the short form. d. Calculate the mean and standard deviation of this
distribution. e. Verify your results with Excel.
5.71 My department at school is comprised of 10 faculty and 6 administrators. I need to organize a committee of six peo- ple from the department. If I randomly select these commit- tee members, determine the probability that the committee consists of the following:
a. Two faculty and four administers b. Four faculty and two administers c. All faculty and no administrators d. Calculate the mean and standard deviation for the distri-
bution which defines selecting a faculty as a success. e. Verify your results with Excel.
5.72 Winner Automotive has a current inventory of 14 used cars and 8 used trucks. Management needs to select 10 used vehicles to participate in a special used vehicle sale at the local shopping mall. If the vehicles are selected randomly, determine the probability of the following occurring:
a. Four trucks have been selected. b. Four cars have been selected. c. Explain why these probabilities are so different. d. Calculate the mean and standard deviation for the distri-
bution which defines selecting a truck as a success. e. Verify your results with Excel.
5.73 Packer Fan Tours is the official tour company for the Green Bay Packers of the NFL. One of the events in its package is to sponsor a reception the night before a game for fans
www.freebookslides.com
242
that is attended by three of the players from the team. There are 53 players on the Green Bay Packers’ roster, of which 22 are starters. Assume that the three players attending the reception this week are chosen randomly. Determine the probability of the following occurring:
a. None of the players at the reception are starters. b. All of the players at the reception are starters. c. Two of the players at the reception are starters. d. Calculate the mean and standard deviation of this
distribution. e. Verify your results with Excel.
5.74 In a standard 52-deck of cards, there are 12 face cards con- sisting of four jacks, queens, and kings. You are randomly dealt a five-card hand from the deck. What is the probabil- ity that your hand will contain the following?
a. No face cards b. One face card c. Two face cards d. Four face cards e. Calculate the mean and standard deviation of this
distribution. f. Verify your results with Excel.
Chapter 5 Solutions to Your Turn
Y o u r T u r n # 1 a.
Inter Wins Freq
Wins Probability
Losses Freq
Losses Probability
0 91 91>182 = 0.500 12 12>105 = 0.114 1 59 59>182 = 0.324 37 37>105 = 0.352 2 23 23>182 = 0.126 29 29>105 = 0.276 3 9 9>182 = 0.049 21 21>105 = 0.200 4 0 0>182 = 0.000 5 5>105 = 0.048 5 0 0>182 = 0.000 1 1>105 = 0.010 Total 182 0.999 105 1.000
b. Wins:
m = a n
i = 1 xiP1xi2
m = 10210.52 + 11210.3242 + 12210.1262 + 13210.0492 + 14210.02 + 15210.02 m = 0.0 + 0.324 + 0.252 + 0.147 + 0.0 + 0.0 m = 0.723
c. Losses:
m = a n
i = 1 xiP1xi2
m = 10210.1142 + 11210.3522 + 12210.2762 + 13210.22 + 14210.0482 + 15210.0102 m = 0.0 + 0.352 + 0.552 + 0.6 + 0.192 + 0.05 m = 1.746
Brett Favre averaged 0.723 interceptions per game during games that his team won and 1.746 interceptions per game during games that his team lost.
d.
Wins Losses
xi x2i P1xi2 x2i P1xi2 P1xi2 x2i P1xi2 0 0 0.500 0.000 0.114 0.000
1 1 0.324 0.324 0.352 0.352
2 4 0.126 0.504 0.276 1.104
3 9 0.049 0.441 0.200 1.800
4 16 0 0.000 0.048 0.768
5 25 0 0.000 0.010 0.250
Total 1.269 4.274
Wins:
a n
i = 1 x i 2P1xi2 = 1.269
s2 = a a n
i = 1 x i 2P1xi2b - m2
s2 = 1.269 - 10.72322 = 1.269 - 0.523 = 0.746 s = 2s2 = 20.746 = 0.864 Losses:
a n
i = 1 x i 2P1xi2 = 4.275
s2 = a a n
i = 1 x i 2P1xi2b - m2
s2 = 4.274 - 11.74622 = 4.274 - 3.049 = 1.225 s = 2s2 = 21.225 = 1.107 e. Favre averaged one more interception per game during games that his team
lost compared with those that his team won. His interceptions per game were more consistent during wins than they were during losses based on the stan- dard deviations of the two distributions.
www.freebookslides.com
243
Y o u r T u r n # 2
EMV = m = a n
i = 1 xiP1xi2
EMV = 1$20210.652 + 1 - $25210.352 EMV = $4.25
Because the EMV is positive, you should take the bet.
Y o u r T u r n # 3
Y o u r T u r n # 4
a. P1x,n2 = n!1n - x2!x! p xq n - x
P14,52 = 5!15 - 42!4!10.842 410.1625 - 4
P14,52 = 152142132122112 11214213212211210.842
410.1621
P14,52 = 15210.4979210.162 = 0.3983 There is a 39.8% chance that exactly four out of five customers will be satisfied.
b. P1x,n2 = n!1n - x2!x! p xq n - x
P15,52 = 5!15 - 52!5!10.842 510.1625 - 5
P15,52 = 152142132122112
11215214213212211210.842 510.1620
P15,52 = 11210.41822112 = 0.4182 P102 + P112 + P122 + P132 = 1.0 - P142 - P152 P102 + P112 + P122 + P132 = 1.0 - 0.3983 - 0.4182 = 0.1835 There is an 18.35% chance that less than four out of five customers will be
satisfied. c. m = np = 15210.842 = 4.2 d. s = 2npq = 215210.84210.162 = 0.820 e. The probability of each customer being satisfied is the same and the satis-
faction of customers is independent of one another.
n x 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 7 0 0.4783 0.3206 0.2097 0.1335 0.0824 0.0490 0.0280 0.0152 0.0078
1 0.3720 0.3960 0.3670 0.3115 0.2471 0.1848 0.1306 0.0872 0.0547
2 0.1240 0.2097 0.2753 0.3115 0.3177 0.2985 0.2613 0.2140 0.1641
3 0.0230 0.0617 0.1147 0.1730 0.2269 0.2679 0.2903 0.2918 0.2734
4 0.0026 0.0109 0.0287 0.0577 0.0972 0.1442 0.1935 0.2388 0.2734
5 0.0002 0.0012 0.0043 0.0115 0.0250 0.0466 0.0774 0.1172 0.1641
6 0.0000 0.0001 0.0004 0.0013 0.0036 0.0084 0.0172 0.0320 0.0547
7 0.0000 0.0000 0.0000 0.0001 0.0002 0.0006 0.0016 0.0037 0.0078
a. There is a 29.03% chance that three of the next seven cars will use E-ZPass. b. The probability that at least five cars will use E-ZPass is
0.0774 + 0.0172 + 0.0016 = 0.0962.
Y o u r T u r n # 5 a. Use = BINOM.DIST110, 16, 0.53, FALSE2 in Excel to find the probability = 0.1510. b. Use = BINOM.DIST19, 16, 0.53, TRUE2 in Excel to find the probability = 0.6932. c. P1x 7 52 = 1 - P1x … 52 = 1 - BINOM.DIST15, 16, 0.53, TRUE2 = 1 - 0.0674 = 0.9326
www.freebookslides.com
244
d.
Y o u r T u r n # 6 a. l = 7.4 x = 3
P132 = l xe - l
x! =
17.43212.71828 - 7.42 3!
P132 = 1405.224210.0006112
132122112 = 0.0413
b. P1x … 32 = P102 + P112 + P122 + P132 P102 =
17.40212.71828 - 7.42 0!
= 11210.0006112
1 = 0.0006
P112 = 17.41212.71828 - 7.42
1! =
17.4210.0006112 1
= 0.0045
P122 = 17.42212.71828 - 7.42
2! =
154.76210.0006112 2
= 0.0167
P1x … 32 = 0.0006 + 0.0045 + 0.0167 + 0.0413 = 0.0631
c. P1x Ú 52 = 1.0 - P102 - P112 - P122 - P132 - P142 P142 =
17.44212.71828 - 7.42 4!
= 12,998.6576210.0006112
142132122112 = 0.0763 P1x Ú 52 = 1.0 - 0.0006 - 0.0045 - 0.0167 - 0.0413 - 0.0763 = 0.8606
d. l = 7.4
2 = 3.7 x = 3
P132 = l xe - l
x! =
13.72312.71828 - 3.72 3!
P132 = 150.653210.0247242
132122112 = 0.2087
Y o u r T u r n # 7
x 0.005 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0 0.9950 0.9900 0.9802 0.9704 0.9608 0.9512 0.9418 0.9324 0.9231 0.9139
1 0.0050 0.0099 0.0196 0.0291 0.0384 0.0476 0.0565 0.0653 0.0738 0.0823
2 0.0000 0.0000 0.0002 0.0004 0.0008 0.0012 0.0017 0.0023 0.0030 0.0037
3 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001
a. P112 = 0.0476 b. The probability that there is a defect is P1x Ú 12 = 1.0 - P102 = 1.0 - 0.9512 = 0.0488.
www.freebookslides.com
245
Y o u r T u r n # 8 a. = POISSON.DIST11, 1.4, FALSE2 = 0.3452 b. P1x 6 22 = P1x … 12 = POISSON.DIST11,1.4,TRUE2 = 0.5918 c. P1x Ú 42 = 1 - P1x … 32 = 1 - POISSON.DIST13,1.4,TRUE2 = 0.0537 d.
Y o u r T u r n # 9
a. P1x,n2 = n!1n - x2!x! p xq n - x
P13,202 = 20!120 - 32!3!10.032 310.97220 - 3
P13,202 = 1202119211821172 g 132122112 1172 g 132122112132122112 10.032
310.97217
P13,202 = 120211921182 132122112 10.000027210.5958262 = 0.0183
b. np = 120210.032 = 0.6
P1x2 = 1np2x2.71828 - 1np2
x!
P132 = 10.6232.71828 - 10.62
3!
= 10.216210.5488122
132122112 = 0.0198
c. 1.83% and 1.98% are very close to one another.
d. P142 = 10.6242.71828 - 10.62
4!
= 10.1296210.5488122
142132122112 = 0.0030
If the true probability of not correctly filling an order is 3%, there is only a 0.3% chance that 4 orders from the first 20 are incorrect. Therefore, it is doubtful that the true probability of not correctly filling an order is 3%.
Y o u r T u r n # 1 0 a. N = The total number of computers = 16 R = The number of defective computers = 3 n = The number of computers ordered by the school = 5 x = The number of defective computers delivered to the school = 2
P1x2 = N - RCn - x #
RCx
NCn
P122 = 16 - 3C5 - 2 # 3C2
16C5 =
13C3 # 3C2 16C5
nCx = n!
1n - x2 !x!
= n1n - 121n - 22 g 1n - x + 12
x!
13C3 = 13!
113 - 32!3! 1n - x + 12 = 113 - 3 + 12 = 11
13C3 = 113211221112 132122112 =
1,716
6 = 286
3C2 = 3!
13 - 22!2! 1n - x + 12 = 13 - 2 + 12 = 2
www.freebookslides.com
246
3C2 = 132122112 122112 =
6
2 = 3
16C5 = 16!
116 - 52!5! 1n - x + 12 = 116 - 5 + 12 = 12 13C3 =
11621152114211321122 152142132122112 =
524,160
120 = 4,368
P122 = 13C3 # 3C2
16C5 =
12862132 4,368
= 0.1964
b. m = nR
N =
152132 16
= 0.9375
sA nR1N - R2N 2 A N - nN - 1 = A 152132116 - 3211622 A16 - 516 - 1 sA195256 A1115 = 20.761720.7333 = 10.873210.8562 = 0.747
c. = HYPGEOM.DIST = 12, 5, 3, 162 = 0.1964
The probability that x = 4 and x = 5 equals zero because there are only three defective computers in the population.
www.freebookslides.com
I n t H I s c H A P t e R , Y o U w I l l l e A R n t o :
■ Understand the properties of continuous random variables.
■ Identify the characteristics of the normal probability distribution.
■ Calculate normal probabilities.
■ Interpret z-scores for the normal probability distribution.
■ Use the normal distribution to approximate the binomial distribution.
■ Identify the characteristics of the exponential probability distribution.
■ Calculate exponential probabilities.
■ Identify the characteristics of the uniform probability distribution.
■ Calculate uniform probabilities.
Continuous Probability Distributions
C H A P t E R 6 m A P
6.1 Continuous Random Variables | 248
6.2 Normal Probability Distributions | 250
6.3 Exponential Probability Distributions | 269
6.4 Uniform Probability Distributions | 273
6 C H A P t E R
www.freebookslides.com
248 C h a p t e r 6 | Continuous Probability Distributions
Our focus in Chapter 5 was on discrete data. The values for discrete data are typically whole numbers such as 0, 1, or 2. They are found as a result of counting observations while con- ducting an experiment. By contrast, a continuous data value can take on any real number, including fractional values. These data are usually measured rather than counted. Examples of continuous data include time, distance, and weight. This chapter explores the probability of continuous data values occurring. Discrete probability distributions work well when you have small counts of observations; however, businesses are often faced with large quantities that they must measure—hence the need for continuous probability distributions.
Consider the following example: During the winter of 2009–2010, the Philadelphia area—the largest metropolitan area near my home in Delaware—experienced record- breaking snowfall amounts. Because we measure snowfall levels with values that can include decimal points, the data are considered continuous. Between 1884, the first year snowfall amounts were recorded, and 2012, Philadelphia averaged 22.3 in. of snow per winter. During the 2009–2010 winter season, Philadelphia received 78.7 in. of snow. Two major storms in February alone resulted in unprecedented snowfall levels, wreaking havoc with both govern- ments and businesses in the Northeast.
The cost of removing the extraordinary amount of snow in the Philadelphia area that year led to budget shortfalls. Airlines estimated that the winter storms in the Northeast cor- ridor cost $100 million due to flight delays and cancellations. General Motors announced that February 2010 car sales in the Northeast United States were down 22% because of these weather incidents. Apparently, selling cars that are buried under three feet of snow is dif- ficult. Later in the chapter, you will learn how to calculate the probability of certain snowfall amounts based on historical data.
As I was examining the 128 years of Philadelphia snowfall data for this chapter, my at- tention was drawn to the one year in which there was no snowfall: the winter of 1972–1973. Coincidentally, in the fall of 1972, as an ambitious college student I decided to invest my en- tire savings into a used truck and snowplow. My dreams of rolling in money gradually faded away as week after snowless week went by that winter.
After Philadelphia’s record-setting winter in 2010, I suggested to Deb, my wife, that we purchase a snow blower for next season. She just laughed and reminded me of how well my last snow-removal investment had worked out. (Although I explained to her how low the probability was of no snowfall occurring and cleverly reminded her that probability has no memory—a concept discussed in Chapter 4—there doesn’t appear to be a snow blower in my near future.)
6.1 Continuous Random Variables Experiments that involve continuous data generate continuous random variables, which are outcomes that take on any numerical value in an interval, including numbers with decimal points. Tracking the number of calories consumed daily by a middle-aged statistics author who is working late at night on a continuous probability chapter is an example of such an experiment. Some examples of experiments in the business environment that generate continuous random variables are as follows:
• Measuring the weight of a randomly selected box of Cheez-It crackers at a manufacturing plant
• Recording the flight time of a American Airlines flight bound from Philadelphia to Orlando
• Recording the amount of time a customer spends on the phone with a cable company’s customer service representative
These experiments could generate continuous random variables, such as the following:
• 16.12 ounces of Cheez-It crackers in a selected box
• 2.4 hours of flight time for a American Airlines flight bound from Philadelphia and Orlando
• 6.49 minutes spent by a customer on the phone with a customer service representative
Continuous random variables are outcomes that take on any numerical value in an interval, as determined by conducting an experiment.
The road behind your author’s home after a major snowstorm.
www.freebookslides.com
C h a p t e r 6 | 6.1 Continuous Random Variables 249
The number of ounces of Cheez-Its and hours of flight time are continuous “random” variables because they cannot be known with certainty before conducting the experiments. The values 16.12 and 2.4 are the values that these random variables have taken on during the experiment. The purpose of this chapter is to identify the probability that specific continuous random variables will occur using continuous probability distributions.
The value of a random variable is often denoted by x. When we discussed discrete random variables in Chapter 5, we calculated the probability that x would equal a specific value. For instance, if we flip a coin once, the probability of observing exactly one head is P1x = 12 = 0.5. However, continuous random variables can take on an infinite number of values. The flight time from Philadelphia to Orlando can be 2.4, 2.45, 2.451, or 2.4519 hours, for example.
The value of a continuous random variable depends on the level of precision in its mea- surement. Keep in mind that we aren’t counting flights that are late or that arrive on time like we did with discrete probability distributions. We are measuring an interval. Because there are an infinite number of possible times, the probability of one specific flight time occurring is theoretically equal to zero or P1x = 2.42 = 0. Some of my students struggle with this concept, so let me try to explain further. Because there are an infinite number of possible flight times, the probability of any one specific flight time occurring is so small; it is essen- tially equal to zero. We can use Equation 4.2 from Chapter 4 to calculate this probability as follows:
P1x = 2.42 = Frequency in which x = 2.4 occurs in the interval Total number of possible values of x in the interval
P1x = 2.42 = 1 ∞
≈ 0.000
This holds true for any specific flight time, not just x = 2.4 hours. However, we can calculate the probability that a continuous random variable will fall within a specific inter- val, such as P1x … 2.42. Calculating this type of probability will be the focus of much of this chapter.
Also, because P1x = 2.42 = 0, we can also claim that P1x … 2.42 = P1x = 2.42 + P1x 6 2.42 P1x … 2.42 = 0 + P1x 6 2.42 P1x … 2.42 = P1x 6 2.42
For continuous distributions, the probability that x is less than or equal to a value is the same as the probability that x is less than that value.
Continuous probability distributions can have a variety of shapes, depending on their data values. Figure 6.1 shows the shapes of three common continuous distributions that will be discussed in this chapter.
Continuous variables can take on values between whole integers that contain decimal points.
The probability of a continuous random variable being a specific value is always equal to zero.
{ figure 6.1 Common Continuous
Probability Distributions
x
f (x)
x
f (x)
x
f (x)
(a) Normal Distribution (b) Exponential Distribution (c) Uniform Distribution
The normal probability distribution seen in Figure 6.1 is useful when the data tend to fall into the center of the distribution and when very high and very low values are fairly rare. You will see this type of distribution in a quality control setting, such as filling boxes of Frosted Flakes cereal.
The exponential distribution is used to describe data where lower values tend to domi- nate and higher values don’t occur very often. The time between customer arrivals is a com- mon application for the exponential distribution.
Because it is so common, the normal probability distribution is a statistician’s workhorse. It will be used to calculate many types of inferential statistics throughout the rest of this textbook.
www.freebookslides.com
250 C h a p t e r 6 | Continuous Probability Distributions
Finally, the uniform distribution describes data where all the values have the same chance of occurring. Download times on the Internet could be an application where the uniform distribution would be useful.
Keep in mind that this is not an exhaustive list of continuous distributions. There are many others that could be used in a business setting. The following section will introduce the most common type of continuous probability distribution, the normal distribution.
6.2 Normal Probability Distributions As we saw in Figure 6.1, the normal probability distribution is useful when the majority of the data tend to be in the middle of the distribution. We will use this distribution repeatedly throughout this text, so it would be a good idea for you to become very familiar with it by studying the following sections.
Characteristics of the Normal probability Distribution A continuous random variable that follows the normal probability distribution has several distinctive features. Let’s say the number of minutes a customer spends on the phone with customer service for a cable company follows the normal distribution with a mean of 12 minutes 1m2 and a standard deviation of 2 minutes 1s2. The probability distribution for such a random variable is shown in Figure 6.2.
{ figure 6.2 A Normal Distribution with
a Mean of 12 and a Standard Deviation of 2
0 3 6 9 12 15 18 21 24
Minutes
27
0.5 0.5
µ
= 2
f (x)
We can make the following observations about the normal probability distribution like the one shown in Figure 6.2:
• The distribution is bell-shaped and symmetrical around the mean.
• Because the shape of the distribution is symmetrical, the mean and median are the same value, in this case 12 minutes (see Chapter 2).
• Random variables around the mean, where the curve is the tallest, have a higher like- lihood of occurring than values toward the ends of the distribution, where the curve is shorter.
• The total area under the curve is always equal to 1.0.
• Because the distribution is symmetrical around the mean, the area to the left of the mean equals 0.5, as does the area to the right of the mean.
• The left and right ends of the normal probability distribution extend indefinitely, never quite touching the horizontal axis.
The standard deviation plays an important role in the shape of the curve. Looking at Figure 6.2, we can see that nearly all the phone calls would last between 6 and 18 min- utes. Now look at Figure 6.3, which shows the effect of changing the standard deviation from 2 minutes (blue curve) to 3 minutes (red curve). The mean of both of these normal distributions is still 12 minutes.
Normal probability distribution. A con tinuous distribution that is bell shaped and symmetrical around its mean.
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 251
In each of the previous figures, the characteristics of the normal probability distribution hold true. In each case, the values of m, the mean, and s, the standard deviation, completely describe the shape of the distribution.
The mathematical expression that describes the shape of normal curves like those shown in the last three figures is known as the normal probability density function. It is shown in Equation 6.1.
A distribution’s mean (m) and standard deviation (s) completely describe its shape.
Normal probability density function. The mathematical expression that describes the shape of the normal probability distribution.
{ figure 6.3 The Effect of Changing a
Normal Distribution’s Standard Deviation from 2 to 3 (While Leaving the Mean at 12)
0 3 6 9 12 15 18 21 24
Minutes
27 µ
f (x)
= 3
= 2
{ figure 6.4 Normal Distributions with
Means of 12 and 21 and a Standard Deviation of 2
0 3 6 9 12 15 18 21 24
Minutes
27 µ µ
= 2
f(x)
In this figure, you see a red curve, with a standard deviation of 3 1s = 32. Notice that it is more spread out around the mean than the blue curve, which has a standard deviation of 2 1s = 22. The red curve shows that almost all of the call times are between 3 and 21 min- utes. What this shows us is that a smaller standard deviation results in a skinnier curve that is tighter and taller around the mean. By contrast, a larger s (standard deviation) makes for a fatter curve that is more spread out and not as tall.
Figure 6.4 shows the impact of changing the mean of the distribution from 12 to 21 minutes, leaving the standard deviation at 2 minutes. Notice that the curve is simply shifted to the right.
Formula 6.1 for the normal probability Density Function
f1x2 = 1 s12p e - 11>2231x - m2>s42
where
e = 2.71828 p = 3.14159 m = The mean of the distribution s = The standard deviation of the distribution x = Any continuous number of interest
Fortunately for us, we will not have to use this intimidating equation to calculate prob- abilities. Instead, we can calculate the probability of normal distributions using tables and Microsoft Excel. Let’s move on to the next section, and I will show you how this is done. Hint: It involves converting a normal distribution to the standard normal distribution, dis- cussed next.
A smaller standard deviation results in a skinnier curve that is tighter and taller around the mean. By contrast, a larger s (standard deviation) makes for a fatter curve that is more spread out and not as tall.
www.freebookslides.com
252 C h a p t e r 6 | Continuous Probability Distributions
Calculating probabilities for Normal Distributions Using the Standard Normal probability tables Let’s return to our previous example where the time customers spend on the phone for service follows the normal distribution with a mean of 12 minutes and a standard deviation of 3 min- utes. What is the probability that the next customer who calls will spend 14 minutes or less on the phone? To answer this question, we need to revisit a concept introduced in Chapter 3. The z-score, shown in Equation 6.2, determines the number of standard deviations that a particu- lar value, x, is from the mean of its distribution.
The z-score determines the number of standard deviations that a particular value, x, is from the mean of its distribution.
Formula 6.2 for the z-score
z = x - m s
where
x = The continuous data value of interest m = The distribution’s mean s = The distribution’s standard deviation
Using Equation 6.2, the z-score for x = 14 is
z14 = x - m s
= 14 - 12
3 = 0.67
In other words, a customer who spends 14 minutes on the phone is 0.67 standard de- viations from the distribution mean of 12 minutes. The z-score is analogous to expressing the original data in different units, such as converting two feet to 24 in. In our example, the 14-minute time is being converted to a z-score of 0.67. However, the z-score itself has no units even though the original values for x will normally be expressed in units such as min- utes, dollars, years, and pounds. Table 6.1 shows the z-scores for this example for various call times.
Table 6.1 highlights the following features of z-scores:
• z-Scores are negative for values of x that are less than the distribution mean.
• z-Scores are positive for values of x that are more than the distribution mean.
• The z-score at the mean of the distribution equals zero.
The z-score determines the number of standard deviations that a particular value, x, is from the mean of its distribution.
{ table 6.1 | z-Scores for Times Spent on the Phone with Customer Service
minutes
x M x − M S z = 1x − M2 ,S 6 12 -6 3 - 2.00
8 12 - 4 3 - 1.33
10 12 - 2 3 - 0.67
12 12 0 3 0.00
14 12 2 3 0.67
16 12 4 3 1.33
18 12 6 3 2.00
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 253
When the original random variable, x, follows the normal distribution, z-scores also follow a normal distribution with m = 0 and s = 1, which is shown in Figure 6.5. This is known as the standard normal distribution.
{ figure 6.5 The Standard Normal
Distribution 1Mean = 0 and Standard Deviation = 12
0
0.50.5
µ
= 1
f (x)
The zscore follows a normal distribution with m = 0 and s = 1, which is known as the standard normal distribution.
At this point, you might be wondering: So what does the standard normal distribution have to do with a random variable that follows the normal probability distribution? Essen- tially, we are converting the value of the random variable to a z-score that follows the stan- dard normal distribution (like converting feet to inches). Once our normal random variable is converted to the z-score, its mean will equal zero, as Figure 6.5 shows, and the standard deviation will equal 1. We can then use the standard normal probability tables shown in Appendix A at the back of the book to calculate the probabilities for our normal distribution. (Looking up the probabilities in the tables will be much easier than using Equation 6.1, which requires an advanced math degree.) Keep in mind that this works for any normal distribution. Any normally distributed values can be standardized with z-scores.
Now, let us return to our original question. We can use the standard normal distribu- tion tables to determine the probability that a person will spend 14 minutes or less on the phone with customer service. Table 6.2 shows a portion of Table 4 in Appendix A. This table
{ table 6.2 | Cumulative Standardized Normal Table Excerpted from Appendix A for Positive z-Scores
first digit of z second digit of z
z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
0.0 0.5000 0.5040 0.5080 0.5120 0.5160 0.5199 0.5239 0.5279 0.5319 0.5359
0.1 0.5398 0.5438 0.5478 0.5517 0.5557 0.5596 0.5636 0.5675 0.5714 0.5753
0.2 0.5793 0.5832 0.5871 0.5910 0.5948 0.5987 0.6026 0.6064 0.6103 0.6141
0.3 0.6179 0.6217 0.6255 0.6293 0.6331 0.6368 0.6406 0.6443 0.6480 0.6517
0.4 0.6554 0.6591 0.6628 0.6664 0.6700 0.6736 0.6772 0.6808 0.6844 0.6879
0.5 0.6915 0.6950 0.6985 0.7019 0.7054 0.7088 0.7123 0.7157 0.7190 0.7224
0.6 0.7257 0.7291 0.7324 0.7357 0.7389 0.7422 0.7454 0.7486 0.7517 0.7549
0.7 0.7580 0.7611 0.7642 0.7673 0.7704 0.7734 0.7764 0.7794 0.7823 0.7852
0.8 0.7881 0.7910 0.7939 0.7967 0.7995 0.8023 0.8051 0.8078 0.8106 0.8133
0.9 0.8159 0.8186 0.8212 0.8238 0.8264 0.8289 0.8315 0.8340 0.8365 0.8389
1.0 0.8413 0.8438 0.8461 0.8485 0.8508 0.8531 0.8554 0.8577 0.8599 0.8621
1.1 0.8643 0.8665 0.8686 0.8708 0.8729 0.8749 0.8770 0.8790 0.8810 0.8830
1.2 0.8849 0.8869 0.8888 0.8907 0.8925 0.8944 0.8962 0.8980 0.8997 0.9015
1.3 0.9032 0.9049 0.9066 0.9082 0.9099 0.9115 0.9131 0.9147 0.9162 0.9177
1.4 0.9192 0.9207 0.9222 0.9236 0.9251 0.9265 0.9279 0.9292 0.9306 0.9319
1.5 0.9332 0.9345 0.9357 0.9370 0.9382 0.9394 0.9406 0.9418 0.9429 0.9441
1.6 0.9452 0.9463 0.9474 0.9484 0.9495 0.9505 0.9515 0.9525 0.9535 0.9545
1.7 0.9554 0.9564 0.9573 0.9582 0.9591 0.9599 0.9608 0.9616 0.9625 0.9633
www.freebookslides.com
254 C h a p t e r 6 | Continuous Probability Distributions
provides the cumulative area under a standard normal distribution curve that lies to the left of the z-score. Because the z-score that corresponds to 14 minutes is 0.67, we use the 0.6 row, which corresponds to the first digit in our z-score, and the 0.07 column, which corresponds to the second digit in our z-score. At the intersection of the two columns, we find the value 0.7486, which is highlighted in yellow. The value 0.7486 (74.86%) represents the probability that a person will be on the phone 14 minutes or less. The shaded area in Figure 6.6 shows this value graphically.
{ figure 6.8 Finding the Value (x) That
Corresponds to 95% of the Area Under a Normal Curve
12
0.95
0 µ
1.645 x = ?x scale
z scale
{ figure 6.7 The Area Under a Normal Curve
When x 7 14
12
0.7486
0.2514
14 0 µ
0.67z scale x scale
{ figure 6.6 The Area Under a Normal Curve
When x … 14
12
0.7486
14 0 µ
0.67 x scale z scale
There is a 74.86% chance that the next person will be on the phone 14 minutes or less, which can be expressed as
P1x … 142 = 0.7486 Remember, this is the same probability as less than 14 minutes because P1x = 142 = 0. What about the probability that the next customer will be on the phone for more than 14
minutes? Because we know the area under the normal curve equals 1.0,
P1x 7 142 = P1z 7 0.672 = 1.0 - 0.7486 = 0.2514 In other words, there is a 25.14% chance that the customer will be on the phone for
more than 14 minutes. The shaded region in Figure 6.7 shows this probability.
You only need to calculate the z-score out to two decimal places because this is the level of precision that Table 6.2 provides.
Suppose that management at a cable company has a goal that 95% of its customers will require less than 18 minutes per call on the phone with customer service. Is this goal being met with the current probability distribution, which has a mean of 12 and standard deviation of 3? To answer this question, we need to determine how many standard deviations to the right of the mean are needed to include 95% of the area under the curve. We do so by using Figure 6.8 and taking the following steps:
• First, we recognize that the area to the left of our point of interest includes 95% of the total area under the curve.
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 255
• Second, we search Table 6.2 to find the value in the body of the table closest to 0.95. This value is half-way between 0.9495 and 0.9505, which I have shown in the red box. These values are found in the 1.6 row and the 0.04 and 0.05 columns. This means our point of interest is halfway between these columns at 1.6 + 0.045, or 1.645 standard deviations to the right of the mean. In other words, z = 1.645.
• Third, we need to determine the value of x that corresponds to z = 1.645 by rear- ranging Equation 6.2 in terms of x, as follows:
z = x - m s
x = m + zs x = 12 + 11.6452132 = 12 + 4.94 = 16.94 minutes
• Finally, we can conclude that 95% of the people calling customer service will spend less than 16.94 minutes on the phone. Because this time is less than 18 minutes, manage- ment’s goal appears to have been achieved. The value 16.94 can also be described as the 95th percentile, because 95% of the values in the distribution fall below it.
Now it’s time to move over to the left side of the distribution’s mean. Let’s examine the probability that a customer will be on the phone for 8.5 minutes or less. First, we calculate the z-score for x = 8.5 using Equation 6.2:
z8.5 = x - m s
= 8.5 - 12
3 = - 1.17
Table 6.3 shows an excerpt from Table 3 in Appendix A. The values in this table are the cu- mulative normal probabilities for negative z-scores, which are always on the left side of the standard normal distribution (remember, the mean of this distribution is zero).
{ table 6.3 | Cumulative Standardized Normal Table Excerpted from Appendix A for Negative z-Scores
first digit of z second digit of z
z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
- 3.0 0.0013 0.0013 0.0013 0.0012 0.0012 0.0011 0.0011 0.0011 0.0010 0.0010 - 2.9 0.0019 0.0018 0.0018 0.0017 0.0016 0.0016 0.0015 0.0015 0.0014 0.0014 - 2.8 0.0026 0.0025 0.0024 0.0023 0.0023 0.0022 0.0021 0.0021 0.0020 0.0019 - 2.7 0.0035 0.0034 0.0033 0.0032 0.0031 0.0030 0.0029 0.0028 0.0027 0.0026 - 2.6 0.0047 0.0045 0.0044 0.0043 0.0041 0.0040 0.0039 0.0038 0.0037 0.0036 - 2.5 0.0062 0.0060 0.0059 0.0057 0.0055 0.0054 0.0052 0.0051 0.0049 0.0048 - 2.4 0.0082 0.0080 0.0078 0.0075 0.0073 0.0071 0.0069 0.0068 0.0066 0.0064 - 2.3 0.0107 0.0104 0.0102 0.0099 0.0096 0.0094 0.0091 0.0089 0.0087 0.0084 - 2.2 0.0139 0.0136 0.0132 0.0129 0.0125 0.0122 0.0119 0.0116 0.0113 0.0110 - 2.1 0.0179 0.0174 0.0170 0.0166 0.0162 0.0158 0.0154 0.0150 0.0146 0.0143 - 2.0 0.0228 0.0222 0.0217 0.0212 0.0207 0.0202 0.0197 0.0192 0.0188 0.0183 - 1.9 0.0287 0.0281 0.0274 0.0268 0.0262 0.0256 0.0250 0.0244 0.0239 0.0233 - 1.8 0.0359 0.0351 0.0344 0.0336 0.0329 0.0322 0.0314 0.0307 0.0301 0.0294 - 1.7 0.0446 0.0436 0.0427 0.0418 0.0409 0.0401 0.0392 0.0384 0.0375 0.0367 - 1.6 0.0548 0.0537 0.0526 0.0516 0.0505 0.0495 0.0485 0.0475 0.0465 0.0455 - 1.5 0.0668 0.0655 0.0643 0.0630 0.0618 0.0606 0.0594 0.0582 0.0571 0.0559 - 1.4 0.0808 0.0793 0.0778 0.0764 0.0749 0.0735 0.0721 0.0708 0.0694 0.0681 - 1.3 0.0968 0.0951 0.0934 0.0918 0.0901 0.0885 0.0869 0.0853 0.0838 0.0823 - 1.2 0.1151 0.1131 0.1112 0.1093 0.1075 0.1056 0.1038 0.1020 0.1003 0.0985 -1.1 0.1357 0.1335 0.1314 0.1292 0.1271 0.1251 0.1230 0.1210 0.1190 0.1170 - 1.0 0.1587 0.1562 0.1539 0.1515 0.1492 0.1469 0.1446 0.1423 0.1401 0.1379
www.freebookslides.com
256 C h a p t e r 6 | Continuous Probability Distributions
This table provides the cumulative area under a standard normal distribution curve that lies to the left of the negative z-score. Because the z-score that corresponds to 8.5 minutes is - 1.17, we look at the - 1.1 row, which corresponds to the first digit in our z-score. Then we look at the 0.07 column, which corresponds to the second digit in our z-score. At the in- tersection of the two columns, we find the value 0.1210, which is highlighted in yellow. The value 0.1210 (12.1%) represents the probability that a person will be on the phone 8.5 min- utes or less. The shaded area in Figure 6.9 shows this value graphically.
{ figure 6.9 The Area Under a Normal Curve
When x … 8.5
128.5
0.1210
0 µ
–1.17 x scale z scale
{ figure 6.10 The Area Under a Normal Curve
When x 7 8.5
128.5
0.1210 0.8790
0 µ
–1.17 x scale z scale
Let’s wrap up this section with one last probability. What is the probability that a person will be on the phone for more than 8.5 minutes? The answer can be found in the shaded area in Figure 6.10.
Using Figure 6.10, we can see that this probability will be
P1x 7 8.52 = P1z 7 - 1.172 = 1.0 - 0.1210 = 0.8790 Thus, there is an 87.9% probability that the next person will be on the phone with cus-
tomer service for more than 8.5 minutes.
Remember, the total area under the normal curve equals 1.0.
When solving these problems, I strongly encourage you to take the time to draw the distribution curves as I have shown you in this chapter. This will help you identify the proper area of interest.
A local gas station waits 4 days to receive a delivery of regular gasoline to replenish its inventory. The wait period to receive inventory is known as the lead time. The demand during the lead-time period for regular gasoline, as measured in gallons, follows the normal distribution with a mean of 930 gallons and standard deviation of 140 gallons.
a. What is the probability that, during the next lead time, the demand for regular gasoline will be less than 800 gallons?
b. What is the probability that, during the next lead time, the demand for regular gasoline will be less than 1,000 gallons?
c. What is the probability that, during the next lead time, the demand for regular gasoline will be equal to 900 gallons?
d. The station manager places the next order for regular gasoline when the inventory is 1,200 gallons (known as the reorder point). What is the probability that the station will not run out of gasoline before the order arrives?
e. Determine the reorder point that will ensure the station a 90% probability that it will have enough inventory of regular gasoline until the next order arrives.
Y o U r t U r N # 1N
Answers can be found on u page 286
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 257
revisiting the empirical rule Back in Chapter 3, we introduced the empirical rule, which states if a distribution is sym- metrical and bell-shaped, approximately 68%, 95%, and 99.7% of its data values will fall within one, two, and three standard deviations above and below the mean, respectively. We now have the tools to verify these percentages using Tables 3 and 4 in Appendix A.
Figure 6.11 illustrates the empirical rule using our previous example. Recall that people spend an average of 12 minutes on the phone with customer service, with a standard devia- tion of 3 minutes. Each vertical line in Figure 6.11 represents an increment of one standard deviation from the mean. Because one standard deviation equals 3 minutes, the time interval between vertical lines represents 3 minutes on the phone.
According to the empirical rule, if a distribution follows a bellshape, symmetrical curve centered around the mean, approximately 68%, 95%, and 99.7% of its values will fall within one, two, and three standard deviations above and below the mean, respectively.
{ figure 6.11 The Empirical Rule for
Customer Service Call Length
12 15 18 213 6 9
0.3413 0.3413
68% 95%
99.7%
0 1 2 3 µ
– 3 – 2 – 1 x scale z scale
Let’s examine the shaded region in Figure 6.11, which represents { one standard devia- tion around the mean. According to Table 4 in Appendix A, the area to the left of z = 1.0 is 0.8413. Subtracting 0.5 (the area to the left of the mean) from this value gives us 0.3413 (the area of the shaded region to the right of the mean). Adding the two shaded areas together provides us with the 68% (approximately) stated in the empirical rule. We would expect that 68% of the callers spend between 9 and 15 minutes on the phone.
We’ll use the same logic for { two standard deviations around the mean. According to Table 4 in Appendix A, the area to the left of z = 2.0 is 0.9772. Subtracting 0.5 from this value gives us 0.4772 (the area to the right of the mean). Adding the two areas on either side of the mean together 10.4772 + 0.47722 provides us with the 95% (approximately) stated in the empirical rule. We would expect that 95% of the callers spend between 6 and 18 min- utes on the phone.
Finally, Table 4 in Appendix A shows that the area to the left of z = 3.0 is 0.9987. Subtracting 0.5 from this value gives us 0.4987. Adding the two areas on either side of the mean together 10.4987 + 0.49872 provides us with the 99.7% (approximately) stated in the empirical rule. We would expect that practically all of the callers spend between 3 and 21 minutes on the phone with customer service.
The following Your Turn section will give you the chance to see if you’ve mastered the empirical rule.
Suppose the average fuel economy for the 2013 Ford C Max hybrid car is reported to be 39.2 miles per gallon (mpg) with a standard deviation of 3.7 mpg. Assume the fuel economy for each tankful of gas for this car follows the normal distribution. Determine the interval of miles per gallon around the mean that include the following:
a. Approximately 68% of the reported fuel economies for this car b. Approximately 95% of the reported fuel economies for this car c. Approximately 99.7% of the reported fuel economies for this car
Y o U r t U r N # 2N
Answers can be found on u page 286
www.freebookslides.com
258 C h a p t e r 6 | Continuous Probability Distributions
other Normal probability Intervals We can examine other types of probability intervals using the normal distribution. Let’s look at our snowfall example from the beginning of the chapter. I researched many cities in the United States and found that the annual snowfall amounts in Minneapolis, Minnesota, from 1884 until 2012 tended to follow a normal distribution with a mean of 46.3 in. and a stan- dard deviation of 18.4 in. The histogram for these data are shown in Figure 6.12. As you can see, the data are slightly right-skewed, but they are close enough to a normal distribution for our purposes. (In Chapter 12, I will show you a procedure to test a distribution to see if its data values allow it to be categorized as a normal distribution.)
{ figure 6.12 A Histogram Showing the
Annual Snowfall in Minneapolis
{ figure 6.13 The Probability of Between
30 and 70 in. of Snow Falling in Minneapolis
µ
46.330 70 1.29–0.89 0
0.9015
0.1867 0.7148
z scale x scale
0.9015 – 0.1867 = 0.7148
If the historical data in the figure are a good indicator of future events, what is the prob- ability that between 30 and 70 in. of snow will fall in Minneapolis next year? The area of interest straddles the distribution’s mean of 46.3 inches. For this, we need to calculate the z-scores for x = 30 and x = 70 using Equation 6.2. (Remember, m = 46.3 and s = 18.4.)
z30 = x - m s
= 30 - 46.3
18.4 = - 0.89
z70 = x - m s
= 70 - 46.3
18.4 = 1.29
According to Figure 6.13, the probability of less than 70 in. of snow falling in Minneapolis is
P1x … 702 = P1z … 1.292 = 0.9015
You can find this value in the 1.2 row and 0.09 column in Table 6.2.
However, this probability includes the event that less than 30 inches of snow will fall, so we need to subtract this out to get our final result, which is the shaded region in Figure 6.13.
P1x … 302 = P1z … - 0.892 = 0.1867 P130 … x … 702 = 0.9015 - 0.1867 = 0.7148
You can find this value in the - 0.8 row and 0.09 column in Table 3 in Appendix A.
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 259
In other words, there is a greater than 71% chance that between 30 and 70 in. will fall. That’s a lot of snow.
The next example has caused some of my students to accuse me of trickery when they see it on an exam. (OK, it’s a little different from the examples we have looked at so far, but trickery? Decide for yourself.) What is the probability that between 60 and 75 in. of snow will fall in Minneapolis next year? When you examine Figure 6.14, you’ll see the entire shaded area of interest falls to the right of the distribution’s mean of 46.3 in. As with the last example, we need to calculate the z-scores for x = 60 and x = 75 using Equation 6.2.
z60 = x - m s
= 60 - 46.3
18.4 = 0.74
z75 = x - m s
= 75 - 46.3
18.4 = 1.56
According to Figure 6.14, the probability of less than 75 in. of snow falling in Minneapolis is
P1x … 752 = P1z … 1.562 = 0.9406 However, this probability includes the event that less than 60 in. of snow will fall, so we
need to subtract this out to get our final result, which is the shaded region in Figure 6.14.
P1x … 602 = P1z … 0.742 = 0.7704 P160 … x … 752 = 0.9406 - 0.7704 = 0.1702
The probability of less than 75 in. falling includes the probability of less than 60 in. falling. Therefore, we need to remove this probability (0.7704) to obtain our final result.
{ figure 6.14 The Probability of Between 60
and 75 in. of Snow Falling in Minneapolis
µ
46.3 60 1.560 0.74
0.9406
0.17020.7704
75
0.9406 – 0.7704 = 0.1702
x scale z scale
In other words, the probability of this much snow falling is considerable less—only a little over a 17% chance. Again, so that you don’t get confused (or tricked), draw the distri- bution to show the area of probability more clearly.
Let’s wrap up this section by calculating a shaded area to the left of the mean. (I don’t want to discriminate against you left-handers). Figure 6.15 shows the probability that between 12 and 35 inches of snow will fall in Minneapolis next year. First, we show the z-scores for x = 12 and x = 35 using Equation 6.2:
z12 = x - m s
= 12 - 46.3
18.4 = - 1.86
z35 = x - m s
= 35 - 46.3
18.4 = - 0.61
{ figure 6.15 The Probability of Between
12 and 35 in. of Snow Falling in Minneapolis
µ
46.335 –0.61
12 –1.86 0
0.2709
0.0314
0.2395
0.2709 – 0.0314 = 0.2395
x scale z scale
This is the probability that less than 35 in. of snow will fall next year.
www.freebookslides.com
260 C h a p t e r 6 | Continuous Probability Distributions
Following the logic from the two previous examples and using Table 3 in Appendix A, we have
P1x … 352 = P1z … - 0.612 = 0.2709 P1x … 122 = P1z … - 1.862 = 0.0314 P112 … x … 352 = 0.2709 - 0.0314 = 0.2395
At this point, I have tortured you with every possible type of interval under a normal distribution. Make me proud and nail this type of question in this next example by solving the following Your Turn problem.
The Wall Street Journal studied four National Football League games during a recent season to deter- mine the number of minutes of actual playing time that occurred during a 3-hour game. Surprisingly (at least to me), the average playing time was only 10.7 minutes per game! Assume the actual playing time per game follows the normal distribution with a standard deviation of 0.8 minutes. Determine the probability that the actual playing time for the next game will be between
a. 9.8 and 11.9 minutes b. 11.0 and 12.1 minutes c. 9.7 and 10.3 minutes
Y o U r t U r N # 3N
Answers can be found on u page 286
Calculating Normal probabilities Using excel Excel is a great tool for calculating normal probabilities. To demonstrate its use, I’m going to rely on a research study from the University of California that reported Americans con- sume an average of 34 gigabytes of data and information per day. Let’s assume that the daily consumption of data per person follows a normal distribution with a standard deviation of 10 gigabytes. If so, what is the probability that a randomly selected American will consume less than 46 gigabytes of data today?
First, we’ll calculate this probability using Table 6.2 and Figure 6.16:
z46 = x - m s
= 46 - 34
10 = 1.20
P1x … 462 = P1z … 1.202 = 0.8849 The probability is 88.49%.
{ figure 6.16 The Probability of an
American Consuming Less Than 46 Gigabytes of Data a Day
µ
34 46 1.200
0.8849
x scale z scale
Now we’ll confirm this result with NORM.DIST, Excel’s built-in function, which has the following characteristics:
= NORM.DIST1x, mean, standard_dev, cumulative2 where
cumulative = FALSE if you want the probability density function (we don’t) cumulative = TRUE if you want the cumulative probability (we do)
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 261
We’ll choose the cumulative probability option (TRUE) because we want to include the probability of 46 gigabytes or less, which is shown in the shaded region in Figure 6.16.
= NORM.DIST146, 34, 10, TRUE2 = 0.8849 We can also use Excel’s NORM.S.DIST function to determine the probability that a
randomly selected American will consume 27 gigabytes or less today. We’ll start by using Table 3 in Appendix A and Figure 6.17 to find this probability:
z27 = x - m s
= 27 - 34
10 = - 0.70
P1x … 272 = P1z … - 0.702 = 0.2420 The probability is only 24.2%.
{ figure 6.17 The Probability of an
American Consuming Less Than 27 Gigabytes of Data a Day
µ
3427 –0.7 0
0.2420
x scale z scale
We can confirm this result with Excel’s NORM.S.DIST function which provides a prob- ability for a specific z-score and has the following characteristics:
= NORM.S.DIST1z, cumulative2 We’ll set cumulative = TRUE because we want to determine the probability of 27 giga-
bytes or less as shown here:
= NORM.S.DIST1 - 0.70, TRUE2 = 0.2420 This result is consistent with the probability found using Table 3 in Appendix A. Occa-
sionally, there will be a slight discrepancy between the probabilities determined from Tables 3 and 4 in Appendix A and those from Excel’s NORM.DIST and NORM.S.DIST functions. This is because Tables 3 and 4 use only two decimal places for z-scores, whereas Excel uses many more. The rounding difference between the two methods is small enough to be ignored.
PHStat has the capability of providing not only the cumulative probabilities just illus- trated but also the probabilities of intervals. For example, I’ll use PHStat for Windows to determine the probability that a randomly selected American will consume between 27 and 46 gigabytes of data today. Using the probabilities shown in Figure 6.16 and Figure 6.17, we can construct the probability of interest, which is shown in Figure 6.18.
{ figure 6.18 The Probability of an
American Using Between 27 and 46 Gigabytes of Data a Day
µ
3427 46 1.20–0.7 0
0.8849
0.6429
0.2420
x scale z scale
0.8849 – 0.2420 = 0.6429
According to Figure 6.18,
P1x … 462 = P1z … 1.202 = 0.8849 P1x … 272 = P1z … - 0.702 = 0.2420 P127 … x … 462 = 0.8849 - 0.2420 = 0.6429
www.freebookslides.com
262 C h a p t e r 6 | Continuous Probability Distributions
We can use PHStat to calculate this probability directly by taking the following two steps:
1. Go to Add-Ins + PHStat + Probability & Prob. Distributions + Normal, as shown in Figure 6.19A.
{ figure 6.19a Calculating a Normal
Probability Using PHStat (Step 1)
{ figure 6.19b Calculating a Normal
Probability Using PHStat (Step 2)
2. Fill in the Normal Probability Distribution dialog box as shown in Figure 6.19B. Click OK.
Figure 6.19C shows the normal probability we found in Figure 6.18. The slight discrep- ancy is due to rounding.
{ figure 6.19C Finished Normal Probabilities
Calculated Using PHStat
Excel for Mac users can go the textbook’s Web site, www. pearsonhighered.com/ donnelly, for these instructions.
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 263
The following Your Turn section will help you hone your skills when it comes to calcu- lating normal probabilities.
A weight-loss program claims that the average weight people lose during the first two weeks of the program is 5.0 lbs. Assuming the weight loss follows the normal distribution with a standard deviation of 3.0 lbs, use Excel and PHStat to answer the following questions.
a. What is the probability that a person on the program will lose less than 7.0 lbs after two weeks? b. What is the probability that a person on the program will gain weight after two weeks? (Hint: For
example, losing 2 lbs means x = 2. Gaining 3 lbs results in x = - 3. Continuous random vari- ables can take on negative values.)
c. What is the probability that a person will lose between 1.0 and 4.0 lbs after two weeks?
Y o U r t U r N # 4N
Answers can be found on u page 286
Using the Normal Distribution to approximate the Binomial Distribution Under the proper conditions, we can use the normal distribution to approximate the binomial probability distribution. Recall from Chapter 5 that a binomial probability distribution is a discrete probability distribution in which only two outcomes—either a success or a fail- ure (hence the term “binomial”). Recall also that the binomial equation will calculate the probability of r successes in n trials, with p = probability of a success for each trial and q = probability of a failure.
The problem is that using the binomial formula from Chapter 5 to calculate probabilities gets very tedious if you have a large number of trials. This is where the normal distribution becomes a convenient tool to use to approximate the binominal distribution. If np Ú 5 and nq Ú 5, we can use the normal distribution to approximate the binomial probability, even though the normal distribution is a continuous distribution and the binomial distribution is not. In other words, if a decent-sized number of successes and number of failures are ob- served (such that np Ú 5 and nq Ú 5), the calculations for a normal distribution—with a few modifications—will work for the binomial distribution.
Binominal approximations are often used in the business world in the area of quality control. For example, Carl’s Jr., a fast-food chain with over 1,000 locations, recently expe- rienced a 10% error rate in its drive-through orders. Carl’s has defined a success as an order that was processed incorrectly, and a failure as an order that was processed correctly. Re- member, the term success used with the binomial distribution is just a label for an outcome and is not necessarily associated with a positive result.
In the following year, the error rate fell to 6%. The reduction was attributed to the chain being able to hire employees with better language skills following a rise in unemployment rates during the period. Essentially, Carl’s Jr. was able to choose applicants from a larger labor pool.
Assuming the chain has a 6% error rate, what is the probability that exactly 7 out of its next 120 drive-through customers will experience mistakes with their orders?
Recall from Chapter 5 that the BINOM.DIST function has the following characteristics:
= BINOM.DIST1x, n, p, cumulative2 where
cumulative = FALSE, if you want to determine the probability of exactly x successes occurring cumulative = TRUE, if you want to determine the probability of x or fewer successes occurring
We can use the normal distribution to approximate the binomial distribution when np Ú 5 and nq Ú 5
www.freebookslides.com
264 C h a p t e r 6 | Continuous Probability Distributions
Because we are counting individual customers, we are using discrete data rather than continuous data. We can use Excel to calculate this binomial probability as follows:
x = 7 n = 120 p = 0.06 = BINOM.DIST17, 120, 0.06, FALSE2 = 0.1531
We use FALSE in the BINOM.DIST function because we are interested in the probabil- ity of exactly seven orders being incorrect.
Also from Chapter 5, the mean and standard deviation of this distribution are as follows:
m = np = 1120210.062 = 7.2 s = 1npq = 11120210.06211 - 0.062 = 16.768 = 2.60
The normal approximation can be used here to calculate binomial probabilities because the following conditions have been met:
np = 1120210.062 = 7.2 Ú 5 nq = 1120211 - 0.062 = 112.8 Ú 5
We can approximate the probability of exactly 7 orders from the next 120 customers be- ing incorrect using the normal distribution. However, we know from earlier in this chapter that P1x = 72 = 0 because the normal distribution is a continuous distribution.
For the normal distribution, we can calculate only the probability for an interval, so we need to make a modification. We create an interval by subtracting 0.5 from 7.0 and adding 0.5 to 7.0, which is known as the continuity correction factor.
We then calculate the z-scores for x = 6.5 and x = 7.5.
z6.5 = x - m s
= 6.5 - 7.2
2.6 = - 0.27
z7.5 = x - m s
= 7.5 - 7.2
2.6 = 0.12
Using Tables 3 and 4 in Appendix A, Figure 6.20, and the normal approximation, we can calculate the probability that exactly seven of the orders will be incorrect as follows:
P1x = 72 = P16.5 … x … 7.52 P1x … 7.52 = P1z … 0.122 = 0.5478 P1x … 6.52 = P1z … - 0.272 = 0.3936 P16.5 … x … 7.52 = 0.5478 - 0.3936 = 0.1542
x represents the number of customers from the 120 whose order was not filled correctly.
The continuity correction factor allows us to approximate the binomial distribution with the normal distribution by adding and subtracting the value 0.5 to create the interval of interest.
{ figure 6.20 The Probability of Exactly
7 Incorrect Orders Occurring Out of 120 Orders
µ
7.2 7.56.5 –0.27 0.120
0.5478
0.5478 – 0.3936 = 0.1542
0.3936
x scale z scale
Notice that this is very close to the results of Excel’s BINOM.DIST function, 0.1531. If we wanted to expand our example to calculate the probability of exactly 7, 8, or 9 incorrect orders, we would examine the area between 6.5 and 9.5 under the normal curve. I’ll be sure to give you a chance to try this type of question in the next Your Turn section.
Let’s explore the probability of 4 or fewer orders of the next 120 being incorrect. Using Excel, we can determine the binomial probability:
= BINOM.DIST14, 120, 0.06, TRUE2 = 0.1473
This is the probability that less than 7.5 of the 120 customers will have an incorrect order.
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 265
We use TRUE in the BINOM.DIST function because we are interested in not just the probability of four orders being correct, but the probability of 0, 1, 2, 3, or 4 orders being incorrect.
Using the continuity correction factor to calculate the normal approximation, we add 0.5 to 4, the right boundary of our interval. The left side of the normal distribution is -∞ and therefore does not need a correction factor. We now calculate the z-score for x = 4.5:
z4.5 = x - m s
= 4.5 - 7.2
2.6 = -1.04
Figure 6.21 shows the normal approximation to the probability that 4 or fewer of Carl’s Jr. drive-through customers from the next 120 arrivals will experience a mistake with their order.
P1x … 4.52 = P1z … - 1.042 = 0.1492
{ figure 6.22 The Probability of More Than 8
Incorrect Orders Occurring Out of 120 Orders
µ
7.2 8.5 0.50
0.6915
0.3085
x scale z scale
{ figure 6.21 The Probability of 4 or Fewer
Incorrect Orders Occurring Out of 120 Orders
µ
7.24.5 –1.04 0
0.1492
x scale z scale
Notice that this is very close to the results of Excel’s BINOM.DIST function, 0.1473. Finally, let’s examine the binomial probability that more than 8 of 120 drive-through
customers will receive incorrect orders. Because this question includes the discrete values 9, 10, 11, and 12, on up to the value of 120, we determine this probability as follows using Excel:
P1x Ú 92 = 1 - P1x … 82 = BINOM.DIST18, 120, 0.06, TRUE2 = 0.7061
P1x 7 82 = P1x Ú 92 = 1 - 0.7061 = 0.2939 Now we need to construct the interval for the normal approximation using the continu-
ity correction factor. Because the value 9 is on the left side of the boundary, we subtract 0.5 from 9. The right side of the normal distribution is + ∞ and therefore does not need a correc- tion factor. We now calculate the z-score for x = 8.5:
z8.5 = x - m s
= 8.5 - 7.2
2.6 = 0.5
Figure 6.22 shows the normal approximation for the probability of more than 8 of 120 drive-through customers experiencing mistakes with their orders.
P1x 7 8.52 = P1z 7 0.52 = 1.0 - 0.6915 = 0.3085
www.freebookslides.com
266 C h a p t e r 6 | Continuous Probability Distributions
This probability is fairly close to the results of Excel’s BINOM.DIST function, 0.2939. Sometimes my students have difficulty deciding when to add and when to subtract the
0.5 continuity correction factor. In general, the rules are as follows:
• Subtract 0.5 from the left side of the boundary, which moves it slightly to the left.
• Add 0.5 to the right side of the boundary, which moves it slightly to the right.
• If the left boundary is -∞ or the right boundary is + ∞, no correction factor is needed for that boundary.
Table 6.4 summarizes these rules and lists some examples to help clarify them.
Be careful of the wording of the probability statement so that you don’t confuse phrases like “less than 3” with “3 or less”; they refer to different discrete values.
{ table 6.4 | Rules for Adding and Subtracting the Continuity Correction Factor When Approximating a Binominal Distribution
probability statement discrete values normal probability
less than 3 0, 1, 2 P1x … 2.52 3 or less 0, 1, 2, 3 P1x … 3.52 exactly 5 5 P14.5 … x … 5.52 exactly 7, 8, or 9 7, 8, 9 P16.5 … x … 9.52 6 or more 6, 7, 8, c, n P1x Ú 5.52 more than 6 7, 8, c, n P1x Ú 6.52
As promised, the next Your Turn section will help you test your skills on this procedure.
A March 13, 2010, Wall Street Journal article reported that, to the chagrin of Microsoft management, approximately 10% of Microsoft employees were iPhone users. Of course, iPhones are a product of Apple, Inc., Microsoft’s biggest competitor. The following is an excerpt from the article, titled “Forbidden Fruit: Microsoft Workers Hide Their iPhones” which highlighted the risk of being an iPhone user at a Microsoft function in September, 2009.
“At an all-company meeting in a Seattle sports stadium, one hapless employee used his iPhone to snap photos of Microsoft Chief Executive Steve Ballmer. Mr. Ballmer snatched the iPhone out of the employee’s hands, placed it on the ground and pretended to stomp on it in front of thousands of Microsoft workers, according to people present.”
Suppose 60 Microsoft employees are randomly selected. Use the normal approximation to the binomial distribution to determine the probability that
a. less than five employees are iPhone users. b. exactly six, seven, eight, or nine employees are iPhone users. c. nine or more employees are iPhone users.
Based on: Nick Wingfield, “Forbidden Fruit: Microsoft Workers Hide Their iPhones,” Wall Street Journal, March 12, 2010.
Y o U r t U r N # 5N
Answers can be found on u page 287
www.freebookslides.com
C h a p t e r 6 | 6.2 Normal Probability Distributions 267
6.2 Section Problems Basic Skills 6.1 For a standard normal distribution, determine the
following:
a. P1z … 1.502 b. P1z … - 1.222 c. P1 - 0.86 … z … 1.762 d. P10.32 … z … 2.152
6.2 For a standard normal distribution, determine the following:
a. P1z 7 1.352 b. P1z 7 - 0.422 c. P1 - 1.70 … z … - 0.652 d. P1 - 1.69 … z … 0.202
6.3 A random variable follows the normal probability distri- bution with a mean of 80 and a standard deviation of 20. What is the probability that a randomly selected value from this population
a. is less than 90? b. is less than 65? c. is more than 110? d. is more than 40?
6.4 A random variable follows the normal probability dis- tribution with a mean of 124 and a standard deviation of 27. What is the probability that a randomly selected value from this population
a. is between 100 and 140? b. is between 130 and 170? c. is between 65 and 90? d. is between 120 and 180?
6.5 A binomial distribution has p = 0.60 and n = 40.
a. What are the mean and standard deviation for this distribution?
b. What is the probability of exactly 27 successes? c. What is the probability of less than 30 successes? d. What is the probability of more than 20 successes?
6.6 A binomial distribution has p = 0.22 and n = 75.
a. What are the mean and standard deviation for this distribution?
b. What is the probability of exactly 11 successes? c. What is the probability of 10 to 18 successes? d. What is the probability of 8 to 15 successes?
applications 6.7 The average number of miles driven on a full tank of gas
in a Hyundai Veracruz before its low-fuel light comes on is 320. Assume this mileage follows the normal distribu- tion with a standard deviation of 30 miles. What is the probability that, before the low-fuel light comes on, the car will travel
a. less than 330 miles on the next tank of gas? b. more than 308 miles on the next tank of gas? c. between 305 and 325 miles on the next tank of gas? d. exactly 340 miles on the next tank of gas?
6.8 According to a recent survey by Smith Travel Research, the average daily rate for a luxury hotel in the United States is $237.22. Assume the daily rate follows a normal probabil- ity distribution with a standard deviation of $21.45.
a. What is the probability that a randomly selected luxury hotel’s daily rate will be 1. less than $250? 2. more than $260? 3. between $210 and $240?
b. The managers of a local luxury hotel would like to set the hotel’s average daily rate at the 80th percentile, which is the rate below which 80% of hotels’ rates are set. What rate should they choose for their hotel?
6.9 Major League Baseball teams have become concerned about the length of games. During a recent season, games averaged 2 hours and 52 minutes (172 minutes) to com- plete. Assume the length of games follows the normal distribution with a standard deviation of 16 minutes.
a. What is the probability that a randomly selected game will be completed in 1. 200 minutes or less? 2. more than 200 minutes? 3. 150 minutes or less? 4. more than 150 minutes? 5. exactly 150 minutes?
b. What is the completion time in which 90% of the games will be finished?
6.10 A study conducted by Hershey’s discovered that Americans consumed an average of 11.4 pounds of chocolate per year (seems low to me). Let’s assume that the annual chocolate consumption follows the normal distribution with a standard deviation of 3.6 pounds.
a. What is the probability that I will consume 1. less than 7 lbs of chocolate next year? 2. more than 9 lbs of chocolate next year? 3. between 8 and 12 lbs of chocolate next year? 4. exactly 10 lbs of chocolate next year?
b. What is the annual consumption of chocolate that rep- resents the 60th percentile?
6.11 According to the Internal Revenue Service, the average income tax refund for the 2011 tax year was $2,913. As- sume the refund per person follows the normal probability distribution with a standard deviation of $950.
a. What is the probability that a randomly selected tax return refund from the 2011 tax year will be 1. more than $2,000? 2. between $1,600 and $2,500? 3. between $3,200 and $4,000?
www.freebookslides.com
268 C h a p t e r 6 | Continuous Probability Distributions
b. Confirm the answers to part a using Excel or PHStat. c. What refund amount represents the 35th percentile of
tax returns?
6.12 Assume the cost of an extended 100,000 mile warranty for a particular SUV follows the normal distribution with a mean of $1,600 and a standard deviation of $75.
a. Determine the interval of warranty costs from various companies that are 1. one standard deviation around the mean. 2. two standard deviations around the mean. 3. three standard deviations around the mean.
b. You see an ad for an extended warranty for this type of vehicle for $1,900. Based on the previous results, what conclusions can you make?
6.13 The average price of a 42-in. television on Best Buy’s Web site is $790. Assume the price of these televisions follows the normal distribution with a standard deviation of $160.
a. What is the probability that a randomly selected televi- sion from the site sells for 1. less than $700? 2. between $400 and $500? 3. between $900 and $1,000
b. Confirm the answers to part a using Excel or PHStat. c. The price intervals in parts a)2 and a)3 are equal
($100). Why are the probabilities so different? d. Suppose I am shopping on Best Buy’s Web site for a
new 42-in. television and my wife (also known as she- who-has-veto-power-over-all-electronic-purchases) suggests we set a budget of $750 for the purchase. There are 15 42-inch televisions on the site. How many televisions are within my budget?
6.14 A credit score measures a person’s creditworthiness. According to the credit-scoring company Experian, the average credit score for Americans in March 2013 was 736. Assume the scores are normally distributed with a standard deviation of 40. Determine the interval of credit scores that are
a. one standard deviation around the mean. b. two standard deviations around the mean. c. three standard deviations around the mean.
6.15 According to eMarketer, adults in the United States aver- age 82 minutes per day on mobile devices in 2012. Assume that minutes per day on mobile devices follow the normal distribution and has a standard deviation of 27 minutes.
a. What is the probability that the amount of time spent today on mobile devices by a particular U.S. adult is 1. less than 70 minutes? 2. more than 65 minutes? 3. between 85 and 110 minutes?
b. Confirm the answers to part a using Excel or PHStat. c. Which number of minutes per day represents the 75th
percentile?
6.16 Curling is a Winter Olympic sport in which people slide a stone along a sheet of ice toward a target area. The game is similar to shuffleboard. Two sweepers with brooms lead the stone along the ice, attempting to influence its path toward the target. According to the Journal of Sports Science and Medicine, the average heart rate of a person who sweeps is 185 beats per minute, as compared with 80 beats per minute for an adult at rest. Assume the heart rate for a sweeper follows the normal distribution with a stan- dard deviation of 5 beats per minute.
a. What is the probability that a sweeper’s heart rate is 1. more than 187 beats per minute? 2. less than 181 beats per minute? 3. between 180 and 183 beats per minute? 4. between 188 and 193 beats per minute?
b. Confirm the answers to part a using Excel or PHStat.
6.17 Census data show that 67% of U.S. students went to col- lege or a trade school within a year of graduating from high school. A random sample of 20 high school gradu- ates is selected. Use the normal approximation to the bi- nomial distribution to answer the following:
a. What are the mean and standard deviation for this distribution?
b. What is the probability that less than 16 of the 20 students will go to college?
c. What is the probability that exactly 16 of the 20 students will go to college?
d. What is the probability that more than 14 of the 20 students will go to college?
e. What is the probability that 10, 11, 12, 13, or 14 of the 20 students will go to college?
6.18 According to the Pew Research Center, 33% of U.S. adults owned a tablet in 2012. Use the normal approxima- tion to the binomial distribution to calculate the probabil- ity that, from a sample of 24 U.S. adults,
a. less than 10 adults own a tablet. b. 6, 7, 8, 9, or 10 adults own a tablet. c. 11, 12, 13, or 14 adults own a tablet. d. exactly seven adults own a tablet.
6.19 According to FlightStats.com, 82.8% of American Airline flights were on time during 2012. Assume this percentage still holds true for American Airlines. Using the normal approximation to the binomial distribution, determine the probability that, of the next 30 American Airlines flights,
a. less than 22 flights will arrive on time. b. exactly 26 flights will arrive on time. c. 21, 22, 23, or 24 will arrive on time. d. 24, 25, 26, 27, or 28 flights will arrive on time.
www.freebookslides.com
C h a p t e r 6 | 6.3 Exponential Probability Distributions 269
where
e = 2.71828 l = The mean number of occurrences over the interval x = Any continuous number of interest You were first introduced to the symbol l (lambda) back in Chapter 5 when the
Poisson probability distribution was discussed. In the example used in Chapter 5, l represented the average number of customers who arrived per hour at a drive-through window for a bank. If l = 12 customers per hour, then the average number of minutes between customers, or m, is
m = 1
l =
1 hour
12 customers *
60 minutes
1 hour = 5 minutes per customer
When the number of arrivals per hour follows the Poisson distribution, the average time between arrivals will follow the exponential distribution. In other words, a discrete ran- dom variable that follows the Poisson distribution with a mean equal to l has a counterpart continuous random variable that follows the exponential distribution with a mean equal to m = 1>l.
The shapes of exponential distributions are shown in Figure 6.23 on the next page. As you can see, the shape of each curve is right-skewed and depends on its mean, m. Recall from Chapter 3, a right-skewed distribution is one where the data are concentrated on the right end of the distribution and as we “ski down the slope” of the distribution, we are moving toward the right.
A discrete random variable that follows the Poisson distribution with a mean equal to l has a counterpart continuous random variable that follows the exponential distribution with a mean equal to μ = 1>l.
6.3 Exponential Probability Distributions
The exponential probability distribution is a continuous distribution that is commonly used to measure the time between events of interest, such as the time between customer arrivals or the time between failures in a business process. The mathematical expression that describes the shape of the curve of such a distribution is known as the exponential probability density function. The function for the curve is shown in Equation 6.3.
Formula 6.3 for the Exponential Probability Density Function
f1x2 = le - lx
6.20 According to Gartner, Inc., 39.2% of mobile phones worldwide use the Android operating system in 2013. A random sample of 30 mobile phone users was selected in 2013. Assuming this estimate is true, use the normal approximation to the binomial distribution to answer the following:
a. Calculate the mean and standard deviation for this distribution.
b. What is the probability that 13 or more of the 30 mo- bile phone users have an Android operating system?
c. What is the probability that exactly 14 of the 30 mobile phone users have an Android operating system?
d. What is the probability that 7, 8, or 9 of the 30 mobile phone users have an Android operating system?
e. What is the probability that 14, 15, or 16 of the 30 mo- bile phone users have an Android operating system?
The exponential probability distribution is a continuous distribution that is commonly used to measure the time between events of interest such as the time between customer arrivals or the time between failures in a business process.
Exponential probability density function the mathematical expression that describes the shape of the exponential probability distribution.
www.freebookslides.com
270 C h a p t e r 6 | Continuous Probability Distributions
There are three major differences between exponential and normal distributions:
1. The exponential distribution is right-skewed, whereas the normal distribution is bell- shaped and symmetrical.
2. The shape of the exponential distribution is completely described by only one param- eter, m. On the other hand, the normal distribution requires two parameters, m and s, to describe its shape.
3. The values for an exponential random variable cannot be negative. For example, it doesn’t make sense for the next customer to arrive - 2 minutes after the previous cus- tomer. There is no such restriction for normal random variables.
As I mentioned earlier, the exponential distribution is particularly good at describing random variables, such as time between customer arrivals, where the majority of the data values tend to be on the left side, or lower end, of the distribution.
Calculating exponential probabilities Let’s put the exponential distribution to work with the following example. Suppose the average time between customer arrivals at the deli counter of a Piggly Wiggly grocery store (awesome name for a store) is 4 minutes. What is the probability that the next customer will arrive at the counter within the next 2 minutes? Figure 6.24 shows the exponential distribution for the deli counter. We are looking for the shaded area under the curve labeled P1x … 22.
{ figure 6.23 Three Exponential Probability
Distributions When l = 3.0, l = 2.0, and l = 1.0
0 0
1.0
1.0
2.0
2.0
3.0
3.0
x
f (x)
= 3.0 ( µ = 0.33)
= 2.0 ( µ = 0.5)
= 1.0 ( µ = 1.0)
{ figure 6.24 An Exponential Distribution for
Customer Arrivals When P(x ≤ 2)
0.25
0 2 4 6 8 100 12
Time Between Customer Arrivals
P (x ≤ 2)
f (x)
To find that area, we use Equation 6.4, which shows the formula for the exponential cumulative distribution function.
Formula 6.4 for the Exponential Cumulative Distribution Function
P1x … a2 = 1 - e - al
Exponential cumulative distribution function used to calculate the probability that a random variable that follows the exponential distribution is less than a specific value.
www.freebookslides.com
C h a p t e r 6 | 6.3 Exponential Probability Distributions 271
where
e = 2.71828 l = The mean number of occurrences over the interval a = Any number of interest First, we need to decide on the value for l, which, quite honestly, is a decision with
which some of my students struggle. One way to help you remember is to realize that l is always a countable rate, such as number of arriving customers per hour. In contrast, m is al- ways a measurable interval, such as the number of minutes between customer arrivals. In our example, we are told that m = 4 minutes per customer, so we need to find l as follows:
l = 1 m
= 1 customer
4 minutes = 0.25 customers per minute
It’s important to remember that l and m are expressed in the same units (that is., minutes in this example). Applying Equation 6.4 to our example with a = 2 minutes, we have the following:
P1x … a2 = 1 - e - al P1x … 22 = 1 - e - 12210.252 = 1 - 12.718282 - 0.5 P1x … 22 = 1 - 0.6065 = 0.3935
There is about a 39% chance that the next customer will arrive within the next 2 minutes.
What about the probability that the next customer will arrive between 4 and 8 minutes from now? We can still use Equation 6.4 by recognizing that
P14 … x … 82 = P1x … 82 - P1x … 42 P1x … 82 = 1 - e - 18210.252 P1x … 42 = 1 - e - 14210.252
= 1 - 0.1353 = 1 - 0.3679 = 0.8647 = 0.6321
P14 … x … 82 = 0.8647 - 0.6321 = 0.2326 Figure 6.25 also shows this shaded area, which is labeled P14 … x … 82.
The parameter l is always a countable rate, such as number of arriving customers per hour. In contrast, m is always a measurable interval, such as the number of minutes between customer arrivals.
{ figure 6.25 An Exponential Distribution for
Customer Arrivals When P14 … x … 82
0.25
0 2 4 6 1080 12
Time Between Customer Arrivals 0.8647
0.6321
0.2326
f (x)
P(x ≤ 4)
P(4 ≤ x ≤ 8)
Therefore, there is a 23.26% chance that the next person will arrive at the Piggly Wiggly deli counter within the next 4 to 8 minutes.
The standard deviation of the exponential distribution is the same as the mean, as Equa- tion 6.5 shows.
Formula 6.5 for the Standard Deviation of the Exponential Distribution
s = m = 1
l
www.freebookslides.com
272 C h a p t e r 6 | Continuous Probability Distributions
So, for exponential distributions, there are no nasty standard deviation calculations that we dealt with in previous chapters. For our Piggly Wiggly example, the standard deviation is simply as follows:
s = m = 4 minutes
As with our previous distributions, the standard deviation of the exponential distribution measures the average variability around the mean of the distribution.
Calculating exponential probabilities Using excel We can confirm the probability that the next customer at a Piggly Wiggly will arrive at the deli counter within the next two minutes using EXPON.DIST, Excel’s built-in function, which has the following characteristics:
= EXPON.DIST1x, l, cumulative2 where
cumulative = FALSE if you want the probability density function cumulative = TRUE if you want the cumulative probability We choose the TRUE option for cumulative because we want the probability that the
next customer will arrive in 2 minutes or less. The parameter l refers to the average rate of arrivals over a specific interval. In our Piggly Wiggly example, customers arrive, on average, every four minutes 1m2. We can convert this average value into a rate 1l2 as follows:
m = 4 minutes per customer
l = 1 m
= 1 customer
4 minutes = 0.25 customers per minute
An average of 0.25 customers each minute is equivalent to
a 0.25 customers minute
b a 60 minutes hour
b = 15 customers per hour
In other words, if customers are arriving every 4 minutes, 15 customers arrive in 1 hour (there are 15 four-minute intervals in an hour). It’s simply a matter of explaining the same in- formation two different ways. However, the terms m and l must be based on the same units. If m is expressed in minutes per customer, then l must be expressed in customers per minute.
We’re now ready to use the EXPON.DIST function to calculate P1x … 22 with l = 0.25. = EXPON.DIST12, 0.25, TRUE2 = 0.3935
As you can see, our result, P1x … 22 = 0.3935 matches what we obtained using Equation 6.4.
Take a shot (no pun intended) on the next Your Turn problem that involves using the exponential distribution in the National Hockey League.
During the 2011–2012 National Hockey League season, the Detroit Red Wings led the league in shots on goal, averaging 32.2 per 60-minute game. Assume that the number of minutes between shots on goal follows the exponential distribution.
a. Calculate the following probabilities using Equations 6.4 and 6.5 and verify them using Excel.
1. The probability that the next shot on goal will occur during the next minute.
2. The probability that the next shot on goal will occur between 2 and 3 minutes from now. b. Verify your answers from part a using Excel. c. What is the standard deviation for this distribution?
(Because I’m such a nice guy, I’ll give you the following hint: You need to convert 32.2 shots per hour into minutes between shots.)
Y o U r t U r n # 6N
Answers can be found on u page 287
www.freebookslides.com
C h a p t e r 6 | 6.4 Uniform Probability Distributions 273
6.3 Section Problems Basic Skills 6.21 An exponential probability distribution has a mean equal
to 10 minutes per customer. Calculate the following prob- abilities for the distribution:
a. P1x … 122 b. P1x … 22 c. P1x … 102 d. P1x … 52
6.22 An exponential probability distribution has a mean equal to 7 minutes per customer. Calculate the following prob- abilities for the distribution:
a. P1x 7 122 b. P1x 7 32 c. P17 … x … 102 d. P11 … x … 52
6.23 An exponential probability distribution has lambda equal to 24 customers per hour. What is the probability that the next customer will arrive
a. within the next minute? b. within the next 30 seconds? c. within the next 5 minutes? d. within the next 10 minutes?
6.24 An exponential probability distribution has lambda equal to 18 customers per hour. What is the probability that the next customer will arrive
a. within the next 45 seconds? b. within the next 1 to 3 minutes? c. within the next 2 to 5 minutes? d. within the next 4 to 10 minutes?
applications 6.25 Suppose that the average time a fully charged 6-volt lap-
top battery will operate a computer is 3.2 hours and fol- lows the exponential probability distribution.
a. Determine the probability that the next charge will last 1. less than 2 hours. 2. between 2.5 and 4.0 hours. 3. more than 3.5 hours.
b. Confirm the answers to part a using Excel.
6.26 Assume the average time between students walking up to my desk during a statistics exam to ask a question in a desperate attempt to gain some insight into how to solve a problem is 8 minutes and follows the exponential prob- ability distribution.
a. What is the probability that the next desperate student will approach my desk 1. within the next 2 minutes? 2. within the next 4 minutes? 3. between the next 3 to 5 minutes? 4. in more than 10 minutes?
b. Confirm the answers to part a using Excel.
6.27 Customers arrive at a local ATM at an average rate of 15 per hour. Assume the time between arrivals follows the exponential probability distribution.
a. What is the probability that the next customer will arrive 1. within the next 3 minutes? 2. in more than 7 minutes? 3. between 4 and 8 minutes?
b. Confirm the answers to part a using Excel.
6.28 During lunch hour, customers arrive at a fast-food drive-through window, on average, every 2.5 minutes. Assume arrival time follows the exponential probability distribution.
a. What is the probability that the next customer will arrive 1. within the next 2 minutes? 2. in more than 5 minutes? 3. between 1 and 4 minutes?
b. Confirm the answers to part a using Excel.
6.4 Uniform Probability Distributions Our third and final continuous distribution is the continuous uniform probability distribution, where the probability of any interval in the distribution is equal to any other interval with the same width. To illustrate this distribution, I’ll use the following example. I have always con- sidered myself an incredibly lucky man because I have a wife who loves to play golf almost as much as I do. As a matter of fact, Deb’s last birthday present was a golf club. (I’ll take shopping for golf equipment over jewelry anytime!)
The pace of play is a very important statistic for golf course management. Courses that have a reputation for slow play risk losing golf clientele who do not wish to spend their
With the continuous uniform probability distribution, the probability of any interval in the distribution is equal to any other interval with the same width.
www.freebookslides.com
274 C h a p t e r 6 | Continuous Probability Distributions
entire round waiting for the group in front of them to finish. Suppose the time that it takes to play a round of golf at Deerfield Golf Club follows the uniform probability distribution with a minimum time of 4 hours (240 minutes) and a maximum time of 4 hours and 50 minutes (290 minutes). This means that any 1-minute interval within this range of time has the same probability of occurring. Let’s explore how to determine the probability that our next round of golf at Deerfield will take less than 4 hours and 12 minutes (252 minutes).
The mathematical expression that describes the shape of the uniform distribution is known as the continuous uniform probability density function. The formula for the function is shown in Equation 6.6.
For example, the probability of finishing a round between 240 and 250 minutes is the same as the probability of finishing between 260 and 270 minutes. Both intervals are 10 minutes long.
Formula 6.6 for the Continuous Uniform Probability Density Function
f1x2 = 1 b - a
if a … x … b
f1x2 = 0 otherwise
where
a = Smallest allowable continuous random variable b = Largest allowable continuous random variable For our Deerfield example,
a = 240 14 hours2 b = 290 14 hours 50 minutes2 f1x2 = 1
b - a =
1
290 - 240 =
1
50 = 0.02
The shape of the uniform probability distribution, which is shown in Figure 6.26, is rect- angular. This particular uniform distribution has a height of f1x2 = 0.02 between a = 240 and b = 290 minutes.
{ figure 6.26 A Continuous Uniform
Distribution
a b 240 290
0.02
Time to Complete Round of Golf (Minutes)
area = 1.0
f (x)
The value f (x) in Figure 6.26 refers to the probability of a one-unit interval within the distribution occurring. For example, the probability that the next round of golf will be com- pleted between the 240th and 241st minutes equals 2%. The probability that the next round of golf will be completed between the 241st and 242nd minute also equals 2%, and so on. Because there are 50 of these 1-minute intervals in this distribution, the total probability, or area, for our distribution equals
10.0221502 = 1.0 To find the probability that a continuous uniform random variable will fall between two
particular values, which we will refer to as x1 and x2, we use Equation 6.7, which shows the uniform cumulative distribution function.
Continuous uniform probability density function the mathematical expression that describes the shape of the continuous uniform probability distribution.
Uniform cumulative distribution function used to calculate the probability that a random variable that follows the uniform distribution is between two specific values.
www.freebookslides.com
C h a p t e r 6 | 6.4 Uniform Probability Distributions 275
This equation essentially calculates the area of the distribution between the values x1 and x2. To determine the probability that the next round of golf at Deerfield will take less than 252 minutes, we use Equation 6.7, as follows:
x1 = 240 x2 = 252
P1x1 … x … x22 = x2 - x1 b - a
P1240 … x … 2522 = 252 - 240 290 - 240
= 12
50 = 0.24
There is a 24% chance that the next round of golf at Deerfield will be completed in less than 4 hours and 12 minutes (252 minutes). The shaded area in Figure 6.27 illustrates this probability.
Formula 6.7 for the Uniform Cumulative Distribution Function
P1x1 … x … x22 = x2 - x1 b - a
{ figure 6.27 A Continuous Uniform Distribu-
tion When P(240 ≤ x ≤ 252)
a b 240 252 290
0.760.24
0.02
P(240 ≤ x ≤ 252)
Time to Complete Round of Golf (Minutes)
f (x)
Next, we’ll look at the probability that the next round of golf at Deerfield will be completed between 4 hours and 10 minutes (250 minutes) and four hours and 45 minutes (285 minutes) using Equation 6.7.
x1 = 250 x2 = 285
P1x1 … x … x22 = x2 - x1 b - a
P1250 … x … 2852 = 285 - 250 290 - 240
= 35
50 = 0.70
There is a 70% chance that the next round of golf at Deerfield will be completed within this time interval. The shaded area in Figure 6.28 illustrates this probability.
{ figure 6.28 A Continuous Uniform
Distribution When P(250 ≤ x ≤ 285)
a b 240 250 285 290
0.70
0.02
P(250 ≤ x ≤ 285)
Time to Complete Round of Golf (Minutes)
f (x)
www.freebookslides.com
276 C h a p t e r 6 | Continuous Probability Distributions
What happens if we try to calculate the probability that the next round will take exactly 250 minutes? For this example, both x1 and x2 equal 250. Using Equation 6.7, we have
P1x1 … x … x22 = x2 - x1 b - a
P1250 … x … 2502 = 250 - 250 290 - 240
= 0
50 = 0
No, I didn’t make a mistake here. This result is consistent with the statement made ear- lier in the chapter that we can discuss only the probability of a particular interval occurring for continuous distributions. The probability of arriving at an exact value for these types of distributions will always be equal to zero.
The managers of the Deerfield course have a goal that 80% of the rounds played on the course will be completed within 4 hours and 30 minutes (270 minutes). Is this goal being met under the current uniform distribution? To answer this question, we need to find the value of x2 in Equation 6.7 that covers 80% of the area under the distribution. This is also known as the 80th percentile of the distribution. Figure 6.29 shows this graphically.
The probability that a continuous random variable will equal an exact value, such as 250 in this example, will always be equal to zero.
Recall that percentiles were introduced in Chapter 3 and represent the approximate percentage of values that are below the value of interest.
{ figure 6.29 The 80th Percentile of a
Continuous Uniform Distribution
a b 290
0.80
0.02
Time to Complete Round of Golf (Minutes)
f (x)
x1 = 240 x2 = ?
I’ll rearrange Equation 6.7 in terms of x2, knowing that x1 = 240 and b - a = 290 - 240 = 50.
P1x1 … x … x22 = x2 - x1 b - a
= 0.80
x2 - 240
50 = 0.80
x2 = 10.8021502 + 240 = 280 minutes Eighty percent of the rounds will be completed within 4 hours and 40 minutes
(280 minutes). Because this value exceeds 270 minutes, the goal set by Deerfield’s manag- ers is not being met. Perhaps they need to consider making the course easier to speed up the pace of play. (Sounds like a great idea to me.)
The formulas for calculating the mean and standard deviation of the uniform continuous probability distribution are shown in Equations 6.8 and 6.9.
Formula 6.8 for the Mean of the Continuous Uniform Distribution
m = a + b
2
www.freebookslides.com
C h a p t e r 6 | 6.4 Uniform Probability Distributions 277
The mean and standard deviation for our Deerfield example are as follows:
m = a + b
2 =
240 + 290 2
= 265
s = b - a112 = 290 - 240112 = 503.46 = 14.45
According to our distribution, the average time to complete a round of golf at Deerfield is 265 minutes with a standard deviation of 14.45 minutes.
The next Your Turn section will give you the opportunity to test your uniform probabil- ity distribution skills.
Formula 6.9 for the Standard Deviation of the Continuous Uniform Distribution
s = b - a112
Suppose the actual flight times for American Airlines nonstop flights between Philadelphia and Orlando follows the uniform probability distribution. Assume the minimum flight time between these two cities is 140 minutes and the maximum time is 170 minutes.
a. Determine the probability that the next flight will take less than 145 minutes. b. Determine the probability that the next flight will take between 148 and 165 minutes. c. Suppose American Airlines has a goal that 75% of the flights will require less than 165 minutes to
complete. Is this goal being met under the current probability distribution? d. Calculate the mean and standard deviation for this distribution.
Y o u r t u r n # 7N
Answers can be found on u page 287
6.4 Section Problems Basic Skills 6.29 A random variable follows the continuous uniform distri-
bution between 20 and 50.
a. Calculate the following probabilities for the distribution: 1. P1x … 252 2. P1x … 302 3. P1x … 452 4. P1x = 282
b. What are the mean and standard deviation of this distribution?
6.30 A random variable follows the continuous uniform distri- bution between 60 and 95.
a. Calculate the following probabilities for the distribution: 1. P1x 7 632 2. P1x 7 702 3. P1x 7 882 4. P1x = 752
b. What are the mean and standard deviation of this distribution?
6.31 A random variable follows the continuous uniform distri- bution between 20 and 120.
a. Calculate the following probabilities for the distribution: 1. P140 … x … 602 2. P155 … x … 1002 3. P180 … x … 1102
b. What are the mean and standard deviation of this distribution?
6.32 A random variable follows the continuous uniform distri- bution between 130 and 300.
a. Calculate the following probabilities for the distribution: 1. P1180 … x … 2602 2. P1130 … x … 2002 3. P1x 7 1502
b. What are the mean and standard deviation of this distribution?
www.freebookslides.com
278 C h a p t e r 6 | Continuous Probability Distributions
applications 6.33 The time required for housekeeping to clean a hotel room
for the next customer varies between 25 and 45 minutes and follows the continuous uniform distribution.
a. Calculate the value of f1x2. b. What are the mean and standard deviation for this
distribution? c. What is the probability that the next room will require
exactly 30 minutes to clean? d. What is the probability that the next room will require
less than 32 minutes to clean? e. What is the probability that the next room will require
more than 36 minutes to clean? f. What is the probability that the next room will require
between 28 and 34 minutes to clean? g. What time represents the 70th percentile of this
distribution?
6.34 Assume the time required to pass through security at a particular airport follows the continuous uniform distribu- tion with a minimum time of 5 minutes and maximum time of 30 minutes.
a. Calculate the value of f1x2. b. What are the mean and standard deviation for this
distribution? c. What is the probability that the next passenger will re-
quire less than 25 minutes to pass through security? d. What is the probability that the next passenger will re-
quire more than 20 minutes to pass through security? e. What is the probability that the next passenger will
require between 8 and 15 minutes to pass through security?
f. What time represents the 75th percentile of this distribution?
6.35 The commute time to work for a particular employee fol- lows a continuous uniform distribution with a minimum time of 10 minutes and maximum time of 22 minutes.
a. Calculate the value of f1x2. b. What are the mean and standard deviation for this
distribution? c. What is the probability that the employee’s next com-
mute to work will require less than 12.5 minutes? d. What is the probability that the employee’s next com-
mute to work will require more than 14.5 minutes? e. What is the probability that the employee’s next com-
mute to work will require between 11 and 20 minutes? f. What commute time represents the 40th percentile of
this distribution?
6.36 A vending machine located in a local office dispenses cof- fee that varies from 7.4 to 8.2 ounces. The volume of cof- fee dispensed follows a continuous uniform distribution.
a. Calculate the value of f1x2. b. What are the mean and standard deviation for this
distribution? c. What is the probability that the next cup of coffee will
contain more than 8.0 ounces of coffee? d. What is the probability that the next cup of coffee will
contain exactly 7.5 ounces of coffee? e. What is the probability that the next cup of coffee will
contain less than 8.1 ounces of coffee? f. What is the probability that the next cup of coffee will
contain between 7.5 and 8.0 ounces of coffee? g. What volume represents the 15th percentile of this
distribution?
www.freebookslides.com
279
■ Continuous random variables are outcomes that take on any numerical value in an interval, includ- ing numbers with decimal points.
• The probability that a continuous random variable equals a specific value is always equal to zero.
■ A normal probability distribution has the following characteristics:
• The distribution is bell-shaped and symmetrical around the mean.
• Because the shape of the distribution is symmetrical, the mean and median are the same value.
• Random variables around the mean, where the curve is the tallest, have a higher likelihood of oc- curring than values toward the ends of the distribution, where the curve is lower.
• The total area under the curve is always equal to 1.0.
• Because the distribution is symmetrical around the mean, the area to the left of the mean equals 0.5 as does the area to the right of the mean.
• The left and right ends of the distribution extend indefinitely, never quite touching the horizontal axis.
■ A smaller standard deviation results in a skinnier curve that’s tighter and taller around the mean.
■ A larger s (standard deviation) makes for a fatter curve that’s more spread out and not as tall.
■ The normal distribution’s z-score determines the number of standard deviations that a particular value, x, is from the mean.
■ In general, z-scores follow a normal distribution with m = 0 and s = 1.
■ The z-scores for a normal distribution
• are negative for values of x that are less than the distribution mean.
• are positive for values of x that are more than the distribution mean.
• are zero at the mean of the distribution.
■ According to the empirical rule, if a distribution follows a bell-shape, symmetrical curve centered around the mean, approximately 68%, 95%, and 99.7% of the values will fall within one, two, and three standard deviations above and below the mean respectively.
■ We can use the normal probability distribution to approximate a binomial probability distribution if np Ú 5 and nq Ú 5. • The continuity correction factor allows us to approximate the binomial distribution with a normal distribution by adding and subtracting the value 0.5 to the interval of interest.
■ The exponential probability distribution is a continuous distribution that is commonly used to measure the time between events of interest such as the time between customer arrivals or the time between failures in a business process.
■ The exponential distribution is the continuous counterpart of the discrete Poisson distribution from Chapter 5.
• For example, if a random variable follows the exponential distribution with an average time be- tween arrivals of 5 minutes 1m = 52, then the same random variable also follows the Poisson distribution with a mean of 0.2 customers per minute 1l = 0.22.
■ With a continuous uniform distribution, the probability of any interval in the distribution is equal to any other interval with the same width.
Chapter 6 Summary
www.freebookslides.com
280
Continuity correction factor. A factor that allows us to approxi- mate a binomial distribution using the normal distribution by adding and subtracting the value 0.5 to the interval of interest.
Continuous random variables. Outcomes that take on any numerical value in an interval as a result of conducting an experiment.
Continuous uniform probability density function. The math- ematical expression that describes the shape of the continuous uniform probability distribution.
Continuous uniform probability distribution. A distribution in which the probability of any interval occurring is equal to any other interval with the same width.
Empirical rule. A rule that states that approximately 68%, 95%, and 99.7% of a distribution’s data values will fall within one, two, and three standard deviations above and below the mean, respectively, if the distribution is symmetrical and bell shaped.
Exponential cumulative distribution function. Used to calcu- late the probability that a random variable that follows the exponential distribution is less than a specific value.
Exponential probability density function. The mathematical expression that describes the shape of the exponential prob- ability distribution.
Exponential probability distribution. A continuous distribution that is commonly used to measure the time between events of interest, such as the time between customer arrivals or the time between failures in a business process.
Normal probability density function. The mathematical ex- pression that describes the shape of the normal probability distribution.
Normal probability distribution. A continuous distribution that is bell shaped and symmetrical around its mean.
Standard normal distribution. A normal distribution with m = 0 and s = 1.
Uniform cumulative distribution function. Used to calculate the probability that a random variable that follows the uniform distribution is between two specific values.
z-score. Determines the number of standard deviations a particu- lar value, x, is from the mean of its distribution.
Chapter 6 Key Terms
Chapter 6 Equations
P1x … a2 = 1 - e - alFormula 6.4 for the Exponential Cumulative Distribution Function
f1x2 = le - lx 6.3 Exponential Probability Distributions (pp 269–273)
Formula 6.2 for the z-score z = x - m s
f1x2 = 1 s12p e - 11>2231x - m2>s426.2 Normal Probability Distributions (pp 250–269)
f1x2 = 1 b - a
if a … x … b
f1x2 = 0 otherwise
6.4 Uniform Probability Distributions (pp 273–278)
Formula 6.5 for the Standard Deviation of the Exponential Distribution s = m = 1
l
Formula 6.1 for the Normal Probability Density Function
Formula 6.3 for the Exponential Probability Density Function
Formula 6.6 for the Continuous Uniform Probability Density Function
www.freebookslides.com
281
s = b - a112Formula 6.9 for the Standard Deviation of the Uniform Distribution
m = a + b
2
Formula 6.7 for the Uniform Cumulative Distribution Function P1x1 … x … x22 = x2 - x1 b - a
Formula 6.8 for the Mean of the Continuous Uniform Distribution
Chapter 6 Problems 6.37 According to the National Association of Childcare
Resources and Referral Agencies, the average cost of care for an infant in a child-care center in Delaware was $8,769 a year. Assume this cost follows a normal distribution with a standard deviation of $925.
a. What is the probability that a randomly selected child- care center in Delaware costs 1. more than $8,000 per year for infant care? 2. more than $9,000 per year for infant care? 3. between $8,500 and $9,500 per year for infant care?
b. Use Excel or PHStat to confirm the answers in part a. c. Determine the rate a child-care center that wishes to be
in the 60th percentile in the state of Delaware should charge for an infant.
6.38 The average U.S. monthly cable bill in 2012 has been re- ported to be $86. Assume monthly cable bills follow a nor- mal distribution with a standard deviation of $9.50.
a. What is the probability that a randomly selected bill will be 1. less than $80? 2. less than $90? 3. exactly $85? 4. between $75 and $95?
b. Use Excel or PHStat to confirm the answers in part a. c. Which monthly cable bill represents the 75th percentile?
6.39 Assume that the number of miles a particular brand of tire lasts before it needs to be replaced follows a normal distribution with a mean of 45,600 miles and a standard deviation of 5,800 miles.
a. What is the probability that the next tire of this brand sold will last 1. more than 36,000 miles before it needs to be replaced? 2. less than 42,000 miles before it needs to be replaced? 3. between 45,000 and 55,000 miles before it needs to
be replaced? b. Use Excel or PHStat to confirm the answers in part a. c. What is the mileage that 90% of the tires of this brand
will survive before needing to be replaced?
6.40 Assume the room rate for a three-star hotel in Paris follows a normal distribution with a mean of 175 euros and a stan- dard deviation of 16 euros.
a. What is the probability that a randomly selected three- star hotel has a room rate of 1. less than 195 euros? 2. more than 180 euros? 3. exactly 170 euros? 4. between 150 and 182 euros?
b. Use Excel or PHStat to confirm the answers in part a.
c. A particular hotel would like to set its rate so that only 20% of the hotels in Paris will have lower rates. What room rate should the hotel set?
6.41 On weeknights, the average number of hours of sleep per night adults 55–84 years of age get is 7.0. Assume this ran- dom variable follows a normal distribution with a standard deviation of 1.1 hours.
a. What is the probability that a randomly selected adult from this age group will get 1. more than 6.0 hours of sleep tonight? 2. less than 5.0 hours of sleep tonight? 3. between 6.3 and 8.0 hours of sleep tonight? 4. between 5.6 and 6.5 hours of sleep tonight?
b. Use Excel or PHStat to confirm the answers in part a. c. How many hours of sleep will an adult in this age group
get if they are in the 35th percentile?
6.42 Assume the selling prices of homes in a particular com- munity follow a normal distribution with a mean of $285,700 and a standard deviation of $46,100. Deter- mine the range of selling prices in this community that includes
a. one standard deviation around the mean. b. two standard deviations around the mean. c. three standard deviations around the mean.
www.freebookslides.com
282
6.43 TomTom, the producer of GPS devices, reported that the fastest drivers in the nation are in Mississippi. In Mississippi, interstate drivers average 70.1 miles per hour. Assume that the speed of cars traveling on Mississippi’s interstates follows the normal distribution with a standard deviation of 7.2 miles per hour.
a. What is the probability that a randomly selected car on a Mississippi interstate is traveling 1. faster than 65 miles per hour? 2. slower than 72 miles per hour? 3. between 60 and 66 miles per hour? 4. between 78 and 85 miles per hour?
b. Confirm the answers to part a with Excel or PHStat. c. What average speed should I drive if I want to travel
faster than 70% of the cars on the interstate?
6.44 According to the Organisation for Economic Co-operation and Development (OECD), South Koreans worked an average of 2,090 hours per year in 2011 (compared with 1,787 for work- ers in the United States). Assume this random variable follows a normal distribution with a standard deviation of 420 hours.
a. What is the probability that a randomly selected South Korean worked 1. less than 1,800 hours? 2. between 2,000 and 2,200 hours? 3. between 1,200 and 1,600 hours? 4. between 2,300 and 2,500 hours?
b. Confirm the answers to part a using Excel or PHStat. c. How many hours will a South Korean work if he or she
is in the 90th percentile in terms of the hours an average Korean works?
6.45 In a recent, USA Today article titled Consumers Are Caught in a Sugar Battle, Americans consume an average of 22.2 teaspoons of sugar per day. Assume daily sugar consump- tion follows the normal distribution with a standard devia- tion of 6.5 teaspoons.
a. What is the probability that a randomly selected American will consume 1. more than 25 teaspoons of sugar today? 2. between 20 and 27 teaspoons of sugar today? 3. between 10 and 18 teaspoons of sugar today? 4. between 28 and 35 teaspoons of sugar today?
b. Confirm the answers to part a with Excel or PHStat. c. How many teaspoons of sugar will a person consume
today if he or she is in the 65th percentile?
6.46 According to the U.S. Labor Department, average weekly wages in February 2013 were $822. Assume weekly wages in the United States follow the normal distribution with a standard deviation of $190.
a. What is the probability that a randomly selected worker in the United States earned 1. less than $900 per week? 2. between $800 and $920 per week?
3. between $550 and $700 per week? 4. between $750 and $1,100 per week?
b. Confirm the answers to part a with Excel or PHStat. c. What weekly wage will a person earn if he or she is in
the 45th percentile?
6.47 The RAD Construction Company has been awarded a con- tract with the state of Delaware to replace a bridge on Pike Creek Road. Based on experience with previous projects, RAD feels the project completion time follows a normal distribution with a mean of 92 days and a standard deviation of 9 days. RAD anticipates the net profit for completing the project is $125,000. If the company completes the project in less than 84 days, it will receive an additional $20,000 bonus from the state. If it takes longer than 106 days to com- plete the project, the state of Delaware will penalize RAD $15,000. What is RAD’s expected profit for the project?
6.48 Pew Research Center surveyed adults who were 18–64 years old and had their own children under age 18 living in their household in 2011 on the amount of time spent on various activities. The results indicated that dads spent an average of 10 hours per week doing housework (compared to 18 hours per week for moms). Assume the hours per week doing housework follows the normal probability dis- tribution with a standard deviation of 3.2 hours per week and that these statistics still hold true.
a. What is the probability that a randomly selected dad from this group spent 1. less than 11 hours doing housework this week? 2. more than 12 hours doing housework this week? 3. between 7 and 9 hours doing housework this week? 4. between 8 and 15 hours doing housework this week?
b. Use Excel or PHStat to confirm the answers in part a. c. How many of hours of housework will a dad in this
group perform if he is in the 70th percentile?
6.49 Pew Research Center surveyed adults that were 18–64 years old and had their own children under age 18 living in their household in 2011 on the amount of time spent on various activities. The results indicated that moms spent an average of 21 hours per week doing paid work (compared to 37 hours per week for dads). Assume the hours per week doing paid work follows the normal probability distribution with a standard deviation of 6.7 hours per week and that these statistics still hold true.
a. What is the probability that a randomly selected mom from this group spent 1. less than 18 hours doing paid work this week? 2. more than 18 hours doing paid work this week? 3. between 23 and 30 hours doing paid work this week? 4. between 11 and 19 hours doing paid work this week?
b. Use Excel or PHStat to confirm the answers in part a. c. How many of hours of paid work will a mom in this
group perform if she is in the 20th percentile?
www.freebookslides.com
283
6.50 The recent economic recession caused a plunge in new cars sales from 2008 to 2010. This trend resulted in a significant shortage of used cars during the next few years which, in turn, pushed up used car prices. Suppose that the average price of a 5-year-old used car is $16,230 with a standard deviation of $4,740. Assume that the price of a 5-year-old used car follows the normal probability distribution.
a. What is the probability that a randomly selected 5-year- old car costs 1. less than $18,500? 2. more than $11,300? 3. between $10,000 and $14,000? 4. between $12,500 and $17,000?
b. Use Excel or PHStat to confirm the answers in part a. c. What is the cost of a 5-year-old car in the 90th
percentile?
6.51 In an effort to hold colleges accountable for the benefits of a degree, legislation has been recently proposed to require institutions to provide prospective students with salary infor- mation for graduates. The state of Virginia has traditionally published starting salary data for their graduating students. For example, the average salary of James Madison Univer- sity (JMU) students who have recently earned a bachelor’s degree was reported to be $35,224. Assume the starting sal- ary for a recent JMU graduate follows the normal probability distribution with a standard deviation of $5,070.
a. What is the probability that a randomly selected JMU graduate from this class had a starting salary 1. less than $40,000? 2. more than $38,000? 3. between $24,000 and $32,000? 4. between $30,000 and $40,000?
b. Use Excel or PHStat to confirm the answers in part a. c. What starting salary of a JMU graduating student from
this class is in the 75th percentile?
6.52 Automotive dealerships have made recent efforts to reduce the amount of time required to purchase a car. One strategy is to use the Internet to streamline the process by provid- ing prospective buyers with car information. According to J.D. Powers, the average number of minutes to negotiate a deal to purchase a car at the dealership was 60.3 minutes in 2012. Assume the number of minutes to negotiate a deal follows the normal probability distribution with a standard deviation of 17.9 minutes and that these statistics still hold true.
a. What is the probability that a random customer spent 1. less than 30 minutes negotiating a deal? 2. more than 45 minutes negotiating a deal? 3. between 50 and 90 minutes negotiating a deal? 4. between 65 and 85 minutes negotiating a deal?
b. Use Excel or PHStat to confirm the answers in part a. c. How many minutes of negotiating are in the 35th
percentile?
6.53 In spite an unemployment rate of 26% and an economy in crisis, 70% of Spaniards responded that they were in fa- vor of keeping the euro rather than returning to the peseta and the national currency in 2012. A random sample of 32 Spaniards was selected. Use the normal approximation to the binomial distribution to answer the following:
a. Calculate the mean and standard deviation for this distribution.
b. What is the probability that 20 or more Spaniards from this sample are in favor of retaining the euro?
c. What is the probability that exactly 22 Spaniards from this sample are in favor of retaining the euro?
d. What is the probability that 15, 16, 17, 18, or 19 Spaniards from this sample are in favor of retaining the euro?
e. What is the probability that less than 24 Spaniards from this sample are in favor of retaining the euro?
6.54 According to Leichtman Research Group, 69% of U.S. households had at least one HDTV in 2012. A random sam- ple of 20 U.S. homes was selected. Use the normal approxi- mation to the binomial distribution to answer the following:
a. Calculate the mean and standard deviation for this distribution.
b. What is the probability that 12 or more households own at least one HDTV?
c. What is the probability that exactly 16 households own at least one HDTV?
d. What is the probability that 11, 12, or 13 households own at least one HDTV?
e. What is the probability that 18 or 19 households own at least one HDTV?
6.55 A process produces strings of Christmas tree lights that historically have experienced a defective rate of 4%. A customer has placed an order for 150 strings of lights. Use the normal approximation to the binomial distribution to answer the following:
a. Calculate the mean and standard deviation for this distribution.
b. What is the probability that less than 2 strings in this or- der will be defective?
c. What is the probability that exactly 7 strings in this order will be defective?
d. What is the probability that 3, 4, or 5 strings in this order will be defective?
e. What is the probability that 8, 9, or 10 strings in this or- der will be defective?
6.56 A recent survey conducted by the Allstate Foundation reported that 68% of teens admitted to texting while driving. A random sample of 40 teens is selected. Use the normal approximation to the binomial distribution to answer the following:
a. Calculate the mean and standard deviation for this distribution.
b. What is the probability that less than 29 teens of the 40 admit to texting while driving?
www.freebookslides.com
284
c. What is the probability that exactly 24 teens of the 40 admit to texting while driving?
d. What is the probability that more than 32 teens of the 40 admit to texting while driving?
e. What is the probability that 26, 27, or 28 teens of the 40 admit to texting while driving?
6.57 Much of the NCAA men’s basketball tournament, oth- erwise known as March Madness, takes place during the workweek. According to CouponCabin.com, 34% of em- ployed adults who plan to watch at least one game plan to watch tournament games from work in 2013. A random sample of 50 employed adults who plan to watch at least one tournament game was selected. Use the normal ap- proximation to the binomial distribution to answer the following:
a. Calculate the mean and standard deviation for this distribution.
b. What is the probability that more than 19 adults from this sample will watch March Madness at work?
c. What is the probability that exactly 15 adults from this sample will watch March Madness at work?
d. What is the probability that less than 23 adults from this sample will watch March Madness at work?
e. What is the probability that 12, 13, 14, 15, 16, or 17 adults from this sample will watch March Madness at work?
6.58 According to the U.S. Census Bureau, 47.5% of the U.S. population lives in the Eastern Time Zone. A random sample of 50 U.S. residents is selected. Use the normal approximation to the binomial distribution to answer the following:
a. Calculate the mean and standard deviation for this distribution.
b. What is the probability that less than 20 people from the sample live in the Eastern Time Zone?
c. What is the probability that exactly 27 people from the sample live in the Eastern Time Zone?
d. What is the probability that more than 22 people from the sample live in the Eastern Time Zone?
e. What is the probability that 26, 27, or 28 people from the sample live in the Eastern Time Zone?
6.59 The average number of days that a house was on the market in Austin, Texas, in January 2013 was 71 days. Assume the time on the market follows an exponential probability distribution.
a. What is the probability that a randomly selected house will be on the market less than 50 days?
b. What is the probability that a randomly selected house will be on the market between 70 and 100 days?
c. What is the probability that a randomly selected house will be on the market exactly 80 days?
d. Use Excel to verify the results from parts a and b. e. What is the standard deviation for this distribution?
6.60 During a recent men’s college basketball season, the Villanova Wildcats averaged 22.1 personal fouls per 40-minute game. Assume the time between personal fouls follows an expo- nential distribution.
a. What is the probability that the next personal foul com- mitted by Villanova will occur within the first minute of a game?
b. What is the probability that the next personal foul com- mitted by Villanova will occur between the first 2 and 4 minutes of a game?
c. What is the probability that the next personal foul com- mitted by Villanova will occur more than 3 minutes after the start of a game?
d. Use Excel to verify the results from parts a and b. e. What is the standard deviation for this distribution?
6.61 Patients arrive at the emergency room for a local hospital at an average rate of 6.5 per hour. Assume the time between patient arrivals follows an exponential distribution.
a. What is the probability that the next patient will arrive in the emergency room within the next 3 minutes?
b. What is the probability that the next patient will arrive in the emergency room between the next 10 and 15 minutes?
c. What is the probability that the next patient will arrive in the emergency room after the next 12 minutes?
d. What is the probability that the next patient will arrive in the emergency room in exactly 12 minutes?
e. Use Excel to verify the results from parts a and b. f. What is the standard deviation for this distribution?
6.62 A busy intersection in the state of Delaware averages a traf- fic accident every 32 days. Assume the time between acci- dents follows an exponential distribution.
a. What is the probability that the next accident will occur within the next 10 days?
b. What is the probability that the next accident will occur between the next 15 and 25 days?
c. What is the probability that the next accident will occur after the next 40 days?
d. Use Excel to verify the results from parts a and b. e. What is the standard deviation for this distribution?
6.63 Suppose the time between hits on an e-commerce Web site follows the exponential distribution with a mean time of 2.7 minutes.
a. What is the probability that next hit on the Web site will occur within the next 5 minutes?
b. What is the probability that next hit on the Web site will occur within the next 2 to 6 minutes?
c. What is the probability that next hit on the Web site will occur after the next 3 minutes?
d. Use Excel to verify the results from parts a, b, and c. e. What is the standard deviation for this distribution?
www.freebookslides.com
285
6.64 The optical department at Costco serves customers on a first-come-first-serve basis. Suppose the time between cus- tomer arrivals follows the exponential distribution. Histori- cal data indicates that customers arrive at an average rate of 10.8 per hour.
a. What is the probability that next customer will arrive within the next 3 minutes?
b. What is the probability that next customer will arrive within the next 6 to 12 minutes?
c. What is the probability that next customer will arrive after the next 10 minutes?
d. Use Excel to verify the results from parts a, b, and c. e. What is the standard deviation for this distribution?
6.65 Suppose a number of months before your car battery needs to be replaced follow the exponential distribution with a mean of 50.0 months.
a. What is the probability that your car battery will need to be replaced within 24 months?
b. What is the probability that your car battery will need to be replaced within 30 to 60 months?
c. What is the probability that your car battery will need to be replaced after 84 months?
d. Use Excel to verify the results from parts a, b, and c. e. What is the standard deviation for this distribution?
6.66 Orange Lake Resort is a major vacation destination near Orlando, Florida, adjacent to the Disney theme parks. Be- cause the property consists of 1,450 acres of land, Orange Lake provides shuttle buses for visitors who need to travel within the resort. Suppose the wait time for a shuttle bus follows the uniform distribution with a minimum time of 30 seconds and a maximum time of 9.0 minutes.
a. What is the probability that a visitor will need to wait more than 3 minutes for the next shuttle?
b. What is the probability that a visitor will need to wait less than 5.5 minutes for the next shuttle?
c. What is the probability that a visitor will need to wait between 4 and 8 minutes for the next shuttle?
d. Calculate the mean and standard deviation for this distribution.
e. Orange Lake has a goal that 80% of the time, the wait for the shuttle will be less than 6 minutes. Is this goal being achieved?
6.67 Precision Doors is an organization that installs new garage doors on residential homes. Suppose the installation time for a residence follows the uniform distribution with a minimum time of 190 minutes and a maximum time of 370 minutes.
a. What is the probability that an installation will require less than 4 hours to complete?
b. What is the probability that an installation will require more than 5 hours to complete?
c. What is the probability that an installation will require between 250 and 350 minutes to complete?
d. Calculate the mean and standard deviation for this distribution.
e. Precision Door has a goal that 80% of the time, the in- stallation time for a residence will be less than 6 hours. Is this goal being achieved?
6.68 Suppose the time to deliver a pizza after an order for one is placed on a local restaurant’s Web site follows a uniform distribution with a minimum time of 4 minutes and a maxi- mum time of 18 minutes.
a. Determine the probability that the next delivery will require less than 12 minutes.
b. Determine the probability that the next delivery will require between 6 and 10 minutes.
c. Determine the probability that the next delivery will require more than 7 minutes.
d. Determine the probability that the next delivery will require exactly 15 minutes.
e. Calculate the mean and standard deviation for this distribution.
6.69 Aircraft turnaround time is defined as the time required to prepare an aircraft for its next flight after arriving at a terminal. Assume that United Airlines’ turnaround time follows a uniform distribution with a minimum time of 24 minutes and a maximum time of 56 minutes.
a. Determine the probability that the next United Airlines aircraft will require less than 30 minutes to turn around.
b. Determine the probability that the next United Airlines aircraft will require between 30 and 40 minutes to turn around.
c. Determine the probability that the next United Airlines aircraft will require more than 40 minutes to turn around.
d. Calculate the mean and standard deviation for this distribution.
e. United Airlines wants aircraft turnaround times to be less than 50 minutes 90% of the time. Is this goal being achieved?
6.70 While waiting for an order to arrive from its supplier (known as the lead time), the golf-department manager at a local Dick’s Sporting Goods store will sell an average of 60 boxes of Titleist golf balls. Assume the demand during the lead time for the balls follows a normal distribution with a standard deviation of 12 boxes. Determine the reor- der point that will ensure the store a 95% probability that it will have enough inventory of golf balls until the next order arrives.
www.freebookslides.com
286
a. NORM.DIST17, 5, 3, TRUE2 = 0.7475 b. NORM.DIST10, 5, 3, TRUE2 = 0.0478 c. Using PHStat 1see at right2 = 0.2782
Y o U r T U r N # 4
a. z11.9 = x - m s
= 11.9 - 10.7
0.8 = 1.50
z9.8 = x - m s
= 9.8 - 10.7
0.8 = -1.13
P19.8 … x … 11.92 = 0.9332 - 0.1292 = 0.8040 b. z12.1 =
x - m s
= 12.1 - 10.7
0.8 = 1.75
z11 = x - m s
= 11 - 10.7
0.8 = 0.38
P111 … x … 12.12 = 0.9599 - 0.6480 = 0.3119
c. z10.3 = x - m s
= 10.3 - 10.7
0.8 = -0.50
z9.7 = x - m s
= 9.7 - 10.7
0.8 = -1.25
P19.7 … x … 10.32 = 0.3085 - 0.1056 = 0.2029
Y o U r T U r N # 3
a. x = m { zs x = 39.2 + 11213.72 = 42.9 x = 39.2 - 11213.72 = 35.5 b. x = m { zs x = 39.2 + 12213.72 = 46.6 x = 39.2 - 12213.72 = 31.8
c. x = m { zs x = 39.2 + 13213.72 = 50.3 x = 39.2 - 13213.72 = 28.1
Y o U r T U r N # 2
a. z800 = x - m s
= 800 - 930
140 = -0.93
P1x … 8002 = P1z … -0.932 = 0.1762 b. z1,000 =
x - m s
= 1,000 - 930
140 = 0.50
P1x … 1,0002 = P1z … 0.502 = 0.6915 c. P1x = 9002 = 0 because x is a continuous random variable. d. The station will not run out of inventory if demand during the lead time is less
than or equal to 1,200 gallons. We need to calculate P1x … 1,2002. z1,200 =
x - m s
= 1,200 - 930
140 = 1.93
P1x … 1,2002 = P1z … 1.932 = 0.9732
e. Find the closest value to 0.90 in the body of Table 6.2. This will be 0.8997 in row 1.2 and column 0.08.
z = x - m s
x = m + zs x = 930 + 11.28211402 = 930 + 179.2 = 1,109.2 gallons
Y o U r T U r N # 1
Chapter 6 Solutions to Your Turn
www.freebookslides.com
287
Y o U r T U r N # 6
l = 32.2 shots per game
60 minutes per game = 0.537 shots per minute
m = 1
l =
1
0.537 = 1.86 minutes per shot
a1. P1x … a2 = 1 - e - al P1x … 12 = 1 - e - 11210.5372 P1x … 12 = 1 - e - 0.537 = 1 - 0.5845 = 0.4155
a2. P12 … x … 32 = P1x … 32 - P1x … 22 P1x … 32 = 1 - e - 13210.5372 = 1 - e - 1.611
= 1 - 0.1997 = 0.8003 P1x … 22 = 1 - e - 12210.5372 = 1 - e - 1.074
= 1 - 0.3416 = 0.6584 P12 … x … 32 = 0.8003 - 0.6584 = 0.1419 b. P1x … 12 = EXPON.DIST11, 0.537, TRUE2 = 0.4155 P1x … 32 = EXPON.DIST13, 0.537, TRUE2 = 0.8003 P1x … 22 = EXPON.DIST12, 0.537, TRUE2 = 0.6584 c. s = m = 1.86 minutes per shot
n = 60 p = 0.10 q = 0.90
m = np = 160210.102 = 6.0 s = 1npq = 1160210.1211 - 0.12 = 15.4 = 2.32
a. Less than 5 includes 0, 1, 2, 3, and 4. Add 0.5 to 4 for continuity factor.
z4.5 = x - m s
= 4.5 - 6.0
2.32 = -0.65
P1x 6 52 = P1z 6 -0.652 = 0.2578 b. Subtract 0.5 from 6 and add 0.5 to 9 for continuity factor.
z5.5 = x - m s
= 5.5 - 6.0
2.32 = -0.22
z9.5 = x - m s
= 9.5 - 6.0
2.32 = 1.51
P16 … x … 92 = P15.5 … x … 9.52 = P1 -0.22 … z … 1.512 P1 -0.22 … z … 1.512 = 0.9345 - 0.4129 = 0.5216 c. Nine or more includes 9, 10, 11, c,60. Subtract 0.5 from 9 for continuity
factor.
z8.5 = x - m s
= 8.5 - 6.0
2.32 = 1.08
P1x Ú 92 = P1z Ú 1.082 = 1.0 - 0.8599 = 0.1401
Y o U r T U r N # 5
x1 = 140 x2 = 170
P1x1 … x … x22 = x2 - x1 b - a
a. P1140 … x … 1452 = 145 - 140 170 - 140
= 5
30 = 0.167
b. P1148 … x … 1652 = 165 - 148 170 - 140
= 17
30 = 0.567
c. P1x1 … x … x22 = x2 - x1 b - a
= 0.75
x2 - 140 170 - 140
= 0.75
x2 = 10.7521302 + 140 = 162.5 minutes
Because 162.5 minutes is less than 165 minutes, the goal of management is being met.
d. m = a + b
2 =
140 + 170 2
= 155 minutes
s = b - a112 = 170 - 140112 = 303.46 = 8.67 minutes
Y o U r T U r N # 7
www.freebookslides.com
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Distinguish between the different types of probability sampling.
■ Identify the limitations of nonprobability sampling.
■ Calculate sampling errors.
■ Identify the sources of nonsampling errors.
■ Use the sampling distribution of the mean.
■ Understand the importance of the Central Limit Theorem.
■ Use the sampling distribution of the proportion.
■ Use the finite population correction factor.
Sampling and Sampling Distributions
C h a p t e r 7 M a p
7.1 Why Sample? | 290
7.2 Types of Sampling | 291
7.3 Sampling and Nonsampling Errors | 298
7.4 The Central Limit Theorem | 301
7.5 The Sampling Distribution of the Proportion | 317
7 C h a p t e r
www.freebookslides.com
290 C h a p t e r 7 | Sampling and Sampling Distributions
Stats in practice: Super Bowl XLVII takes the trophy: Most Watched telecast ever!
That’s right. At the time of this printing, the Baltimore Ravens’ 34-31 victory over the San Francisco 49ers for the NFL Championship on February 3, 2013, in New Orleans, Louisiana was the most watched broadcast in television history with a total audience of 164.1 million viewers. The previous record holder was the 2011 Super Bowl, a game in which the Green Bay Pack- ers defeated the Pittsburgh Steelers in front of 162.9 million total viewers. In fact, the top five most-watched broadcasts are the last five Super Bowls which attests to the popularity of the NFL.
When considering these facts one might ask, “How do they know that 164.1 million people watched the 2013 Super Bowl? I watched the game and nobody counted me.” To answer this important question, we need to explore the topic of statistical sampling. Back in Chapter 1, we defined a population as repre- senting all possible outcomes or measurements of interest and a sample as a subset of a population. Nielson Media Research, a company in the sampling business, provides TV networks and advertisers with information about the sizes of television view- ing audiences across the nation by surveying 5,000 of the 129 million households there are in the United States. Par- ticipating households are selected very carefully so that they are representative of the entire U.S. population. Each person in these households is provided with a “people meter,” which
is a small box the individual uses to indicate when he or she starts and stops watching a TV program. Based on the results of this relatively small sample, Nielsen can develop an accurate estimate of the viewing habits of the entire country.
The information Nielsen collects plays a critical role in the rates that TV networks charge advertisers to run commercials during programs. Generally, the larger a program’s audience is, the more the commercials aired during the show cost advertisers. For example, a 30-second commercial for the top-rated 2013 Super Bowl cost $3.8 million.
In addition to knowing how many viewers are watching a program, advertisers also want to know who is watching. The people meters keep track of both the ages and genders of the viewers. For example, Nielsen’s data shows that the number of male viewers of Super Bowls have traditionally exceeded the number of female viewers. This helps explain why you see so many more beer commercials during the Super Bowl, than say, advertisements for perfume. The opposite holds true with the Olympics TV audience where the majority of viewers are typi- cally female. Figure 7.1 shows the gender breakdown for Super Bowl XLV and the 2010 Winter Olympics.
{ figure 7.1 Percentage of Super Bowl
XLV and 2010 Winter Olympic Viewers by Gender
44% 56%46% 54%
Male Female Male Female
Super Bowl XLV Viewers
2010 Olympic Viewers
7.1 Why Sample? Back in Chapter 1, we introduced the concept of a population and a sample. A population refers to all possible subjects that are of interest to us in a particular study. The term sample refers to a portion of the population that is representative of the population from which it was selected. In the previous Stats in Practice example, population is defined as every television viewer and the sample consists of all the households that possess a Nielsen people meter.
Why not just measure the whole population rather than rely on only a sample? That’s a very good question! Depending on the circumstances, measuring an entire population could be very expensive or just plain impossible. Let’s use a quality control example in business. Suppose the target for salt content set by Kellogg’s for my Cheez-It crackers is 1%. Higher or lower salt content would have a negative impact on the taste of the product.
A population represents all possible subjects of interest. A sample is a subset of a population.
www.freebookslides.com
C h a p t e r 7 | 7.2 Types of Sampling 291
How does Kellogg’s know that its target is being achieved for all of the Cheez-Its produced today? Well, it’s not practical to check the salt content of every cracker coming off the production line because any cracker tested would not be fit for sale to the consumer. A better solution would be to routinely select a small, but representative, sample and test its salt content. These sample results would be used to determine if the process was producing satisfactory crackers. More specifically, we can use the salt content from the sample to draw conclusions about the salt content of the entire production process, which, in this case, is the population. By gathering enough representative data, we can infer what is happening overall. That’s the whole concept of inferential statistics in one paragraph!
Even if we could feasibly measure the entire population, to do so would often be a waste of time and money—resources businesses consider very valuable these days. If a sample is selected properly and the analysis performed correctly, this information can be used to make an accurate assessment of the entire population. There is very little added benefit to continue beyond the sample and measure everything.
One example where a sampling decision was recently made occurred at Goldey- Beacom College, where I currently teach. I am a member of the Academic Honor Code Committee, which launched a project to gather information about the attitudes our college students have toward academic integrity. It would have been possible to ask every student at our college to respond to the survey, but it was actually unnecessary with the availability of inferential statistics. The committee eventually made the intelligent decision to sample only a portion of the students to infer the attitudes of the larger population. Based on our sample, we concluded that the majority of students at our college took academic integrity very seriously.
There are, however, risks involved with making decisions based on sampling. By sampling, we expose ourselves to errors that could lead to poor decisions. As we will see later in the chapter, we can quantify the probability of these errors occurring. As you will see later in this textbook, these probabilities are often small enough to still make sampling worthwhile.
7.2 Types of Sampling There are many options available for gathering samples from a population. The two basic types that we will discuss in this chapter are probability and nonprobability sampling.
probability Sampling A probability sample is a sample in which each member of the population has a known, non- zero, chance of being selected for the sample. However, this does not necessarily mean that every member has the same chance of being selected. With probability sampling, we have
Stats in practice: age Does Matter
Attracting viewers from the coveted 18–49 age group will also boost advertising revenue. For example, commercial time for American Idol during the 2012 season cost $340,825 per 30-second spot. Dancing with the Stars, which has about the same size viewing audience as Idol, commands only $160,466 per commercial. The difference is explained by the average age of the viewers, which is under 50 for Idol and over 50 for Dancing. The reasoning is that we over-50-year-old consumers are more set in our ways and are not as easily influenced by advertising as you “young-uns.”
A probability sample is a sample in which each member of the population has a known, nonzero, chance of being selected for the sample.
www.freebookslides.com
292 C h a p t e r 7 | Sampling and Sampling Distributions
the ability to perform a variety of inferential statistical tests that will allow us to draw reli- able conclusions about the population. These tests are the focus of many of the remaining chapters in this textbook.
There are five main types of probability sampling techniques statisticians use: simple random, systematic, stratified, cluster, and resampling. I will discuss each of the techniques in the following sections.
Simple Random Sampling A simple random sample is a sample in which every member of the population has an equal chance of being chosen. One way to ensure this occurs is to use the sampling tool in Excel’s Data Analysis ToolPak (Windows version). Unfortunately, this sampling procedure is not available on Excel for Mac. To demonstrate, let’s go back to the academic integrity survey at my school. Suppose I want to draw a simple random sample of 10 students out of 1,800 total students to participate in the survey. In Figure 7.2, Column A of the Excel file titled GBC Students.xlsx shows the student ID numbers for each of the 1,800 students. The numbers are sorted in ascending order. (I have hidden Rows 13 through 1,796 to conserve space.) To select 10 students at random for the sample, I take the following steps:
1. Open the Excel file GBC Students.xlsx.
2. Select Data 7 Data Analysis. 3. In the Data Analysis dialog box, select Sampling and click OK.
4. In the Sampling dialog box, click on the text box for Input Range: and select Cells A1:A1800 as shown in Figure 7.2.
5. Select Random under Sampling Method.
6. In the Number of Samples: text box, type 10.
7. Click on the text box for Output Range: select Cell C1, and click OK.
A simple random sample is a sample in which every member of the population has an equal chance of being chosen.
Sampling without replacement means that once a member of the population is selected to be part of the sample, it is not returned to the population. Therefore that member cannot be chosen again in the sample.
{ figure 7.2 Using Excel to Generate a
Simple Random Sample
Column C in Figure 7.3 (on the next page) provides us with the simple random sample of 10 students from the population.
www.freebookslides.com
C h a p t e r 7 | 7.2 Types of Sampling 293
{ figure 7.3 Finished Simple Random
Sample
Formula 7.1 for the systematic sampling constant
k = N n
where
N = Size of the population n = Size of the sample Using my academic integrity survey, with a population of 1,800 students and a sample
of 10,
k = N n
= 1,800
10 = 180
From a listing of the entire population, I would choose every 180th student to be in- cluded in the sample. Excel can also do this for you with the sampling tool I just introduced:
1. Using the GBC Student.xlsx file with a blank Column C, select Periodic in the Sampling dialog box, as shown in Figure 7.4 on the next page.
2. In the Period: text box, type in the value for k, which is 180.
3. Click on the text box for Output Range:, and select Cell C1, and click OK.
The student with ID Number 55516 would be the first member in my sample, followed by ID Number 63282, and so forth. This technique ensures that all 1,800 students have the same chance of being selected for the survey. Also, be advised that Excel’s random sampling tool uses sampling with replacement. This means that after a member of the population has been selected for the sample, he or she is placed back into the population and can be chosen again for the same sample. Therefore, it is possible that a student could be selected more than once for the sample. If this is undesirable, accommodations can be made to replace the duplicated member in the sample.
Systematic Sampling Another way to ensure that samples are selected randomly is to use systematic sampling. This technique results in selecting every kth member of the population being in your sample. Every second member could be selected, or every third member, and so on. (Remember in your physical education classes when players were counted off in a line and placed in teams? Systematic sampling is similar.)
But how do you know which value of k to choose? The value of k, the systematic sam- pling constant, is determined using Equation 7.1.
In systematic sampling, every kth member of the population is chosen for the sample. The value of k is determined by dividing the size of the population (N ) by the size of the sample (n).
www.freebookslides.com
294 C h a p t e r 7 | Sampling and Sampling Distributions
Column C in Figure 7.5 provides us with the systematic sample of 10 students from the population. This list includes the 180th student in our list, followed by the 360th student, and so forth.
{ figure 7.4 Using Excel to Generate a
Systematic Sample
{ figure 7.5 Finished Systematic Sample
Generating a systematic sample is easier to do manually than generating a simple ran- dom sample. For example, if 500 students walk into a classroom building during the first hour of school, and I need a sample of 100 students, using Equation 7.1, I can easily figure out what k is: k = 500>100, or 5. I could then select every fifth student arriving in the morn- ing to participate in the survey. Systematic sampling is better than just randomly selecting students walking by because I could have a bias toward selecting some students rather than others (for example, students I know from my classes).
One concern about systematic sampling is periodicity, which is a pattern in the popula- tion that is consistent with the value of k. For instance, let’s say I’m conducting a survey on campus asking students how many hours they study during the week and I select every fourth week to collect my data. Because we are on an eight-week semester schedule at Goldey-Beacom, every fourth week could end up being either a midterm week or a finals week, which would result in a higher number of study hours than normal (or at least I would hope so). The presence of periodicity can result in a sample that is not representative of the entire population. When using systematic sampling, care must be taken to ensure that period- icity does not impact the collection of your data.
Finally, the starting point for systematic sampling does not need to be the first data value. We can randomly choose the starting position and proceed by counting down k values from this point to choose our sample.
One concern about systematic sampling is periodicity, which is a pattern in the population that is consistent with the value of k.
www.freebookslides.com
C h a p t e r 7 | 7.2 Types of Sampling 295
Stratified Sampling In stratified sampling, we divide the population into mutually exclusive groups, or strata, and randomly sample from each of those groups. For example, suppose we want our aca- demic integrity sample to mirror the proportion of freshmen, sophomore, junior, and senior students in the overall college population and that we would like to select a sample size of 100 students. Because freshmen comprise 30% of the student population our sample of 100 students should contain 30 freshmen. Likewise, because sophomores comprise 22% of the student population our sample of 100 students should contain 22 sophomores. The same logic applies to juniors and seniors. Table 7.1 shows the number of freshmen, sophomores, juniors, and seniors required and calculates the size of each stratum in our sample based on its percentage relative to the population. We can then apply the simple random or systematic sampling methods to select the students from each group.
Recall that you learned in Chapter 4 that two events are considered to be mutually exclusive if they cannot occur at the same time during an experiment.
{ table 7.1 | Stratified Sampling for the Academic Integrity Survey
strata
size (percent) of population sample
Freshmen 540 (30%) 0.30 * 100 = 30
Sophomore 396 (22%) 0.22 * 100 = 22
Junior 504 (28%) 0.28 * 100 = 28
Senior 360 (20%) 0.20 * 100 = 20
Total 1,800 (100%) 100
Why would we go through the trouble of using stratified sampling versus simple ran- dom or systematic sampling? Suppose seniors, in general, take academic integrity much more seriously than freshmen do. Also, suppose that we used systematic sampling, and, by chance, 40% of our sample consisted of seniors. Remember, seniors account for only 20% of the student body. If we use our sample to draw conclusions about the attitudes of the popu- lation, we may be led to believe our students take academic integrity much more seriously than they really do.
We used stratified sampling because we felt that the class the students belonged to— whether they were freshman, sophomores, juniors, or seniors—was an important factor in how they would respond to our survey. This helps ensure that the sample is representative of the overall population.
Cluster Sampling Clusters are defined as mutually exclusive groups, each which is representative of the population. Cluster sampling involves randomly selecting clusters to be part of the final sample. These clusters are often selected based on geography to help simplify the sam- pling process. Using the academic integrity survey as an example, the clusters could be defined as classrooms in use at certain times of the day. We would randomly choose dif- ferent classrooms to participate in the survey. We could then include every student in the classroom as a participant in the survey or use simple random sampling within the class- room to select students.
My students often confuse strata and clusters. The members of a specific stratum all have something in common, such as each student being a freshman from my previ- ous example. As a result, strata tend to be homogeneous collections, each with a cer- tain characteristic of interest. Clusters, on the other hand, are “mini-subsets” of the larger population and therefore tend to be a melting pot of various characteristics. For example, a particular classroom (cluster) could have a mixture of freshman, sopho- mores, juniors, or seniors.
Cluster sampling is often used to test-market new products. Test-market cities are identi- fied, and individual customers within those locations are sampled for their opinions about these products. Cluster sampling can be a cost-effective way to collect a probability sample if performed carefully to ensure that the sample is representative of the population.
Cluster sampling involves dividing the population into mutually exclusive groups, or clusters, that are each representative of the population and then randomly selecting clusters to form the final sample. These clusters are often selected based on geography to help simplify the sampling process.
When choosing a stratified sample, we divide the population into mutually exclusive groups, or strata, and randomly sample from each of those groups. The strata are based on important variables that can have an impact on the data collected and the results that are achieved.
The purpose of cluster sampling is to make the sampling process more economical. The purpose of stratified sampling is to make the sampling process more accurate.
www.freebookslides.com
296 C h a p t e r 7 | Sampling and Sampling Distributions
Resampling* Resampling is a statistical technique where many samples are repeatedly drawn from an available population. A specific type of resampling technique is known as the bootstrap method, developed by Bradley Efron, a faculty member in Stanford University’s Department of Statistics. Bootstrapping involves using computer software to extract many samples with replacement in order to estimate a certain parameter of the population, such as a mean or proportion.
To demonstrate the bootstrap method, consider the following simple example. Suppose the manager at a particular Walmart location would like to estimate the proportion of female shoppers at her store. She randomly selects 100 transactions and discovers that 58 of them were transacted with female customers. We now know that the sample proportion is 58% female, but the population proportion of female shoppers is still unknown.
In an Excel file, we can populate cells A1 to A58 with the number “1” to represent the female shoppers. Cells A59 through A100 would contain the number “0” for the men. Using
Resampling is a statistical technique where many samples are repeatedly drawn from a population.
This Statistics in Practice demonstrates the use of cluster sampling in the marketplace.
Companies that are looking to test their product or services in the American marketplace would like to choose a location that best represents the typical U.S. consumer. To help identify these locales, Acxiom Corporation has ranked the populations in the top 150 Metropolitan Statistical Areas (MSAs) based on how closely they mirror the American consumer. At the top of this list is Albany, New York.
“Albany has almost the same proportion of consumers as is found in the nation as a whole—from people just leaving home or school, buying a home, raising kids, approaching retirement, launching the kids out of the house, to being fully retired,” said Acxiom’s Tiffany Weatherly, who supervised the research for this project.
The following MSAs made the top 10 as far as being the most representative of the U.S. consumer:
1. Albany, N.Y. 2. Rochester, N.Y. 3. Greensboro, N.C. 4. Birmingham, Ala. 5. Syracuse, N.Y. 6. Charlotte, N.C. 7. Nashville, Tenn. 8. Eugene, Ore. 9. Wichita, Kans. 10. Richmond, Va.
Companies would also be interested in knowing which locations to avoid conducting test markets due to the lack of suitability of the local population. The following list is the bottom 10 MSAs according to Acxiom.
1. El Paso, Tex. 2. Columbia, Mo. 3. Tallahassee, Fla. 4. Brownsville, Tex. 5. Provo, Utah 6. Ocala, Fla. 7. McAllen, Tex. 8. Honolulu, Hawaii 9. San Francisco, Calif. 10. New York City, N.Y.
Based on: Jonathan Portis, “Which American City Provides The Best Consumer Test Market?” Acxiom Corporation News Release, May 24, 2004, http://www.businesswire .com/news/home/20040524005650/en/American-City-Consumer-Test-Market-Mirror-America.
Stats in practice: Which City Best represents the american Consumer? the Winner is albany, N.Y.
*This content is optional. Special thanks to Dr. Sunil Sapra from California State University for recom- mending the inclusion of this topic.
The bootstrap method involves using computer software to extract many samples with replacement in order to estimate a parameter of the population, such as a mean or proportion.
www.freebookslides.com
C h a p t e r 7 | 7.2 Types of Sampling 297
Excel’s Sampling tool in Data Analysis, shown in Figure 7.2, we can generate a random sample of size 100 and calculate the proportion of female shoppers for this sample. Using bootstrapping software to assist us, we can repeat this sampling process, say 10,000 times or more (otherwise known as resampling). Some of these sample proportions of female shop- pers will be less than 58%, whereas others will be more than 58%. We now have a range of proportions that will provide us an idea of where the true population proportion lies based on our original sample of 100 shoppers. This concept is related to confidence intervals, which will be discussed at great length in Chapter 8. Remember, Excel’s random sampling tool uses sampling with replacement. This means that after a member of the population has been selected for the sample, he or she is placed back into the population and can be chosen again as part of the same sample. This is an important feature of bootstrapping.
As you can see in this example, the bootstrap method can be applied to estimate param- eters such as the population proportion, mean, median, or variance. Bootstrapping can also be used to estimate the standard deviation of a sample mean or proportion and is not limited by underlying assumptions that are necessary to conduct many statistical analyses.
Nonprobability Sampling A nonprobability sample is a sample in which the probability of a population member being selected for the sample is not known. A common type of nonprobability sample is a conve- nience sample.
A convenience sample is used when members of the population are chosen to become part of the sample simply because they are easily accessible. This type of sampling is useful when you are simply trying to gather some general information about the population. For ex- ample, suppose you would like some quick feedback from your customers about a new bak- ery product you’ve recently developed. Sending out free samples and having customers who happen to enter your store rate the product would be an example of a convenience sample. In most cases, it would not be appropriate to use these data to perform inferential statistics like we would with probability sampling.
For example, if I would like some student feedback on this textbook, I could select my current statistics classes as my sample. This would be a convenience sample because it is most likely not representative of all of the students in the nation who read statistics text- books; therefore, I need to be very careful with interpreting the results.
One of the most common types of convenience samples is an Internet poll. Most in- dividuals who participate in Internet polls have very little statistical training. They are im- pressed when they see thousands of responses recorded in real time and tend to believe the results. What they fail to see, however, is that this is a convenience sample, and that often the conductor of the poll has very little control over who participates in it. Generally, anyone with an Internet connection is eligible to participate, and people can respond to the survey multiple times by re-accessing the poll on a different day or from a different browser or computer. Of course, this reduces the credibility of the results. Suffice it to say, a sampling technique that gives you no control over who participates in your survey does not qualify as probability sampling.
A nonprobability sample is a sample in which the probability of a population member being selected for the sample is not known.
This is especially true because the students in my classes might be telling me what I wanted to hear in an effort to pass my course!
Stats in practice: Sampling in presidential races
Back in Chapter 1, I discussed one of the most famous conve- nience samples in history that caused much embarrassment for the poll takers. During the 1936 U.S. presidential race, the Literary Digest, which had correctly predicted the previous five presidential winners, predicted that Alf Landon would win the election over the actual winner, Franklin D. Roosevelt. The problem was that the Digest conveniently drew its sample from phone books and automobile registrations. People with phones and cars in 1936 tended to be wealthier Republicans and were
not representative of the entire voting population. Even though the Digest randomly selected names from these sources, they did not choose them from the proper population. In comparison, a 1968 Gallup poll used a probability sample to predict that Richard Nixon would receive 43% of the votes for the 1968 presidential election when in fact he won 42.9%. This Gallup poll was based on a sample size of only 2,000 people, whereas the disastrous 1936 Literary Digest poll sampled 2,000,000 people. Probability samples rule when conducted properly!
According to my father-in-law, Lindsay Greenplate, who was 12 years old during this election, there was a rumor that Roosevelt did not fly while campaigning because he was afraid of “Landon”. I did not make this up.
www.freebookslides.com
298 C h a p t e r 7 | Sampling and Sampling Distributions
Try your hand with this next Your Turn section to make sure you understand the differ- ence between the sampling techniques we have discussed.
7.3 Sampling and Nonsampling Errors So far in this chapter, I realize I’ve been ranting about the marvels of sampling and how life on this planet could not exist as we know it today without this wonderful tool statisticians (sort of) invented. Maybe I’m exaggerating slightly, but sampling is a pretty cool idea that has made our lives a little better. However, I also tell my students that there is no free lunch in statistics because the benefits of sampling come with a cost. When we rely on relatively small samples to draw conclusions about larger populations, we expose ourselves to sam- pling errors (cue the scary music).
Before discussing the details of sampling errors, I need to introduce two new terms: parameters and statistics. Parameters are values that describe some characteristic of a popu- lation, such as its mean or median. For the most part, parameters are unknown because we rarely observe or measure an entire population. Statistics are values calculated from a sam- ple, such as the mean or the median. Statistics are used to estimate the value of a parameter. It is common practice, for example, to use the sample mean (a statistic) to estimate the value of the population mean (a parameter).
Because a statistic is based on just a portion of the population, it would be unreason- able to expect the sample mean and population mean to be the same. The difference between these two values is known as the sampling error of the sample mean. The formula for the sampling error is shown in Equation 7.2.
Parameters are values that describe some characteristic of a population, such as its mean or median.
Statistics are values calculated from a sample, such as the sample’s mean or median.
Beware of convenience sampling. Because no effort is made to ensure the sample is representative of the population, the results based on this type of sample are unreliable.
Identify the type of sampling technique for each of the following:
a. The first Monday of each month, I ask my customers who come to my store to fill out a satisfaction survey.
b. I randomly select four stores in a mall and ask each customer in those stores about his or her opinion of the latest health care legislation.
c. I position myself on a busy intersection of a city street and ask people what their opinions are of a local sports team.
d. Sixty percent of the students attending my college are female. I construct a random sample that consists of 60% females from the student population to ask what their opinions are of the college’s food service.
e. Using computer software, I randomly select 20 employees to participate in a job satisfaction survey.
Y o u r t u r N # 1N
Answers can be found on u page 329
Formula 7.2 for the sampling error of the sample Mean
Sampling Error = x - m
where
x = The sample mean m = The population mean
To demonstrate sampling errors and how they typically behave, consider the following example. Suppose I’m teaching a small, graduate-level statistics class composed of 10 stu- dents with the following ages.
24 33 28 41 38 30 24 33 37 32
Sampling error of the sample mean is defined as the difference between the sample statistic and the population parameter.
www.freebookslides.com
C h a p t e r 7 | 7.3 Sampling and Nonsampling Errors 299
If I consider this class my population, the population mean can be found using Equation 3.2 from Chapter 3.
m = a N
i = 1 xi
N =
24 + 33 + 28 + g + 37 + 32 10
= 320
10 = 32.0
The average age of my class is 32.0 years old, which is my population parameter. Next, I would like to draw a random sample consisting of two students to estimate this parameter. I realize we already know the value of the parameter, but I ask you to play along and humor me. The method to my madness will become obvious soon.
Let’s say the random sample consists of the first two students 1n = 22 in our previous list. They are ages 24 and 33. The sample mean can be found using Equation 3.1 from Chapter 3:
x = a
n
i = 1 xi
n =
24 + 33 2
= 28.5
I use Equation 7.2 to calculate my sampling error:
Sampling Error = x - m = 28.5 - 32.0 = - 3.5
My sample statistic is 3.5 years below the population parameter due to the negative sampling error. Positive sampling errors would be the result of sample means greater than the population mean. Now, suppose I gather another random sample of two students, which happen to be the last two students in my original list of 10. They are ages 37 and 32. This sample mean is found to be
x = a
n
i = 1 xi
n =
37 + 32 2
= 34.5
I use Equation 7.2 again to calculate my latest sampling error.
Sampling Error = x - m = 34.5 - 32.0 = 2.5
This sample statistic is 2.5 years above the population parameter. This illustrates the first lesson about sampling errors: They can differ from one sample to the next. Sampling errors can also be positive or negative, depending on whether they are above or below the population mean.
In the previous examples, I used a sample size of two students. What happens when I increase the sample size to, say, n = 5? If this random sample consists of the first five stu- dents in my original list, my new sample mean becomes
x = a
n
i = 1 xi
n =
24 + 33 + 28 + 41 + 38 5
= 32.8
This results in a sampling error given as follows:
Sampling Error = x - m = 32.8 - 32.0 = 0.8
Obviously, this latest sample provides a much better estimate of the actual average age of my statistics class. In general, we expect larger sample sizes to provide smaller corre- sponding sampling errors. It’s important to note, though, that a larger sample size will not guarantee you a smaller sampling error for every sample selected. For example, if my ran- dom sample of five happens to include the five oldest students in the class, the sample aver- age and corresponding sampling error would be
x = a
n
i = 1 xi
n =
41 + 38 + 37 + 33 + 33 5
= 36.4
Sampling Error = x - m = 36.4 - 32.0 = 4.4
Sampling errors can differ from one sample to the next. Sampling errors can also be positive or negative.
www.freebookslides.com
300 C h a p t e r 7 | Sampling and Sampling Distributions
The error from this sample is larger than both errors from my examples with a sample size of two students. Larger samples simply increase the likelihood that the sampling error will be smaller, but with statistical sampling, there are few guarantees.
Now, in most statistical settings, the population parameter is not known because it is of- ten not feasible to observe or measure the entire population. Therefore, we will rarely know what the actual sampling error will be for a particular sample that we select. However, in upcoming chapters, I will show you how to determine what the probability is of sampling er- rors occurring. Stay tuned!
Before we wrap up this section, I feel compelled to mention that sampling errors are not the only pitfall you can encounter with statistics. Nonsampling errors occur for a variety of reasons. A common source is survey questions that are ambiguous in the eyes of the respon- dents, which results in their not answering the questions in a reliable manner. Other survey questions can be written in a way that leads the respondent to certain “correct” answers, which will influence the conclusions.
Data collection errors also fall into the category of nonsampling errors. A data collection error occurs when a person responsible for recording the information being collected as part of a survey makes an input error. Or a measurement device could be faulty, such as a scale that weighs a box of cereal. Unlike sampling errors, nonsampling errors cannot be reduced by simply increasing the size of the sample. Reducing nonsampling errors requires a thor- ough analysis of the survey’s design and how the data are collected.
The following Your Turn section will test your sampling error skills using the stock market.
Nonsampling errors occur as a result of issues such as ambiguous survey questions, questions that lead respondents to a certain “correct” answer, and data collection errors.
Increasing the sample size tends to decrease the sampling error. However, there is no guarantee that a particular sampling error will be smaller with a larger sample size.
Suppose you have an investment portfolio that consists of 16 stocks that have closed today with the fol- lowing stock prices.
$21 $24 $36 $23 $26 $31 $26 $28
$17 $30 $34 $27 $21 $36 $48 $33
Calculate the sampling error if the sample includes the following stocks:
a. the first two stocks ($21, $24) b. the first four stocks ($21, $24, $36, $23) c. the first six stocks ($21, $24, $36, $23, $26, $31)
What conclusions can be drawn about sample size and sample error for this population?
Y o u r t u r N # 2N
Answers can be found on u page 329
7.3 Section Problems applications 7.1 Suppose the average grade point average (GPA) for the
undergraduate student population at Goldey-Beacom College is 3.10. The following list is a random sample of the GPAs of five students from the college. Calculate the sampling error.
2.45 3.76 3.48 2.81 3.34
7.2 Jeff Bollinger of Prudential Realtors has 20 residential listings under contract. The following table shows the number of days each of these 20 houses has been on the market as of today.
20 21 2 17 35 21 40 54 52 24 40 53 46 10 42 11 37 62 21 76
a. Calculate the mean for this population. b. Calculate the sampling error using the first five homes
in the first row as your sample. c. Calculate the sampling error using all 10 homes in the
first row as your sample. d. How does increasing the sample size affect the sam-
pling error? e. Using a sample size of 5, what is the largest sampling
error that can be observed from this population?
www.freebookslides.com
C h a p t e r 7 | 7.4 The Central Limit Theorem 301
7.3 The following table shows the total points scored in the 16 National Football League games played during Week 1 of the 2012 season.
41 62 64 50 47 33 49 72 76 40 52 36 26 50 57 36
a. Calculate the mean for this population. b. Calculate the sampling error using the first four games
in the first row as your sample. c. Calculate the sampling error using all eight games in
the first row as your sample. d. How does increasing the sample size affect the sam-
pling error? e. Using a sample size of 4, what is the largest sampling
error that can be observed from this population?
7.4 Avis rental car in Whittier, Alaska, currently has 15 rental cars on its lot, each with the following mileage:
19,871 11,483 18,519 10,977 8,325 6,514 14,394 6,225 4,702 11,145 4,768 16,329 15,094 13,317 19,537
a. Calculate the mean for this population. b. Calculate the sampling error using the five cars in the
first row as your sample. c. Calculate the sampling error using the 10 cars in the
first two rows as your sample. d. How does increasing the sample size affect the sam-
pling error?
7.5 The Excel file titled states.xlsx contains the median income in 2011 for all 50 states and the District of Columbia.
a. Use Excel to draw a simple random sample consisting of four states, and then calculate the sampling error for the sample.
b. Use Excel to draw a simple random sample consisting of eight states, and then calculate the sampling error for the sample.
c. Use Excel to draw a simple random sample consisting of 12 states, and then calculate the sampling error for the sample.
d. Compare the sampling error for parts a, b, and c and explain the reason for the differences.
7.6 The Excel file titled verizon.xlsx contains daily revenues for the past 350 business days earned from cell phone ac- cessories (Bluetooth headsets, memory cards, and so on) sold at a local Verizon retail store in Delaware.
a. Use Excel to draw a systematic sample consisting of 10 days, and then calculate the sampling error for the sample.
b. Use Excel to draw a systematic sample consisting of 25 days, and then calculate the sampling error for the sample.
c. Use Excel to draw a systematic sample consisting of 50 days, and then calculate the sampling error for the sample.
d. Compare the sampling error for parts a, b, and c and explain the reason for the differences.
e. What problems might be encountered with the sample obtained in part c?
7.4 The Central Limit Theorem When my students encounter the word theorem, I often see that glassy-eyed look that tells me their minds are wandering off to some faraway place. But believe me when I tell you that the Central Limit Theorem (CLT) is the “mother of all theorems” and is worthy of your at- tention. The Central Limit Theorem states that the sample means of large-sized samples will be normally distributed regardless of the shape of their population distributions. Without this gem, the field of statistics would probably have never made the cut as a required course for many college students. So you might as well learn about the real reason you are reading this book today.
The best way to describe the CLT is with the following example. My wife, Deb, and I are going out to dinner at a moderately priced restaurant (I am a teacher, after all) that offers the four types of entrées shown in Table 7.2 on the next page. If an entrée from this list is randomly selected, there is a 25% probability that it will cost $12. The same prob- ability holds true for the price of the three other entrées. The graph of this probability dis- tribution is shown in Figure 7.6, also on the next page.
According to the Central Limit Theorem, sample means from samples of sufficient size, drawn from any population, will be normally distributed.
I can’t overemphasize the importance of the CLT. We will rely on this behavior of sample means over and over again throughout the rest of this book.
www.freebookslides.com
302 C h a p t e r 7 | Sampling and Sampling Distributions
Because Table 7.2 includes all the entrée types that are available to choose from, these data would be considered a population. The mean of this population is found using Equation 5.1:
m = a N
i = 1 xiP1xi2
m = 1$12210.252 + 1$14210.252 + 1$16210.252 + 1$18210.252 m = $3.00 + $3.50 + $4.00 + $4.50 m = $15.00
In other words, the mean price for this population is $15. Next, I want to calculate the standard deviation of this population using Table 7.3 and Equation 5.4.
{ table 7.2 | Entrees, Their Prices, and the Probability of Their Being Randomly Selected
entrée type price ($) probability of being randomly selected
Vegetarian (V) 12 0.25
Chicken (C) 14 0.25
Fish (F) 16 0.25
Steak (S) 18 0.25
{ figure 7.6 Probability Distribution for
Four Randomly Selected Entrée Choices
0
0.05
$12 $14 $16 $18
0.15
0.25
Entrée Prices
Pr ob
ab ili
ty Probability Distribution for Entrée Choices 0.3
0.2
0.1
{ table 7.3 | Calculating the Standard Deviation for the Population of Entrée Prices
xi xi 2 P1xi2 xi2 P1xi2
12 144 0.25 36
14 196 0.25 49
16 256 0.25 64
18 324 0.25 81
Total = 230
a N
i = 1 x 2i P1xi2 = 230
s2 = ¢ aN i = 1
x 2i P1xi2≤ - m2 s2 = 230 - 11522 = 230 - 225 = 5 s = 2s2 = 15 = $2.24
This calculates the variance of a discrete probability distribution.
www.freebookslides.com
C h a p t e r 7 | 7.4 The Central Limit Theorem 303
To summarize so far, we have described a population with the following parameters:
m = $15.00 s = $2.24
Now I’ll introduce you to the wonders of the Central Limit Theorem. Suppose Deb and I each randomly select our entrées. (In reality, I’d never do this. I’d be so disappointed if I were stuck with the vegetarian entrée. Fish dishes make me nervous, too. Combine the two scenarios, and I would have a 50% chance of walking out hungry.) What are all the possible meal combinations Deb and I could end up with if we both randomly selected our meals? Table 7.4 shows the entrée prices for all possible 16 combinations. The top-left entry of 12, 12 represents the combination of both Deb and me (Bob) selecting a vegetarian entrée (V), each costing $12. The entry directly to the right of this one (12, 14) shows the cost of me choosing the vegetarian entrée (V), which costs $12, and Deb choosing a chicken entrée (C), which costs $14—and so on through the rest of the table. My entrées are highlighted in yel- low and Deb’s are highlighted in blue.
{ table 7.4 | Possible Entrée Combinations (in $)
deb (v) deb (c) deb (f) deb (s)
Bob (V) 12, 12 12, 14 12, 16 12, 18
Bob (C) 14, 12 14, 14 14, 16 14, 18
Bob (F) 16, 12 16, 14 16, 16 16, 18
Bob (S) 18, 12 18, 14 18, 16 18, 18
{ table 7.5 | The Population of Average Prices for Two Entrées Randomly Selected by Deb and Bob (in $)
deb (v) deb (c) deb (f) deb (s)
Bob (V) 12 13 14 15
Bob (C) 13 14 15 16
Bob (F) 14 15 16 17
Bob (S) 15 16 17 18
What we have essentially done here is show all the possibilities of selecting a simple random sample of size 2 1n = 22 with replacement from this population. The term with re- placement refers to the fact that Deb and I can both select the same entrée. Sampling without replacement means that if Deb selected vegetarian, then I would have to choose one of the other three entrees.
Next, I calculate the sample average for each pair of entrées selected in Table 7.4. All 16 averages are shown in Table 7.5. For example, if I choose chicken and Deb chooses vegetar- ian (the second entry in the first column in Table 7.4), then the sample average is
x = $14 + $12
2 = $13
This value is shown as the second entry in the first column of Table 7.5.
Finally, I construct frequency and relative frequency distributions of the sample aver- ages from Table 7.5. They are shown in Table 7.6 on the next page.
Each value in this table represents a sample average for the pair of values shown in Table 7.4. This value is the average of 14 and 12.
www.freebookslides.com
304 C h a p t e r 7 | Sampling and Sampling Distributions
The distribution shown in Table 7.6 has a very special name—the sampling distribution of the mean. This table describes the pattern that sample averages tend to follow when ran- domly drawn from a population. Figure 7.7 shows this distribution graphically.
{ table 7.6 | Frequency and Relative Frequency Distributions for Table 7.5: Average Entrée Prices
sample average xi frequency relative frequency P1xi2 $12 1 0.0625
$13 2 0.125
$14 3 0.1875
$15 4 0.25
$16 3 0.1875
$17 2 0.125
$18 1 0.0625
Total 16 1.00
2/16 = 0.125
The sampling distribution of the mean describes the pattern that sample averages tend to follow when randomly drawn from a population.
{ table 7.7 | Sample Means for Entrée Prices
deb (v) deb (c) deb (f) deb (s)
Bob (V) 12 13 14 15
Bob (C) 13 14 15 16
Bob (F) 14 15 16 17
Bob (S) 15 16 17 18
{ figure 7.7 The Sampling Distribution of
the Mean: Average Entrée Prices
0
0.05
$12 $13 $14 $15 $16 $17 $18
0.15
0.25
Average Entrée Price
Sampling Distribution of the Mean 0.3
0.2
0.1Pr ob
ab ili
ty
Now compare the shape of the sampling distribution of the mean with the population probability distribution in Figure 7.6. Even though the population distribution was uniform (all four entrées had a 25% chance of being randomly selected), the sample means distribu- tion tends to be bell-shaped and symmetrical around the population’s mean ($15), which re- sembles the normal probability distribution from Chapter 6. This is because the sample mean of $15 has four different ways to occur, as Table 7.7, which replicates Table 7.6, shows.
By contrast, the sample means of $12 and $18 each appear only once in our sampling distribution.
In general, the CLT tells us the following: For any population distribution, with a suffi- ciently large sample, the sample means will be normally distributed. In most cases, sample sizes of 30 or larger will result in sample means being normally distributed, regardless of the shape of the population distribution. If the population happens to follow the normal probability distribu- tion, the sample means will also be normally distributed, regardless of the size of the samples.
www.freebookslides.com
C h a p t e r 7 | 7.4 The Central Limit Theorem 305
We can verify the mean of the population by calculating the mean of the sample means, or mx, using Table 7.6:
mx = a N
i = 1 xiP1xi2
mx = 1$12210.06252 + 1$13210.1252 + 1$14210.18752 + 1$15210.252 + 1$16210.18752 + 1$17210.1252 + 1$18210.06252 mx = $0.75 + $1.625 + $2.625 + $3.75 + $3.00 + $2.125 + $1.125 mx = $15.00
Notice that I distinguish between the two different means.
m = The population mean mx = The mean of the sample means
It is not a coincidence that m = mx = $15.00. The average of many sample means drawn from a particular population should be very close or equal to the population mean, as we have seen with my entrée example.
Bear with me for one last important point. Let’s calculate the standard deviation for the sample means, or sx, using Table 7.6. I will once again rely on Equation 5.4, substituting x for x and mx for m. Table 7.8 shows the necessary calculations.
Because of sampling error, the mean of the sample means 1mx2 may not always be equal to the population mean 1m2. They are equal in this example because we included every possible sample mean from the population using n = 2.
{ table 7.8 | Standard Deviation Calculations for the Sample Means: Average Entrée Prices
xi xi 2 P1xi2 xi2 P1xi2
12 144 0.0625 9
13 169 0.125 21.125
14 196 0.1875 36.75
15 225 0.25 56.25
16 256 0.1875 48
17 289 0.125 36.125
18 324 0.0625 20.25
Total = 227.5
The higher the standard error of the mean, the more variation you will notice from one sample mean to the next as they are drawn from the population.
a N
i = 1 x 2i P1xi2 = 227.5
sx 2 = ¢ aN
i = 1 x 2i P1xi2≤ - mx2
sx 2 = 227.5 - 11522 = 227.5 - 225 = 2.5
sx = 2sx2 = 12.5 = $1.58 In other words, the standard deviation for the sample means is $1.58. Notice that I dis-
tinguish between the two different standard deviations. s = The population standard deviation, which measures the variation around the popu-
lation mean. sx = The standard deviation of the sample means, which measures the average varia-
tion around the mean of the sample means for all samples of size n. This is also known as the standard error of the mean.
www.freebookslides.com
306 C h a p t e r 7 | Sampling and Sampling Distributions
Let’s stop for a minute to summarize what we have found so far.
population sample means
m = $15.00 mx = $15.00 s = $2.24 sx = $1.58
If we know the population standard deviation, s, we can calculate the standard error of the mean, sx, using Equation 7.3.
Formula 7.3 for the Standard Error of the Mean
sx = s1n
where
s = The population standard deviation n = The sample size This is a very important equation that you will see much of in the upcoming chapters.
Let’s put it to work in our entrée example.
sx = s1n = $2.2412 = $1.58
In our example, n = 2 because we randomly selected two entrees way back in Table 7.4 to construct our sampling distribution. Equation 7.3 gives us the same result that we obtained using Table 7.8 and Equation 5.4, but with a lot less work!
Let’s take this time to summarize what we have learned so far:
• The sample means for a population that follows the normal distribution will also be normally distributed, regardless of the size of the samples.
• If the population does not follow the normal probability distribution, the CLT tells us that the sample means will be normally distributed with a sufficiently large sample size. In most cases, sample sizes of 30 or larger will result in sample means being normally distributed, regardless of the shape of the population distribution.
m = mx
sx = s1n
These properties unlock many statistical procedures that have made significant contribu- tions to decision making. The following section will demonstrate how we can put the CLT to work in the business world. But first, I encourage you to check your understanding of the theorem by trying to solve the next Your Turn problem.
Y o u r t u r n # 3N
The standard error of the mean is the sample mean standard deviation, which measures the average variation around the mean of the sample means.
Debbie and Katie are planning a visit to the Elegant Day Spa where they will each randomly choose one of the following three services that are offered.
Service Cost
Facial (F) $40
Pedicure (P) $30
Manicure (M) $20
Define the population as the three services and a sample of size two as the service that Debbie chooses and the service that Katie chooses.
a. Identify the frequency distribution for the population. b. Identify the frequency distribution for all combinations of sample means for Debbie and Katie
choosing a service.
www.freebookslides.com
C h a p t e r 7 | 7.4 The Central Limit Theorem 307
putting the Central Limit theorem to Work The purpose of this section is to convince you that the CLT is an extremely useful tool wor- thy of all the praise that I have bestowed on it. To illustrate, I’ll use data from a 2012 Pew Research Center study, which discovered that U.S. teenagers send and receive an average of 60 text messages a day. I know little or nothing about the probability distribution for this population and, therefore, cannot answer the following question: What is the probability that a randomly selected teenager will send and receive more than 69 text messages today?
However, using the CLT, I can answer the following question: What is the probability that a randomly selected sample of 30 teenagers will average more than 69 text messages today (sent and received).
With this sufficiently large sample 1n Ú 302, I can answer the second question because I know that my sample averages will follow a normal probability distribution with the fol- lowing mean:
mx = m = 60
My next step is to calculate the standard error of the mean, sx, using Equation 7.3. However, this equation requires me to know s, the population standard deviation, which is not always available. There are techniques available to estimate s that we will investigate in later chapters. In the meantime, for our text messaging example, we’ll assume that we have evidence to conclude that the population standard deviation equals 36 text messages per day. We can now calculate the standard error of the mean using Equation 7.3.
s = 36 n = 30
sx = s1n = 36130 = 365.48 = 6.57
To calculate our normal probability, I need to rely on the z-score for sample means shown in Equation 7.4.
A common mistake that some of my students make is to use s rather than sx in Equation 7.4. Be careful not to be one of these unfortunate statistics!
Formula 7.4 for the z-Score for the Sample Mean
zx = x - mx sx
where
x = Sample mean mx = Mean of the sample means sx = Standard error of the mean This equation is a variation of the z-score that was discussed in Chapter 6. In this sam-
ple mean version of the z-score:
• x replaces x
• sx replaces s
• mx replaces m
Using Equation 7.4, the z-score for x = 69 is
z 69 = x - mx sx
= 69 - 60
6.57 = 1.37
Answers can be found on u pages 329–330
c. Verify that the population mean and mean of all possible sample means are equal. d. Calculate the standard error of the mean two different ways, first using Equation 5.4 and then with
Equation 7.3.
www.freebookslides.com
308 C h a p t e r 7 | Sampling and Sampling Distributions
In other words, the sample mean of 69 is 1.37 standard deviations to the right of the mean for the sampling distribution, mx, and is shown in Figure 7.8.
{ figure 7.8 The Sampling Distribution
of the Mean: Text Messages Example
0
0.9147
60 69 1.37
0.0853
µx z scale x scale
Using Table 4 in Appendix A, I find that the area to the left of z = 1.37 equals 0.9147. Therefore,
P1x 7 692 = P1z 7 1.372 = 1.0 - 0.9147 = 0.0853 The shaded area in Figure 7.8 shows us that the probability that our sample of 30 teen-
agers will average more than 69 text messages a day is 8.5%. What I find remarkable is that we know this without any information about the population probability distribution. Call me a nerd, but I think this is so cool. Companies like Verizon and AT&T can use this informa- tion to help them design pricing levels for service plans for their younger customers.
Before moving on, please try your hand at the next Your Turn problem to be sure you understand the CLT.
According to the U.S. Labor Department, the average hourly wage for private-sector production and non- supervisory workers was $20.04 in February 2013. Assume the standard deviation for this population is $6.00 per hour. A random sample of 35 workers from this group was selected. What is the probability that the mean for this sample is less than $19.00?
Y o u r t u r n # 4N
Answer can be found on u page 330
using the Central Limit theorem to test Claims But wait—there’s more. The CLT can also be used to verify the validity of claims made by individuals or organizations. For example, let’s say I make the claim that my average drive of a golf ball while teeing off is equal to a whopping 240 yards in length (picture Deb look- ing at me doubtfully). You see, Deb has proofread all of my statistics chapters and knows how to put my claim to the test. She can do so by randomly sampling 45 of my drives to satisfy the CLT requirement (we have no knowledge of the shape of the population distribu- tion). Suppose the average drive from this sample is 233 yards, and the standard deviation for my driving population is 20 yards. Is there enough evidence to support my claim?
On the surface, you might be led to believe that, because 233 yards is less than 240, my claim is not supported. However, the mean of 233 yards is based on a sample. We know from earlier in the chapter that a sampling error occurs when a sample is used to estimate a popu- lation parameter. The sample mean does not have to equal 240 to support my claim; it can be slightly lower and still suffice. However, to answer this question thoroughly, Deb needs to employ the CLT. Her goal is to determine the probability of observing a sample mean of 233 yards or less, given that the sampling distribution mean (which we assume equals the population mean) is truly 240 yards. Sit back and watch her go to work.
Don’t forget to draw the curve!
www.freebookslides.com
C h a p t e r 7 | 7.4 The Central Limit Theorem 309
First, Deb sets up our sampling distribution by assuming the mean does equal 240 yards. Even though we don’t know if this claim is true at this point, we assume it is in order to test my claim.
mx = m = 240 yards
Next, Deb calculates the standard error of the mean:
s = 20 yards n = 45
sx = s1n = 20145 = 206.71 = 2.98
Now, Deb calculates the z-score for x = 233:
z233 = x - mx sx
= 233 - 240
2.98 = - 2.35
Finally, she calculates the probability that the sample mean will be less than or equal to 233 yards if the actual sampling distribution mean equals 240 yards. I’m calculating the probability that my sample mean is less than 233 yards because 233 yards is less than my claim of 240 yards. Had my sample mean been greater than 240 yards, I would have calcu- lated the probability that my sample mean is greater than 240 yards. Using Table 3 in Appendix A, we have
P1x … 2332 = P1z … - 2.352 = 0.0094 This probability is shown graphically in the shaded region in Figure 7.9.
{ figure 7.9 The Sampling Distribution of
the Mean: Golf Example
240233 –2.35 0
µx
0.0094
x scale z scale
This is bad news for me. If the true population mean for my drives (my average drive) is indeed 240 yards as I claimed, there is less than a 1% chance that Deb would have been able to collect a sample with a mean of 233 or less. It’s more likely that my true population mean is somewhat less than 240 yards. It looks like I hit the ball farther in my mind’s eye than I actually do on the golf course.
So far, we have discovered that my sample mean of 233 yards did not support my claim that my average drive was 240 yards. What sample mean would support my claim? Obvi- ously, it would need to be closer to 240 yards than 233, so sample means slightly above 240 yards 1xU2 and below 240 yards 1xL2 would suffice. The shaded region in Figure 7.10 on the next page shows how we find these two values. Most statisticians would agree that these values can be identified in the symmetrical interval that includes 95% of the sample means if the true population mean was 240 yards.
A sample mean between the values of xL and xu would support my claim!
www.freebookslides.com
310 C h a p t e r 7 | Sampling and Sampling Distributions
To find xU and xL, we need to identify the z-scores that define the shaded region in Figure 7.10. If our 95% region is in the center of the sampling distribution, we have 2.5% of the area to the right of the shaded region and 2.5% of the area to the left.
This means that the area to the left of xU is 0.95 + 0.025 = 0.975, which is shown in Figure 7.10. We then search Table 4 in Appendix A to find the value in the body of the table closest to 0.975, which happens to be z = 1.96. We want to find the sample mean that is 1.96 standard deviations to the right of 240. Because the sampling distribution is sym- metrical and the 95% region is in the middle of the curve, the z-score that corresponds to xL is - 1.96. In other words, we are also looking for the sample mean that is 1.96 standard deviations to the left of 240 yards. We do this by rearranging Equation 7.4 in terms of x, as follows:
z = x - mx sx
xU = mx + zsx xU = 240 + 11.96212.982 = 245.8 yards xL = mx - zsx xL = 240 + 1 - 1.96212.982 = 234.2 yards
To satisfy my claim that I average 240 yards off of the tee, the sample average of 45 drives would have to be between 234.2 and 245.8 yards. If the sample average is below 234.2 yards, I would have evidence that my population mean is less than 240 yards. A sam- ple mean above 245.8 yards would indicate my average drive exceeds 240 yards.
In the next section, we will explore the effect sample size has on the sampling distribu- tion. But before we get there, be sure to test the claim made by Kellogg’s in the following Your Turn problem.
{ figure 7.10 Ninety-Five Percent of the
Sample Means: Golf Example
240
0.025
0
0.025
xU = ?xL = ?
95%
0.9750 µx
z = –1.96 x scale z scalez = 1.96
The CLT can be used in a quality control setting, such as a process that fills boxes with cereal. Suppose Kellogg’s claims that the average weight for a box of Frosted Flakes is 18 ounces. To make sure that the filling process is working properly, a sample of 30 boxes is selected and found to have a mean of 18.2 ounces. Historical records show that the standard deviation of the filling process is 0.32 ounces.
a. Is the Frosted Flakes filling process working as Kellogg’s claims? b. Identify the symmetrical interval that includes 95% of the sample means if the true population
mean is 18 ounces.
Y o u r t u r n # 5N
Answers can be found on u page 330
www.freebookslides.com
C h a p t e r 7 | 7.4 The Central Limit Theorem 311
the effect of the Sample Size on the Sampling Distribution Earlier in this chapter, I mentioned that sample size plays an important role in the CLT. As we increase the size of our samples, the standard error of the mean becomes smaller, which in turn reduces the sampling error. Let’s return to my debunked claim of averaging 240 yards with my drives on the golf course. (Thanks a lot, Deb.) Using s = 20 yards, n = 45 (the sample size), and Equation 7.3, we found the standard error of the mean to be sx = 2.98 yards. Figure 7.11 shows the impact of increasing the sample size from 45 to 100.
With a larger sample size the standard error is reduced, which results in the sample means having more of a tendency to crowd around the mean of the distribution.
{ figure 7.11 The Effect Changing the Sample
Size Has on the Sampling Distribution: Golf Example
= = = 2.0020 45
σ n
σ = 20 yards n = 45
240 0 µx
σ = 20 yards n = 100
σx = = = 2.98 20100 σ n
σx
x scale z scale
Increasing the sample size to 100 changes the shape of the sampling distribution. The standard error of the mean drops from 2.98 to 2.00, causing the distribution to be taller and narrower, as shown in Figure 7.11. With a larger sample size the standard error is reduced, resulting in the sample means having more of a tendency to crowd around the mean of the distribution, which in this case is 240. We can see this by calculating the interval that will contain 95% of the sample means for n = 100.
xU = mx + zsx xU = 240 + 11.96212.002 = 243.9 yards xL = mx - zsx xL = 230 + 1 - 1.96212.002 = 236.1 yards
Table 7.9 compares these results to the interval calculated earlier for n = 45. As you can see, the interval of sample means for n = 100 is narrower than the one for n = 45.
{ table 7.9 | Intervals That Contain 95% of Sample Means When the Sample Size Changes from 45 to 100: Golf Example
n xL xU
45 234.2 245.8
100 236.1 243.9
Increasing the sample size also effectively reduces the sampling error, which we defined as x - m earlier in Equation 7.2. Think of it this way: As you gradually increase the sample size until it eventually becomes the population size, the sample means will approach the population mean. If the entire population is “sampled,” the mean of that sample is the popu- lation mean. This is known as a census. Once the entire population is measured, then x = m, which makes the sampling error equal to zero. I can summarize this as follows:
As n S N Then x S m Eventually x = m Making x - m = 0 1Sampling Error2
A census is the process of recording information from the entire population of interest.
www.freebookslides.com
312 C h a p t e r 7 | Sampling and Sampling Distributions
In most cases, sampling is still the preferred approach over a census (unless you are the U.S. government). When the U.S. government counts the population of the country, it tries to count everyone—even people who are hard to find, such as the homeless. However, for most people and organizations, populations are usually too large to measure or not completely ac- cessible. This concept demonstrates that sample size can be used to control the inherent er- rors that can occur when relying on a sample to describe a larger population.
The shape of the distribution of the population will also affect the shape of the sampling distribution, as will the size of the sample. Figure 7.12 shows the histograms of three popu- lations, along with their corresponding sampling distributions.
{ figure 7.12 Population Distributions and
Their Corresponding Sampling Distributions (for Three Different-Sized Samples)
Population 1 Population 2 Population 3
Sample Means n = 2
Sample Means n = 2
Sample Means n = 2
Sample Means n = 5
Sample Means n = 5
Sample Means n = 5
Sample Means n = 30
Sample Means n = 30
Sample Means n = 30
Right-Skewed Normal U-Shaped
In all three cases, the sampling distribution for n = 30 can be described as having the shape of the normal distribution, which is taller and narrower than the distributions with smaller sample sizes. You can also see that the normally distributed population in the middle column has a normal sampling distribution for all sample sizes. The same can’t be said for Populations 1 and 3, which obviously are not normal. Figure 7.12 visually shows that when samples are large enough, their means follow a normal distribution regardless of the shape of a population’s distribution. This is what the CLT predicts.
I hope I have convinced you of the usefulness of the CLT. If I were your instructor, you’d be seeing all sorts of exam questions on this topic, so give the next Your Turn problem a try.
www.freebookslides.com
C h a p t e r 7 | 7.4 The Central Limit Theorem 313
the Sampling Distribution of the Mean with a Finite population Up to this point in the chapter, we have assumed that all of the samples have been selected from a very large, or infinite, population. In these cases, the proportion of the sample size to the population size, n>N, is very small. By contrast, when the population is smaller, or finite, this proportion can be much larger. When sampling from a smaller population when the pro- portion n>N is greater than 5%, I recommend making an adjustment to the standard error of the mean calculation using Equation 7.5. So, for example, if our population consisted of 100 people and we were sampling more than 5 of them, we would adjust the standard error of the mean using Equation 7.5.
The fuel consumption for the 2013 Toyota Prius was rated by the U.S. Environmental Protection Agency (EPA) to average 48 miles per gallon (MPG) for combined city and highway driving. Assume the popula- tion standard deviation is 7 MPG. Determine the interval that will contain 95% of the sample means for a sample size of
a. 40 cars b. 80 cars
Y o u r t u r n # 6N
Answers can be found on u page 330
Finite population correction factor A factor used to adjust the standard error of the mean or proportion when the proportion of sample size to population size, n >N, is greater than 5%.
When the proportion of sample size to population size, n/N, is greater than 5%, the finite population correction factor is used to adjust the standard error of the mean.
Formula 7.5 for the Standard Error of the Mean (Finite Population)
sx = s1n A N - nN - 1
where
s = Population standard deviation n = Sample size N = Population size
The term A N - nN - 1 in Equation 7.5 is known as the finite population correction factor. To illustrate sampling from a finite population, consider Sum-R-Fun, a Delaware pool ser- vice company that has 100 residential customers. Historically, Sum-R-Fun’s customers have given the company an average rating for customer service of 7.2 on a scale of 1–10 with a standard deviation of 0.7. However, a recent sample of 40 customers led to an average rating of 7.5 for the company. Is there any evidence that the average customer service rating for the entire customer base is different from 7.2? In other words, does the 7.5 rating indicate that if all customers were surveyed, the firm’s average customer rating might be higher than 7.2? That would suggest that the company’s customers were becoming more satisfied. Or, per- haps the higher 7.5 rating is just a result of sampling error. Let’s find out which it is.
Because 40 out of 100 customers were sampled, the proportion n>N = 40>100 = 40%. This value is greater than 5%, so this would be considered sampling from a finite population, requiring the use of Equation 7.5.
sx = s1n A N - nN - 1 = 0.7140 A 100 - 40100 - 1
sx = 0.7
6.32 A 6099 = 10.111210.606 sx = 10.111210.7782 = 0.086
www.freebookslides.com
314 C h a p t e r 7 | Sampling and Sampling Distributions
We now calculate the z-score for x = 7.5:
z7.5 = x - mx sx
= 7.5 - 7.2
0.086 = 3.49
Using Table 4 in Appendix A, we have
P1z … 3.492 = 0.9998 However, we are looking for
P1z 7 3.492 = 1 - 0.9998 = 0.0002 There is only a very small probability (0.02%) that a sample mean of 7.5 or greater
could have occurred if the true population mean were 7.2. Therefore, it appears the popula- tion mean is greater than 7.2. Apparently, the customer service at Sum-R-Fun has improved recently.
I’m sure you’re asking why we need a different standard error formula for finite popula- tions. For an explanation, look at Table 7.10, which shows the standard errors for Sum-R- Fun when samples sizes of 40, 60, 80, and 100 are used. Note that a sample size of 100 is considered a census because the population consists of 100 customers.
The first column in Table 7.10 is the sample size. The second column shows the stan- dard error without the correction factor, which assumes our population is very large (infinite) when compared to the size of the sample. The third column shows the finite population cor- rection factor for each sample size amounts. The last column shows the standard error for each sample size with the correction factor included.
{ table 7.10 | Sampling Errors for Sum-R-Fun’s Sample Sizes When the Finite Population Equals 1001N = 1002
sample size
standard error
finite correction factor
standard error with finite correction factor
n Sx = S1n A N - nN - 1 Sx = S1n A N - nN - 1
40 0.111 0.778 0.086
60 0.090 0.636 0.057
80 0.078 0.449 0.035
100 0.07 0 0
Recall our sampling-error discussion in the previous section. We learned that as the sample size approaches the population size, the sampling error approaches zero. When the sample mean equals the population mean there is no variation between the two. In other words, sx should be equal to zero. However, look at the second column in Table 7.10: As n goes to 100, the standard error only drops to 0.07. This is because the standard error equa- tion in the second column assumes the population is infinite. The finite population correction factor comes to our rescue. When n = N, the correction factor equals zero, resulting in a corrected standard error also equaling zero.
In general, the correction factor reduces the standard error to reflect the fact that the sampling error is lower for a finite population. If you use the infinite population standard er- ror in the second column when the population is finite, you’ll be exaggerating your sampling error and adversely affecting your probability calculations.
What happens to the finite correction factor when the population size becomes much larger when compared to the sample size? Let’s plug in a population size of 10,000 with a sample size of 30 to find out:
N = 10,000 n = 30A N - nN - 1 = A 10,000 - 3010,000 - 1 = A 9,9709,999 = 10.997 = 0.998 ≈ 1.0 We use the correction factor to reduce the standard error because the sampling error is lower for a finite population.
www.freebookslides.com
C h a p t e r 7 | 7.4 The Central Limit Theorem 315
As the calculations show, for an infinite population where n>N is less than 5%, the correction factor is close to 1.0, essentially dropping out of the standard error calculation. The next Your Turn problem demonstrates the finite population concept in an effort to save my job.
My college requires instructors to have an average approval rating of 9.0 on a scale of 1–10 from stu- dent evaluations as a condition for employment. This current semester, I have 120 students, of whom 30 completed the evaluation. My average score on the evaluation was 8.8. Historical data have indicated that the standard deviation for student evaluations in the college is 3.2. My dean has scheduled a meet- ing with me today to discuss my future employment with the college. Can you help me save my job?
Y o u r t u r n # 7N
Answer can be found on u page 331
Rating data used in the Your Turn #7 example is technically ordinal data which we defined in Chapter 1 as data that are rank-ordered with no assurance that the differences be- tween the ranks are uniform. We have no certainty that the difference between a rating score of 5 and 6 is identical to the difference between a rating score of 8 and 9. Because of the ambiguity of the intervals, it’s not proper to calculate the mean and standard deviation of or- dinal data. However, it is common practice to assume that rating data used in this Your Turn are close enough to interval data which allows calculations of the mean and standard devia- tion (which we do perform in this example). Just be aware that some people in the world of statistics take offense at such liberties!
7.4 Section Problems Basic Skills 7.7 For a population with a mean equal to 150 and a standard
deviation equal to 30, calculate the standard error of the mean for a sample size of
a. 10 b. 30 c. 50
7.8 For a normal population with a mean equal to 80 and a standard deviation equal to 15, determine the probability of observing a sample mean of 85 or less from a sample of size 10.
7.9 For a population that is left skewed with a mean of 24 and a standard deviation equal to 15, determine the probability of observing a sample mean of 23 or more from a sample of size 32.
7.10 Identify the symmetrical interval that includes 95% of the sample means for a population with a mean equal to 45 and a standard deviation equal to 9 using a sample size of 36.
7.11 Consider a population of 250 with a mean of 60 and a standard deviation equal to 23. What is the probability of obtaining a sample mean of 62 or less with a sample size of 45?
applications 7.12 According to the National Association of Theater Owners,
the average price for a movie in the United States in 2012 was $7.96. Assume the population standard deviation is $0.50 and that a sample of 30 theaters was randomly selected.
a. Calculate the standard error of the mean. b. What is the probability that the sample mean will be
less than $7.75? c. What is the probability that the sample mean will be
less than $8.10? d. What is the probability that the sample mean will be
more than $8.20?
7.13 Iron Hill Café is a full-service restaurant in Columbus, Ohio, which is owned and managed by John Stevens. The number of minutes that diners spend at the table has a major impact on the profitability of the restaurant. Sup- pose the average number of minutes that diners spend at a table for dinner at the Iron Hill Café is 93 minutes with a standard deviation of 17 minutes. Assume the number of minutes diners spend at their table follows the normal probability distribution. Calculate the probability that the average number of minutes that diners spend at their table for dinner will be less than 100 minutes
www.freebookslides.com
316 C h a p t e r 7 | Sampling and Sampling Distributions
a. using a sample size of 10 tables. b. using a sample size of 20 tables. c. using a sample size of 30 tables. d. Explain the difference in these probabilities.
7.14 According to Travel and Leisure, the average hotel price in the Miami, Florida, was $156 per night in 2012. As- sume the population standard deviation is $26.00 and that a random sample of 35 hotels was selected.
a. Calculate the standard error of the mean. b. What is the probability that the sample mean will be
less than $160? c. What is the probability that the sample mean will be
more than $163? d. What is the probability that the sample mean will be
between $147 and $151?
7.15 Researchers at the University of California, San Diego, found that a person in the United States spent an aver- age of 5 hours a day watching TV. Assume the popula- tion standard deviation is 1.6 hours per day. A sample of 32 people averaged 5.3 hours of television viewing per day. Does this result support the findings of the study?
7.16 A study conducted by TomTom found that Hawaii had the slowest state highway drivers in the country. The drivers traveled at an average speed of 52.7 miles per hour (MPH). Assume the population standard deviation is 6.0 MPH.
a. What is the probability that a sample of 30 of the drivers will have a sample mean less than 51 MPH?
b. What is the probability that a sample of 45 of the driv- ers will have a sample mean less than 51 MPH?
c. What is the probability that a sample of 60 of the drivers will have a sample mean less than 51 MPH?
d. Explain the difference in these probabilities.
7.17 According to a recent survey by the National Retail Federation, men spent an average of $135.35 on Valentine’s Day gifts (compared with $72.28 for women). Assume the standard deviation for this population is $40 and that it is normally distributed. A random sample of 10 men who celebrate Valentine’s Day was selected.
a. Calculate the standard error of the mean. b. What is the probability that the sample mean will be
less than $125? c. What is the probability that the sample mean will
be more than $140? d. What is the probability that the sample mean will be
between $120 and $160? e. Identify the symmetrical interval that includes 95%
of the sample means if the true population mean is $135.35.
7.18 With higher unemployment rates for young adults, an increasing number of parents are providing some form of financial support for their adult children. According to a
2013 Harris poll, parents of 18- to 35-year-old children spend an average of $108 per month for their offspring’s phone, music, video and remote Web services. Assume the population standard deviation for this financial support is $33 per month. A random sample of 31 adults with 18- to 35-year-old children was selected and was found to have an average of $91 per month for this type of financial support.
a. Does this sample provide support for the conclusions of the Harris poll?
b. Identify the symmetrical interval that includes 95% of the sample means if the true population mean is $108 per month.
7.19 The weight of NFL players has increased steadily, gaining up to 1.5 lbs per year since 1942. According to ESPN, the average weight of a National Football League (NFL) player is now 252.8 lbs. Assume the population standard devia- tion is 25 lbs. A random sample of 38 NFL players was selected.
a. Calculate the standard error of the mean. b. What is the probability that the sample mean will be
less than 246 lbs? c. What is the probability that the sample mean will be
more than 249 lbs? d. What is the probability that the sample mean will be
between 254 and 258 lbs? e. Identify the symmetrical interval that includes 95% of the
sample means if the true population mean is 252.8 lbs.
7.20 A local pizza shop claims its average home delivery time is 30 minutes. A sample of 40 deliveries had a sample average of 33 minutes. Assume the population standard deviation for the shop’s deliveries is 6.5 minutes.
a. Is there support for the shop’s claim using the criteria that were previously discussed?
b. Identify the symmetrical interval that includes 95% of the sample means if the true population mean is 30 minutes.
7.21 According to the Organisation for Economic Co-operation and Development (OECD), adults in the United States worked an average of 1,787 hours in 2011. Assume the population standard deviation is 400 hours and that a ran- dom sample of 50 U.S. adults was selected.
a. Calculate the standard error of the mean. b. What is the probability that the sample mean will be
more than 1,800 hours? c. What is the probability that the sample mean will be
between 1,750 and 1,780 hours? d. Would a sample mean of 1,825 hours support the claim
made by the OECD? e. Identify the symmetrical interval that includes 95% of
the sample means if the true population mean is 1,787 hours.
www.freebookslides.com
C h a p t e r 7 | 7.5 The Sampling Distribution of the Proportion 317
7.22 One semester I had a total of 80 students in my statistics classes. The average score for the class on the last exam I administered was 85.4 with a standard deviation of 4.9. A random sample of 32 students was selected.
a. Calculate the standard error of the mean. b. What is the probability that the sample mean will
be less than 87? c. What is the probability that the sample mean will be
more than 86? d. What is the probability that the sample mean will
be between 84.5 and 86.5?
7.23 Newark College has 240 full-time employees who are currently covered under the school’s health care plan. The average out-of-pocket cost for the employees on the plan is $1,880 with a standard deviation of $515. Newark College is performing an audit of its health care plan and has randomly selected 30 employees to analyze their out-of-pocket costs.
a. Calculate the standard error of the mean. b. What is the probability that the sample mean will be
less than $1,825? c. What is the probability that the sample mean will
be more than $1,840? d. What is the probability that the sample mean will be
between $1,900 and $1,950?
7.24 The Excel file titled NBA.xlsx contains frequency distribution of the heights of the players in the National Basketball Association during a recent season.
a. Calculate the mean and standard deviation of this population.
b. What is the probability that a sample mean of 45 players will be less than 78 in.?
c. What is the probability that a sample mean of 45 players will be more than 79.5 in.?
d. What is the probability that a sample mean of 45 players will be between 78.5 and 80 in.?
7.5 The Sampling Distribution of the Proportion
Up to this point in the chapter, we have focused our attention on sample means and how they behave in a sampling distribution. However, there are times when we are counting observations in a sample and need to rely on the sample percentage rather than the sample mean. I’ll use the following hypothetical example to demonstrate. Suppose that CBS, the network that broadcasted the 2013 Super Bowl, estimated that 45% of the U.S. households would tune into the game when they established the cost of a 30-second commercial before the big event. Also, suppose that Coca-Cola, one of the game’s advertisers, wanted to verify this claim independently. After the game, Coca-Cola randomly selected 200 households and found that 84 of them watched the Super Bowl. Based on this sample, can Coca-Cola vali- date the claim made by CBS?
To answer this question, we need to recognize that we are dealing with the binomial probability distribution discussed in Chapter 5, where we count the number of success (x) in a certain number of trials (n). In Chapter 6 we learned that we can use the normal distribu- tion to approximate the binomial distribution if the following conditions are met:
np Ú 5 n11 - p2 Ú 5
In these equations, the variable p represents the population proportion. In our Coca-Cola example, we set p = 0.45 because CBS claimed that the percentage of households (popula- tion) that would watch the Super Bowl is 45%. Using n = 200, the condition required to use the normal distribution is satisfied because
np = 1200210.452 = 90 Ú 5 n11 - p2 = 1200211 - 0.452 = 110 Ú 5
We can determine the sample proportion, p, using Equation 7.6.
Formula 7.6 for the Sample Proportion
p = x n
www.freebookslides.com
318 C h a p t e r 7 | Sampling and Sampling Distributions
where
x = The number of observations of interest in the sample (successes) n = Sample size (trials) For the Coca-Cola example, the sample proportion is
p = x n
= 84
200 = 0.42
If Coca-Cola had collected many random samples from the U.S. household population, each with a size 200, and calculated the sample proportion for each of them, the distribution of sample proportions would follow the normal distribution. This is known as the sampling distribution of the proportion. The average of these sample proportions should be very close to p, the proportion of the entire population. The sampling distribution of the proportion describes the pattern that sample proportions tend to follow when randomly drawn from a population.
The standard deviation for this distribution, sp, is known as the standard error of the proportion and is shown in Equation 7.7. This equation is analogous to the standard error of the mean from the previous section.
The sampling distribution of the proportion describes the pattern that sample proportions tend to follow when randomly drawn from a population.
The standard deviation for this distribution, sp, is known as the standard error of the proportion.
where
p = Population proportion n = Sample size Let’s apply this equation to the Coca-Cola example:
sp = A p11 - p2n = A 10.45211 - 0.452200 sp = A 0.2475200 = 20.001238 = 0.0352
To calculate our normal probability, we need to employ the z-score for sample propor- tions as shown in Equation 7.8.
Formula 7.7 for the Standard Error of the Proportion
sp = A p11 - p2n
where
p = Sample proportion p = Population proportion
sp = Standard error of the proportion This equation is a variation of the z-score for sample means that we used earlier in this
chapter. In this sample proportion version of the z-score:
• p replaces x
• sp replaces sx • p replaces m
Formula 7.8 for the z-score for the Sample Proportion
zp = p - p sp
www.freebookslides.com
Using Equation 7.8, the z-score for p = 0.42 is
z0.42 = p - p sp
= 0.42 - 0.45
0.0352 = - 0.85
Our sample proportion of 0.42 is 0.85 standard deviations to the left of the population proportion that is claimed to be true by CBS, p, and is shown in Figure 7.13.
Using Table 3 in Appendix A, we find that the area to the left of z = - 0.85 is
P1p … 0.422 = P1z … - 0.852 = 0.1977 The shaded area in Figure 7.13 shows us the probability that 84 or fewer households
watched the 2013 Super Bowl from any sample of 200 is nearly 20%. This probability assumes that the true population proportion is 0.45, as CBS claimed. From a statistician’s perspective, 20% is high enough to support CBS’s claim. As we will learn in the next chapter, if this percentage had been, say, 5% or less, Coca-Cola would have some evidence that the true population proportion was most likely less than 0.45.
The following Your Turn problem will give you a chance to test your newly found pro- portion skills.
{ figure 7.13 The Sampling Distribution
of the Proportion for the Coca-Cola Example
0.450.42 – 0.85
0.1977
0 p scale
p z scale
A 2012 survey of adults 18 years and older reported that 34% have texted while driving. A random sample of 125 adults was selected. What is the probability that 36 or more people from this sample send text messages while they drive?
Y o u r t u r n # 8N
Answer can be found on u page 331
the Sampling Distribution of the proportion with a Finite population
If the ratio of n>N is greater than 5%, the population correction factor,A N - nN - 1, needs to be included in the standard error of the proportion, as shown in Equation 7.9.
Formula 7.9 for the Standard Error of the Proportion (Finite Population)
sp = A p11 - p2n A N - nN - 1 where
p = Population proportion n = Sample size N = Population size
C h a p t e r 7 | 7.5 The Sampling Distribution of the Proportion 319 www.freebookslides.com
320 C h a p t e r 7 | Sampling and Sampling Distributions
The reasoning for using this standard error of the proportion is the same as for using the standard error of the mean. The correction factor reduces the standard error to reflect the fact that the sampling error is lower for a finite population.
I’ll use the following example to illustrate this technique. Goldey-Beacom College is graduating 770 students this year and claims that 70% of its graduates have landed full-time jobs in fields related to their majors. To test this claim, 120 students are randomly sur- veyed, and 97 had indeed found jobs in fields related to their majors. Is the college’s claim accurate?
First, we’ll check to be sure the conditions are met using the normal distribution to ap- proximate the binomial:
p = 0.70 n = 120 np = 1120210.702 = 84 Ú 5
n11 - p2 = 1120211 - 0.702 = 36 Ú 5 We can now use Equation 7.6 to determine the sample proportion.
p = x n
= 97
120 = 0.808
Because 120 out of 770 students were sampled, the proportion n>N = 120>770 = 16%. This value is greater than 5%, which is considered sampling from a finite population and thus requires the use of Equation 7.9:
sp = A p11 - p2n A N - nN - 1 = A 10.70211 - 0.702120 A 770 - 120770 - 1 sp = A 0.21120 A 650769 = 10.0017510.8453 sp = 10.0418210.91942 = 0.0384
We now calculate the z-score for p = 0.808: using Equation 7.8:
z0.808 = p - p sp
= 0.808 - 0.70
0.0384 = 2.81
Using Table 4 in Appendix A, we calculate the probability that the sample proportion will be more than or equal to 0.808 if the actual population proportion is 0.70:
P1p Ú 0.8082 = P1z Ú 2.812 = 1.0 - 0.9975 = 0.0025 There is a very small probability (0.0025) that a sample proportion of 0.808 or more will
be observed if the true population proportion is 0.70. Therefore, it appears the actual popula- tion proportion is more than 0.70. Apparently, according to this sample, the percentage of graduating students employed in a field related to their major is actually greater than 70%.
One last note: Back in Chapter 6, we used the continuity correction factor, which allows us to approximate the binomial distribution with the normal distribution by adding and sub- tracting the value 0.5 to the interval of interest. This factor is not used in this chapter because the sample size and number of successes observed for these types of problems are large enough to make the correction insignificant in the probability calculations. Therefore, the continuity correction factor will not be needed for the remaining problems in this chapter.
Try this last Your Turn problem to wrap up your sampling distribution skills.
When the proportion of sample size to population size, n>N, is greater than 5%, the finite population correction factor is used to adjust the standard error of the proportion.
Crossan Pointe is a housing development in Delaware with 96 homes. It is believed that 75% of these homes are up to date with paying their annual community dues for maintenance and snow removal. A random sample of 50 homes was selected, and it was found that 31 had paid their dues. Is there enough evidence to support the claim that 75% of the houses are up to date with their dues?
Y o u r t u r n # 9N
Answer can be found on u page 331
www.freebookslides.com
7.5 Section Problems Basic Skills 7.25 For a population with a proportion equal to 0.30, calcu-
late the standard error of the proportion for the following sample sizes:
a. 50 b. 100 c. 150
7.26 A sample of 125 is drawn from a population with a proportion equal to 0.65. Determine the probability of observing
a. 80 or fewer successes. b. 82 or fewer successes. c. 75 or more successes.
7.27 A sample of 150 is drawn from a population with a propor- tion equal to 0.40. Determine the probability of observing
a. between 50 and 54 successes. b. between 55 and 62 successes. c. between 53 and 70 successes.
7.28 A sample of 150 is drawn from a population with a pro- portion equal to 0.40 and a population size of 400. Deter- mine the probability of observing
a. between 50 and 54 successes. b. between 55 and 62 successes. c. between 53 and 70 successes.
applications 7.29 Generation Y has been defined as those individuals who
were born between 1981 and 1991. A recent survey by the National Foundation for Credit Counseling found that 58% of the young adults in Generation Y pay their monthly bills on time. Suppose we take a random sample of 200 people from Generation Y.
a. Calculate the standard error of the proportion. b. What is the probability that 125 or fewer will pay their
monthly bills on time? c. What is the probability that 100 or fewer will pay their
monthly bills on time? d. What is the probability that 120 or more will pay their
monthly bills on time? e. What is the probability that between 112 and 122 of
them will pay their monthly bills on time?
7.30 First-time buyers are very important to the housing market because these buyers allow existing homeowners to “move up” into their next home. According to the National Association of Realtors, 31% of U.S. homes sold in November 2012 were purchased by first-time buyers. A random sample of 175 people who just purchased homes is selected.
a. Calculate the standard error of the proportion. b. What is the probability that less than 58 of them are
first-time buyers?
c. What is the probability that more than 62 of them are first-time buyers?
d. What is the probability that more than 52 of them are first-time buyers?
e. What is the probability that between 44 and 50 of them are first-time buyers?
7.31 According to the Pew Internet & American Life Project, 73% of U.S. teens aged 12–17 used social networks. A random sample of 130 teenagers from this age group was selected.
a. Calculate the standard error of the proportion. b. What is the probability that less than 75% of the teens
from this sample used social networks? c. What is the probability that between 70% and 80% of
the teens from this sample used social networks? d. What impact would changing the sample size to 200
teens have on the results of parts a, b, and c?
7.32 The Social Media and Personal Responsibility Survey found that 69% of parents are “friends” with their chil- dren on Facebook. A random sample of 140 parents was selected.
a. Calculate the standard error of the proportion. b. What is the probability that 100 or more parents
from this sample are “friends” with their children on Facebook?
c. What is the probability that between 96 and 105 par- ents from this sample are “friends” with their children on Facebook?
d. If 81 parents responded that they are “friends” with their children on Facebook, does this result support the find- ings of the Social Media and Personal Responsibility Survey?
7.33 OnCampus Research recently reported that 46% of col- lege students aged 18–24 would spend their spring breaks relaxing at home. A sample of 155 college students was selected.
a. Calculate the standard error of the proportion. b. What is the probability that less than 40% of the col-
lege students from the sample spent their spring breaks relaxing at home?
c. What is the probability that more than 50% of the col- lege students from the sample spent their spring breaks relaxing at home?
d. What is the probability that between 48% and 58% of the college students from the sample spent their spring breaks relaxing at home?
7.34 According to the National Retail Federation, 36% of tax- payers used computer software to do their taxes for the 2012 tax year. A sample of 125 taxpayers was selected.
a. Calculate the standard error of the proportion. b. What is the probability that less than 30% of the tax-
payers from the sample used computer software to do their taxes?
C h a p t e r 7 | 7.5 The Sampling Distribution of the Proportion 321 www.freebookslides.com
322 C h a p t e r 7 | Sampling and Sampling Distributions
c. What is the probability that between 28% and 40% of the taxpayers from the sample used computer software to do their taxes?
d. What impact would changing the sample size to 225 taxpayers have on the results of parts a, b, and c?
7.35 Pike Creek Golf Club currently has 375 members who pay annual dues to play golf on the course. Historical records show that 38% of the members use the course at least once a week during the summer season. To verify this, a random sample of 100 members was selected.
a. Calculate the standard error of the proportion. b. What is the probability that 32 or more members from
the sample used the course at least once a week? c. What is the probability that between 30 and 40 mem-
bers from the sample used the course at least once a week?
d. If 50 members from the sample used the course at least once a week, does this support the historical records of course usage?
7.36 At Goldey-Beacom College, 56% of employees carry de- pendent family members on their health insurance plans. Currently, there are 200 employees working for the col- lege. A random sample of 50 employees is selected.
a. What is the probability that less than 60% of the sam- ple carries dependent family members on their health insurance plan?
b. Answer the question in part a using sample sizes of 100 and 150. Explain the differences in these probabilities.
c. Answer the question in part a without the finite correc- tion factor. Explain the differences in these probabilities.
7.37 Managers at a local AT&T Wireless retail center have a goal that 75% of the center’s customers will have to wait less than 5 minutes for service. The Excel file named AT&T.xlsx shows the wait times of a random sample of 160 customers in minutes. Use Excel’s COUNTIF function to count the number of successes. Does this sample provide evidence that management’s goal is being achieved?
www.freebookslides.com
chapter 7 Summary
323
■ A population represents all possible outcomes or measurements of interest.
■ A sample as a subset of a population.
■ If a sample is selected properly, and the data from the sample is collected correctly, we can use this information to make a very accurate assessment of the entire population.
■ Probability sampling describes the process where each member in the population has a known, nonzero, chance of being selected for a sample.
■ The four probability sampling techniques are defined as follows:
• A simple random sample is a sample in which every member of the population has an equal chance of being chosen.
• Systematic sampling involves selecting every kth member of the population to be part of your sample.
• One concern about systematic sampling is periodicity, which is a pattern in the population that is consistent with the value of k.
• In stratified sampling, we divide the population into mutually exclusive groups, or strata, and randomly sample from each of these groups.
• Cluster sampling involves dividing the population into mutually exclusive groups, or clusters, and then selecting a simple random sample from these clusters to form the final sample.
■ Nonprobability sampling refers to a sampling practice where the probability of a population member being selected for the sample is not known.
• Convenience sampling is a type of nonprobability sampling that is used when members of the population are chosen to become part of the sample simply because they are easily accessible.
• One of the most common types of convenience sampling is an Internet poll.
■ Parameters are values that describe some characteristic of a population, such as the mean or the median.
■ Statistics are values that are calculated from a sample, such as the mean or the median.
■ The difference between a statistic and a parameter is known as the sampling error.
• In general, we expect larger sample sizes to provide smaller corresponding sampling errors.
■ Nonsampling errors occur when survey questions are ambiguous in the eyes of the respondents, which results in their not answering them in a reliable manner.
• Unlike sampling errors, nonsampling errors cannot be reduced by simply increasing the size of the sample.
■ The sampling distribution of the mean describes the pattern that sample averages tend to take on when randomly drawn from a population.
■ The sample mean standard deviation is also known as the standard error of the mean.
■ The Central Limit Theorem states that for any population distribution, the sample means will be normally distributed if the samples are large enough.
• In most cases, sample sizes of 30 or larger will result in sample means being normally distributed regardless of the shape of the population distribution.
■ When a sample size is larger, the standard error is reduced, which results in the sample means having more of a tendency to crowd around the mean of the distribution.
www.freebookslides.com
324
■ When the proportion of sample size to population size, n>N, is greater than 5%, the finite popula- tion correction factor is used to adjust the standard error of the mean.
• In general, the correction factor reduces the standard error to reflect the fact that the sampling er- ror is lower for a finite population.
■ The sampling distribution of the proportion describes the pattern that sample proportions tend to take on when randomly drawn from a population.
■ Proportions follow the binomial distribution, but we can use the normal distribution to approxi- mate the binomial probability distribution if np Ú 5 and n11 - p2 Ú 5.
■ The standard deviation for sampling distribution of the proportion distribution is known as the standard error of the proportion.
■ When the proportion of sample size to population size, n>N, is greater than 5%, the finite popula- tion correction factor is used to adjust the standard error of the proportion.
chapter 7 Key Terms Bootstrap method. Using computer software to extract many
samples with replacement in order to estimate a parameter of the population.
Census. The process of recording information from the entire population of interest.
Central Limit Theorem. States that sample means from samples of sufficient size, drawn from any population, will be nor- mally distributed.
Cluster sample. A simple random sample of groups, or clusters, of the population often based on geography.
Convenience sample. A sample in which the members of the population are chosen to become part of the sample simply because they are easily accessible.
Finite population correction factor. A factor used to adjust the standard error of the mean or proportion when the pro- portion of sample size to population size, n>N, is greater than 5%.
Nonprobability sample. A sample in which the probability of a population member being selected for the sample is not known.
Nonsampling errors. Errors that occur as a result of problems such as data collection mistakes, ambiguous survey ques- tions, and questions that lead respondents to certain “correct” answers.
Parameters. Values that describe some characteristic of a popula- tion, such as the mean or the median.
Periodicity. A pattern in the population that is consistent with the value of k in systematic sampling.
Probability sample. A sample in which each member in the population has a known, nonzero chance of being selected for the sample.
Resampling. A statistical technique where many samples are re- peatedly drawn from a population.
Sampling distribution of the mean. The distribution pattern that sample averages tend to follow when the samples are ran- domly drawn from a population.
Sampling distribution of the proportion. The distribution pat- tern that sample proportions tend to follow when the samples are randomly drawn from a population.
Sampling error of the sample mean. The difference between the sample mean and the population mean.
Simple random sample. A sample in which every member of the population has an equal chance of being chosen.
Standard error of the mean. The standard deviation of sample means, which measures the average variation around the mean of the sample means.
Standard error of the proportion. The standard deviation of sample proportions, which measures the average variation around the mean of the sample proportions.
Statistics. Values that are calculated from a sample, such as the mean or the median.
Stratified sample. A sample in which the population is divided into mutually exclusive groups, or strata, and randomly drawn from each of these groups.
Systematic sample. A sample in which every kth member of the population is chosen, with the value of k being equal to N>n.
www.freebookslides.com
325
7.2 Types of Sampling (pp 291–298)
Formula 7.1 for the Systematic Sampling Constant k = N n
7.3 Sampling and Nonsampling Errors (pp 298–301)
Formula 7.2 for the Sampling Error of the Sample Mean Sampling Error = x - m
7.4 The Central Limit Theorem (pp 301–317)
Formula 7.3 for the Standard Error of the Mean sx = s1n
Formula 7.4 for the z-Score for the Sample Mean zx = x - mx sx
Formula 7.5 for the Standard Error of the Mean (Finite Population) sx = s1n A N - nN - 1
7.5 The Sampling Distribution of the Proportion (pp 317–322)
Formula 7.6 for the Sample Proportion p = x n
Formula 7.7 for the Standard Error of the Proportion sp = A p11 - p2n Formula 7.8 for the z-Score for the Sample Proportion zp =
p - p sp
Formula 7.9 for the Standard Error of the Proportion (Finite Population) sp = A p11 - p2n A N - nN - 1
chapter 7 Equations
7.38 According to FedSmith.com, the average salary for a fed- eral employee in 2012 was $74,804. Assume the population standard deviation is $15,300. A random sample of 34 fed- eral employees is selected.
a. What is the probability that the sample mean will be less than $70,000?
b. What is the probability that the sample mean will be more than $74,000?
c. What is the probability that the sample mean will be between $76,000 and $81,000.
7.39 According to the Bureau of Labor Statistics, the unemploy- ment rate for workers aged 20 to 24 in February 2013 was 13.1%. Consider a random sample of 110 workers from this age group.
a. What is the probability that 20 or fewer will be unemployed?
b. What is the probability that 15 or fewer will be unemployed?
c. What is the probability that between 10 and 16 of them will be unemployed?
chapter 7 Problems
www.freebookslides.com
326
7.40 One of Super Giant’s grocery stores in Pennsylvania sells, on average, 1,120 cases of Pepsi products a week with a standard deviation of 146 cases. Josh Nelson, who is the Pepsi account manager for this store, receives a bonus if the store’s weekly sales over a four-week period during the month average more than 1,200 cases.
a. What is the probability that Josh will receive a bonus next month?
b. What assumptions are needed to answer part a?
7.41 According to the Beverage Marketing Corporation, the per capita consumption of bottled water in the United States is 2.3 gallons per month. Assume the standard deviation for this population is 0.75 gallons per month. Consider a ran- dom sample of 36 people.
a. What is the probability that the sample mean will be less than 2.1 gallons per month?
b. What is the probability that the sample mean will be more than 2.2 gallons per month?
c. Identify the symmetrical interval that includes 95% of the sample means if the true population mean is 2.3 gallons per month.
7.42 It is commonly known that approximately 10% of the population is left-handed. Nike Golf would like to estimate the proportion of left-handed golfers in order to plan the schedule of golf club production. Assume Nike collected a sample of 200 golfers.
a. What is the probability that more than 12% of the golf- ers in the sample are left-handed?
b. What is the probability that less than 14% of the golfers in the sample are left-handed?
c. What is the probability that between 6% and 9% of the golfers in the sample are left-handed?
d. Suppose the sample that Nike collected had nine left- handed golfers. What conclusions should Nike draw about the population of left-handed golfers?
7.43 According to AAA, regular gasoline averaged $3.68 per gallon in the United States in March 2013. Assume the standard deviation for gasoline prices is $0.12 per gallon. A random sample of 30 service stations was selected.
a. What is the probability that the sample mean will be less than $3.66?
b. What is the probability that the sample mean will be more than $3.63?
c. What is the probability that the sample mean will be between $3.62 and $3.72?
d. Suppose the sample mean is $3.75. Does this result support the findings of AAA? Explain your answer.
7.44 Generation Y has been defined as those individuals who were born between 1981 and 1991. According to the Project on Student Debt, Generation Y students graduating from college averaged $23,200 in debt. Assume the standard deviation for debt is $7,500 per student.
a. What is the probability that the sample mean will be less than $24,000 for a sample size of 30 students?
b. Identify the symmetrical interval that includes 95% of the sample means if the true population mean is $23,200 per student.
c. Answer the question in part a for a sample size of 60. Explain the differences in these two probabilities.
7.45 The Journal of American College Health found that 56.4% of college students who lived in coed dormitories consumed alcohol weekly (compared with 26.5% who lived in single- sex dormitories). A random sample of 160 students who live in coed dormitories was selected.
a. What is the probability that more than 50% of the stu- dents in the sample consume alcohol weekly?
b. What is the probability that less than 65% of the stu- dents in the sample consume alcohol weekly?
c. What impact would changing the sample size to 100 stu- dents have on the results in part a?
d. Identify the symmetrical interval that includes 95% of the sample proportions with a sample size of 160 if the true population proportion of students in coed dormito- ries who consume alcohol weekly is 56.4%.
7.46 A certain unnamed statistics teacher needs to grade 90 ex- ams. The teacher claims that exams require an average of 12 minutes to grade with a standard deviation of 3 minutes. A random sample of 15 exams is selected.
a. What is the probability that the sample mean will be more than 11 minutes per exam?
b. What is the probability that the sample mean will be more than 12.5 minutes per exam?
c. Suppose the sample mean is 10 minutes. Is the teacher’s claim valid according to this sample?
d. What assumptions need to be made in this problem?
7.47 Shortly after the major oil spill in the Gulf of Mexico that occurred in April 2010 due to an explosion on an oil rig, a Rasmussan Poll found that 23% of respondents were against offshore drilling for oil. In an effort to confirm these results, an environmental group randomly selected 200 adults and asked them their opinions about offshore drilling.
a. What is the probability that 40 or more people from this sample are against offshore drilling for oil?
b. What is the probability that 50 or more people from the sample are against offshore drilling for oil?
c. If 62 people in the sample indicated that they are against offshore drilling for oil, what conclusions can the envi- ronmental group make?
7.48 Many homeowners rely on handymen to perform small jobs, such as repairs or maintenance, around their resi- dence. According to HomeAdvisor Inc., the average cost for a handyman project is $460. Assume the population standard deviation is $95. A random sample of 30 handy- man projects was selected.
www.freebookslides.com
327
a. What is the probability that the sample mean will be less than $475?
b. What is the probability that the sample mean will be be- tween $450 and $465?
c. Identify the symmetrical interval that includes 95% of the sample means if the true population mean is $460 per project.
d. Suppose the sample mean was $411. Does this result support the findings of HomeAdvisor Inc.?
7.49 In an effort to reduce health care costs, many companies are encouraging their employees to walk more. According to the Medicine & Science in Sports & Exercise Journal, Americans take an average of 5,117 steps per day. Assume the population standard deviation is 2,200 steps per day. Jim Powers is the manager of a retail store that employs 230 people and has provided each of them with a pedom- eter which counts the number of steps taken per day. He chooses a random sample of 45 employees and records the number of steps they walked yesterday. Assume the em- ployee population is representative of the U.S. population.
a. What is the probability that the sample mean is less than 5,800 steps per day?
b. What is the probability that the sample mean is more than 4,800 steps per day?
c. What is the probability that the sample mean is between 4,600 and 5,000 steps per day?
7.50 According to the Bureau of Labor Statistics, the average workweek for an adult in the United States in February 2013 was 34.5 hours. Assume the population standard devi- ation for the number of hours worked per week is 5.0 hours. A random sample of 30 U.S. adults worked an average of 35.1 hours last week.
a. Do the results from this sample support the claim by the Bureau of Labor Statistics?
b. Identify the symmetrical interval that includes 95% of the sample means if the true population mean is 34.5 hours per week.
7.51 The “sandwich generation” is defined as adults who are fi- nancially supporting their children while providing care for their aging parents. The number of adults in this category has increased recently with higher unemployment rates, es- pecially for young adults. Financial burdens carried by this generation can have major implications on their retirement plans. A 2012 study from the Pew Research Center reported that 15% of adults aged 40–59 belong to the sandwich gen- eration. A random sample of 135 adults from this age group was selected.
a. What is the probability that 16 or more adults from this sample belong to the sandwich generation?
b. What is the probability that 24 or more adults from this sample belong to the sandwich generation?
c. What is the probability that between 14 and 25 adults from this sample belong to the sandwich generation?
7.52 According to the Graduate Management Admission Council, the average starting salary for an MBA graduate in the class of 2011 was $85,854. Assume the population standard deviation for starting MBA salaries was $11,700. A random sample of 40 MBA graduates from the class of 2011 was selected.
a. What is the probability that the sample mean is less than $88,000?
b. What is the probability that the sample mean is more than $81,000?
c. What is the probability that the sample mean is between $83,000 and $85,000?
d. Suppose the sample mean was $87,400. Does this result support the findings of Graduate Management Admission Council?
7.53 Urban planners will use electronic traffic counters to count the number of vehicles that travel on a specific road. This information can be used to identify roads that need to be improved or expanded based on traffic needs. Suppose that, from historical studies, Duncan Road in Kent County averages 2,165 vehicles per day with a standard deviation of 485 vehicles per day. A traffic counter was used on this road on 33 days that were randomly selected.
a. What is the probability that the sample mean is less than 2,000 vehicles per day?
b. What is the probability that the sample mean is more than 2,200 vehicles per day?
c. What is the probability that the sample mean is between 2,100 and 2,300 vehicles per day?
d. Suppose the sample mean was 2,400 vehicles per day. Does this result support the stated population mean for this road?
7.54 Some employers are offering their employees a Consumer- Directed Health Plan (CDHP) where the employer provides employees with a sum of money from which employees can purchase their health plan from an online marketplace. The concept is based on the belief that employees will behave more efficiently as consumers spending their own money. According to Aon Hewitt, 39% of employees who had the option chose a CDHP as their insurance plan. Boscov’s is a retail store that employs 286 people and offered a CDHP as a health insurance option. A random sample of 42 employ- ees was selected.
a. What is the probability that 15 or fewer employees from this sample chose the CDHP?
b. What is the probability that 18 or more employees from this sample chose the CDHP?
c. What is the probability that between 17 and 22 employ- ees from this sample chose the CDHP?
7.55 Negative equity is defined as a situation where the mort- gage on a property is more than the market value of the property. During the recent financial crisis, market values of most homes declined resulting in an increase in the
www.freebookslides.com
328
proportion of homes with negative equity. This, in turn, led to an increase in home foreclosures. According to CoreLogic, 52.4% of home mortgages in Nevada during the fourth quarter of 2012 had negative equity. A random sample of 210 home mortgages was randomly selected.
a. What is the probability that 50% or less of this sample has negative equity?
b. What is the probability that 57% or more of this sample has negative equity?
c. What is the probability that between 49% and 55% of this sample has negative equity?
d. Suppose that 130 home mortgages from this sample have negative equity? Does this result support the claim made by CoreLogic?
7.56 According to Catalyst, 14.3% executive positions in Fortune 500 companies are occupied by women in 2012. A random sample of 180 Fortune 500 executives was selected.
a. What is the probability that 20% or less of this sample were women?
b. What is the probability that 18% or more of this sample were women?
c. What is the probability that between 10% and 15% of this sample were women?
d. Suppose that 29 executives from this sample were women? Does this result support the claim made by Catalyst?
7.57 According to the Department of Transportation, the average licensed driver travels 1,123 miles per month in his or her vehicle. Assume the population standard deviation is 341 miles per month. Determine the interval that will contain 95% of the sample means for a sample size of
a. 30 drivers b. 45 drivers c. 60 drivers d. Explain the differences in these probabilities.
7.58 Obtaining a driver’s license at the earliest eligible age has been a teenage ritual that appears to be fading. A study performed by the University of Michigan Transportation Research Institute recently found that 30% U.S. teenag- ers between the ages of 17 to 19 did not possess a driver’s license. A random sample of 140 17- to 19-year-old teenag- ers was selected.
a. What is the probability that 45 or fewer teenagers of this sample had not obtained a driver’s license?
b. What is the probability that 50 or more teenagers of this sample had not obtained a driver’s license?
c. What is the probability that between 35 and 40 teenagers had not obtained a driver’s license?
d. Suppose that 28 teenagers from this sample had not obtained a driver’s license? Does this result support the findings reported by the University of Michigan Transportation Research Institute?
7.59 Suppose I am employed at a college in which 62% of the student population is female. I am currently teaching statistics to 135 students this semester. I would like to select 50 students randomly from this group to participate in one of my research projects.
a. What is the probability that 30 or more students in my sample will be female?
b. What is the probability that 27 or more students in my sample will be female?
c. What is the probability that between 28 and 36 of the students in my sample will be female?
d. Which of the four probability sampling procedures would be most appropriate if gender was an important factor in the research?
7.60 Quality control programs will often establish control limits that are three standard errors above and below a target mean for a process. A sample is taken from the process, and if the sample mean is within the control limits the process is deemed satisfactory. A process is designed to fill bottles with 16 ounces of soda with a standard deviation of 0.5 ounces.
a. Determine the control limits above and below the mean for this process using a sample size of 30.
b. What percentage of sample means would you expect to fall within these limits if the process is operating satisfactorily?
7.61 The National Center for Health Statistics reported that 34% of Americans were obese recently. The Center for Disease Control estimated that obese people spent an average of $1,429 more for medical goods and services than non-obese people. Obesity is determined using a formula called body mass index (BMI), which is calculated using the following formula:
BMI = Weight1lbs2 * 703 1Height1inches222
A person with a BMI of 25 to 29 is classified as over- weight, 30 to 40 as obese, and 40 or more as morbidly obese. The Excel file named BMI.xlsx lists the height and weight of a sample of 80 adults. Does this sample support the findings that 34% of the population is obese?
7.62 Wawa Corporation operates 570 convenient food stores in Delaware, Maryland, New Jersey, Pennsylvania, and Virginia. Suppose the company’s managers have a goal that customer satisfaction is to average at least 8.0 on a scale of 1–10. A random sample of 60 stores was selected, and the average customer satisfaction level for these stores was 7.75. Assume the historical standard deviation of satisfac- tion scores is 0.9. Is the goal set by the managers being achieved?
www.freebookslides.com
329
a. Population frequency distribution:
Service Cost ($) Frequency Probability
Facial (F) 40.0 1 0.3333
Pedicure (P) 30.0 1 0.3333
Manicure (M) 20.0 1 0.3333
Total 3 1.00
b. Possible sample combinations:
Katie (F) Katie (P) Katie (M)
Debbie (F) $40, $40 $40, $30 $40, $20
Debbie (P) $30, $40 $30, $30 $30, $20
Debbie (M) $20, $40 $20, $30 $20, $20
Sample means:
Katie (F) Katie (P) Katie (M)
Debbie (F) $40 $35 $30
Debbie (P) $35 $30 $25
Debbie (M) $30 $25 $20
Frequency distribution of sample means:
Sample Average xi ($)
Frequency
Relative Frequency P1xi2
20 1 0.1111
25 2 0.2222
30 3 0.3333
35 2 0.2222
40 1 0.1111
Total 9 1.00
c. m = a N
i = 1 xiP1xi2
m = 1$40210.33332 + 1$30210.33332 + 1$20210.33332 m = $30
mx = a n
i = 1 xiP1xi2
mx = 1$20210.11112 + 1$25210.22222 + 1$30210.33332 + 1$35210.22222 + 1$40210.11112 mx = $30
d. Population standard deviation table:
xi xi 2 P1xi2 xi2 P1xi2
20 400 0.3333 133.32
30 900 0.3333 299.97
40 1,600 0.3333 533.28
Total = 966.57
a N
i = 1 x 2i P1xi2 = 966.57
s2 = ¢ aN i = 1
x 2i P1xi2≤ - m2 s2 = 966.57 - 13022 = 966.57 - 900 = 66.57 s = 2s2 = 166.57 = $8.16
Y o u r T u r n # 3
m = a N
i = 1 Xi
N =
$21 + $24 + g + $48 + $33 16
= $461
16 = $28.8
a. x = a
n
i = 1 xi
n =
$21 + $24 2
= $22.5
Sampling Error = x - m = $22.5 - $28.8 = - $6.3
b. x = a
n
i = 1 xi
n =
$21 + $24 + $36 + $23 4
= $26.0
Sampling Error = x - m = $26.0 - $28.8 = - $2.8
c. x = a
n
i = 1 xi
n =
$21 + $24 + $36 + $23 + $26 + $31 6
= $26.8 Sampling Error = x - m = $26.8 - $28.8 = - $2.0 The sampling error decreases as the sample size increases.
Y o u r T u r n # 2
a. Systematic sampling b. Cluster sampling c. Convenience sampling
d. Stratified sampling e. Simple random sampling
Y o u r T u r n # 1
chapter 7 Solutions to Your Turn
www.freebookslides.com
330
Standard error of the mean table:
xi xi 2 P1xi2 xi2 P1xi2
20 400 0.1111 44.440
25 625 0.2222 138.875
30 900 0.3333 299.970
35 1,225 0.2222 272.195
40 1,600 0.1111 177.760
Total = 933.240
a n
i = 1 x i
2P1xi2 = 933.24
sx 2 = ¢ an
i = 1 x i
2P1xi2≤ - mx2 sx
2 = 933.24 - 13022 = 933.24 - 900 = 33.24 sx = 2sx2 = 133.24 = $5.77 sx =
s1n = $8.1612 = $5.77 Y o u r T u r N # 4
mx = m = $20.04 s = $6.00 n = 35
sx = s2n = $6.00235 = $6.005.92 = $1.014
z19 = x - mx sx
= $19.00 - $20.04
$1.014 = - 1.03
P1x 6 $19.002 = P1z 6 - 1.032 = 0.1515
Y o u r T u r N # 5 a. mx = 18 ounces
s = 0.32 ounces n = 30
sx = s1n = 0.32130 = 0.325.48 = 0.058
z18.2 = x - mx sx
= 18.2 - 18
0.058 = 3.45
P1z Ú 3.452 = 1.0 - 0.9997 = 0.0003 Because this probability of obtaining a sample mean of 18.2 ounces or
more if the true population mean is 18 ounces is only 0.0003, there is little evidence to support the 18-ounce average. It appears the filling process is putting too much cereal in the boxes.
b. xU = mx + zsx xU = 18 + 11.96210.0582 = 18.11 ounces xL = mx - zsx xL = 18 - 11.96210.0582 = 17.89 ounces
Y o u r T u r N # 6 a. mx = 48 MPG
s = 7 MPG n = 40
sx = s2n = 7240 = 76.32 = 1.11
xU = mx + zsx xU = 48 + 11.96211.112 = 50.2 MPG xL = mx - zsx xL = 48 - 11.96211.112 = 45.8 MPG
b. mx = 48 MPG s = 7 MPG n = 80
sx = s2n = 7280 = 78.94 = 0.78
xU = mx + zsx xU = 48 + 11.96210.782 = 49.5 MPG xL = mx - zsx xL = 48 - 11.96210.782 = 46.5 MPG
www.freebookslides.com
331
n
N =
30
120 = 0.25 7 0.05
sx = s1n A N - nN - 1 = 3.2130 A 120 - 30120 - 1 .
= 10.5842110.7562 = 0.507 z8.8 =
x - mx sx
= 8.8 - 9.0 0.507
= -0.39
P1x … 8.82 = P1z … -0.392 = 0.3483 There is a 34.8% chance of observing a sample mean of 8.8 or less with an actual population mean of 9.0. This probability is too high to claim the population mean is less than 9.0. The reason my sample mean is less than 9.0 is due to sampling error.
Y o u r T u r N # 7 Y o u r T u r N # 8
p = x
n =
36
125 = 0.288
np = 1125210.342 = 42.5 Ú 5 n11 - p2 = 1125211 - 0.342 = 82.5 Ú 5 sp = A p11 - p2n = A 10.34211 - 0.342125 = A0.2244125
= 20.001795 = 0.0424 z =
p - p sp
= 0.288 - 0.34
0.0424 = - 1.23
P1p Ú 0.2882 = P1z Ú - 1.232 = 0.8907 There is an 89% chance that a sample of 125 will contain more than 36 who drive while they text.
Y o u r T u r N # 9 p = 0.75 n = 50 N = 96
n/N = 50
96 = 0.51 7 0.05
p = x
n =
31
50 = 0.62
np = 150210.752 = 37.5 Ú 5 n11 - p2 = 150211 - 0.752 = 12.5 Ú 5
sp = A p11 - p2n A N - nN - 1 = A 10.75211 - 0.75250 A 96 - 5096 - 1 sp = A0.187550 A4695 = 20.0037520.4842
sp = 10.0612210.69582 = 0.0426 z0.62 =
p - p sp
= 0.62 - 0.75
0.0426 = -3.05
P1p … 0.622 = P1z … -3.052 = 0.0011 There is a very small probability that a sample proportion of 0.62 or less will be observed if the true population proportion is 0.75. Therefore, it appears the population proportion is less than 0.75 and there is no supporting evidence with this sample that 75% of the homes are up to date with their annual dues.
www.freebookslides.com
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Calculate and interpret a confidence interval for a population mean.
■ Understand the meaning of the margin of error.
■ Understand the impact of chang- ing the confidence level for a confidence interval.
■ Use the Student’s t-distribution to determine a confidence interval.
■ Calculate and interpret a confi- dence interval for a population proportion.
■ Determine the sample size required to obtain a specific margin of error.
■ Calculate a confidence interval for a finite population.
Confidence Intervals C h a p t e r 8 M a p
8.1 Point Estimates | 334
8.2 Calculating Confidence Intervals for the Mean when the Standard Deviation 1s2 of a Population Is Known | 335
8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation 1s2 of a Population Is Unknown | 347
8.4 Calculating Confidence Intervals for Proportions | 354
8.5 Determining the Sample Size | 359
8.6 Calculating Confidence Intervals for Finite Populations | 366
C h a p t e r
8
www.freebookslides.com
334 C h a p t e r 8 | Confidence Intervals
Now that you have learned how to collect a random sample and how sample means and sample proportions behave under certain conditions, you are ready to put those samples to work using confidence intervals. One of the most important roles that statistics plays in today’s world is to gather information from a sample and then use that information to make a statement about the population from which it was chosen. We are using the sample as an estimate for the population. But just how good of an estimate is the sample providing us? As the previous Stats in Practice indicates, the answer to this question is a very important one. The concept of confidence intervals will allow us to arrive at an answer.
8.1 Point Estimates The simplest estimate of a population is a point estimate, the most common of which are the sample mean and the sample proportion. A point estimate is a single value that best de- scribes the population of interest.
I fear my wife has been kidnapped and secretly replaced by a Deb lookalike who is completely addicted to QVC, one of the home-shopping channels. No one and no room in our household has escaped the products Deb has found on her new favorite television chan- nel. She has purchased stuff for the car, the kitchen floor, the dog, her skin, her hair, and my back (an inversion table that she wants me to hang upside down on like a bat!).
Suddenly “Diamonique Week” has become a major holiday in our household. I’m not really sure what Diamonique actually is, but I suspect it is “available for a limited time only.” Whenever I turn on any television in the house, the channel always seems to be set to a very convincing home-shopping channel–type person pleading with me to “Call now! Only three left!” I have no idea what the person is selling, but I find myself looking for the phone.
Anyway, let’s say HSN, one of QVC’s competitors, would like to estimate the aver- age dollar value for a QVC customer. To start, we need to collect a random sample of QVC customer orders, the process for which was discussed in Chapter 7. If my sample mean were $129.20, I could use that as my point estimate for the entire population of QVC customers.
The advantage of a point estimate is that it is easy to calculate and easy to understand. The disadvantage is that I have no information concerning the accuracy of this estimate. Re- member how in Chapter 7 we discussed the fact that it is not realistic to assume that the sam- ple mean from one sample will equal the population mean? Every random sample is subject to sampling error, which is the difference between the sample mean and population mean.
An economic statistic that the business community watches very closely each month is the national unemployment rate which is reported by the federal government’s Bureau of Labor Statistics (BLS). Because the population of the U.S. workforce is very large, BLS relies on a sample each month to estimate the unemployment rate for the entire economy. For example, the BLS reported that the unemployment rate dropped from 7.92% in January 2013 to 7.74% in February, which provided encouragement that the health of the economy was improving. But what many people who read this statistic don’t realize is that there is a level of uncertainty associated with this figure. As it turns out, based on their sample of the workforce, the govern- ment was 90% confident that the actual U.S. unemployment rate in February 2013 was between 7.54% and 7.94%. In other words, the unemployment rate may have actually increased from 7.92% in January to 7.94% in February. The government
can’t say for sure that there was a decrease in unemployment between these two months.
What I am describing here is known as a 90% confidence in- terval around the estimated unemployment rate of 7.74% in February 2013. As we will learn in this chapter, the uncertainty as to whether unemployment actually rose or fell is not a failure on the part of the BLS, but the nature of the beast fondly known as statistics. Because the reported rate of 7.74% is based on a sample taken from the labor force population, it is only an estimate and subject to sampling error which was discussed in Chapter 7. In this chapter, you will learn how to construct and interpret confidence intervals and, as a result, be able to under- stand the nuances of reports such as the one described in this section.
Stats in practice: the BLS reports that the Unemployment rate Fell—Or Maybe rose
A point estimate is a single value that best describes the population of interest. The most common point estimates are the sample mean and the sample proportion.
Point estimates are easy to calculate but do not provide any information about their accuracy.
www.freebookslides.com
C h a p t e r 8 | 8.2 Calculating Confidence Intervals for the Mean when the Population Standard Deviation Is Known 335
To deal with this uncertainty, we can use an interval estimate. An interval estimate pro- vides a range of values that best describes the population. Next, we will look at the most common type of interval estimate, the confidence interval.
8.2 Calculating Confidence Intervals for the Mean when the Standard Deviation 1S2 of a Population Is Known
A confidence interval for the mean is an interval estimate around a sample mean that pro- vides us with a range of where the true population mean lies. In reality, the true population mean is rarely known, so the confidence interval is often the only evidence we have for the average of the population.
In this section, we will focus on a case in which our sample size is at least 30 1n Ú 302. This allows us to use the properties of the Central Limit Theorem from Chapter 7. Recall that the Central Limit Theorem states that regardless of the shape of a population distribution, its sample means will follow the normal distribution for sample sizes of 30 or greater. We will also assume in this section that the population standard deviation, s (sigma), is known. However, in reality, the standard deviation is often unknown. Think about it: In Chapter 3, you learned that you need to know the mean in order to calculate the standard deviation. (Sigma measures the average variation of the data from the mean.) Later in this chapter, you will learn how to construct a confidence interval when sigma is un- known. In the meantime, we’ll assume we know the population standard deviation.
To develop an interval estimate for the population of interest, we need to learn about confidence levels. The Stats in Practice at the beginning of this chapter stated that the gov- ernment was 90% certain that the unemployment rate for February 2013 was somewhere between 7.54% and 7.94%. In this example, the value 90% represents the confidence level, which is defined as the probability that the interval estimate will include the population pa- rameter of interest, such as a mean or proportion. Typically, confidence levels are set by the statistician at 90% or 95% and will occasionally go as high as 99%. I’ll discuss the impact these confidence levels have on the confidence interval later in the chapter.
Now we are ready to delve into the confidence interval calculations. Remember from Chapter 7 we learned that the variation in a sample mean, which we called the standard error of the mean and denoted by sx, could be found using Equation 8.1.
A confidence interval for the mean is an interval estimate around a sample mean that provides us with a range of where the true population mean lies.
A confidence level is defined as the probability that the interval estimate will include the population parameter of interest, such as a mean or a proportion.
Formula 8.1 for the standard error of the Mean
sx = s2n
where
s = The population standard deviation n = The sample size Let’s say we want to construct a confidence interval for the average order size of the
QVC customer based on my sample mean of $129.20 with a 90% confidence level. To deter- mine this interval, we need two more pieces of information: the sample size and the popula- tion standard deviation. Suppose my sample mean was based on the data from 32 orders. In other words, n = 32. (I can’t help but wonder how many of these orders are from Deb.) Also, we’ll assume the population standard deviation is equal to $40.60 1s = 40.602. In Chapter 13, we will discuss how to test for a population standard deviation.
www.freebookslides.com
336 C h a p t e r 8 | Confidence Intervals
We can now calculate the standard error of the mean for our home-shopping example using Equation 8.1 as follows:
sx = s2n = $40.60232 = $40.605.66 = $7.173
Figure 8.1 shows the sampling distribution of the mean (Another Chapter 7 topic—I hope you were paying attention!) for the home-shopping example. This distribution has the following parameters:
mx = The mean of the sample means sx = The standard deviation of the sample means
The shaded region represents the area in which we expect to observe 90% of the sample means gathered from the home-shopping population when the size of each of sample is 32. We need to find the critical z-score, za>2, that corresponds to the boundaries of the shaded region by observing that the total area to the left of the right-hand boundary is 0.90 + 0.05 = 0.95. The variable a is known as the significance level and represents the nonshaded (white) areas under the curve in Figure 8.1. For a 90% confidence level, a = 1 - 0.90 = 0.10, which leaves each nonshaded area equal to 0.05. The significance level will be discussed in more detail later in this chapter. To find the value of za>2, go to Table 4 in Appendix A and search for the value in the body of the table closest to 0.95. You’ll find 0.9495 in the 1.6 row and 0.04 column and 0.9505 in the 0.05 column. Our critical z-score is halfway between these values, which tells us za>2 = z0.05 = 1.645 on the right side of the mean. This same critical z-score to the left of the mean will be designated - za>2 = - z0.05 = - 1.645 as seen in Figure 8.1. This is the critical z-score for all 90% confidence intervals.
Formulas 8.2 and 8.3 for the confidence Interval for the Mean (S Known)
UCL x = x + za>2sx LCL x = x - za>2sx
I use the subscript a>2 for the critical z-score to indicate that the total area for alpha is split in half on each side of the sampling distribution.
{ figure 8.1 Critical z-Scores for a 90%
Confidence Interval 90% of all
sample means
0 = ?
za /2 = 1.645– za /2 = –1.645
0.95
µ
xs = $7.173
z scale x scale
a/2 = 0.05 a/2 = 0.05
x
Notice that the mean of the sampling distribution in Figure 8.1 is unknown. This is because the population mean for the QVC order size is unknown to us because we have ob- served only one sample so far. The purpose of generating a confidence interval is to provide an estimate for the value of the population mean.
The confidence interval for the mean has an upper confidence limit 1UCL x2 and a lower confidence limit 1LCL x2. The upper and lower limits describe the range in which we have some degree of confidence that the actual population mean lies. Equations 8.2 and 8.3 show the formulas for calculating the upper and lower limits for a confidence interval for a par- ticular sample mean.
We learned in Chapter 7 that we expect the population mean, m, to be equal to the mean of the sample means, mx. Both are unknown in Figure 8.1.
www.freebookslides.com
C h a p t e r 8 | 8.2 Calculating Confidence Intervals for the Mean when the Population Standard Deviation Is Known 337
where
x = The sample mean za>2 = The critical z-score sx = The standard error of the mean
We are now ready to calculate the 90% confidence interval for the average order size of QVC customers using Equations 8.2 and 8.3. First, we start with the upper limit:
UCL x = x + za>2sx UCL x = 1$129.202 + 11.64521$7.1732 UCL x = $129.20 + $11.80 = $141.00
Now, we calculate the lower limit:
LCL x = x - za>2sx LCL x = 1$129.202 - 11.64521$7.1732 LCL x = $129.20 - $11.80 = $117.40
Based on our sample mean of $129.20, we are 90% confident that the average order size for the population of QVC customers is between $117.40 and $141.00. We can express this interval as ($117.40, $141.00). I need to keep this information from Deb lest she feels it her duty to keep her home-shopping orders in line with this confidence interval.
Be sure and try this next Your Turn problem to test your understanding of how to con- struct a confidence interval.
A sample of 35 luxury hotels in the United States had an average room rate of $247.80 per night. Using this sample, construct a 90% confidence interval to estimate the average room rate per night for luxury hotels in the United States assuming the population standard deviation is $39 per night.
Y O U r t U r n # 1N
Answer can be found on u page 378
Calculating the Margin of error Figure 8.2 shows our 90% home-shopping confidence interval and identifies the margin of error, MEx. The margin of error is the width of the interval between a sample mean and its upper limit or between a sample mean and its lower limit. This confidence interval can be expressed as $129.20 plus or minus $11.80, which is the margin of error.
A margin of error represents the width of the confidence interval between a sample mean and its upper limit or between a sample mean and its lower limit. Notice that the confidence interval is symmetrical around the sample mean.
{ figure 8.2 The Margin of Error for the
Home-Shopping Example
$129.20 $141.00 Point EstimateLower Limit Upper Limit
$11.80 $11.80
Margin of Error Margin of Error
90% Con�dence Interval
$117.40
In general, the margin of error for a confidence interval for the mean can be found using Equation 8.4.
Formula 8.4 for the Margin of error for a confidence Interval for the Mean
MEx = za>2sx
Margin of error The width of the confidence interval between a sample mean or a proportion and its upper limit and or its lower limit.
www.freebookslides.com
338 C h a p t e r 8 | Confidence Intervals
For our home-shopping example, the margin of error is calculated as follows:
MEx = za>2sx = 11.64521$7.1732 = $11.80 For a particular confidence level, say 90%, a smaller margin of error provides a more precise estimate than a larger margin of error. We can lower the margin of error while maintaining our 90% confidence level by simply increasing our sample size from its current value of 32. To illustrate, let’s assume our sample mean of $129.20 was obtained using a sample size of 50. The margin of error for this sample size is as follows:
sx = s2n = $40.60250 = $40.607.07 = $5.74
MEx = za>2sx = 11.64521$5.742 = $9.44 The margin of error decreased from $11.80 to $9.44 when we increased the sample
size from 32 to 50. As a result, our new and improved 90% confidence interval becomes the following:
UCL x = $129.20 + $9.44 = $138.64 LCL x = $129.20 - $9.44 = $119.76
As you can see, increasing the sample size from 32 to 50 changes our 90% confidence in- terval from ($117.40, $141.00) to ($119.76, $138.64). This new interval is a more precise (narrower) estimate of the average order size for the QVC population. Hopefully, this makes sense to you. A larger sample size provides more information about our population, which, in turn, provides a more precise estimate of the true population mean.
It will be worth your while to spend a minute with this next Your Turn problem to test your margin-of-error skills.
Increasing the sample size while keeping the confidence level constant will reduce the margin of error, resulting in a narrower (more precise) confidence interval.
A random sample of notebook computers currently on the market has an average price of $507. Assume the standard deviation for the population of notebooks is $63. Calculate a 90% confidence interval and the margin of error for this sample if the sample size were the following:
a. 30 notebooks b. 60 notebooks c. What impact does increasing sample size have on the precision of these estimates?
Y O U r t U r n # 2N
Answers can be found on u page 378
Interpreting a Confidence Interval The interpretation of the confidence interval is not as simple as you might think it would be. A common mistake is to make the following statement, which, for the record, is not true: “There is a 90% probability that the average order size for the population of QVC customers is between $117.40 and $141.00.”
This statement seems perfectly reasonable. Unfortunately, it cannot be supported with our confidence interval calculations. To fully explain what a confidence interval means, we need to take additional random samples from the QVC population, each with a size of 32, and calculate their sample means. Table 8.1 shows the first sample we collected at the start of this chapter, along with nine additional random samples and their sample means.
An important point that needs to be made here is that each sample taken from the popu- lation has its own confidence interval, as shown in Table 8.1. Notice that each of these sam- ples has the same margin of error ($11.80) because the sample size and population standard deviation are unchanged for each of them and they all represent a 90% confidence level.
Figure 8.3 shows the sampling distribution for the home-shopping example along with the 10 confidence intervals from the samples in Table 8.1. For demonstration purposes, let’s
www.freebookslides.com
C h a p t e r 8 | 8.2 Calculating Confidence Intervals for the Mean when the Population Standard Deviation Is Known 339
{ table 8.1 | Sample Means from the QVC Population
90% confidence interval
sample
sample mean ($)
margin of error ($)
lower limit ($)
upper limit ($)
1 129.20 11.80 117.40 141.00
2 132.00 11.80 120.20 143.80
3 117.50 11.80 105.70 129.30
4 128.20 11.80 116.40 140.00
5 108.80 11.80 97.00 120.60
6 130.10 11.80 118.30 141.90
7 117.90 11.80 106.10 129.70
8 120.10 11.80 108.30 131.90
9 133.80 11.80 122.00 145.60
10 119.00 11.80 107.20 130.80
Notice that every sample has its own confidence interval centered on the sample mean.
{ figure 8.3 Ten Confidence Intervals for
the Home-Shopping Population
0.45 0.45
90%
$129.20 $141.00
$132.00 $143.80$120.20
$129.30$105.70
$128.20 $140.00
$108.80 $120.60$97.00
$130.10 $141.90
$129.70$106.10
$120.10 $131.90$108.30
$133.80 $145.60$122.00
$130.80$107.20 Sample 10
= $125µµ =
Sample 1
Sample 2
Sample 3
Sample 4
Sample 5
Sample 6
Sample 7
Sample 8
Sample 9
$117.50
$117.40
$118.30
$117.90
$119.00
$116.40
a/2 = 0.05a/2 = 0.05
x
assume the average order size from the QVC population is known and is $125 1m = $1252; it is represented by the green line in Figure 8.3. The position of the confidence intervals for the 10 samples is shown below this distribution.
Unbeknownst to the person collecting these samples, Sample 5’s confidence interval does not include the true population mean (green line). Whoops!
The green line represents the true population mean, which is unknown to the person collecting the samples.
www.freebookslides.com
340 C h a p t e r 8 | Confidence Intervals
Notice that our first random sample from the beginning of the chapter (Sample 1 in Figure 8.3) has a 90% confidence interval that includes the actual population mean, m = $125, because the green line cuts through it. This interval correctly established a range of values that included the average order size of the QVC population. Now, look at the confidence interval for Sample 5. If this had been our random sample, we would state that we were 90% confident that the average order size for the QVC population is between $97.00 and $120.60, which, without us knowing it, would be untrue because m = $125. The lesson here is that there is no guarantee that every confidence interval will include the population mean. As a matter of fact, Table 8.3 shows us that 9 out of 10 sample means have confidence intervals that include the population mean. This is the definition of a 90% confidence interval. We expect that close to 90% of a large number of sample means drawn from a population will produce confidence intervals that include that population’s mean. However, this does not mean that we are guaran- teed that 9 out of every 10 intervals will include the population mean. The same can be said for 95% and 99% confidence intervals.
Test your understanding of this interpretation of a confidence interval using the follow- ing Your Turn problem.
The definition of a 90% confidence interval is that we expect that close to 90% of a large number of sample means drawn from a population will produce confidence intervals that include that population’s mean.
Suppose the Princeton Tavern in Avalon, New Jersey, would like to estimate the average wait time for a table for customers arriving for dinner on a Saturday night. Assume the population standard deviation for wait time is 4.1 minutes. Five random samples, each consisting of 30 wait times, were selected with the following sample means, in minutes:
12.4 11.3 13.1 13.7 12.7
a. Determine 80% confidence intervals for each sample. b. Assuming the actual average wait time for all customers is 13 minutes, are your results consistent
with a definition of an 80% confidence interval? Hint: Use Table 4 in Appendix A to convince yourself that za>2 = 1.28 for an 80% confidence level.
Y O U r t U r n # 3N
Answers can be found on u page 378
Changing Confidence Levels So far, with our home-shopping example we have dealt only with a 90% confidence interval. What happens if we change the confidence level to 95%? Well, Figure 8.4 shows that, us- ing the same logic as the 90% confidence interval, the critical z-score for a 95% confidence interval is za>2 = z0.025 = 1.96. First, recognize from Figure 8.4 that the area to the left of the right-hand boundary is 0.95 + 0.025 = 0.975. To find the value of za>2, go to Table 4 in Appendix A and search for the value in the body of the table closest to 0.975. You’ll find this value in the 1.9 row and 0.06 column, which tells us za>2 = z0.025 = 1.96. These are the critical z-scores for all 95% confidence intervals.
The area to the left of za>2 = 1.96 equals the entire shaded region (0.95) plus the small unshaded region in the left tail (0.025), which totals to 0.975.
{ figure 8.4 Critical z-Scores for a 95%
Confidence Interval
95%
0 z = 1.96–z = –1.96
0.975
xs = $7.173
x scale z scale
a/2 = 0.025a/2 = 0.025
a/2 a/2
= ?µ x
www.freebookslides.com
C h a p t e r 8 | 8.2 Calculating Confidence Intervals for the Mean when the Population Standard Deviation Is Known 341
Because there is a 95% probability that any given confidence interval will contain the true population mean in our current example, we have a 5% chance that it won’t. As men- tioned earlier, this 5% value is known as the significance level, a (known as alpha), which is represented by the total white area in both tails of Figure 8.4. Notice that this 5% area is split in half between both tails of the sampling distribution.
The confidence level of an interval is a complement to the significance level. For ex- ample, the significance level for a 90% confidence interval is 10%, and the significance level for a 99% confidence interval is 1%. In general, a 100 * 11 - a2% confidence interval has a significance level equal to a. We will revisit the significance level in more detail in later chapters.
Observe that the standard error for the mean in Figure 8.4 remains at sx = $7.173 for our 95% confidence interval because the sample size and population standard deviation are unchanged from their original values of 32 and $40.72, respectively. Our 95% confidence interval for a sample mean of $129.20 is determined as follows:
UCL x = x + za>2sx UCL x = 1$129.202 + 11.9621$7.1732 UCL x = $129.20 + $14.06 = $143.26
LCL x = x - za>2sx LCL x = 1$129.202 - 11.9621$7.1732 LCL x = $129.20 - $14.06 = $115.14
Notice that the 95% confidence interval is wider than the 90% interval. In order to be more confident that we have “caught” the true population mean, we need to expand the con- fidence interval from ($117.40, $141.00) to ($115.14, $143.26).
Finally, let’s take a look at the 99% confidence interval for our home-shopping sample using Figure 8.5.
The significance level, a, represents the probability that any given confidence interval will not contain the true population mean.
{ figure 8.5 Critical z-Scores for a 99% Con-
fidence Interval
99%
0 z = 2.575–z = –2.575
0.995
xs = $7.173
x scale z scale
a/2 = 0.005a/2 = 0.005
a/2 a/2
= ?µ x
The value 0.995 10.99 + 0.0052 is halfway between the 0.7 and 0.8 columns in the 2.5 row in Table 4 from Appendix A. The critical z-score for our 99% confidence level is therefore za>2 = z0.005 = 2.575. These are the critical z-scores for all 99% confidence intervals.
Our 99% confidence interval for a sample mean of $129.20 with a sample size of 32 and sigma equal to $40.60 is found as follows:
UCL x = x + za>2sx UCL x = 1$129.202 + 12.57521$7.1732 UCL x = $129.20 + $18.47 = $147.67
LCL x = x - za>2sx LCL x = 1$129.202 - 12.57521$7.1732 LCLx = $129.20 - $18.47 = $110.73
The margin of error for the 99% confidence interval ($18.47) is the largest of the three in- tervals at which we have looked. It also results in the widest (least precise) estimate for the population mean. We are 99% confident that the average order size for the QVC popula- tion is ($110.73, $147.67). This is noticeably wider than our 90% confidence interval of ($117.40, $141.00), which has a margin of error of just $11.80.
www.freebookslides.com
342 C h a p t e r 8 | Confidence Intervals
As this example shows, when you are choosing a confidence level that is most appropri- ate given a specific sample size, you have a tradeoff to consider. You can have more confi- dence that our interval includes the actual population mean, but this interval will be wider and less precise. If you desire a narrower, more precise interval, this will result in a lower confidence level, meaning you are less certain that you have caught the actual population mean. In other words, in the second case, you need a bigger target to be more confident that you actually hit the population mean. Figure 8.6 illustrates this trade-off.
{ table 8.2 | Critical z-Scores for Various Confidence Intervals
confidence level significance level critical z-score
100 : 11 - A2% 100 : 1A2% zA>2 80 20 z0.10 = 1.28
90 10 z0.05 = 1.645
95 5 z0.025 = 1.96
98 2 z0.01 = 2.33
99 1 z0.005 = 2.575
{ figure 8.6 A Confidence Level Trade-Off:
Home-Shopping Example
$129.20 $141.00
$129.20 $147.67$110.73
99% Con�dence Interval
90% Con�dence Interval
$117.40
Table 8.2 summarizes the critical z-scores for the most common confidence intervals used in statistics.
Increasing the confidence level with all else staying constant results in a wider, less precise confidence interval. In order to be more confident that our interval has “caught” the true population mean, we need a wider “net”.
Deciding what confidence level to choose often depends on the purpose for which the confidence interval was constructed. A 90% confidence interval might be more appropri- ate during the early stages of a research project when little is known about the population’s parameters. At this point, the project’s researchers might still be gauging the parameters, so less precision is needed. The 95% confidence interval is a “workhorse” in the field of statis- tics and is seen far more than any other confidence level. A 99% confidence interval is often used in scientific or medical research when making a wrong conclusion about a population parameter is very costly. We will discuss the types of errors that can occur in Chapter 9.
Here’s another Your Turn problem to help you practice determining confidence intervals for various confidence levels.
The crisis in the housing market during the most recent economic recession led to lower vacancy rates in the apartment industry. This, in turn, has resulted in an increase in monthly rents for apartments. Sup- pose a random sample of 40 apartments had an average rent of $1,090. Assume the standard deviation for the population of apartment rents is $260.
a. Determine the 80% confidence interval for this sample. b. Determine the 95% confidence interval for this sample. c. Determine the 98% confidence interval for this sample. d. Explain the differences in these confidence intervals.
Y O U r t U r n # 4N
Answers can be found on u page 378
www.freebookslides.com
C h a p t e r 8 | 8.2 Calculating Confidence Intervals for the Mean when the Population Standard Deviation Is Known 343
putting Confidence Intervals to Work in Businesses Businesses can use confidence intervals to test the claims made about a product or service. For example, PC World’s Test Center recently claimed that the talk-time battery life of the current iPhone averaged 5 hours 38 minutes (338 minutes). To validate this claim, suppose we measured the talk time of 35 iPhones and found the sample average to be 324.6 minutes. Assume the standard deviation of iPhone talk time in general is 32 minutes. Does our sample agree with the findings of PC World?
To answer this question, let’s construct a 95% confidence interval around the mean of this sample. First, we’ll start with the standard error of the mean calculation:
sx = s2n = 32235 = 325.92 = 5.41
Remember, for a 95% confidence interval za>2 = z0.025 = {1.96. So, the upper and lower limits for our interval are as follows:
UCL x = x + za>2sx UCL x = 1324.62 + 11.96215.412 = 335.2 LCL x = x - za>2sx LCL x = 1324.62 - 11.96215.412 = 314.0
According to our sample, we are 95% confident that the true average talk time of the 3G iPhone is within the interval (314.0, 335.2). Because this interval does not include the claimed average of 338 minutes, our sample does not validate the results of PC World’s Test Center. To ensure you grasp this important concept, work the problem in the following Your Turn involving a claim made by the Environmental Protection Agency (EPA).
If this confidence interval had included the claimed average of 338 minutes, our sample would have validated the results of PC World.
Suppose the EPA claimed that the average fuel economy for passenger vehicles in the United States was 20.3 miles per gallon (mpg). To test this claim, a sample of 34 passenger vehicles was randomly selected and their fuel economy was carefully measured. The average fuel economy for this sample was 21.2 mpg. Assume the population standard deviation for passenger vehicle fuel economy is 3.9 mpg. Using a 98% confidence interval, test the validity of the EPA’s claim.
Y O U r t U r n # 5N
Answer can be found on u page 379
Using excel and phStat to Determine Confidence Intervals for the Mean (Sigma Known) Excel has a pretty cool built-in function that calculates the margin of error for confidence intervals. The CONFIDENCE.NORM function has the following characteristics:
= CONFIDENCE.NORM 1alpha, standard_dev, size2 where
alpha = The significance level of the confidence interval standard_dev = The standard deviation of the population size = Sample size The NORM prefix for this function indicates that sigma is known and that we are us-
ing the normal distribution to determine the critical z-score for this interval. We can use the CONFIDENCE.NORM function to calculate the margin of error for the 90% confidence in- terval for our original home-shopping example, where a = 0.1, s = 40.60, and n = 32.
= CONFIDENCE.NORM10.1, 40.6, 322 = 11.81 The value 11.81 represents the margin of error in our confidence interval. Notice that
this margin of error is slightly different from the one we calculated earlier (11.80) due to the rounding of numbers. Excel uses many more decimal places in the calculations than we do manually. This sure beats using tables and square root functions on a calculator!
www.freebookslides.com
344 C h a p t e r 8 | Confidence Intervals
PHStat has the ability to also construct the confidence intervals, using the following steps:
1. Go to Add-Ins + PHStat + Confidence Intervals + Estimate for the Mean, sigma known, as shown in Figure 8.7.
{ figure 8.7 Using PHStat to Calculate a 90%
Confidence Interval (Step 1)
2. Fill in the “Data” and “Input Options” values in the Estimate for the Mean, sigma known dialog box as shown in Figure 8.8. Click OK.
What is the result? The 90% confidence interval is shown in the yellow cells in Figure 8.9. Notice that these values are slightly different from the 90% confidence interval we calcu- lated manually ($117.40, $141.00). Again, this is due to rounding differences. Also, PHStat shows the margin of error as the “Interval Half Width” in Cell B12.
{ figure 8.8 Using PHStat to Calculate a
Confidence Interval (Step 2)
You can change the values in this blue section to calculate another confidence interval with different inputs. This can save the time of rerunning PHStat for another problem.
{ figure 8.9 Using PHStat to Calculate a
90% Confidence Interval (Final Result)
Excel for Mac users can find these instructions in the textbook’s Web site, www. pearsonhighered.com/ donnelly
www.freebookslides.com
C h a p t e r 8 | 8.2 Calculating Confidence Intervals for the Mean when the Population Standard Deviation Is Known 345
Calculating Confidence Intervals for the Mean with Small Samples when the Standard Deviation 1s2 of a population Is Known So far, all of our examples in this chapter have dealt with sample sizes of 30 or more. As you know from Chapter 7, under these conditions sample means tend to follow the normal proba- bility distribution regardless of the shape of the population. But what happens when the sam- ple size is less than 30, assuming sigma (the population standard deviation) is still known? Well, we can no longer rely on the Central Limit Theorem to bail us out. To construct a con- fidence interval under these conditions, the population must be normally distributed. Later in this textbook, we will discuss a procedure to determine if the population data do, or do not, follow the normal distribution. However, if we do know that the population is normally dis- tributed, and we are using a sample size that is smaller than 30, the procedure to construct a confidence interval when sigma is known is identical to the process already discussed.
I’ll use the following example to illustrate this procedure. Rising consumer credit card debt over the past several years has had economists concerned about the financial health of many U.S. households. Suppose a random sample of 15 households had an average credit card debt of $8,150. We will make the following assumptions for this example:
• The population standard deviation for household credit card debt is $2,970.
• The population of household credit card debt follows the normal probability distribution.
Let’s construct a 99% confidence interval around this mean to estimate the average credit card debt for the population of U.S. households. First, we’ll start with the standard error of the mean calculation using Equation 8.1.
sx = s2n = $2,970215 = $2,9703.87 = $767.44
Remember, for a 99% confidence interval, za>2 = 2.575. So, the upper and lower limits for our interval are:
UCL x = x + za>2sx UCL x = 1$8,1502 + 12.57521$767.442 = $10,126.16 LCL x = x - za>2sx LCL x = 1$8,1502 - 12.57521$767.442 = $6,173.84
We are 99% confident that the true average credit card debt for a U.S. household is between $6,173.84 and $10,126.16. If you think this is a pretty wide confidence interval, I’d have to agree with you. There are two factors contributing to this—(1) A smaller sample size results in a rela- tively high standard error of the mean; (2) in order to be 99% confident that we have “caught” the population mean, we need a wider “net” when compared to a 90% confidence interval.
Take a look at this next Your Turn problem, which will test a claim made by Procter & Gamble about laundry (one of my favorite topics—picture Deb raising her eyebrows as she reads this).
A random sample of 45 public colleges and universities averaged $8,650 in tuition and fees during the 2012–2013 academic year. Assume the population standard deviation is $1,490.
a. Use Excel to calculate the margin of error for a 99% confidence interval for this sample. b. Use PHStat to construct a 99% confidence interval for this sample.
Y O U r t U r n # 6N
Answers can be found on u page 379
When the sample size is less than 30 and sigma is known, the population must be normally distributed to calculate a confidence interval.
I know it always looks easy when I do all the work, so I encourage you to test your Excel skills with this next Your Turn problem.
www.freebookslides.com
346 C h a p t e r 8 | Confidence Intervals
8.2 Section Problems Basic Skills 8.1 Construct a 90% confidence interval to estimate the popu-
lation mean using the following data:
x = 75 s = 20 n = 36
8.2 Construct a 99% confidence interval to estimate the popu- lation mean using the following data:
x = 45 s = 30 n = 40
8.3 Construct a 95% confidence interval to estimate the popu- lation mean with x = 110 and s = 30 for the following sample sizes:
a. n = 30 b. n = 45 c. n = 60
8.4 Construct a 98% confidence interval to estimate the popu- lation mean with x = 60 and s = 12 for the following sample sizes:
a. n = 35 b. n = 45 c. n = 55
8.5 Determine the margin of error for a confidence interval to estimate the population mean with n = 35 and s = 40 for the following confidence levels:
a. 90% b. 95% c. 96%
8.6 Determine the margin of error for an 80% confidence interval to estimate the population mean with s = 50 for the following sample sizes:
a. n = 30 b. n = 45 c. n = 60
8.7 Construct a 90% confidence interval to estimate the popu- lation mean using the following data:
x = 85 s = 20 n = 10
What assumptions need to be made to construct this interval?
8.8 Construct a 99% confidence interval to estimate the popu- lation mean using the following data:
x = 60 s = 17 n = 12
What assumptions need to be made to construct this interval?
applications 8.9 Banking fees have received much attention during the
recent economic recession as banks look for ways to re- cover from the crisis. A sample of 30 customers paid an average fee of $12.55 per month on their interest-bearing checking accounts. Assume the population standard devia- tion is $1.75.
a. Construct a 95% confidence interval to estimate the average fee for the population.
b. What is the margin of error for this interval?
8.10 The average selling price of BlackBerry smartphones purchased by a random sample of 35 customers was $311. Assume the population standard deviation was $35.
a. Construct a 90% confidence interval to estimate the average selling price in the population with this sample.
b. What is the margin of error for this interval?
8.11 A random sample of 40 taxpayers with adjusted gross incomes of between $100,000 and $200,000 was drawn. These taxpayers claimed an average of $9,922 in medical expenses for the year. Assume the popula- tion standard deviation for these deductions was $2,400. Construct confidence intervals to estimate the average deduction for the population with the following levels of significance:
a. 2% b. 5% c. 10%
Procter & Gamble, a major manufacturer of household products including laundry detergent, estimates that the average household does 25 loads of laundry per month. A random sample of 18 households averaged 22.8 loads per month. Assume the population standard deviation is 6.1 loads per month.
a. Construct a 95% confidence interval around this sample mean. b. What assumptions must you make to perform this procedure? c. Does this result support the Procter & Gamble estimate?
Y O U r t U r n # 7N
Answers can be found on u page 379
www.freebookslides.com
C h a p t e r 8 | 8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation (s) of a Population Is Unknown 347
8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation (S) of a Population Is Unknown
Up until now, we have assumed that sigma, the population standard deviation, was known to us. However, most of the time, we have no knowledge of this value. Under these circum- stances, we substitute s, the sample standard deviation, for sigma. Because we have com- plete information about our sample, the sample standard deviation can always be calculated using the following equation, which was introduced in Chapter 3 and is shown again here as Equation 8.5.
Formula 8.5 for the Sample Standard Deviation
s = H ani = 11xi - x22n - 1When the population standard deviation is unknown, we substitute s, the sample standard deviation, in its place to calculate the standard error.
8.12 The caloric consumption of 32 American adults was mea- sured and found to average 2,157. Assume the population standard deviation is 260 calories per day. Construct con- fidence intervals to estimate the mean number of calories consumed per day for the American population with the following confidence levels:
a. 95% b. 99% c. 92%
8.13 Suppose Apple claims that the average wait time for a customer calling the Apple Care support line is 175 sec- onds. A random sample of 40 customers had an average wait time of 187 seconds. Assume the population standard deviation for wait time is 50 seconds.
a. Using a 95% confidence interval, does this sample sup- port Apple’s claim?
b. Verify your results with Excel.
8.14 The cost of ink cartridges for inkjet printers can be substan- tial over the life of a printer. Printer manufacturers publish the number of pages that can be printed from an ink car- tridge in an effort to attract customers. HP claims that the C6615DN 25mL black print cartridge will yield an average of 495 pages. To test this claim, an independent lab mea- sured the page count of 45 C6615DN cartridges and found the average page count to be 488.9. Assume the standard deviation for this population is 45 pages.
a. Using a 95% confidence interval, does this sample sup- port HP’s claim?
b. Verify your results with Excel.
8.15 Golf cart attendants at a local country club often receive tips from golfers they assist with their golf clubs. To help recruit new employees, the country club would like to determine the average tips per day an attendant earns. A sample of 16 attendants averaged $42.60 per day in tips. Assume the population standard deviation for daily tips is $9.00.
a. Construct a 98% confidence interval to estimate the average daily tips for an attendant.
b. What assumption needs to be made for this procedure? c. Verify your results with Excel.
8.16 Toyota Motor Corporation developed the Scion car model to appeal to young consumers. Toyota claims the average age of a Scion driver is 26 years old. Suppose a random sample of 18 Scion drivers was drawn, and the average age of the drivers was found to be 27.5 years. Assume the standard deviation for the age of scion drivers is 2.3 years.
a. Construct a 95% confidence interval to estimate the average age of a Scion driver.
b. Does this result lend support to Toyota’s claim? c. What assumption needs to be made for this procedure? d. Verify your results with Excel.
www.freebookslides.com
348 C h a p t e r 8 | Confidence Intervals
where
x = The sample mean n = The sample size (number of data values)
1xi - x2 = The difference between each data value and the sample mean We can also use Excel to calculate this value for us by using the STDEV.S function, which was also described in Chapter 3.
If you believe this simple substitution sounds too good to be true, I’d have to tell you that you’re correct. As I have mentioned before, there’s no free lunch in statistics. When substituting s for s, we can no longer rely on the normal distribution to provide the critical z-score for the confidence interval. Instead, I need to introduce you to the Student’s t-distribution (named to honor you, the Student). It is discussed next.
Using the Student’s t-Distribution The Student’s t-distribution, or simply t-distribution, is a continuous probability distribution with the following properties:
• It is bell-shaped and symmetrical around the mean.
• The shape of the curve depends on the degrees of freedom (df), which refer to the number of values that are free to vary. When dealing with the sample mean, the de- grees of freedom are equal to n - 1.
• The area under the curve is equal to 1.0.
• The t-distribution is flatter and wider than the normal distribution. The critical score for the t-distribution is therefore higher than the critical z-score for the same confi- dence level. This results in wider (less precise) confidence intervals when using the t-distribution. Consider this the cost of not knowing the population standard devia- tion and using the sample standard deviation in its place.
• The t-distribution is actually a family of distributions. As the number of degrees of free- dom increases, the shape of the t-distribution becomes similar to the normal distribution, as shown in Figure 8.10. With more than 100 degrees of freedom (a sample size of more than 100), the two distributions are practically identical.
The Student’s t-distribution is used in place of the normal probability distribution when the sample standard deviation, s, is used in place of the population standard deviation, s.
The degrees of freedom are the number of values that are free to vary given that certain information, such as the sample mean, is known.
{ figure 8.10 The Student’s t-Distribution vs.
the Normal Distribution
t-distribution Normal distribution
Students often struggle with the concept of degrees of freedom, which represent the number of remaining free choices you have after something has been decided, such as the sample mean (which always will be known). Recall that when dealing with a known sample mean, we said that the degrees of freedom are equal to n - 1 (the sample size minus 1). Suppose, for example, that I know that my sample size of n = 3 has a mean of 10, which is a value that I can easily calculate. I can then vary only two values because n - 1 = 3 - 1 = 2. After I set those two values, I have no control over the third value be- cause my sample mean must be 10. So, for this sample, I have two degrees of freedom.
To demonstrate, let’s say the two values that I do know in my sample are 14 and 12. Knowing that my sample mean is 10, the third value in my sample has no freedom. It must be 4, as follows:
x = 14 + 12 + 4
3 = 10
Therefore, when constructing a confidence interval for the mean without knowing the popu- lation standard deviation, the t-distribution will always have n - 1 degrees of freedom.
When substituting s for s, we can no longer rely on the normal distribution to provide the critical z-score for the confidence interval. Instead, we rely on the Student’s t-distribution.
If we know that our sample of size 3 has a sample mean equal to 10, then we also know that the sum of our sample must be 30 because 30>3 = 10. If the first two values (14 and 12) sum to 26, then the third value must equal 4 130 - 26 = 42.
www.freebookslides.com
When we use the t-distribution, we need to assume that the population of interest fol- lows the normal probability distribution. However, suppose your sample size isn’t perfectly distributed but is slightly skewed to one side. As your sample size gets larger, it becomes less critical for you to assume that the population is normally distributed, even though you substituted s for s. This is due to the fact that the shape of the t-distribution becomes similar to the normal distribution as the sample size increases. However, for small sample sizes, as- suming that the population is normally distributed is critical to your accurately calculating confidence intervals. However, this assumption is not as critical when s is substituted for s if the following two conditions exist:
• The sample size is larger than 30.
• The shape of the distribution is not very skewed to one side.
This is due to the fact that the shape of the t-distribution becomes similar to the normal distribution as the sample size increases. However, when the sample size is small, you must be able to correctly assume that the population follows the normal distribution. To simplify matters, I will assume the population of interest follows the normal distribution throughout this section.
To show how confidence intervals are calculated using the Student’s t-distribution, let’s use the following example. My friend, Dr. Gregg, is a successful chiropractor who needs to treat on average at least 90 patients a week to meet his financial goals for his business. Table 8.3 shows the number of patients per week during 18 randomly selected weeks as does the Excel file chiropractor.xlsx. Is there enough evidence with these data to conclude that Dr. Gregg averages at least 90 patients a week in general? To answer this question, I’m going to construct a 95% confidence interval around the mean of our sample.
{ table 8.3 | Number of Patients per Week at Dr. Gregg’s Office
116 83 89
87 81 109
114 123 102
131 96 74
109 106 118
78 91 98
We first need to calculate the sample mean 1x2 and sample standard deviation (s) for our data. Using Excel’s AVERAGE and STDEV.S functions with our sample, we have the following:
x = 100.3 patients treated per week s = 16.6 patients treated per week
Next, we need to calculate the standard error of the mean. However, because sigma is unavailable to us, we calculate the approximate standard error of the mean, snx, using s in Equation 8.6.
Formula 8.6 for the Approximate Standard Error of the Mean
nsx = s1nI have placed a “hat” symbol over s to indicate that this is an approximation of the standard error of the mean.
C h a p t e r 8 | 8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation (s) of a Population Is Unknown 349 www.freebookslides.com
350 C h a p t e r 8 | Confidence Intervals
where
nsx = The approximate standard error of the mean s = The sample standard deviation n = The sample size
For our Dr. Gregg example, the approximate standard error of the mean is calculated as follows:
nsx = s2n = 16.6218 = 3.92 patients treated per week
Our next step is to identify the critical t-score for a confidence interval, ta>2, which is analogous to the critical z-score from earlier in the chapter. One way to do this is to refer to Table 5 in Appendix A, which lists critical t-scores for specific confidence levels and degrees of freedom from 1 to 100.
To determine the value of ta>2 for this example, I need to calculate the number of de- grees of freedom (df). Because n = 18, I have n - 1 = 17 degrees of freedom. This value identifies the appropriate row in Table 8.4, which is an excerpt from Table 5 in Appendix A. To identify the appropriate column in the table, I need to find the confidence level we are looking for, which in this case is 0.95. The intersection of this row and the 0.950 Conf Lev column leads me to ta>2 = t0.025 = 2.110, which is highlighted in red in Table 8.4.
William Gosset (1876–1937) developed the Student’s t-distribution while he was working for the Guinness Brewing Company in Ireland. He published his findings using the pseudonym “Student” because Guinness had a company policy prohibiting employees from publishing papers.
{ table 8.4 | Excerpt of Critical t-Scores Shown in Appendix A
1 tail 0.200 0.100 0.050 0.025 0.010 0.005
2 tail 0.400 0.200 0.100 0.050 0.020 0.010
conf lev 0.600 0.800 0.900 0.950 0.980 0.990
df
1 1.376 3.078 6.314 12.706 31.821 63.657
2 1.061 1.886 2.920 4.303 6.965 9.925
3 0.978 1.638 2.353 3.182 4.541 5.841
4 0.941 1.533 2.132 2.776 3.747 4.604
5 0.920 1.476 2.015 2.571 3.365 4.032
6 0.906 1.440 1.943 2.447 3.143 3.707
7 0.896 1.415 1.895 2.365 2.998 3.499
8 0.889 1.397 1.860 2.306 2.896 3.355
9 0.883 1.383 1.833 2.262 2.821 3.250
10 0.879 1.372 1.812 2.228 2.764 3.169
11 0.876 1.363 1.796 2.201 2.718 3.106
12 0.873 1.356 1.782 2.179 2.681 3.055
13 0.870 1.350 1.771 2.160 2.650 3.012
14 0.868 1.345 1.761 2.145 2.624 2.977
15 0.866 1.341 1.753 2.131 2.602 2.947
16 0.865 1.337 1.746 2.120 2.583 2.921
17 0.863 1.333 1.740 2.110 2.567 2.898
18 0.862 1.330 1.734 2.101 2.552 2.878
19 0.861 1.328 1.729 2.093 2.539 2.861
20 0.860 1.325 1.725 2.086 2.528 2.845
Generally, when we use the t-distribution, we need to assume that the population of interest follows the normal probability distribution.
www.freebookslides.com
Figure 8.11 shows the sampling distribution for the mean and the critical t-scores for Dr. Gregg.
{ figure 8.11 Critical t-Scores for a 95% Con-
fidence Interval When df = 17 3.92 s
n = =xŝ
95%
0
= ? t = 2.110–t = –2.110
µ x x scale t scale
a/2 = 0.025a/2 = 0.025
a/2 a/2
We are now ready to construct our confidence interval for the mean using Equations 8.7 and 8.8 for the upper and lower limits, respectively.
Formulas 8.7 and 8.8 for the Confidence Interval for the Mean (S Unknown)
UCL x = x + ta>2snx LCL x = x - ta>2snx
where
x = The sample mean ta>2 = The critical t-score snx = The approximate standard error of the mean The upper limit for my 95% confidence interval can be found using Equation 8.5:
UCL x = x + ta>2snx UCLx = 100.3 + 12.110213.922 UCL x = 100.3 + 8.27 = 108.57
The lower limit for my 95% confidence interval can be found using Equation 8.6:
LCL x = x + ta>2snx LCL x = 100.3 - 12.110213.922 LCL x = 100.3 - 8.27 = 92.03
According to our results, Dr. Gregg is 95% confident that the true population mean for the number of patients he treats per week is between 92.03 and 108.57. Because this entire interval exceeds 90 patients per week, it appears that Dr. Gregg’s financial goals are being met.
The properties of confidence intervals using the t-distribution are the same for those constructed using the normal distribution:
• Increasing the confidence level will result in a wider (less precise) confidence interval.
• Increasing the sample size will result in a narrower (more precise) confidence interval.
• The margin of error equals ta>2snx.
Using excel and phStat to Determine Confidence Intervals for the Mean (Sigma Unknown) Another way to determine the critical t-score for a confidence interval is with Excel’s T.INV.2T function, which has the following characteristics:
= T.INV.2T 1alpha, degrees of freedom2
The margin of error for this confidence interval is 8.27.
C h a p t e r 8 | 8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation (s) of a Population is Unknown 351 www.freebookslides.com
352 C h a p t e r 8 | Confidence Intervals
where
alpha 1a2 = The significance level of the confidence interval degrees of freedom = n - 1 n = Sample size WE can use the T.INV.2T function to determine the critical t-score for Dr. Gregg when
a = 0.05 (for a 95% confidence interval) and df = 17.
= T.INV.2T10.05, 172 = 2.110 The result of this function is 2.110, which matches the value determined from Table 5 in
Appendix A. The Excel function CONFIDENCE.T provides the margin of error for a confidence
interval for the mean when the population standard deviation is unknown. This function has the following characteristics:
= CONFIDENCE.T1alpha, standard_dev, size2 where
alpha = The significance level of the confidence interval standard_dev = The standard deviation of the sample size = Sample size
The T prefix for this function indicates that we are using the student’s t-distribution to de- termine the critical t-score for this interval. We can use the CONFIDENCE.T function to calculate the margin of error for the 95% confidence interval for Dr. Gregg’s example where a = 0.05, s = 16.6, and n = 18.
= CONFIDENCE.T10.05, 16.6, 182 = 8.25 The value 8.25 represents the margin of error for our confidence interval. This value is slightly different than the margin of error from our manual calculations (8.27) because of rounding differences.
PHStat also has the ability to construct the confidence interval for the mean when sigma is unknown, using the following steps. Excel for Mac users can find these instructions on the textbook’s Web site (www.pearsonhighered.com/donnelly).
1. Go to Add-Ins + PHStat + Confidence Intervals + Estimate for the Mean, sigma unknown, as seen previously in Figure 8.7.
2. Fill in the Estimate for the Mean, sigma unknown dialog box using information from our Dr. Gregg example as shown in Figure 8.12. Click OK.
{ figure 8.12 Using PHStat to Calculate a 95%
Confidence Level (Step 2)
www.freebookslides.com
The 95% confidence interval is shown in the yellow cells in Figure 8.13. Notice that these values are slightly different from the 95% confidence interval we calculated manually (92.03, 108.57). Again, this is due to rounding differences.
{ figure 8.13 Using PHStat to Calculate a
95% Confidence Interval (Final Result)
This particular topic requires practice to master, so don’t miss this opportunity to con- struct a confidence interval for a golfer’s scores in the next Your Turn section.
8.3 Section Problems Basic Skills 8.17 Construct a 90% confidence interval to estimate the popu-
lation mean using the following data:
x = 25 s = 5.2 n = 21
What assumptions need to be made about this population?
8.18 Construct a 95% confidence interval to estimate the popu- lation mean using the following data:
x = 38 s = 8.5 n = 25
What assumptions need to be made about this population?
8.19 Construct a 98% confidence interval to estimate the popu- lation mean when x = 60 and s = 12.2 for the following sample sizes:
a. n = 20 b. n = 40 c. n = 60
8.20 Construct an 80% confidence interval to estimate the pop- ulation mean when x = 125 and s = 32 for the following sample sizes:
a. n = 30 b. n = 60 c. n = 90
8.21 Determine the margin of error for a confidence interval to estimate the population mean with n = 20 and s = 16 for the following confidence levels:
a. 80% b. 90% c. 99%
8.22 Determine the margin of error for a 95% confidence inter- val to estimate the population mean when s = 40 for the following sample sizes:
a. n = 10 b. n = 30 c. n = 50
A certain statistics author would like you to construct a 90% confidence interval for the following ran- dom sample of golf scores for a particular course he plays so that he can figure out his true (population) average score for the course. (I recommend using Excel to calculate the sample mean with = AVERAGE and the standard deviation with = STDEV.S).
95 92 95 99 92 84 95 94 95 86
Y o U r t U r n # 8N
Answer can be found on u page 379
C h a p t e r 8 | 8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation (s) of a Population Is Unknown 353 www.freebookslides.com
354 C h a p t e r 8 | Confidence Intervals
applications 8.23 With a capacity of 6,300 people, Royal Caribbean’s Oasis
of the Seas is the world’s largest cruise ship. The average beer consumption over 15 randomly selected seven-day cruises on the ship was 81,740 bottles with a sample stan- dard deviation of 4,590 bottles. Royal Caribbean would like to estimate the average beer consumption to plan its beer inventory levels on future cruises. (The ship cer- tainly doesn’t want to run out of beer in the middle of the ocean!)
a. Construct a 95% confidence interval to estimate the average beer consumption per cruise.
b. Verify this interval using Excel. c. What assumptions need to be made about this
population?
8.24 A random sample of 21 NCAA Division I men’s basket- ball games during a recent season had an average atten- dance of 5,038 with a sample standard deviation of 1,755.
a. Construct a 90% confidence interval to estimate the average attendance of an NCAA men’s basketball game during the 2009–2010 season.
b. Verify this interval using Excel. c. What assumptions need to be made about this
population?
8.25 The U.S. air traffic control system handled an average of 47,529 flights during 30 randomly selected days. The standard deviation for this sample is 6,210 flights per day.
a. Construct a 99% confidence interval to estimate the av- erage number of flights per day handled by the system.
b. Suppose the current system can safely handle 50,000 flights per day. What conclusions can be drawn with these results?
c. Verify this interval using Excel. d. What assumptions need to be made about this
population?
8.26 The following data show the number of hours per day 12 adults spent in front of screens watching television-related content:
1.3 4.9 4.2 4.8 7.6 6.9 5.4 2.2 5.3 1.8
2.4 8.3
a. Construct a 95% confidence interval to estimate the average number of hours per day adults spend in front of screens watching television-related content.
b. Verify this interval using Excel. c. What assumptions need to be made about this popula-
tion (other than the fact the people in it are watching too much television)?
8.27 According to Expedia.com, workers in Italy lead the world in paid vacation days, averaging 42 days per year. The following data show the number of paid vaca- tion days for a random sample of 20 Italian workers. These data can also be found in the Excel file titled paid vacation.xlsx.
48 40 30 58 20 40 55 70 20 41
30 30 60 35 25 37 15 30 64 55
a. Construct a 95% confidence interval to estimate the av- erage number of paid vacation days for Italian workers.
b. Do the results from this sample validate Expedia.com’s findings?
c. Verify this interval using Excel. d. What assumptions need to be made about this
population?
8.28 AAA reported that the average price of regular gasoline in Pennsylvania was $3.65 per gallon. The following data show the price per gallon of regular gasoline for 15 ran- domly selected stations in the state. These data can also be found in the Excel file titled PA gas prices.xlsx.
$3.73 $3.59 $3.74 $3.65 $3.71
$3.73 $3.51 $3.71 $3.61 $3.64
$3.58 $3.46 $3.64 $3.74 $3.58
a. Construct a 90% confidence interval to estimate the average price per gallon of gasoline in the state.
b. Do the results from this sample validate AAA’s findings?
c. Verify this interval using Excel. d. What assumptions need to be made about this
population?
8.4 Calculating Confidence Intervals for Proportions
We can also estimate the proportion of a population by constructing a confidence interval from a sample. As you might recall from Chapter 7, proportion data follow the binomial distribution, which can be approximated by the normal distribution under the following conditions:
np Ú 5 and n11 - p2 Ú 5
The confidence interval for the proportion is an interval estimate around a sample proportion that provides us with a range of where the true population proportion lies.
www.freebookslides.com
C h a p t e r 8 | 8.4 Calculating Confidence Intervals for Proportions 355
where
p = The probability of a success in the population n = The sample size Suppose the home-shopping channel would like to estimate the proportion of custom-
ers who are female in order to improve the channel’s advertising effectiveness. Let’s say that from a random sample of 175 customers, 116 were female. In Chapter 7, we learned that we can calculate the sample proportion, p, using Equation 8.9.
Formula 8.11 for the Approximate Standard Error of the Proportion
snp = B p11 - p2n
Formula 8.9 for the Sample Proportion
p = x n
where
x = The number of observations of interest in the sample (successes) n = The sample size Our sample proportion then becomes as follows:
p = x n
= 116
175 = 0.663
To estimate the population proportion of female shoppers, I need to construct a 99% confidence interval around this sample proportion. To do so, we need to call on the standard error of the proportion from Chapter 7, which is shown again as Equation 8.10. Recall that this value measures the average variation around the mean of the sample proportions taken from this population of home-shopping customers.
Formula 8.10 for the Standard Error of the Proportion
sp = B p11 - p2n where
p = The population proportion n = The sample size There’s extra credit for anyone who can see a problem arising here. Our challenge is
that we are trying to estimate p, the population proportion, but we need a value for p to set up the confidence interval. Our solution: Approximate the standard error by using the sample proportion, p, as a substitute for the population proportion, p, as shown in Equation 8.11.I have placed a “hat” symbol
over s to indicate that this is an approximation of the standard error of the proportion.
where
p = The sample proportion n = The sample size
We can approximate the standard error of the proportion by substituting the sample proportion, p, for the population proportion, p.
www.freebookslides.com
356 C h a p t e r 8 | Confidence Intervals
Using Equation 8.11 on our home-shopping sample, we have the following:
snp = B p11 - p2n = B 10.663211 - 0.6632175 = B 10.663210.3372175 snp = A 0.223175 = 20.001274 = 0.0357
Equations 8.12 and 8.13 show the upper and lower limits for a confidence interval for a par- ticular sample proportion.
Formulas 8.12 and 8.13 for the Confidence Interval for a Proportion
UCL p = p + za>2snp LCL p = p - za>2snp
where
p = The sample proportion za>2 = The critical z-score snp = The approximate standard error of the proportion We are now ready to calculate the 99% confidence interval for the proportion of fe-
male home-shopping customers using Equations 8.12 and 8.13. According to Table 8.2, our critical z-score for a 99% confidence interval is za>2 = 2.575. First, we start with the upper limit:
UCL p = p + za>2snp UCL p = 0.663 + 12.575210.03572 UCL p = 0.663 + 0.092 = 0.755
Now, we calculate the lower limit:
LCL p = p - za>2snp LCL p = 0.663 - 12.575210.03572 LCL p = 0.663 - 0.092 = 0.571
Based on our sample proportion of 0.663, we are 99% confident that the proportion of fe- male shoppers is between 0.571 and 0.755. Deb must be in there somewhere!
This interval—0.571 to 0.755—may seem fairly wide to you. I would agree. Because we want to be 99% confident of capturing the population proportion, we need a wide inter- val, which leads to the next topic, the margin of error.
Confidence intervals for the proportion have a margin of error similar to what we dis- cussed earlier in the chapter for sample means. The proportion margin of error, MEp, repre- sents the width of the confidence interval between the sample proportion and its upper limit or between the sample proportion and its lower limit. The formula for calculating the pro- portion margin of error is shown in Equation 8.14.
Formula 8.14 for the Margin of Error for a Confidence Interval for the Proportion
MEp = za>2 nsp
This is the same critical z-score found in Table 4 in Appendix A. For this problem it can be found in Table 8.2.
For our sample proportion of female shoppers, the margin of error is calculated as follows:
MEp = za>2sNp = 12.575210.03572 = 0.092
The proportion margin of error, ME p, represents the width of the confidence interval between the sample proportion and its upper limit or between the sample proportion and its lower limit.
www.freebookslides.com
C h a p t e r 8 | 8.4 Calculating Confidence Intervals for Proportions 357
A large margin of error translates to a less precise estimate of the true population pro- portion, and vice versa. The following statement shows how the margin of error is often reported: “The president of the United States has a 46% approval rating {3%.” In this example, the confidence interval is (0.43, 0.49), and the margin of error is 3%. In most cases, the confidence level of such a statement would be 95%.
Using phStat to Determine Confidence Intervals for a proportion PHStat has the ability to construct confidence intervals for the proportion using the follow- ing steps. Excel for Mac users can find these instructions on the textbook’s Web site.
1. Go to Add-Ins + PHStat + Confidence Intervals + Estimate for the Proportion, as seen previously in Figure 8.7.
2. Fill in the Estimate for the Proportion dialog box using our female home shopper example as shown in Figure 8.14. Click OK.
{ figure 8.14 Using PHStat to Calculate a
99% Confidence Interval for a Proportion (Step 2)
The 99% confidence interval is shown in the yellow cells in Figure 8.15. Notice that these values are slightly different from the 99% confidence interval we calculated manually (0.571, 0.755). Again, this is due to rounding differences.
{ figure 8.15 Using PHStat to Calculate a
99% Confidence Interval for a Proportion (Final Result)
Make sure you know how to calculate this type of confidence interval before you move on to the next section.
www.freebookslides.com
358 C h a p t e r 8 | Confidence Intervals
8.4 Section Problems Basic Skills 8.29 Construct a 90% confidence interval to estimate the popu-
lation proportion with a sample proportion equal to 0.36 and a sample size equal to 125.
8.30 Construct a 95% confidence interval to estimate the popu- lation proportion with a sample proportion equal to 0.60 and a sample size equal to 150.
8.31 Determine the margin of error for a confidence interval to estimate the population proportion for the following con- fidence levels with a sample proportion equal to 0.40 and n = 100:
a. 90% b. 95% c. 97%
8.32 Determine the margin of error for a 95% confidence in- terval to estimate the population proportion with a sample proportion equal to 0.70 for the following sample sizes:
a. n = 125 b. n = 200 c. n = 250
applications 8.33 The U.S. Department of Education reported that in 2007,
67% of students enrolled in college or a trade school within 12 months of graduating from high school. In 2013, a random sample of 160 individuals who graduated from high school 12 months prior was selected. From this sample, 102 students were found to be enrolled in college or a trade school.
a. Construct a 90% confidence interval to estimate the actual proportion of students enrolled in college or a trade school within 12 months of graduating from high school in 2013.
b. What is the margin of error for this sample? c. Based on this sample, is there any evidence that this
proportion has changed since 2007? d. Verify your results with PHStat.
8.34 The IRS reported that 81% of individual tax returns were filed electronically in 2012. A random sample of 225 tax returns from 2013 was selected. From this sample, 176 were filed electronically.
a. Construct a 95% confidence interval to estimate the actual proportion of taxpayers who filed electronically in 2013.
b. What is the margin of error for this sample? c. Is there any evidence that this proportion has changed
since 2012 based on this sample? d. Verify your results with PHStat.
8.35 The percentage of high school graduates applying to mul- tiple colleges has been increasing over the past several years. According to the National Association for College Admission Counseling, 29% of high school students ap- plied to seven or more colleges in 2011. A random sample of 350 high school graduates in 2013 was selected and 84 of them applied to seven or more colleges.
a. Construct a 90% confidence interval to estimate the actual proportion of high school graduates that applied to seven or more colleges in 2013.
b. What is the margin of error for this sample? c. Is there evidence that this proportion has changed since
2011 based on this sample? d. Verify your results with PHStat.
8.36 Although Germany has one of the healthiest economies in the euro zone, it has one of the lowest homeownership rates in Europe. According to ECD, the German home- ownership rate was 44% in 2011 (compared to 66% in the United States). Suppose, from a random sample of 270 households in Germany in 2014, 127 were occupied by the owners of the residence.
a. Construct a 98% confidence interval to estimate the actual proportion of households in Germany that are occupied by their owners in 2014.
b. What is the margin of error for this sample? c. Is there evidence that this proportion has changed since
2011 based on this sample? d. Verify your results with PHStat.
During the most recent economic recession, the auto industry relied heavily on 0% financing to entice customers to purchase cars. Edmunds.com estimated that 22.4% of car deals involved 0% financing. A random sample of 500 financed car deals found that 98 of them used 0% financing.
a. Construct a 98% confidence interval around this sample proportion. Does it support the findings of Edmunds.com?
b. Calculate the margin of error for this interval. c. Verify your results using PHStat.
Y o U r t U r n # 9N
Answers can be found on u page 380
www.freebookslides.com
C h a p t e r 8 | 8.5 Determining the Sample Size 359
8.37 According to the Centers for Disease Control and Prevention, 20.6% of the U.S. population smoked in 2008. In 2014, a random sample of 650 Americans was selected; 108 of whom smoked.
a. Construct a 90% confidence interval to estimate the actual proportion of people who smoked in the United States in 2014.
b. What is the margin of error for this sample? c. Is there any evidence that this proportion has changed
since 2008 based on this sample? d. Verify your results with PHStat.
8.5 Determining the Sample Size The focus of this chapter has been to calculate a confidence interval and a margin of error for a population based on the following information:
• The confidence level
• The sample size
• The standard deviation
In this section, we’re going to reverse this procedure by calculating the sample size needed to achieve a specific margin of error, given the following information:
• The confidence level
• The population standard deviation
This is a very handy procedure because, often, one of the first questions that a statisti- cian is faced with is to choose the size of the sample. On the one hand, because sampling can be a costly procedure, a sample that is larger than necessary is wasteful. On the other hand, a sample that is too small will not be precise enough. We will first examine the process of se- lecting an adequate sample size using the sample mean. We will then do the same using the sample proportion.
Calculating the Sample Size to estimate a population Mean To show how a sample size is calculated to estimate a population’s mean, let’s rely on the following example. From 2007 until 2011, AT&T benefited by being the exclusive carrier of Apple’s most successful product, the iPhone. However, the agreement between the two companies has also created network capacity problems for AT&T because iPhone users tend to use data-heavy applications such as video streaming and Web browsing. One estimate concluded that just 3% of AT&T’s customers tie up 40% of the carrier’s bandwidth. It is believed that the average iPhone customer uses 1,350 megabytes (MB) of data each month.
To respond to this situation, AT&T eliminated its unlimited data plans in 2010. To estab- lish a price plan for data usage, suppose that AT&T would like to use a sample to estimate the average monthly data usage of its cell phone customers. Let’s say AT&T wants to know the sample size needed to provide a 95% confidence interval around a sample mean with a margin of error of {75 MB of data per month. Figure 8.16 illustrates the precision that AT&T wants.
Recall that you learned earlier in the chapter that increasing the sample size, holding all else constant, reduces the margin of error and provides a narrower, more precise, confidence interval.
{ figure 8.16 AT&T’s Desired Confidence
Interval
75 MB 75 MB
x x x – 75 MB + 75 MB
95% Con�dence Interval
Margin of Error Margin of Error
www.freebookslides.com
360 C h a p t e r 8 | Confidence Intervals
To determine the sample size AT&T needs, we need to return to Equation 8.4, which we used to calculate the margin of error when constructing a confidence interval around a sample mean:
MEx = za>2sx
We also determined the standard error of the mean using Equation 8.1:
sx = s2n
We can combine these two equations, which will result in the following expression for the margin of error:
MEx = za>2 s2n
Performing some minor algebra, we have the following:2n = za>2s MEx
By squaring both sides of the equation, we have our required sample size formula, as Equation 8.15 shows.
Formula 8.15 for the Sample Size Needed to Estimate a Population Mean
n = 1za>222s2 1MEx22
We are almost ready to inform AT&T how large of a sample it needs, but we need one more piece of information—the population standard deviation. For this example, we’ll as- sume that, through past experience, AT&T feels that s = 400 MB per month. This value represents the average variation of data usage around the mean of the sampling distribution.
Now, for the moment we all have been waiting for (or at least the moment I have been waiting for; it’s nearly 3:00 a.m. as I’m writing this, and I’m running out of energy! Where are my Cheez-Its?). We know from earlier in the chapter, za>2 = 1.96 for a 95% confidence interval. Using Equation 8.15, we have the following:
n = 1za>222s2 1MEx22
= 11.9622140022
17522 = 13.84221160,0002
5,625 = 109.3 ≈ 110
We have found that AT&T should sample 110 customers to estimate the average data usage for all of its customers. This sample will provide AT&T with a 95% confidence level that the true average data usage will be within {75 MB of the sample mean.
Notice that in the previous calculation, I rounded up to 110 instead of down to 109, even though my result was closer to 109. I advise you to always round up with your sample size because if you round down, you will not achieve the desired margin of error. It’s best to con- sider the stated margin of error as a minimum requirement. A smaller sample size results in a larger margin of error for a given confidence level. Table 8.5 demonstrates this concept using a 95% confidence level.
{ table 8.5 | Sample Sizes and Associated Margins of Error for a 95% Confidence Level: AT&T Example
margin of error (mb) required sample size
100 62
75 110
50 246
www.freebookslides.com
C h a p t e r 8 | 8.5 Determining the Sample Size 361
Table 8.5 shows that to achieve a smaller margin of error (a more precise confidence in- terval) a larger sample size is needed. Reducing the margin of error by half (from 100 MB to 50 MB) causes the required sample size to increase fourfold (from 62 to 246).
Earlier in this section I casually mentioned that AT&T estimated that s = 400 MB, which is a measure of the variation of data usage from one customer to the next. In reality, this value may not be known. In this case, there are ways to estimate the population standard deviation such as by selecting a pilot sample, which is a small sample from the population. We can then use the standard deviation, s, from the pilot sample as an estimate for sigma.
You might recall that we substituted s for s earlier in the chapter. As a result, we used the Student’s t-distribution in place of the normally distributed critical z-score. Unfortu- nately, we can’t use the t-distribution to determine the sample size. That’s because we need the sample size to determine the degrees of freedom, which are used to look up the critical t-score. Fortunately, this is not a major issue when sample sizes are fairly large, as they are with our AT&T example. Remember, the shape of the t-distribution becomes very close to the normal distribution with larger sample sizes.
Using phStat to Calculate the Sample Size for a population Mean You can use PHStat to calculate the sample size by taking the following steps. Excel for Mac users can find these instructions on the textbook’s Web site.
1. Go to Add-Ins + PHStat + Sample Size + Determination for the Mean, as shown in Figure 8.17.
Notice in Equation 8.15, the margin of error term is squared in the denominator. This squared term causes the required sample size calculation to increase by a factor of four when ME x is reduced by half.
{ figure 8.17 Using PHStat to Calculate the
Sample Size for the Mean with a 95% Confidence Level (Step 1)
2. Fill in the Sample Size Determination for the Mean dialog box as shown in Figure 8.18 on the next page. Click OK.
www.freebookslides.com
362 C h a p t e r 8 | Confidence Intervals
The required sample size for AT&T is shown in Cell B13 in Figure 8.19. This matches the result we calculated manually.
{ figure 8.18 Using PHStat to Calculate the
Sample Size for the Mean with a 95% Confidence Level (Step 2)
{ figure 8.19 Using PHStat to Calculate
the Sample Size for the Mean with a 95% Confidence Level (Final Result)
Well, it’s way past my bedtime, but feel free to stay up and try your hand at this next Your Turn problem.
The park rangers at the Great Smoky Mountains National Park would like to estimate the mean hiking time for visitors along the Abrams Falls trail, a five-mile roundtrip trek from the parking area. This infor- mation would be useful to help visitors plan the amount of time they need to allocate in order to hike the trail. Assume the population standard deviation for hiking the trail is 32 minutes.
a. Determine the sample size needed to construct a 90% confidence interval to estimate the mean hiking time with a margin of error within {5 minutes.
b. Verify this result using PHStat.
Deb and I hiked this beautiful trail in June 2010. The photo on the left is a picture I took of Abrams Falls.
Y o U r t U r n # 1 0N
Answers can be found on u page 380
Calculating the Sample Size needed to estimate a population proportion We can use the same logic from the previous section to determine the sample size to es- timate a population proportion. To demonstrate this procedure, I’ll rely on the following example. A growing number of households are managing their finances without any type of bank account due to frustrations with banking fees and overdraft penalties. Suppose Bank of America, which has concerns about this trend, would like to know the sample size needed to construct a 98% confidence interval to estimate the proportion of households who do not own a checking account within 5% of the actual value. Figure 8.20 illustrates the precision that Bank of America is looking for.
www.freebookslides.com
C h a p t e r 8 | 8.5 Determining the Sample Size 363
To determine the sample size needed by Bank of America, we need to start with Equation 8.14. Recall that we used it to calculate the margin of error when constructing a confidence interval around a sample proportion.
MEp = za>2 nsp
We also need the approximate standard error of the proportion from Equation 8.11:
nsp = A p11 - p2n As before, we combine these two equations, which results in the following expression for the margin of error for a proportion:
MEp = za>2 A p11 - p2n Once again, we rearrange this equation as follows:2n = za>2 2p11 - p2
MEp
By squaring both sides of the equation, we have our required sample size formula, as shown in Equation 8.16.
{ figure 8.20 Bank of America’s Desired
Confidence Interval
5% 5%
Margin of Error Margin of Error
98% Con�dence Interval
p + 0.05p – 0.05 p
Formula 8.16 for the Sample Size Needed to Estimate the Population Proportion
n = 1za>222 p11 - p2
1MEp22
Maybe you noticed that we have a little problem here. In order to calculate the required sample size to estimate p, the population proportion, we need to know p, the sample propor- tion. We have two solutions for this problem:
1. Select a pilot sample and use the sample proportion, p, in Equation 8.16.
2. If it is not possible to select a pilot sample, set p = 0.5 for Equation 8.16. I’ll explain the reason for this choice shortly.
Let’s assume that Bank of America collected a pilot sample of 50 households and found that six did not own a checking account. The sample proportion of households without a checking account would therefore be as follows:
p = 6
50 = 0.12
www.freebookslides.com
364 C h a p t e r 8 | Confidence Intervals
Using phStat to Calculate the Sample Size for a population proportion PHStat can perform the sample size calculation using the following steps. Excel for Mac users can find these instructions on the textbook’s Web site.
1. Go to Add-Ins + PHStat + Sample Size + Determination for the Proportion, as seen back in Figure 8.17.
2. Fill in the Sample Size Determination for the Proportion dialog box as shown in Figure 8.21. Click OK.
For our Bank of America example, za>2 = 2.33 for a 98% confidence interval (see Table 8.2), and the desired margin of error is 0.05. Using Equation 8.16, we can calculate our required sample size, which is as follows:
n = 1za>222p11 - p2
1MEp22 =
12.332210.12211 - 0.122 10.0522
n = 15.429210.12210.882
10.00252 = 229.3 ≈ 230
Bank of America should sample 230 customers to construct a 98% confidence interval to estimate the proportion of households without checking accounts with a margin of error of 5%.
If a pilot sample is not available, I recommended setting p = 0.5 to calculate the re- quired sample size. The reasoning is this: If we don’t have a value for p, setting it equal to 0.50 provides the most conservative estimate for a sample size. By conservative, I mean a sample size that is at least large enough to satisfy the margin-of-error requirement. I sense some of you scratching your head with this one, so let me demonstrate. Table 8.6 shows the effect that values of p have on the sample sizes for our Bank of America example.
{ table 8.6 | The Effect of p on Bank of America’s Sample Sizes
p p11 - p2 n 0.12 0.1056 230
0.25 0.1875 408
0.50 0.2500 543
0.75 0.1875 408
As shown in Table 8.6, using p = 0.5 maximizes the term p11 - p2, which maximizes the sample size. By choosing a sample size of 543 customers, Bank of America can be as- sured that its margin of error will be no larger than 5% in its efforts to estimate the propor- tion of households without checking accounts.
If a pilot sample is not available, I recommended setting p = 0.5 to calculate the required sample size. Doing so provides us with the largest (most conservative) sample size needed to achieve a desired margin of error.
{ figure 8.21 Using PHStat to Calculate the
Sample Size for a Population Proportion (Step 2)
www.freebookslides.com
C h a p t e r 8 | 8.5 Determining the Sample Size 365
{ figure 8.22 Using PHStat to Calculate the
Sample Size for a Population Proportion (Final Result)
The required sample size for Bank of America is shown in Cell B13 in Figure 8.22. This value is slightly different from the result we calculated manually due to rounding differences.
The following Your Turn problem allows you to practice a sample size calculation to estimate a population proportion.
The most recent economic recession has had a dramatic impact on the proportion of Americans who own their own homes. The federal government would like to estimate this proportion for the entire U.S. population.
a. A pilot sample of 60 Americans found that 42 were homeowners. Determine the sample size re- quired to construct a 95% confidence interval to estimate the proportion of homeowners when the margin of error equals 6%.
b. Determine the sample size required to construct a 95% confidence interval to estimate the propor- tion of homeowners when the margin of error equals 6% and there is no pilot sample.
c. Verify the result from part a with PHStat.
Y o U r t U r n # 1 1N
Answers can be found on u page 380
8.5 Section Problems Basic Skills 8.38 Determine the sample size needed to construct a 90%
confidence interval to estimate the population mean when s = 75 and the margin of error equals 12.
8.39 Determine the sample size needed to construct a 95% confidence interval to estimate the population mean when s = 40 and the margin of error equals 6.
8.40 Determine the sample size needed to construct a 95% con- fidence interval to estimate the population mean for the following margins of error when s = 80:
a. 10 b. 15 c. 20
8.41 Determine the sample size needed to construct a 99% confidence interval to estimate the population proportion when p = 0.40 and the margin of error equals 5%.
8.42 Determine the sample size needed to construct a 90% confidence interval to estimate the population proportion when p = 0.65 and the margin of error equals 6%.
8.43 Determine the sample size needed to construct a 95% confidence interval to estimate the population proportion for the following sample proportions when the margin of error equals 4%:
a. p = 0.30 b. p = 0.40 c. p = 0.50
applications 8.44 Determine the sample size needed to construct a 95%
confidence interval to estimate the average GPA for the student population at Wilmington College with a margin of error equal to 0.2. Assume the standard deviation of the
www.freebookslides.com
366 C h a p t e r 8 | Confidence Intervals
GPA for the student population is 1.0. Verify your result using PHStat.
8.45 Michelin Tires would like to estimate the average tire life of its Latitude Tour tire in terms of how many miles it lasts. Determine the sample size needed to construct a 98% confidence interval with a margin of error equal to 2,000 miles. Assume the standard deviation for the tire life of this particular brand is 8,000 miles. Verify your re- sult using PHStat.
8.46 Herr Foods, a producer of a variety of salty snacks, would like to estimate the average weight of a bag of BBQ potato chips produced during the filling process at its Nottingham, Pennsylvania, plant. Determine the sample size needed to construct a 95% confidence interval with a margin of error equal to 0.005 ounces. Assume the stan- dard deviation for the potato chip filling process is 0.02 ounces. Verify your result using PHStat.
8.47 The state of New Jersey would like to estimate the propor- tion of voters who intend to participate in the upcoming statewide elections. A pilot sample of 50 voters found that
36 of them intended to vote in the election. Determine the additional number of voters that need to be sampled to construct a 95% interval with a margin of error equal to 0.05 to estimate the proportion. Verify your result using PHStat.
8.48 Red Fire Grill would like to estimate the proportion of tips that exceed 18% of its dinner bills. Without any knowl- edge of the population proportion, determine the sample size needed to construct a 90% interval with a margin of error of no more than 4% to estimate the proportion. Verify your result using PHStat.
8.49 Suppose Christiana Hospital would like to estimate the proportion of patients who feel that physicians who care for them always communicated effectively when discuss- ing their medical care. A pilot sample of 40 patients found that 33 reported that their physician communicated ef- fectively. Determine the additional number of patients that need to be sampled to construct a 95% confidence interval with a margin of error equal to 3% to estimate this propor- tion. Verify your result using PHStat.
8.6 Calculating Confidence Intervals for Finite Populations
So far in this chapter, we have assumed that all of the populations we sampled from were very large and were considered to be infinite in size. But what if the population is finite? A finite population is defined when the following condition exists:
n
N 7 0.05
where
n = The sample size N = The population size Chapter 7 discussed the impact that finite populations have on sampling distributions
for the mean and the proportion. We discovered that a finite population overestimates the standard error. When determining a confidence interval with a finite population, we need to adjust the standard error by using the same finite population correction factor used in Chapter 7 and shown in Equation 8.17.
Formula 8.17 for the Finite Population Correction Factor
A N - nN - 1
www.freebookslides.com
C h a p t e r 8 | 8.6 Calculating Confidence Intervals for Finite Populations 367
Formulas 8.20 and 8.21 for the Confidence Interval for the Mean of a Finite Population (S Unknown)
UCL x = x + ta>2 nsx a A N - nN - 1 b LCL x = x - ta>2 n sx a A N - nN - 1 b
Formulas 8.22 and 8.23 for the Confidence Interval for a Proportion of a Finite Population
UCL p = p + za>2snp a A N - nN - 1 b LCL p = p - za>2snp a A N - nN - 1 b
Formulas 8.18 and 8.19 for the Confidence Interval for the Mean of a Finite Population (S Known)
UCL x = x + za>2sx a A N - nN - 1 b LCL x = x - za>2sx a A N - nN - 1 b
Remember that sx = s2n.
Remember that snx = s2n.
We substitute s for s.
If we fail to use this correction factor with a finite population, our calculated confidence interval will be wider than it should be. Applying this factor to our confidence interval equa- tions from earlier in the chapter results in the equations that follow.
I’ll demonstrate this procedure with the following example. Researchers at the University of Tennessee found that Americans walked an average of 5,117 steps per day. (Incidentally, Australians averaged 9,695, and the Swiss averaged 9,650 steps per day! We need to start walking more. Of course, this is easy to say as I sit here typing.) Suppose the administration at the University of Georgia’s Terry College of Business performed a similar study using the college’s student population of 1,600 business students. The number of steps per day was measured from a sample of 100 students. The sample mean was found to be 5,530 steps per day, and the sample standard deviation was 1,480 steps per day. Let’s calcu- late a 95% confidence interval to estimate the average number of steps per day taken by the student population. We can also see how the Terry College students compare to the national average reported by the researchers at the University of Tennessee.
Because we are estimating a population mean but do not know what the population stan- dard deviation is, we’ll use Equations 8.20 and 8.21. This example would be considered a finite population because
n
N =
100
1,600 = 0.0625 7 0.05
These equations use the sample standard deviation to estimate the population standard deviation. As a result, we use the t-distribution to calculate the confidence interval.
www.freebookslides.com
368 C h a p t e r 8 | Confidence Intervals
Using Equation 8.17, our finite population correction factor is as follows:A N - nN - 1 = A 1,600 - 1001,600 - 1 = A 1,5001,599 = 20.9381 = 0.9686 We can then use Equation 8.6 to calculate the approximate standard error of the mean:
snx = s2n = 1,4802100 = 148 steps per day
The critical t-score is found in Table 5 in Appendix A, with n - 1 = 100 - 1 = 99 df in the column for a 95% confidence interval. The result is ta>2 = 1.984. We’re now ready to plug these values into Equations 8.20 and 8.21 as follows:
UCL x = x + ta>2snx a A N - nN - 1 b UCL x = 5,530 + 11.98421148210.96862 UCL x = 5,530 + 284.4 = 5,814.4 steps per day
LCL x = x - ta>2snx a A N - nN - 1 b LCL x = 5,530 - 11.98421148210.96862 LCL x = 5,530 - 284.4 = 5,245.6 steps per day
We are 95% confident that the average number of steps per day taken by the students at the University of Georgia is between 5,245.6 and 5,814.4. Because this range does not include the average of 5,117 steps reported in the Tennessee study, it appears that the University of Georgia students are walking more than the national average.
We can verify these results by using PHStat and taking the following steps:
1. Go to Add-Ins + PHStat + Confidence Intervals + Estimate for the Mean, sigma unknown, as seen in Figure 8.7.
2. Using the information from our walking example, fill in the Estimate for the Mean, sigma unknown dialog box as shown in Figure 8.23. Be sure to check the Finite Population Correction box and enter the Population Size. Click OK.
Figure 8.24 shows our results, which match what we found using Equations 8.20 and 8.21. Notice that PHStat also provides the results for the confidence interval without the correction factor. This confirms the point I made earlier. Without the correction factor, the calculated con- fidence interval will be overestimated and wider than it should be.
{ figure 8.23 Using PHStat to Calculate a 95%
Confidence Interval for a Finite Population
Excel for Mac users can find these instructions on the textbook's Web site.
www.freebookslides.com
C h a p t e r 8 | 8.6 Calculating Confidence Intervals for Finite Populations 369
Michael Smith is running to become the state representative for the 12th District in Delaware. The dis- trict has 700 registered voters. Michael sampled 120 of these voters and found that 72 were planning on voting for him.
a. Construct a 95% confidence interval around this sample proportion. b. Verify your results using PHStat. c. Can Michael feel confident that he will receive the majority of votes on Election Day?
Y o U r t U r n # 1 2N
Answers can be found on u page 381
{ figure 8.24 Using PHStat to Calculate a 95%
Confidence Interval for a Finite Population (Final Result)
I promise this will be the last Your Turn problem I will torture you with (for this chapter). Take advantage of the opportunity to construct a confidence interval for a proportion for a finite population.
8.6 Section Problems Basic Skills 8.50 Construct a 90% confidence interval to estimate the
population mean using the following data:
x = 70 s = 20 n = 40 N = 400
8.51 Construct a 99% confidence interval to estimate the population mean using the following data:
x = 22 s = 4.5 n = 20 N = 180
8.52 Construct a 95% confidence interval to estimate the population proportion using the following data:
x = 22 n = 75 N = 500
applications 8.53 The University of Delaware would like to estimate the
proportion of fans who purchase concessions at the first basketball game of the new season. The basketball facility has a capacity of 3,500 people and is routinely sold out. It was discovered that a total of 260 fans out of a random sample of 400 purchased concessions during the game.
a. Construct a 95% confidence interval to estimate the proportion of fans who purchased concessions during the game.
b. Verify your results using PHStat.
www.freebookslides.com
370 C h a p t e r 8 | Confidence Intervals
8.54 Radon is a colorless and odorless radioactive gas that can accumulate in residential homes. High levels of ex- posure can lead to health problems such as lung cancer. Radon levels are measured in units of picocuries per liter 1pCi>L2. The recommended radon level from the EPA is less than 4 pCi>L. Taylor Mill is a housing development with 105 residential homes. The development’s homeown- ers association would like to estimate the average radon level in the development’s homes. Because it would be too expensive to measure every home, a random sample of 32 homes was selected to be tested, and the average radon level was found to be 1.4 pCi>L. Assume from past stud- ies, the population standard deviation of radon levels in homes is 0.5 pCi>L. a. Construct a 95% confidence interval to estimate the
average radon level in the Taylor Mill development.
b. Does it appear the average radon level is below the EPA’s recommendation?
c. Verify your results using PHStat.
8.55 Dr. Thomas Bilski is a primary care physician with a prac- tice that is currently serving 280 patients. Dr. Bilski would like to administer a survey to his patients to measure their satisfaction levels with his practice. A random sample of 24 patients had an average satisfaction score of 8.4 on a scale of 1–10. The sample standard deviation was 1.9.
a. Construct a 90% confidence interval to estimate the average satisfaction score for Dr. Bilski’s practice.
b. What assumption needs to be made for this analysis? c. Verify your results with PHStat.
www.freebookslides.com
371
■ A point estimate is a single value that best describes the population of interest, such as the sample mean or sample proportion.
• The advantage of a point estimate is that it is easy to calculate and easy to understand.
• The disadvantage of a point estimate is that we have no information about the accuracy of the estimate.
■ A confidence interval for the mean is an interval estimate around a sample mean that provides us with a range of where the true population mean lies.
■ A confidence level is defined as the probability that the interval estimate will include the population parameter of interest, such as a mean or a proportion.
■ The confidence interval for the mean has an upper limit 1UL x2 and a lower limit 1LL x2 that de- scribe the range where we have some degree of confidence that the actual population mean lies.
■ The margin of error represents the width of the confidence interval between the sample mean and its upper limit or its lower limit.
• Increasing the sample size while keeping the confidence level constant will reduce the margin of error, resulting in a narrower (more precise) confidence interval.
■ For a 90% confidence interval, we expect 90% of the sample means drawn from a population to include that population’s mean.
• The same can be said for a 95% confidence interval and a 99% confidence interval.
■ The significance level, a, represents the probability that any given confidence interval will not con- tain the true population mean.
■ When the population standard deviation is unknown, we substitute s, the sample standard deviation, in its place.
• When substituting s for s, we rely on the Student’s t-distribution to construct a confidence interval.
• The t-distribution relies on degrees of freedom, which are the number of values that are free to be varied given that certain information, such as the sample mean, is known.
• When we use the t-distribution, we need to assume that the population of interest follows the nor- mal probability distribution.
■ When constructing a confidence interval to estimate the population proportion, we can approximate the standard error of the proportion by substituting the sample proportion, p, for the population pro- portion, p.
• Proportion data follow the binomial distribution, which can be approximated by using the normal distribution when np Ú 5 and n11 - p2 Ú 5.
• The proportion margin of error, MEp, represents the width of the confidence interval between the sample proportion and the upper limit of the interval or the lower limit of the interval.
■ The sample size needed to achieve a specific margin of error can be calculated for a confidence in- terval for the mean or proportion.
• The calculation requires the confidence level and population standard deviation to be known or estimated.
• A smaller margin of error (a more precise confidence interval) can be achieved with a larger sample size.
■ In order to calculate the required sample size to estimate, p, the population proportion, we need to know p, the sample proportion.
• We can find a value for p by calculating the proportion of a pilot sample or, if a pilot sample is not available, by setting p = 0.5.
• Setting p = 0.5 provides us with the most conservative sample size needed to achieve a spe- cific margin of error.
Chapter 8 Summary
www.freebookslides.com
Chapter 8 Key Terms
Confidence interval for the mean. An interval estimate around a sample mean that provides us with a range of where the true population mean lies.
Confidence interval for the proportion. An interval estimate around a sample proportion that provides us with a range of where the true population proportion lies.
Confidence level. The probability that the interval estimate will include the population parameter of interest, such as a mean or proportion.
Degrees of freedom. The number of values that are free to vary given that certain information, such as the sample mean, is known.
Margin of error. The width of the confidence interval between a sample mean or a proportion and its upper limit and or its lower limit.
Point estimate. A single value that best describes the population of interest, with the sample mean and sample proportion be- ing the most common.
Significance level 1A2. A variable that represents the probability that any given confidence interval will not contain the true population mean or proportion.
Student’s t-distribution. The probability distribution used in place of the normal distribution to calculate a confidence in- terval when the sample standard deviation, s, is used in place of the population standard deviation, s.
Chapter 8 Equations
s = H ani = 11xi - x22n - 1 8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation 1S2
of a Population Is Unknown (pp 347–354)
MEx = za>2 sxFormula 8.4 for the Margin of Error for a Confidence Interval for the Mean
Formulas 8.2 and 8.3 for the Confidence Interval for the Mean (S Known) UCL x = x + za>2 sx LCL x = x - za>2 sx
sx = s2n
8.2 Calculating Confidence Intervals for the Mean when the Standard Deviation 1S2 of a Population Is Known (pp 335–347)
Formula 8.1 for the Standard Error of the Mean
Formula 8.5 for the Sample Standard Deviation
nsx = s2nFormula 8.6 for the Approximate Standard Error of the Mean
372 www.freebookslides.com
373
sNp = A p11 - p2nFormula 8.11 for the Approximate Standard Error of the Proportion sp = B p11 - p2nFormula 8.10 for the Standard Error of the Proportion
8.4 Calculating Confidence Intervals for Proportions (pp 354–359)
p = x n
UCL x = x + ta>2 Nsx LCL x = x - ta>2 Nsx
Formulas 8.7 and 8.8 for the Confidence Interval for the Mean (S Unknown)
Formula 8.9 for the Sample Proportion
MEp = za>2 NspFormula 8.14 for the Margin of Error for a Confidence Interval for the Proportion
UCL p = p + za>2 Nsp LCL p = p - za>2 Nsp
Formulas 8.12 and 8.13 for the Confidence Interval for a Proportion
8.5 Determining the Sample Size (pp 359–366)
8.6 Calculating Confidence Intervals for Finite Populations (pp 366–370)
n = 1za>222p11 - p2
1MEp22 Formula 8.16 for the Sample Size Needed to Estimate the Population Proportion
Formula 8.15 for the Sample Size Needed to Estimate a Population Mean n = 1za>222s2 1MEx22
UCL x = x + za>2sx a A N - nN - 1 b LCL x = x - za>2sx a A N - nN - 1 b
Formulas 8.18 and 8.19 for the Confidence Interval for the Mean of a Finite Population (S Known)
Formula 8.17 for the Finite Population Correction Factor A N - nN - 1
www.freebookslides.com
374
Formulas 8.22 and 8.23 for the Confidence Interval for a Proportion of a Finite Population
UCL p = p + za>2 Nsp a A N - nN - 1 b LCL p = p - za>2 Nsp a A N - nN - 1 b
UCL x = x + ta>2 Nsx a A N - nN - 1 b LCL x = x - ta>2 Nsx a A N - nN - 1 bFormulas 8.20 and 8.21 for the Confidence Interval for the Mean of a Finite Population (S Unknown)
{ table 8.7 | A Summary of Confidence Intervals for One Population
type population S1, S2 confidence interval equations
Mean Infinite Known UCL x = x + za>2 a s2n b
LCL x = x - za>2 a s2n b
8.2
8.3
Mean Infinite Unknown UCL x = x + ta>2 a s2n b
LCL x = x - ta>2 a s2n b
8.7
8.8
Proportion Infinite Not applicable UCL p = p + za>2 A p11 - p2n LCL p = p - za>2 A p11 - p2n
8.12
8.13
Mean Finite Known UCL x = x + za>2 a s2n b a A N - nN - 1 b
LCL x = x - za>2 a s2n b a A N - nN - 1 b
8.18
8.19
Mean Finite Unknown UCL x = x + ta>2 a s2n b a A N - nN - 1 b
LCL x = x - ta>2 a s2n b a A N - nN - 1 b
8.20
8.21
Proportion Finite Not applicable UCL p = p + za>2 A p11 - p2n a A N - nN - 1 b LCL p = p - za>2 A p11 - p2n a A N - nN - 1 b
8.22
8.23
www.freebookslides.com
375
Chapter 8 Problems
8.56 According to the Bureau of Labor Statistics, the average hourly wage in the United States was $22.57 in May 2010. To confirm this wage, a random sample of 36 hourly work- ers was selected during the month. The average wage for this sample was $21.32. Assume the standard deviation of wages for the country is $4.30.
a. Are the results of this sample consistent with the claim made by the Bureau of Labor Statistics using a 95% confidence interval?
b. What is the margin of error for this sample? c. Verify your result using Excel.
8.57 On June 2, 2010, major league pitcher Armando Galarraga of the Detroit Tigers lost his bid for a perfect game when umpire Jim Joyce incorrectly called a runner safe at first base with two outs in the ninth inning. (A perfect game oc- curs when a pitcher faces 27 batters without any opposing players reaching base during the game. Only 18 perfect games have been pitched in the last 110 years of baseball.) This unfortunate incident led to an outcry for baseball to expand its use of instant replay so that umpires have the op- tion of reversing incorrect calls. A USA Today/Gallup poll after this event found that 78% of baseball fans were in fa- vor of expanding the use of instant replay in Major League Baseball. Suppose the size of this sample was 600 people.
a. Estimate the true proportion of baseball fans in favor of expanded replay using a 95% confidence interval.
b. What is the margin of error for this sample? c. Verify your result using PHStat.
8.58 One provision of the Affordable Care Act, commonly known as Obamacare, requires insurance plans pay for breast-feeding support for mothers, such as consultations and breast pumps. According to the CDC, 48% of mothers were breast-feeding their six-month-old babies in 2012. Suppose Humana Health Insurance would like to estimate the proportion of mothers who breast-fed their children at six months in 2014. A random sample of 210 mothers with six-month-old babies was selected of which 119 were breast-feeding.
a. Construct a 95% confidence interval to estimate the actual proportion of mothers with six-month-old babies that were breast-feeding in 2014.
b. What is the margin of error for this sample? c. Is there evidence that this proportion has changed since
2012 based on this sample? d. Verify your results with PHStat.
8.59 The following data show the costs charged by a tax prepa- ration service for a random sample of 15 tax returns. These data can also be found in the Excel file titled tax prep costs.xlsx.
$135 $120 $150 $110 $90
$115 $130 $200 $180 $200
$140 $150 $100 $75 $70
a. Using a 98% confidence interval, estimate the aver- age cost of the service for preparing a tax return for a customer.
b. What is the margin of error for this sample? c. Verify your result using Excel. d. What assumptions are necessary for this analysis?
8.60 Airline companies recognize that empty seats represent lost revenues that can never be recovered. To avoid losing reve- nues, the companies often book more passengers than there are available seats. Then, when a flight experiences fewer no-shows than expected, some passengers are “bumped” from their flights (are denied boarding). Incentives are pro- vided to encourage passengers to give up their reserved seat voluntarily, but occasionally some passengers are involun- tarily bumped from the flight. Obviously, these incidents can reflect poorly on customer satisfaction. Suppose South- west Airlines would like to estimate the true proportion of involuntarily bumped passengers across all domestic flights in the industry. In a pilot sample of 55 domestic passengers, 5 were involuntarily bumped from their flights.
a. Determine the sample size needed to construct a 98% confidence interval with a margin of error no more than 5% to estimate the true proportion of involuntarily bumped passengers.
b. Verify your result using PHStat.
8.61 The makers of compact fluorescent light bulbs (CFL) claim the bulbs use 75% less energy and last 10 times longer than incandescent bulbs. A 16-watt CFL (equivalent to a 60-watt incandescent) has a rated lifetime of 8,000 hours. To test this claim, a random sample of 50 CFLs was drawn, and the average life of a bulb was determined to be 7,960 hours. Assume the standard deviation for the life of CFL bulbs is 240 hours.
a. Does this sample provide enough evidence to support the claim that CFLs average 8,000 hours with 95% confidence?
b. What is the margin of error for this sample using a 95% confidence interval?
c. Verify your result using Excel.
8.62 Aetna, a major health insurance company, would like to estimate the average wait time for a patient seeking emer- gency room services. A random sample of 33 emergency room patients had an average wait time of 222 minutes with a sample standard deviation of 76 minutes. Determine the confidence interval to estimate the average wait time for the following confidence levels:
a. 90% b. 95% c. 99% d. How does the confidence level impact the precision of
the estimate? e. What assumptions need to be made in conjunction with
this analysis?
www.freebookslides.com
376
8.63 Certain advertisers would like to estimate the proportion of viewers who spend the majority of their television time watching alone. The consensus is that this percentage has been increasing over the years due to the increased number of television sets in U.S. households.
a. Determine the sample size needed to construct a 90% confidence interval with a margin of error no more than 5% to estimate the true proportion of viewers who watch television alone.
b. What impact would a pilot sample that showed that 38% of viewers spend the majority of their television time watching alone have on your results?
c. Verify your results using PHStat.
8.64 The Department of Labor would like to estimate the aver- age weekly wages for U.S. adults with a margin of error equal to $20. Determine the sample sizes needed to con- struct a confidence interval for this estimate using the fol- lowing confidence levels. Assume the population standard deviation for the weekly wage is $160.
a. 90% b. 95% c. 98% d. Explain why the confidence level affects the sample size
needed to obtain a particular margin of error.
8.65 To design a new advertising campaign, Volkswagen would like to estimate the proportion of drivers of the new VW Beetle who are women. In a random sample of 250 Beetle owners, 140 of them were women.
a. Construct a 95% confidence interval to estimate this proportion.
b. What is the margin of error for this sample? c. Verify your results using PHStat.
8.66 Much of the recent euro currency crisis that struck Europe was attributed to the economy of Greece. George Papandreou, Greece’s prime minister, claimed that corruption was at the heart of the crisis. Transparency International is a global civil organization that reports on worldwide corrup- tion. The organization’s research indicated that the average bribe to a public service in Greece in 2013 was $1,596. To validate these findings, a random sample of 20 private sector transactions in 2013 was taken and each person was asked to report the amount of any bribe. The data are as follows and can also be found in the Excel file titled bribes.xlsx.
$0 $0 $3,100 $0 $1,100 $0 $1,800 $2,350 $2,800 $1,900 $0 $2,000 $2,300 $3,000 $2,800 $0 $2,000 $250 $2,350 $2,750
a. Construct a 95% confidence interval with these data to estimate the average bribe to a public service in 2013.
b. Do these results validate the findings of Transparency International?
c. What is the margin of error for this sample? d. Why is this margin of error so large? e. Verify your results using Excel.
8.67 Verizon Wireless would like to estimate the average num- ber of text messages received by American teenagers per month. A random sample of 60 teenaged customers was se- lected. The sample average was 2,272 messages per month, and the sample standard deviation was 953 messages per month. Construct confidence intervals with the following confidence levels:
a. 90% b. 95% c. 99% d. Verify your results using PHStat.
8.68 GMAC reported that 85% of drivers incorrectly answered a question asking them what they are supposed to do when ap- proaching a yellow light. (The correct answer is slow down and proceed through the light only if it is safe to do so. But I’m sure you already knew that.) To verify this surprising result, 330 drivers in a random sample were asked the same question. From this sample, 274 answered incorrectly. Using a 90% con- fidence interval, are the results reported by GMAC validated?
8.69 The U.S. Census Bureau would like to estimate the average annual contributions to charity by the members of Generation Y (people born in the United States in the years 1981 through 1991). The following data show the annual contributions to charity for a random sample of 18 indi- viduals in this age group. These data can also be found in the Excel file titled contributions.xlsx.
$25 $270 $60 $750 $415 $595 $390 $450 $400 $160 $192 $155 $200 $460 $650 $510 $330 $225
a. Construct a 95% confidence interval with these data to estimate the average annual contributions to charity for this age group.
b. What is the margin of error for this sample? c. Verify your results using Excel.
8.70 A recent trend in the auto financing market is an increase in the length of new car loans. According to Experian, 11% of new car loans in 2009 were between 73 and 84 months in length. Suppose a random sample of 260 new cars loans in 2014 was selected and found to have 47 that were between 73 and 84 months in length.
a. Construct a 90% confidence interval to estimate the ac- tual proportion of new car loans that are between 73 and 84 months in length in 2014.
b. What is the margin of error for this sample? c. Is there evidence that this proportion has changed since
2009 based on this sample? d. Verify your results with PHStat.
www.freebookslides.com
377
8.71 In 2010, Bank of America reported that 7.1% of its credit card holders were at least 30 days overdue on their monthly payments. In 2014, a random sample of 450 credit card cus- tomers found that 20 were at least 30 days overdue on their monthly payments. Using a 90% confidence interval, can you conclude that the proportion of delinquent card holders changed since 2010?
8.72 Travelocity would like to estimate the current average domestic airfare. The following data show the airfares for 24 randomly selected tickets for travel within the United States. These data can also be found in the Excel file titled domestic airfares.xlsx.
$356 $275 $371 $384 $457 $326 $414 $367 $362 $286 $104 $136 $320 $244 $370 $215 $322 $409 $303 $489 $251 $361 $337 $265
a. Construct a 99% confidence interval with these data to estimate the average domestic airfare.
b. What is the margin of error for this sample? c. Verify your results using Excel.
8.73 Using a 90% confidence level, the U.S. Department of Labor would like to estimate the average weekly hours worked by private employees in the United States who are adults. Assume the standard deviation for the number of hours worked is seven hours. Determine the sample sizes needed to construct this confidence interval using the fol- lowing margins of error:
a. 2 hours b. 1 hour c. 30 minutes d. Explain why the margin of error affects the sample size
needed to obtain a particular confidence level.
8.74 Michael Smith is running to become the state representative for the 12th District in Delaware. The district has 310 reg- istered Republican voters. In an effort to plan his campaign strategy, Michael would like to estimate the average age of a Republican voter in the district. Following a random sample of 27 registered Republicans, the average age of voters was found to be 38.7 years with a sample standard deviation equal to 6.8 years.
a. Construct a 95% confidence interval to estimate the average age of registered Republicans in the 12th District.
b. What assumption needs to be made for this analysis? c. Verify your results using PHStat.
8.75 A local church has a congregation composed of 362 members. The church’s administrators would like to find out how the congregation would react if the church moved its 11:00 a.m.
service to 10:00 a.m. A random sample of 115 members was drawn, 46 of whom were in favor of the change.
a. Construct a 95% confidence interval to estimate the pro- portion of members in the congregation in favor of the time change.
b. What conclusions can be made based on these results? c. Verify your results using PHStat.
8.76 Clear Bags is an online company that sells a variety of pro- tective bags for photo, art, and stationery products that are placed on display. Currently, its customer database consists of 872 individuals who place at least one order per year. Clear Bags would like to estimate the proportion of their customer base that is 35 years or younger. From a random sample of 240 customers, 77 were found to be 35 years or younger.
a. Construct a 95% confidence interval to estimate the actual proportion of Clear Bags customers who are 35 years or younger.
b. What is the margin of error for this sample? c. Verify your results with PHStat.
8.77 The manager at an automobile dealership would like to esti- mate the average satisfaction score from the 915 customers who purchased a car or truck last year. The company goal is to achieve an average satisfaction score of at least 80 on a scale of 0–100. A random sample of 80 customers had an average satisfaction score of 82.7 and a sample standard deviation of 6.7.
a. Construct a 95% confidence interval to estimate the actual average satisfaction score from last year’s customers.
b. Based on this sample, can the manager conclude that the company goal has been achieved?
c. Verify your results with PHStat.
8.78 The Excel file labeled Lowes.xlsx lists the receipt total for 350 randomly selected customers for the home improve- ment chain Lowe’s.
a. Use these data to construct a 95% confidence interval to estimate the average receipt total for a Lowe’s customer.
b. What is the margin of error for this sample? c. Verify your results using Excel.
8.79 The Hawaii Island Chamber of Commerce collects ocean temperature data to help promote tourism for local busi- nesses. The Excel file titled Hawaii ocean temps.xlsx lists daily ocean temperatures for the past 125 days.
a. Use these data to construct a 90% confidence interval to estimate the average ocean temperature for Hawaii.
b. What is the margin of error for this sample? c. Verify your results with Excel.
www.freebookslides.com
378
Chapter 8 Solutions to Your Turn
Y o U r T U r n # 1
sx = s2n = $39235 = $395.92 = $6.59
UCL x = x + za>2sx UCL x = 1$247.802 + 11.64521$6.592 UCL x = $247.80 + $10.84 = $258.64
LCL x = x + za>2sx LCL x = 1$247.802 - 11.64521$6.592 LCL x = $247.80 - $10.84 = $236.96
We are 90% confident that the average room rate for luxury hotels in the United States during the first quarter of 2010 is between $236.96 and $258.64.
Y o U r T U r n # 2
a. sx = s2n = $63230 = $635.48 = $11.50 limx S ∞
MEx = za>2sx = 11.64521$11.502 = $18.92 UCL x = $507 + $18.92 = $525.92 LCL x = $507 - $18.92 = $488.08
b. sx = s2n = $63260 = $637.75 = $8.13
MEx = za>2sx = 11.64521$8.132 = $13.37
UCL x = $507 + $13.37 = $520.37 LCL x = $507 - $13.37 = $493.63 c. Increasing the sample size from 30 to 60 reduces the margin of error from
$11.50 to $8.13, which reduces the confidence interval. This provides a more precise estimate of the average price of a notebook in the population of notebook computers.
Y o U r T U r n # 3 a. To find the critical z-score for an 80% confidence interval, we need
to recognize that the area to the left of the right-hand boundary is 0.80 + 0.10 = 0.90. After searching Table 4 in Appendix A for the value in the body of the table closest to 0.90, you’ll find 0.8997 in the 1.2 row and 0.08 column, resulting in za>2 = 1.28.
sx = s2n = 4.1230 = 4.15.48 = 0.748
MEx = za>2sx = 11.28210.7482 = 0.957
Confidence Interval
Sample Sample Mean
Margin of Error
Lower Limit
Upper Limit
1 12.4 0.957 11.44 13.36
2 11.3 0.957 10.34 12.26
3 13.1 0.957 12.14 14.06
4 13.7 0.957 12.74 14.66
5 12.7 0.957 11.74 13.66
b. These results are consistent with the definition of an 80% confidence inter- val. Four out of five (80%) random samples have confidence intervals that include the population mean of 13 minutes. The confidence interval for the second sample does not include this population mean.
Y o U r T U r n # 4
a. sx = s2n = $260240 = $2606.32 = $41.14
UCL x = x + za>2sx UCL x = 1$1,0902 + 11.2821$41.142 = $1,142.66 LCL x = x - za>2sx LCL x = 1$1,0902 - 11.2821$41.142 = $1,037.34 b. UCL x = x + za>2sx UCL x = 1$1,0902 + 11.9621$41.142 = $1,170.63 LCL x = x - za>2sx LCL x = 1$1,0902 - 11.9621$41.142 = $1,009.37
c. UCL x = x + za>2sx UCL x = 1$1,0902 + 12.3321$41.142 = $1,185.86 LCL x = x - za>2sx LCL x = 1$1,0902 - 12.3321$41.142 = $994.14 d. Increasing the confidence level from 80% to 98% increases the size of
the confidence interval. If the sample size is held constant, the only way to increase the likelihood of capturing the population mean is to increase the width of the confidence interval.
www.freebookslides.com
379
Y o U r T U r n # 5
sx = s2n = 3.9234 = 3.95.83 = 0.669
For a 98% confidence interval, za>2 = 2.33. UCL x = x + za>2sx UCL x = 121.22 + 12.33210.6692 = 22.8
LCL x = x - za>2sx LCL x = 121.22 - 12.33210.6692 = 19.6 We are 98% confident that the average fuel economy for passenger vehicles in the United States is between 19.6 and 22.8 mpg. Because the interval does include the claimed fuel economy of 20.3, this sample does support the EPA’s statement.
Y o U r T U r n # 6 a. = CONFIDENCE.NORM10.01, 1490, 452 = 572.13 b.
We are 99% confident that the average tuition fees for public colleges and universities during the 2012–2013 academic year is between $8,077.87 and $9,222.13.
Y o U r T U r n # 7
sx = s2n = 6.1218 = 6.14.24 = 1.44
For a 95% confidence interval, za>2 = 1.96. a. UCL x = x + za>2sx UCL x = 122.82 + 11.96211.442 = 25.6 LCL x = x - za>2sx LCL x = 122.82 - 11.96211.442 = 20.0
We are 95% confident that the average household does between 20.0 and 25.6 loads of laundry per month.
b. The population must be normally distributed because the sample size is less than 30.
c. Because the 95% confidence interval includes 25 loads per month, this sample does support the claim made by Procter & Gamble.
Y o U r T U r n # 8 x = 92.7 s = 4.52 n = 10
Nsx = s2n = 4.52210 = 1.43
df = n - 1 = 10 - 1 = 9 ta>2 = 1.833 from Table 5 in Appendix A 190% CI2
UCL x = x + ta>2 Nsx UCL x = 92.7 + 11.833211.432 UCL x = 92.7 + 2.62 = 95.3 LCL x = x - ta>2 Nsx LCL x = 92.7 - 11.833211.432 LCL x = 92.7 - 2.62 = 90.1 We are 90% confident that the statistic author’s actual golf average is between 90.1 and 95.3.
www.freebookslides.com
380
Y o U r T U r n # 9
a. p = x
n =
98
500 = 0.196
sNp = B p11 - p2n = B 10.196211 - 0.1962500 = 20.000315 = 0.0177 UCL p = p + za>2 Nsp UCL p = 0.196 + 12.33210.01772 = 0.237 UCL p = p - za>2 Nsp UCL p = 0.196 - 12.33210.01772 = 0.155 We are 98% confident that the proportion of car deals financed with 0%
financing is between 0.155 and 0.237. Because 0.224 is within this confi- dence interval, the sample does support the findings of Edmunds.com.
b. MEp = za>2 Nsp = 12.33210.01772 = 0.041 c.
Y o U r T U r n # 1 0
a. n = 1za>222s2 1MEx22 =
11.6452213222 1522
= 12.706211,0242
1252 = 110.84 ≈ 111 The park service should sample the time of 111 hikers using this trail.
b.
Y o U r T U r n # 1 1
a. p = 42
60 = 0.70
n = 1za>222 p11 - p2
1MEp22 =
11.962210.70211 - 0.702 10.0622
n = 13.842210.7210.32
10.00362 = 224.1 ≈ 225 With the pilot sample, the government should sample 225 Americans to
estimate the proportion of homeowners or an additional 225 - 60 = 165 homeowners.
b. Set p = 0.5
n = 1za>222 p11 - p2
1MEp22 =
11.962210.50211 - 0.502 10.0622
n = 13.842210.5210.52
10.00362 = 266.8 ≈ 267 Without a pilot sample, the government should sample 267 Americans to
estimate the proportion of homeownership.
c.
www.freebookslides.com
381
Y o U r T U r n # 1 2
a. n
N =
120
700 = 0.171 7 0.05
A N - nN - 1 = A 700 - 120700 - 1 = A580699 = 20.8298 = 0.9109 p =
x
n =
72
120 = 0.60
sNp = B p11 - p2n = B 10.60211 - 0.602120 = A 0.24120 = 20.002 = 0.0447 UCL p = p + za>2 Nspa A N - nN - 1 b UCL p = 0.60 + 11.96210.0447210.91092 UCL p = 0.60 + 0.0798 = 0.6798
LCL p = p - za>2 Nspa A N - nN - 1 b LCL p = 0.60 - 11.96210.0447210.91092 LCL p = 0.60 - 0.0798 = 0.5202 We are 95% confident that the proportion of voters who will vote for Michael
Smith is between 0.5202 and 0.6798.
b.
c. Because both the upper and lower limits for this confidence interval exceed 50%, Michael is 95% confident that he will receive the majority of the votes.
www.freebookslides.com
C h a p t e r 9 M a p
9.1 An Introduction to Hypothesis Testing | 384
9.2 Hypothesis Testing for the Population Mean when s Is Known | 390
9.3 Hypothesis Testing for the Population Mean when s Is Unknown | 403
9.4 Hypothesis Testing for the Proportion of a Population | 412
9.5 Type II Errors | 416
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ State the null and alternative hypothesis.
■ Distinguish between a one-tail and a two-tail hypothesis test.
■ Understand the difference between a Type I and Type II error.
■ Understand the role that the significance level plays on the hypothesis test.
■ Perform a hypothesis test for the population mean and population proportion.
■ Calculate and interpret a p-value for a hypothesis test.
■ Calculate and interpret the power for a hypothesis test.
Hypothesis Testing for a Single Population
C h a p t e r
9
www.freebookslides.com
384 C h a p t e r 9 | Hypothesis Testing for a Single Population
In Chapter 8 we learned how to estimate a population parameter such as a mean using a sample and a confidence interval. Now let’s move on to the heart and soul of inferential statistics: hypothesis testing.
In the statistical world, a hypothesis is an assumption about a specific population pa- rameter, such as a mean, a proportion, or a standard deviation. One thing we statisticians like to do is to make an assumption about the value of a population parameter, collect a sample from that population, measure the sample, and declare, in a scholarly manner, whether the sample supports the original assumption. This, in a nutshell, is what hypothesis testing is all about. It will, however, require both this and the next chapter to explain exactly how to do this. The focus of this chapter is to test an assumption about a single population mean or population proportion. After we’ve mastered this technique, Chapter 10 will address hypoth- esis testing for two populations.
Today’s business environment is full of examples that deal with hypothesis testing, such as the following:
• Bank fees have come under scrutiny lately as financial institutions have struggled to recover losses due to the recent economic recession. Prior to the recession, the fees charged by banks for late credit card payments averaged $40. A government agency would like to test the hy- pothesis that the fees now average more than $40.
• The industry that promotes compact fluorescent light (CFL) bulbs claims the bulbs use 75% less energy and last 10 times longer than incandescent bulbs. An indepen- dent lab would like to test this claim using hypothesis testing.
• A recent Wall Street Journal article titled “Does the Internet Make You Smarter or Dumber?” posed the possibility that online activities turn us into shallow thinkers. The article cited a statistic claiming that the average time an American spends looking at a Web page is 56 seconds. A researcher at a local university would like to test this claim using a hypothesis test.
Hypothesis testing is one of the most widely used procedures in statistics today. As you’ll see in this chapter, special care must be taken to set up the proper test and to draw the proper conclusions. First, I’ll provide you with an introduction to hypothesis testing, and then we’ll discuss tests for the population mean and the population proportion.
9.1 An Introduction to Hypothesis Testing
The purpose of this section is to discuss how to set up a proper hypothesis test, which begins with establishing the null and alternative hypotheses.
Stating the hypothesis Every hypothesis test has both a null hypothesis and an alternative hypothesis. The null hypothesis, denoted by H0, represents the status quo and involves stating the belief that the population parameter is … (less than or equal to), = , or Ú (greater than or equal to) a spe- cific value. (Recall from Chapter 1 that we define a parameter as data that describe a charac- teristic about a population such as a mean or proportion.) The null hypothesis is believed to be true unless there is overwhelming evidence to the contrary.
The alternative hypothesis, denoted by H1, represents the opposite of the null hypothesis and is believed to be true if the null hypothesis is found to be false. The alternative hypoth- esis always states that the population parameter is 7 (greater than), ≠ (not equal to), or 6 (less than) a specific value.
You need to be careful how you state the null and alternative hypotheses. Your decision will depend on the nature of the test and the motivation of the person conducting it. Suppose the purpose of the test is to determine if the population mean is equal to a specific value, which is what we would want to test based on our previous Wall Street Journal article. We would then assign this statement as the null hypothesis, which results in the following equation:
H0: m = 56 seconds 1status quo2
A hypothesis is an assumption about a population parameter such as a mean or a proportion.
The null hypothesis, denoted by H0, represents the status quo and involves stating the belief that the population parameter is … , = , or Ú a specific value.
The alternative hypothesis, denoted by H1, represents the opposite of the null hypothesis and is believed to be true if the null hypothesis is found to be false.
www.freebookslides.com
C h a p t e r 9 | 9.1 An Introduction to Hypothesis Testing 385
In this example, we are assuming the status quo is that Internet users spend an average time of 56 seconds on a Web page. As a result, this statement is assigned to the null hypothesis.
The alternative hypothesis reflects the opposite condition, that the average time is not equal to 56 seconds.
H1: m ≠ 56 seconds
A hypothesis statement can be used only with a population parameter (such as m), not a sample statistic (such as x). The following statements would not be appropriate:
H0: x = 56 seconds H1: x ≠ 56 seconds
These are not appropriate because we can calculate the sample mean or sample proportion. Therefore, there is no need to perform a hypothesis test to make a statement about sample statistics. The purpose of hypothesis statements is to draw a conclusion about the population parameters for which we do not have complete knowledge.
Often, hypothesis testing is performed by researchers who want to prove that their discoveries are an improvement over current products or procedures. Suppose Edalight Company, a producer of CFL bulbs, claims that a new bulb it has developed has an average lifetime that exceeds the current industry average of 8,000 hours. To test this claim, Edalight would set up this hypothesis test as follows:
H0: m … 8,000 hours 1status quo2 H1: m 7 8,000 hours 1manufacturer’s claim2
Note that the alternative hypothesis was used to represent the claim that Edalight wants to prove statistically. Because of this, the alternative hypothesis is also known as the research hypothesis. It represents the position the researcher wants to establish. The 8,000-hour aver- age, which is presumed to be true prior to Edalight’s new product, is considered the status quo and is assigned to the null hypothesis.
Notice that, even though the status quo states that the average bulb life is equal to 8,000 hours, we write the null hypothesis as H0: m … 8,000 rather than H0: m = 8,000. Quite honestly, either statement would be acceptable. In this text, I chose to use the … convention. However, some textbooks use the = convention. To each his own.
Table 9.1 shows the three valid combinations of the null and alternative hypotheses using the claim that we are testing from the Wall Street Journal article as an example.
{ table 9.1 | Valid Combinations for the Null and Alternative Hypotheses: Wall Street Journal Example
null H0: m = 56 H0: m Ú 56 H0: m … 56
alternative H1: m ≠ 56 H1: m 6 56 H1: m 7 56
The alternative hypothesis 1H12 is associated only with the signs ≠, 6 , and 7 . As a result, the null hypothesis 1H02 is only expressed in terms of = , Ú , and … .
two-tail hypothesis tests A two-tail hypothesis test is used whenever the alternative hypothesis is expressed as ≠. Our Wall Street Journal example has the following null and alternative hypotheses:
H0: m = 56 H1: m ≠ 56
This is considered a two-tail test because the alternative hypothesis is stated as H1: m ≠ 56. We are making the assumption here that m = 56 unless our sample mean is a lot higher or a lot lower than 56. This test is shown graphically in Figure 9.1.
Notice that the equal sign is always associated with the null hypothesis and is never seen in the alternative hypothesis.
Two-tail hypothesis test. A test in which the alternative hypothesis is expressed as ≠.
www.freebookslides.com
386 C h a p t e r 9 | Hypothesis Testing for a Single Population
The curve in Figure 9.1 represents the sampling distribution of the mean for the number of seconds an American looks at a Web page. The mean of the population, which is assumed to be 56 seconds according to the null hypothesis, is the mean of the sampling distribution and is designated by mH0.
The procedure for a two-tail hypothesis test is as follows:
• Collect a sample of size n, and calculate the sample mean. For this example, our sample would be used to calculate the mean viewing time per Web page.
• Plot the sample mean on the x-axis of the sampling distribution curve shown in Figure 9.1.
• If the sample mean falls within the white region in Figure 9.1, we do not reject H0. That is, we do not have enough evidence to support H1, the alternative hypothesis, which states that the population mean is not equal to 56 seconds.
• If the sample mean falls in either shaded region, otherwise known as the rejection re- gions, we reject H0. That is, we have enough evidence to support H1, which results in our belief that the true population mean is not equal to 56 seconds.
Because there are two rejection regions in Figure 9.1, we have a two-tail hypothesis test. We will discuss how to determine the boundaries for the rejection regions shortly.
One-tail hypothesis tests A one-tail hypothesis test involves the alternative hypothesis stated as 6 or 7 . Edalight Company’s claim that its new CFL bulb has an average lifetime that exceeds the current in- dustry average lends itself to a one-tail hypothesis test. Recall that the company claims that their new bulb’s average lifetime exceeds 8,000 hours. The null and alternate hypothesis can therefore be expressed as follows:
H0: m … 8,000 hours H1: m 7 8,000 hours
This test is shown graphically in Figure 9.2.
The one-tail hypothesis test is used when the alternative hypothesis is stated as 6 or 7 .
{ figure 9.1 An Example of a Two-Tail
Hypothesis Test
56 µH0
Do Not Reject H0 Reject H0Reject H0
x scale
{ figure 9.2 An Example of a One-Tail
(Upper Tail) Hypothesis Test
8,000 µH0
Do Not Reject H0 Reject H0
x scale
Here, there is only one rejection region, which is the shaded area on the right tail of the sampling distribution. We follow the same procedure outlined for the two-tail test and
www.freebookslides.com
C h a p t e r 9 | 9.1 An Introduction to Hypothesis Testing 387
plot the sample mean, which represents the average life of a new CFL bulb. Two possible scenarios exist:
1. If the sample mean falls within the white region, we do not reject H0. That is, we do not have enough evidence to support H1, the alternative hypothesis. Our conclusion is that we have no evidence that the average life of the new CFL bulb exceeds 8,000 hours.
2. If the sample mean falls in the shaded region, we reject H0. That is, we have enough evidence to support H1, which supports Edalight’s claim that the average life of the new CFL bulb exceeds 8,000 hours.
the Logic of hypothesis testing The only two statements we can make about the null hypothesis are that we
• reject it.
• do not reject it.
The reason we are limited to these two conclusions is because hypothesis testing re- lies on “proof by contradiction.” That is, we assume the null hypothesis is true and attempt to disprove it by finding evidence to the contrary. By using this strategy, we can only con- clude that the null hypothesis may be true, but we do not have enough evidence to say the null hypothesis is true with certainty. Because of this limitation, we can never accept the null hypothesis. The most we can say is that we do not have enough evidence to reject the null.
We can use the analogy of the legal system to illustrate this point further. Because the U.S. court system assumes a person is innocent until proven guilty, the hypothesis test is for- mulated as follows:
H0: The defendant is innocent 1status quo2 H1: The defendant is guilty
The two conclusions the court system is capable of are as follows:
1. Reject the null hypothesis S The defendant is guilty 2. Fail to reject the null hypothesis S The defendant is not guilty
If the members of a jury find a defendant “not guilty,” they are not saying the defendant is innocent. Rather, they are saying that there is not enough evidence to prove guilt. A “not guilty” verdict is failing to reject the null hypothesis. Concluding that a defendant is inno- cent is a much stronger statement than determining that the defendant is not guilty. However, the court system does not have the capability to conclude innocence, which would be accept- ing the null hypothesis. In conclusion, there are two things you should never do:
1. Run with a sharp object in your hand. (Once a parent, always a parent.)
2. Accept the null hypothesis.
Summary on Setting up hypothesis Statements I need to be honest with you—setting up the appropriate hypothesis statements is a topic with which many students struggle. In an effort to help you with this important procedure, I have provided the following points to summarize what we have learned so far about hypoth- esis tests.
If the purpose of the hypothesis test is to establish that a population parameter is equal to or not equal to a specific value, the null hypothesis is always assigned to the equality statement, leaving the “not equal to” statement for the alternative hypothesis. For example, suppose the White House would like to test the hypothesis that President Obama’s approval rating will change from the previous month’s 48% based on how he has handled the most
The null hypothesis can never be accepted. The only two options available are to (1) reject the null hypothesis or (2) fail to reject the null.
www.freebookslides.com
388 C h a p t e r 9 | Hypothesis Testing for a Single Population
recent debt crisis. Here, we are testing for the population proportion, p, which results in the following hypothesis statement:
H0: p = 0.48 H1: p ≠ 0.48
Because the alternative hypothesis does not specify a particular direction (the White House is only testing for a change in approval rating rather than specifically for an increase or decrease), we are employing a two-tail test.
Hypothesis tests are frequently used in research studies. Normally, researchers would like to prove that something they developed is different from the status quo. In this situation, the status quo is assigned to the null hypothesis, and the condition the researcher hopes to prove is left to the alternative (or research) hypothesis. For instance, suppose the average battery life of a 14-in. laptop is 3.0 hours. Our company has just developed a new type of battery that it claims has an average battery life greater than 3.0 hours. To test this claim, we use the following hypothesis statements:
H0: m … 3.0 hours 1status quo2 H1: m 7 3.0 hours 1research claim2
In this example, we are interested in specifically testing for an increase in battery life, which dictates the use of a one-tail hypothesis test. Here, merely claiming that the battery life is different from 3.0 hours (a two-tail test) would not be very impressive to consumers!
Quality control is another area that has benefited from hypothesis testing. Here, the null hypothesis refers to a process operating in a satisfactory state, which would be the status quo. The alternative hypothesis takes the stance that the process is not behaving as it should and needs some sort of attention. For example, suppose a glass manufacturer has a particular product whose average thickness needs to be 4.0 mm. If the average is more or less than 4.0 mm, the product is not acceptable. We can use the following hypothesis statements for this application:
H0: m = 4.0 mm 1process is satisfactory2 H1: m ≠ 4.0 mm 1process is not satisfactory2
Because a process average either greater or less than 4.0 mm is unacceptable, this is an ex- ample of a two-tail test.
Hypothesis testing can also be used in an attempt to prove a particular point of view. As a user of hypothesis testing, you would assign the alternative hypothesis to establish the point of view you favor. For example, Roger Goodell, the commissioner of the NFL, has claimed that the majority of fans favor expanding the NFL schedule from 16 to 18 regular season games. The NFL players’ union, which is not in favor of this expansion, would like to refute the commissioner’s claim with the following hypothesis test:
H0: p Ú 0.50 1the commissioner’s claim2 H1: p 6 0.50 1the position the players union wants to establish2
As you can see, this is also an example of a one-tail test. The players’ union wants specifi- cally to establish that the proportion of NFL fans who favor an 18-game schedule is less than 50%.
To summarize, notice that in all of the above examples, the focus is placed on establish- ing the alternative hypothesis. I recommend starting with stating the alternative hypothesis and then setting up the null hypothesis in the opposite direction. Because setting up the statements is such an important step in hypothesis testing, my point of view is that it would be really beneficial for you to try this next Your Turn problem. I shouldn’t need a hypothesis test to prove it!
This is an upper (right) tail hypothesis test because the alternative hypothesis is stated as 7 3.0.
This is a two-tail hypothesis test because the alternative hypothesis is stated as not equal to 4.0.
This is a lower (left) tail hypothesis test because the alternative hypothesis is stated as 6 0.50.
www.freebookslides.com
C h a p t e r 9 | 9.1 An Introduction to Hypothesis Testing 389
Now that we have covered the basics of hypothesis testing, we need to consider errors that can occur due to sampling.
the Difference Between type I and type II errors Remember that the purpose of a hypothesis test is to verify the validity of a claim about a population based on a single sample. Because we are relying on a sample, we expose our- selves to the risk that our conclusions about the population will be wrong because of a sam- pling error. For example, perhaps the null hypothesis is true, but we have been unfortunate enough to draw a sample that’s not really representative of the population. Or, perhaps the sample is too small or the survey poorly designed. There are many circumstances that can result in a faulty conclusion.
Let’s use the previous CFL bulb example to illustrate these errors. Suppose that Edalight’s sample falls within the “Reject H0” region of Figure 9.2. That is, according to the sample, the average life of the new bulb exceeded 8,000 hours. But what if the true popu- lation mean is actually much less than 8,000 hours? This can occur primarily because of sampling error, which I discussed in Chapter 7. The type of error where we reject H0 when, in reality, it’s true is known as a Type I error. The probability of making a Type I error is known as a. This is the same a that we introduced in Chapter 8, which we defined as the level of significance. As the tester of a hypothesis, you decide on the risk level, or a, you are willing to accept if you incorrectly reject the null hypothesis.
Generally, those performing hypothesis tests select values of a ranging from 0.01 (1%) to 0.10 (10%). Which level you select depends on how critical it is that you don’t make a Type I error. For example, if Edalight is very concerned about making the mistake of claim- ing its CFL bulb has an average life that exceeds 8,000 hours when, in reality, it doesn’t, it would choose a smaller value of a, such as 0.01. Whatever value of a is chosen, it should be determined before the data are gathered.
We also can experience another type of error with hypothesis testing. Let’s say the CFL bulb sample falls within the “Do Not Reject H0” region of Figure 9.2. That is, accord- ing to the sample, there is no evidence that the average life of the new CFL bulbs exceeds 8,000 hours. But what if the true population mean is actually much more than 8,000 hours? The type of error where we do not reject H0 when, in reality, it’s false is known as a Type II error. The probability of making a Type II error is known as b. As we will see later in the chapter, the value of b will depend on the value of a that is selected.
Recall that in Chapter 7 we defined sampling error as the difference between the sample mean and the mean of the population from which it is drawn.
A Type I error occurs when the null hypothesis is rejected when, in reality, it is true. The probability of making a Type I error is known as A, the level of significance.
Identify the null and alternative hypotheses for each of the following scenarios:
1. In an effort to increase the number of people who file their returns electronically, suppose the Internal Revenue Service (IRS) launches a promotional campaign on the benefits of this filing method. As a follow-up to the campaign’s effectiveness, the IRS would like to test if the proportion of people who plan to be “e-filers” for the next tax season will exceed 70%.
2. To plan properly for equipment and services during the upcoming year, Comcast would like to test the hypothesis that the average number of televisions in the homes of its customers is equal to 2.9.
3. The federal government would like to determine the effectiveness of a recent tax-break program for first-time home buyers. Prior to the tax break, the average time period a house was on the mar- ket was 60 days. The government would like to test the claim that the current average time on the market is less than 60 days.
Y O u r t u r n # 1N
Answers can be found on u page 432
A Type II error occurs when we fail to reject the null hypothesis when, in reality, it is not true. The probability of making a Type II error is known as B.
www.freebookslides.com
390 C h a p t e r 9 | Hypothesis Testing for a Single Population
Let’s return to our glass manufacturer example to highlight the difference between Type I and Type II errors. Recall that it produces a glass product whose average thickness needs to be 4.0 mm. If the process average is more or less than 4.0 mm, the product is not acceptable. We used the following hypothesis statements for this application:
H0: m = 4.0 mm 1process is satisfactory2 H1: m ≠ 4.0 mm 1process is not satisfactory2
A Type I error would occur if we reject the null hypothesis and conclude that there is a problem with the process, when in fact the process is working fine. In other words, we con- clude that the average glass thickness is not equal to 4.0 mm when, in reality, it is equal to 4.0 mm. We call a Type I error the producer’s risk because, when it occurs in quality control settings, the producer is looking for a problem in its process that does not exist. That is, the producer is rejecting a good product.
A Type II error would occur if we failed to reject the null hypothesis and concluded that the process was working fine when, in reality, the process was having a bad day. Here, we concluded that the average glass thickness was equal to 4.0 mm when it actually was not. We call a Type II error the consumer’s risk because, when it occurs in quality control settings, the customer is getting product from a process that is not performing properly.
With hypothesis testing, we decide on a value for a before we collect the sample. Once a has been set, the value of b can be calculated, a method we will discuss later in this chapter. Ideally, we would like the values of a and b to be as small as possible. However, for a given sample size, reducing the value of a will result in an increase in the value of b. The opposite also holds true. The only way to reduce both a and b simultaneously is to increase the sam- ple size. Once the sample size has been increased to the size of the population, the values of a and b will approach 0. However, as we discussed in Chapter 7, this is not a recommended strategy because measuring the entire population is either impractical or too costly.
9.2 Hypothesis Testing for the Population Mean When S Is Known
The first case of hypothesis testing involves a one-tail test where the population standard deviation, s, is known. As you learned in Chapter 8, this value is often unknown but can be estimated. We’ll address such a case in a later section of this chapter.
When s is known, we need to consider two different scenarios:
1. If our sample size is small 1n 6 302, to conduct a hypothesis test the population must follow the normal distribution.
2. If our sample size is large 1n Ú 302, we know from the Central Limit Theorem that the sampling distribution follows the normal distribution. When this is the scenario, we have no restrictions on the population distribution.
In the following sections, we’ll examine both a one-tail hypothesis test and a two-tail hypothesis test.
A Type I error is known as the producer’s risk because, when it occurs in quality control settings, the producer is looking for a problem in its process that does not exist.
A Type II error is known as the consumer’s risk because, when it occurs in quality control settings, the customer is getting a product from a process that is not performing properly.
{ table 9.2 | Decision Rules for the Two Types of Hypothesis Test Errors
H0 is actually true H0 is actually false
We Reject H0 Type I Error P1Type I Error2 = a
Correct Outcome
We Do Not Reject H0 Correct Outcome Type II Error P1Type II Error2 = b
Table 9.2 summarizes the two types of hypothesis errors.
www.freebookslides.com
C h a p t e r 9 | 9.2 Hypothesis Testing for the Population Mean When s Is Known 391
an example of a One-tail hypothesis test for the population Mean (When S Is Known) To illustrate a one-tail hypothesis test when the standard deviation of a population is known, I’ll use Edalight’s claim that its new CFL bulb has an average life that exceeds 8,000 hours. Suppose the average life of a random sample of 36 of the new bulbs is 8,120 hours. Assume that the population standard deviation for the life of CFL bulbs is 500 hours. The following seven steps describe the hypothesis testing procedure.
Step 1: Identify the null and alternative hypotheses.
H0: m … 8,000 hours H1: m 7 8,000 hours
Step 2: Set a value for the significance level, A.
As mentioned earlier, the level of significance represents the probability of mak- ing a Type I error. A Type I error occurs when we reject the null hypothesis but it is actually true. For this example, I’ll set a = 0.05, which is a common value used in hypothesis testing. Later, I’ll discuss the impact this choice has on the results.
Step 3: Determine the appropriate critical value.
Because the standard deviation of the population is known, the z-score is the appropriate choice of a critical value to use in this case. This is consistent with the method used in Chapter 8 to construct confidence intervals under similar condi- tions. The critical z-score identifies the rejection regions that were shown in Figures 9.1 and 9.2.
Because this is a one-tail test and the alternative hypothesis is H1: m 7 8,000, the entire area for a = 0.05 is placed on the right side (upper tail) of the sampling dis- tribution and is shown in the shaded area in Figure 9.3. We find the critical z-score, za, by looking for the closest value to 0.95 in Table 4 in Appendix A. This value is found in the 1.6 row, halfway between 0.9495 in the 0.04 column and 0.9505 in the 0.05 column, which tells us that za = 1.645.
Remember, a one-tail hypothesis test is used when the alternative hypothesis is stated as 6 or 7 .
If our sample size is 30 or more, we know from the Central Limit Theorem (as we learned in Chapter 7) that the sample mean follows the normal distribution regardless of the population’s probability distribution.
I use the notation za to refer to the critical z-score for a one-tail hypothesis test because the area associated with a is on one side of the distribution.
{ figure 9.3 The Critical z-Score for a
One-Tail Hypothesis Test When a = 0.05
0.95
0 8,000
H0
Do Not Reject H0
x scale z scale
Reject H0 = 0.05
z = 1.645
Step 4: Calculate the appropriate test statistic.
Because s is known, the appropriate test statistic is the z-test statistic, which was introduced in Chapter 8. The z-test statistic, zx, represents the number of standard deviations between the sample mean and mH0, the population mean in the null hypothesis scenario. By contrast, the critical z-score, za determined in Step 3, is based on the significance level, a, and determines the boundary for the rejection region. The z-test statistic can be found using Equation 9.1.
www.freebookslides.com
392 C h a p t e r 9 | Hypothesis Testing for a Single Population
where
zx = The z-test statistic x = The sample mean
mH0 = The mean of the sampling distribution, which is assumed to be true for the null hypothesis
s = The standard deviation of the population n = The sample size
Using Equation 9.1 for our CFL bulb example, our z-test statistic is as follows:
zx = x - mH0
s2n = 8,120 - 8,000500236 = 12083.33 = 1.44 Step 5: Compare the z-test statistic 1zx2 with the critical z-score 1za2. This comparison is used to decide whether to reject or fail to reject the null hypoth-
esis. To do so, we use the decision rules shown in Table 9.3. The term � za>2 � means the “absolute value of the critical z-score.” In other words, if the value is negative, it is made positive. So, for instance, � - 1.645 � simply equals 1.645. Likewise, the term � zx � means the “absolute value of the z-test statistic.” So, for instance, � 1.44 � simply equals 1.44.
{ table 9.3 | Decision Rules for Hypothesis Tests When Comparing the z-Test Statistic 1zx2 with the Critical z-Score 1za2
test hypothesis condition conclusion
Two-tail H0: m = m0 � zx � 7 � za>2 � S Reject H0
H1: m ≠ m0 � zx � … � za>2 � S Do not reject H0
One-tail H0: m … m0 zx 7 za S Reject H0 (upper) H1: m 7 m0 zx … za S Do not reject H0 One-tail H0: m Ú m0 zx 6 - za S Reject H0 (lower) H1: m 6 m0 zx Ú - za S Do not reject H0
Formula 9.1 for the z-Test Statistic for a Hypothesis Test for the Population Mean (When S Is Known)
zx = x - mH0
s1n
In our CFL bulb example, which is a one-tail (upper) test, zx = 1.44 and za = 1.645. Be- cause 1.44 … 1.645, we come to the “do not reject H0” conclusion (highlighted in yellow in Table 9.3). Figure 9.4 illustrates this finding.
Be sure to distinguish between the z-test statistic and the critical z-score. The z-test statistic, zx, represents the number of standard deviations between the sample mean and mH0, the population mean according to the null hypothesis. The critical z-score, za, is based on the significance level, a, and determines the boundary for the rejection region.
{ figure 9.4 Comparing the z-Test Statistic
with the Critical z-Score
zx = 1.44 0
Do Not Reject H0
z scale
Reject H0 = 0.05
z = 1.645
www.freebookslides.com
C h a p t e r 9 | 9.2 Hypothesis Testing for the Population Mean When s Is Known 393
Step 6: (Final Step): State your conclusions.
Now, for the most important step—we need to state our conclusions. Sadly, I have students who make wonderful progress getting to this point only to stumble at the finish line by making an erroneous statement. It’s best to go back to step 1 and reread the original hypotheses. In this example, the null hypothesis 1H02 took the position that the new CFL bulbs have an average life of 8,000 hours or less. By fail- ing to reject the null hypothesis, the correct conclusion is as follows:
“According to our sample of 36 new CFL bulbs, we do not have enough evidence to support Edalight’s claim that the average life of these bulbs exceeds 8,000 hours.”
Because we cannot accept the null hypothesis, we are not saying that the average life of the bulbs is actually 8,000 hours or less. Our evidence indicates that it might be 8,000 hours or less, but we do not have enough evidence to confirm this with any degree of certainty.
I’ll also have students incorrectly claim that, because the sample mean is 8,120 hours, we have enough evidence to conclude that we can reject the null hypothesis and validate Edalight’s claim that the average life is greater than 8,000 hours. However, we must remember that this mean is based on a sample of 36 bulbs and is subject to sampling error. In order to have enough evidence to reject the null hypothesis with a sample size of 36 bulbs, we would need a sample mean greater than 8,120 hours.
I also have one last reminder concerning sample size. Because we sampled more than 30 bulbs, the Central Limit Theorem allows us to perform this procedure with no restrictions on the population distribution. Had our sample size been less than 30, we would have needed the population to be normally distributed to perform this procedure.
If your instructor is anything like me, you can bet on getting an exam question similar to the next Your Turn problem. So do yourself a favor and spend some time practicing your hypothesis testing skills before moving on to the next topic.
I recommend rereading the hypothesis statements before drawing your final conclusions.
Just because this sample mean is greater than the hypothesized mean of 8,000 hours, it does not allow us to reject the null hypothesis.
Lindsay is the manager at a local Ruby Tuesday restaurant and has implemented changes to her operation to reduce the average wait time for a table between 6:00 p.m. and 8:00 p.m. on Saturday night to less than 20 minutes. A random sample of 45 wait times on Saturday night had a mean of 18.3 minutes. Lindsay knows from past experience that the standard deviation of wait times is 5.0 minutes. Follow the steps in the previous section to determine if Lindsay’s changes have reduced average wait time to less than 20 minutes using a = 0.05.
Y O u r t u r n # 2N
Hint: Because this is a one-tail (lower) test, the rejection region is on the left side of the sampling distribution. For a = 0.05, the critical z-score is therefore - za = - 1.645. You’re welcome!
Answer can be found on u page 432
the p-Value approach to hypothesis testing: One-tail tests In the previous section, we learned how to use the critical z-score to draw a conclusion for the hypothesis test. This section introduces another approach to deciding whether to reject the null hypothesis. The p-value is the probability of observing a sample mean at least as extreme as the one selected for the hypothesis test, assuming the null hypothesis is true. For this reason, the p-value is sometimes referred to as the observed level of significance. I know this may sound like a lot of mumbo jumbo right now, but an illustration using our CFL bulb example will help make this concept clearer.
The average life of a bulb in our sample was 8,120 hours, which we saw represented a z-test statistic of zx = 1.44 using Equation 9.1. The p-value represents the probability of
The observed level of significance is the probability of observing a sample mean at least as extreme as the one selected for the hypothesis test, assuming the null hypothesis is true. It is also known as the p-value.
www.freebookslides.com
394 C h a p t e r 9 | Hypothesis Testing for a Single Population
obtaining a sample mean of 8,120 hours or greater if the true population mean is 8,000 hours. If this probability is very low, then it is doubtful that the true population mean really is 8,000 hours. The p-value is therefore as follows:
P1x 7 8,1202 = P1zx 7 1.442 = 1.0 - 0.9251 = 0.0749 This p-value is the shaded area in the right tail of the sampling distribution shown in Figure 9.5.
{ figure 9.5 Using the p-Value Approach for
a One-Tail Hypothesis Test
0.9251
0
8,000 H0
x scale z scale zx = 1.44
x = 8,120
p-value = 0.0749
Excel’s NORM.S.DIST function that we discussed in Chapter 6 can also be used to determine the p-value. Recall that this function has the following characteristics:
= NORM.S.DIST1z, cumulative2 When we set the value z to the test statistic and cumulative = TRUE, this function returns the area to the left of the test statistic as follows:
= NORM.S.DIST11.44, TRUE2 = 0.9251 Because our p-value is the area to the right of the test statistic, we subtract 0.9251 from 1.0 as seen in Figure 9.5.
What do we do with this value? We can draw our hypothesis conclusion by comparing the p-value with a, the level of significance, as shown in Table 9.4.
Because this is a one-tail (upper) test, the p-value is the area to the right of the test statistic, zx.
{ table 9.4 | Decision Rules for Hypothesis Tests Using the p-Value
condition conclusion
p@Value Ú a S Do not reject H0 p@Value 6 a S Reject H0
If the p-value is less than a, there is little chance of observing the sample mean from the population on which it is based if the null hypothesis were actually true. We therefore reject the null hypothesis under this condition. The opposite conclusion is made when the p-value equals or exceeds the value of a. In our CFL bulb example, the p-value = 0.0749 and a = 0.05. Because the p-value exceeds the value of a, our conclusion is “do not reject H0,” which is consistent with our findings in the previous section. The p-value approach should always match the results you get using the critical z-score previously discussed.
Another way to describe this p-value is to say, in a very academic tone, “Our results are significant at the 0.0749 level.” This means that as long as the value of a is 0.0749 or larger, we will reject H0. Most researchers report p-values when summarizing their findings. The smaller the p-value, the more confident researchers will be about rejecting the null hypoth- esis, which will make them very happy. Remember, the alternative hypothesis usually sup- ports the claim the researcher is attempting to establish. Under these conditions, a rejection of the null hypothesis is a successful research result. Low p-values are a thing of beauty in this type of setting.
The p-value can also be described as the confidence you have that your null hypothesis is correct.
www.freebookslides.com
C h a p t e r 9 | 9.2 Hypothesis Testing for the Population Mean When s Is Known 395
The p-value we just calculated pertains to a one-tail test. Calculating the p-value for a two-tail hypothesis test is slightly different-I’ll show you how to do that in the next section. Also note that we can calculate only the p-value directly when we are using z-scores with the normal distribution. We need a slightly different approach when using the Student’s t-distri- bution for our hypothesis test, which is a topic we’ll discuss later in this chapter.
In this section, I have shown you two approaches to choose from in order to decide whether to reject the null hypothesis:
1. The p-value approach
2. The critical value approach
Before I turn you loose on the next Your Turn problem, let’s quickly summarize how we applied hypothesis testing to our CFL bulb example:
Step 1: Identify the null and alternative hypotheses.
H0: m … 8,000 hours H1: m 7 8,000 hours
Step 2: Set a value for the significance level, A.
In our CFL bulb example, a = 0.05. Step 3: Determine the appropriate critical value.
For a one-tail test with a = 0.05, za = 1.645. Step 4: Calculate the appropriate test statistic.
Using Equation 9.1,
zx = x - mH0
s2n = 8,120 - 8,000500236 = 12083.33 = 1.44 Step 5: Compare the z-test statistic 1zx 2 with the critical z-score 1zA2. Because 1.44 6 1.645, we come to the “do not reject H0” conclusion. Note: The p-value approach can be used in place of Step 5. The p-value for the CFL bulb example is calculated as follows:
P1x 7 8,1202 = P1zx 7 1.442 = 1.0 - 0.9251 = 0.0749 Or because 0.0749 7 0.05 (our value for a), we come to the “do not reject H0” conclusion. Step 6: State your conclusions.
According to our sample of 36 new CFL bulbs, we do not have enough evidence to support Edalight’s claim that the average life of these bulbs exceeds 8,000 hours.
The next Your Turn problem will give you a chance to try this procedure using our Ruby Tuesday problem.
Re-solve the Ruby Tuesday problem described in Your Turn #2 using the p-value approach to test Lindsay’s efforts to conclude that the average wait time for a table is less than 20 minutes using a = 0.05.
Y O u r t u r n # 3N
Hint: Because this is a one-tail (lower) test, the p-value is the area to the left of the test statistic, zx .
Answer can be found on u page 432
www.freebookslides.com
396 C h a p t e r 9 | Hypothesis Testing for a Single Population
an example of a two-tail hypothesis test for the population Mean (When S Is Known) To illustrate a two-tail hypothesis test when s is known, I’ll use the statistic in the Wall Street Journal article claiming that the average time an American spends looking at a Web page is 56 seconds. A researcher at a local university would like to test this claim using a hypothesis test. Suppose a sample of 60 Internet users spent an average of 47.3 seconds looking at a Web page. Assume that the standard deviation for this population is estimated to be 32 seconds based on previous research.
We will apply the six steps outlined in the previous section to conduct this two-tail hy- pothesis test.
Step 1: Identify the null and alternative hypotheses.
H0: m = 56 H1: m ≠ 56
Remember, a two-tail hypothesis test is used when the alternative hypothesis is being stated as ≠. Because we are testing the hypothesis that the population mean equals 56 seconds, this premise is assigned as the null hypothesis.
Step 2: Set a value for the significance level, A.
For this example, we set a = 0.05. Remember, this value needs to be chosen by the person performing the hypothesis test at the beginning of the procedure.
Step 3: Determine the appropriate critical values.
Because this is a two-tail test, the area for a = 0.05 is split evenly between the right and left sides of the sampling distribution; it is shown as the shaded areas in Figure 9.6. Because we are splitting the area for a into two equal parts, I’ll refer to the corresponding critical z-score as za>2 (rather than za for a one-tail test). Each rejection region in this figure has an area equal to 0.05>2 = 0.025. That leaves an area of 0.95 in the white region labeled “Do Not Reject H0.” A two-tail hypothesis test has two critical z-scores, one on each end of the sampling distribution. We find the critical z-score, - za>2, on the left side of the distribution by looking for the closest value to 0.025 in Table 3 from Appendix A. You’ll find 0.025 in the - 1.9 row and 0.06 column, which tells us that - za>2 = - 1.96 on the left side of the distribution. Because the sampling distribution is symmetrical, the critical z-score on the right side of the distribution also equals 1.96, as you can see in Figure 9.6.
Because we are investigating if the amount of time equals 56 seconds (not more than or less than 56 seconds), this is a two-tail test.
The total area to the left of za>2 is 0.95 + 0.025 = 0.975.
{ figure 9.6 The Critical z-Score for a Two-
Tail Hypothesis Test When a = 0.05
0.95
0 56
H0
Do Not Reject H0
x scale z scale –z /2 = –1.96 z /2 = 1.96
Reject H0 /2 = 0.025
Reject H0 /2 = 0.025
Step 4: Calculate the appropriate test statistic.
Using Equation 9.1 with our Web page example, our z-test statistic is calculated as follows:
x = 47.3 mH0 = 56 s = 32 n = 60
zx = x - mH0
s2n = 47.3 - 5632260 = - 8.74.13 = - 2.11
www.freebookslides.com
C h a p t e r 9 | 9.2 Hypothesis Testing for the Population Mean When s Is Known 397
Step 5: Compare the z-test statistic 1zx2 with the critical z-score 1zA>22. Because our z-test statistic, zx, is negative 1 - 2.112, we use the rejection
region on the left side of the sampling distribution where the critical z-score is - za>2 = - 1.96. Taking the absolute value of each, we have � zx � = 2.11, which is greater than � za>2 � = 1.96. According to Table 9.3, we reject the null hypothesis. Figure 9.7 illustrates this finding.
{ figure 9.7 Comparing the z-Test Statistic
with the Critical z-Score in a Two-Tail Hypothesis Test
zx = –2.11 0
0.95 Do Not Reject H0
z scalez /2 = 1.96– z /2 = –1.96
Reject H0 /2 = 0.025
Reject H0 /2 = 0.025
Step 6: State your conclusions.
Important reminder: When performing a hypothesis test using a sample from the population, we would never have enough evidence to conclude that the population mean equals 56 seconds because this would be accepting the null hypothesis which is never allowed. We have only two options for our hypothesis test conclusions:
1. Reject the null hypothesis and conclude that the average time spent looking at a Web page is not equal to 56 seconds.
2. Fail to reject the null hypothesis and conclude that we do not have enough evi- dence to state that the average time spent looking at a Web page is not equal to 56 seconds.
Because we are rejecting the null hypothesis in this example, we have support for the alternative hypothesis that claims the average time spent looking at a Web page is not equal to 56 seconds.
The following Your Turn problem gives you a chance to tackle a two-tail hypothesis.
the p-Value approach to hypothesis testing: two-tail tests We previously defined the p-value as the probability of observing a sample mean at least as extreme as the one selected for the hypothesis test assuming the null hypothesis is true. I demonstrated the p-value approach with a one-tail test. The two-tail case is slightly different and is explained in this section using the Web page example.
In this example, our sample has an average of 47.3 seconds, which, using Equation 9.1, gave us a z-test statistic of zx = - 2.11. Because this is a two-tail hypothesis test, the p-value is the area to the left of zx = - 2.11 plus the area to the right of zx = 2.11, as shown in Figure 9.8.
Kellogg’s has a process for filling boxes of Frosted Flakes cereal with 18 ounces of product when it is operating properly. Too much product in the box is wasteful to Kellogg’s, whereas too little product can lead to customer complaints. To determine if the filling process is performing as it should, a random sample of 40 boxes was examined, and the average weight of a box was found to be 18.06 ounces. Historically, the filling process has a standard deviation of 0.25 ounces. Follow the six steps for conduct- ing a two-tail hypothesis test to determine if the filling process is operating properly, using a = 0.05.
Y O u r t u r n # 4N
Answer can be found on u page 432
www.freebookslides.com
398 C h a p t e r 9 | Hypothesis Testing for a Single Population
We can determine the two-tail p-value as follows:
p@value = 2 * P1x 6 47.32 = 2 * P1zx 6 - 2.112 p@value = 12210.01742 = 0.0348
Once again we can also rely on Excel’s NORM.S.DIST function to help determine the p-value for our two-tail test:
= NORM.S.DIST1- 2.11, TRUE2 = 0.0174 Remember, this function always provides the area to the left of the test statistic which is the shaded region on the left side of Figure 9.8. To find our p-value, we still need to multiply 0.0174 by 2.
Based on our results, there is a 3.48% chance that we will collect a sample with a mean in the shaded regions in Figure 9.8 if the real population mean is 56 seconds. According to Table 9.4, because our p-value = 0.0348 is less than a = 0.05, we reject the null hypoth- esis and conclude that the average time spent looking at a Web page is not equal to 56 sec- onds. Our results are significant at the 0.0348 level.
The following Your Turn problem reviews the two-tail p-value procedure by revisiting the Frosted Flakes hypothesis test.
Because we have a two-tail test, the p-value is the sum of both shaded regions.
To find the area associated with zx 6 - 2.11, go to Table 3 in Appendix A. This area can be found in the - 2.1 row and 0.01 column (0.0174). Because we have a two-tail test, we double this area to obtain our p-value.
zx = –2.11 zx = 2.110 56
x scale z scale
x = 47.3 µH0
area = 0.0174 area = 0.0174
p-value = 0.0174 + 0.0174 = 0.0348{ figure 9.8 Using the p-Value Approach for
a Two-Tail Hypothesis Test
the role A plays in hypothesis testing For all the examples in this chapter, I have just stated a value for a, the level of significance. Remember, a represents the probability of making a Type I error, which is incorrectly reject- ing the null hypothesis when, in reality, the null hypothesis is true. I’m sure you’re wonder- ing what impact changing the value of a will have on the hypothesis test. Great question!
Changing a essentially changes the critical z-score in the hypothesis test, which, in turn, changes the rejection region in the sampling distribution. Table 9.5 shows the critical z-scores (za or za>2) for various values of a. These values can be found using Tables 3 and 4 in Appendix A in the manner described earlier in this chapter.
Recall that we saw the critical z-scores for a two-tail hypothesis test in Table 9.5 back in Chapter 8 when we discussed confidence intervals. That’s because a confidence interval corresponds to a two-tail hypothesis test. In fact, some of the questions that we addressed in Chapter 8 were really two-tail hypothesis tests in disguise!
To demonstrate the effect that the value we choose for a has on the hypothesis test, I’ll use the following example. Suppose that I am making a claim that the average grade for a
Perform a hypothesis test using the p-value approach with the data from the Frosted Flakes example in Your Turn #4.
Y O u r t u r n # 5N
Answer can be found on u page 433
www.freebookslides.com
C h a p t e r 9 | 9.2 Hypothesis Testing for the Population Mean When s Is Known 399
person using this textbook will be higher than an 87. (I’m not really making this claim, so don’t get too excited!) I would state the hypothesis test as follows:
H0: m … 87 H1: m 7 87
As a textbook author, it would be in my best interest if I could reject H0, which would validate my claim that the average grade for a reader will be higher than 87. I can help my chances of this happening by choosing a fairly high value for a, say 0.10. Using Table 9.5, I can see this corresponds to a critical z-score of 1.28, because we are using the upper (right) tail of a one-tail hypothesis test.
To test my claim, I randomly select 32 students who used my book and determined that their average grade was 88.9. Let’s say that s, the population standard deviation, is 7.0. Using Equation 9.1, we calculate the z-test statistic as follows:
zx = x - mH0
s2n = 88.9 - 877.0232 = 1.91.24 = 1.53 According to Figure 9.9, I have achieved my goal of rejecting H0 because the z-test sta-
tistic is within the shaded region. My book appears to have done the trick!
{ table 9.5 | Critical z-Scores for Various Alphas
alpha 1A2 tail critical z-score 0.01 One 2.33
0.01 Two 2.575
0.02 One 2.05
0.02 Two 2.33
0.05 One 1.645
0.05 Two 1.96
0.10 One 1.28
0.10 Two 1.645
0
Do Not Reject H0
z scale z = 1.28
zx = 1.53
Reject H0 = 0.10
{ figure 9.9 A One-Tail Hypothesis Test
When a = 0.10
However, I must admit that I chose a pretty “wimpy” value of a = 0.10 to increase my chances of proving my claim. In this case, I am willing to accept a 10% chance of claiming my book helped students attain an average greater than 87 when in fact it did not (a Type I error). A more impressive test would be to set a lower, say, a = 0.01. Now that’s truly significant, as far as I am concerned. According to Table 9.5, this level of significance corre- sponds to a critical z-score of 2.33. Figure 9.10 shows the impact of this change.
As you can see, to my horror, the shaded region no longer includes my z-test statistic of 1.53. Therefore, I do not reject H0 and cannot claim the average grade of those using my book exceeds an 87. I have also reduced my chance of making a Type I error to 1%. In gen- eral, a hypothesis test that rejects H0 is most impressive with a low value of a.
www.freebookslides.com
400 C h a p t e r 9 | Hypothesis Testing for a Single Population
{ figure 9.10 A One-Tail Hypothesis Test
When a = 0.01
zx = 1.53 0
Do Not Reject H0
z scale z = 2.33
Reject H0 = 0.01
The question is, which value of a should I report? One way to resolve the issue is sim- ply to report the p-value of the test statistic and let others decide on the significance of your work. For my grade example, the p-value is calculated as follows:
P1x 7 88.92 = P1zx 7 1.532 = 1.0 - 0.9370 = 0.0630 If the true average grade of students who use my book is an 87 or less (the null hypothesis), then there is a 6.3% chance of seeing a sample mean of more than 88.9. Because this prob- ability is relatively high (compared with an a of 0.05 or 0.01), many will view this as lack of evidence that students who use my book will have an average grade higher than 87.
Next on our agenda is to turn some of this work over to PHStat.
using phStat to perform a hypothesis test for the population Mean (When S Is Known) PHStat has the capability to perform a hypothesis test for the mean when s is known. I’ll demonstrate this procedure using my statistics grade example. Excel for Mac users can go to the textbook's Web site, www.pearsonhighered.com/donnelly, for these instructions.
1. Go to Add-Ins + PHStat + One-Sample Tests + Z Test for the Mean, sigma known, as shown in Figure 9.11A.
Most published research studies use the p-value approach when reporting their findings.
{ figure 9.11a Calculating the z-Test Statistic
for the Population Mean Using PHStat: s Known (Step 1)
2. Fill in the Z Test for the Mean, sigma known dialog box as shown in Figure 9.11B. Click OK. Notice that I chose to set the level of significance, a, to 0.05.
www.freebookslides.com
C h a p t e r 9 | 9.2 Hypothesis Testing for the Population Mean When s Is Known 401
Figure 9.11C shows the output for this hypothesis test. Using a = 0.05, we do not re- ject the null hypothesis because the z-test statistic, zx, equals 1.53.
{ figure 9.11b Calculating the z-Test Statistic
for the Population Mean Using PHStat: s Known (Step 2)
{ figure 9.11c Calculating the z-Test Statistic
for the Population Mean Using PHStat: s Known (Final Result)
This result blows up my claim that students using my textbook have an average grade more than an 87. The following Your Turn problem will give you a chance to put PHStat to work.
The Institute for College Access and Success reported that the average student debt incurred by 2011 graduates of four-year colleges was $26,500. Suppose a sample of 45 students who graduated from college in 2014 was selected, and it was found that their debt averaged $27,800. Using a = 0.10 and a population standard deviation of $7,500, perform a hypothesis test to determine if the average student debt changed from 2011 to 2014 using PHStat.
Y O u r t u r n # 6N
Answer can be found on u page 433
www.freebookslides.com
402 C h a p t e r 9 | Hypothesis Testing for a Single Population
9.2 Section Problems Basic Skills 9.1 Calculate the p-value for the following conditions and de-
termine whether to reject the null hypothesis:
a. one-tail test, zx = 1.50, and a = 0.05 b. one-tail test, zx = - 2.25, and a = 0.02 c. two-tail test, zx = 2.10, and a = 0.05 d. two-tail test, zx = - 1.37, and a = 0.10
9.2 Calculate the p-value for the following conditions and de- termine whether to reject the null hypothesis:
a. one-tail test, zx = 1.46, and a = 0.10 b. one-tail test, zx = - 2.48, and a = 0.01 c. two-tail test, zx = - 1.92, and a = 0.01 d. two-tail test, zx = 2.76, and a = 0.02
9.3 Consider the following hypotheses:
H0: m … 50 H1: m 7 50
Given that x = 52, s = 12, n = 36, and a = 0.05, answer the following questions:
a. What conclusion should be drawn? b. Determine the p-value for this test.
9.4 Consider the following hypotheses:
H0: m = 120 H1: m ≠ 120
Given that x = 111, s = 26, n = 40, and a = 0.05, answer the following questions:
a. What conclusion should be drawn? b. Determine the p-value for this test.
applications 9.5 Suppose the University of Memphis advertises that its
average class size is 35 students or less. A student organi- zation is concerned that budget cuts have led to increased class sizes and would like to test this claim. A random sample of 38 classes was selected, and the average class size was found to be 36.9 students. Assume that the stan- dard deviation for class size at the college is eight stu- dents. Using a = 0.05, answer the following questions:
a. Does the student organization have enough evidence to refute the college’s claim?
b. Determine the p-value for this test. c. Verify your results using PHStat.
9.6 Suppose the coffee industry claimed that the average U.S. adult drinks 1.7 cups of coffee per day. To test this claim, a random sample of 34 adults was selected, and their average coffee consumption was found to be 1.95 cups per day. Assume the standard deviation of daily coffee
consumption per day is 0.5 cups. Using a = 0.10, answer the following questions:
a. Is the coffee industry’s claim supported by this sample?
b. Determine the p-value for this test. c. Verify your results using PHStat.
9.7 Season’s Pizza recently hired additional drivers and as a result now claims that its average delivery time for orders is under 45 minutes. A sample of 30 customer deliveries was examined, and the average delivery time was found to be 42.3 minutes. Historically, the standard deviation for delivery time is 11.6 minutes. Using a = 0.05, answer the following questions:
a. Does this sample provide enough evidence to refute the delivery time claim made by Season’s Pizza?
b. Determine the p-value for this test. c. Verify your results using PHStat.
9.8 Bob’s Sporting Goods believes the average age of its cus- tomers is 40 or less. A random sample of 60 customers was surveyed, and the average customer age was found to be 42.7 years. Assume the standard deviation for customer age is 8.0 years. Using a = 0.02, answer the following questions:
a. Does this sample provide enough evidence to refute the age claim made by Bob’s Sporting Goods?
b. Determine the p-value for this test. c. Verify your results using PHStat.
9.9 According to the government-lending institution Sallie Mae, students graduating from college have an aver- age credit card debt of $4,100. A random sample of 50 graduating seniors was selected, and their average credit card debt was found to be $4,360. Assume the standard deviation for student credit card debt is $1,200. Using a = 0.05, answer the following questions:
a. Does this sample provide enough evidence to challenge the findings by Sallie Mae?
b. Determine the p-value for this test. c. Verify your results using PHStat.
9.10 Zingo’s Grocery store claims that customers spend an average of 5 minutes waiting for service at the store’s deli counter. A random sample of 45 customers was timed at the deli counter, and the average service time was found to be 5.5 minutes. Assume the standard deviation is 1.7 minutes per customer. Using a = 0.02, answer the following questions:
a. Does this sample provide enough evidence to counter the claim made by Zingo’s management?
b. Determine the p-value for this test. c. Verify your results using PHStat.
www.freebookslides.com
C h a p t e r 9 | 9.3 Hypothesis Testing for the Population Mean When s Is Unknown 403
9.3 Hypothesis Testing for the Population Mean When S Is Unknown
Up to this point in the chapter, we assumed that s, the population standard deviation, was known. Quite honestly, in most hypothesis testing applications, this is not the case. Think about it—if we knew the population standard deviation, we most likely will also know the population mean, which is the purpose of this hypothesis test. We handle this in the same manner used in Chapter 8. We substitute the sample standard deviation, s, in place of s. The sample standard deviation will always be available to us once we have collected the sample. When doing so, we use the Student’s t-distribution for the test statistic rather than the normal distribution.
When we use the t-distribution, we need to assume that the population of interest fol- lows the normal probability distribution. As your sample size gets larger and if the shape of the population is not very skewed to one side, the assumption that the population is normally distributed is not as critical when s is substituted for s. This is due to the fact that the shape of the t-distribution becomes similar to the normal distribution as the sample size increases. For small sample sizes under these conditions, however, you must be able to assume that the population is normally distributed. To simplify matters, I will assume the population of in- terest follows the normal distribution throughout this section. We’ll first look at the one-tail hypothesis test and then move on to the two-tail version.
an example of a One-tail hypothesis test for the population Mean (When S Is unknown) To demonstrate hypothesis testing for the mean when s is unknown, I’ll rely on the follow- ing example. Many of us suffer from phobias that we struggle with through life, such as the fear of spiders, snakes, heights, or even clowns. I can handle most of these things without much anxiety. Recently, however, I have developed an irrational fear (at least according to my wife, Deb) of a seemingly innocent process. I have learned to avoid this setting like the plague lest I have a complete breakdown. I am, of course, talking about the self-serve check- out system at my local grocery store.
I’m convinced the evil person who designed this system decided to play a nasty practi- cal joke on innocent people like me. When the system first appeared in the store, I felt sure I could handle it. After all, I have a good education, and I like to embrace new technology. It didn’t take long to realize I was way out of my league. After scanning the first few items, I attempted to place the bag of groceries into my cart. Wrong move. I was sternly instructed by a mechanical voice out of nowhere to “return the items to the bagging area” as if they were stolen goods. After several unsuccessful attempts to remove my groceries, a light not unlike those used on emergency response vehicles started flashing at the top of the stand. This triggered the arrival of the “self-serve police,” who, in reality, was a teenaged employee whose lack of seniority banished him to assisting victims like me who haven’t discovered the well-kept secret of how to remove their scanned items from the bagging area. Shaking his head in disgust, the employee pushed a few buttons, which finally stopped the system from yelling at me.
After setting off the mean voice and flashing lights a second time, I finally admitted defeat. I put all my yet-to-be-paid-for groceries back into my cart and proceeded on my “walk of shame” past all the customers who had lined up behind me toward the safety of the nearest human cashier. My publisher won’t permit me to print what the mean mechani- cal voice had to say about this move, but, I assure you, it wasn’t pleasant. After other failed attempts to run the gauntlet of the self-serve checkout system, I figured I had experienced enough psychological trauma to last a lifetime. The self-serve police have seen the last of Bob Donnelly.
Suppose this self-serve checkout system was a pilot that was used to test the feasibility of installing future systems at other store locations for Piggly Wiggly, which is a large grocery
www.freebookslides.com
404 C h a p t e r 9 | Hypothesis Testing for a Single Population
chain. Currently, the average total time to check out with a cashier is 5 minutes. Piggly Wiggly has decided that if the average self-serve checkout time in the pilot system is less than 5 minutes, additional self-serve systems should be installed to ease the burden on human cashiers. To test this premise, the checkout times of 12 randomly selected self-serve shoppers were recorded (I assume by the self-serve police). The times are shown in Table 9.6.
{ table 9.6 | Checkout Times for Self-Serve Customers (Minutes)
3.3 1.3 2.8 4.6 5.5 3.4
5.0 5.1 3.1 4.5 6.0 5.8
To perform this hypothesis test, I’ll use the following seven steps:
Step 1: Identify the null and alternative hypotheses.
H0: m Ú 5 minutes 1status quo2 H1: m 6 5 minutes
Step 2: Set a value for the significance level, A.
For this procedure, the level of significance still represents the probability of mak- ing a Type I error, where we reject the null hypothesis but it is actually true. For this example, we set a = 0.05.
Step 3: Determine the appropriate critical value.
Because we are using the sample standard deviation in place of the population standard deviation, the t-distribution is used to determine the rejection boundaries. In other words, instead of using the critical z-score, the appropriate critical value to use in this case is the critical t-score, ta (for a one-tail test). Table 9.7 shows an ex- cerpt of Table 5 in Appendix A, which lists these values.
This is a lower one-tail (lower) test because we are interested in proving that the average time is less than 5 minutes.
{ table 9.7 | Excerpt of Critical t-Scores Shown in Table 5 in Appendix A
1 tail 0.200 0.100 0.050 0.025 0.010 0.005
2 tail 0.400 0.200 0.100 0.050 0.020 0.010
conf lev 0.600 0.800 0.900 0.950 0.980 0.990
df
1 1.376 3.078 6.314 12.706 31.821 63.657
2 1.061 1.886 2.920 4.303 6.965 9.925
3 0.978 1.638 2.353 3.182 4.541 5.841
4 0.941 1.533 2.132 2.776 3.747 4.604
5 0.920 1.476 2.015 2.571 3.365 4.032
6 0.906 1.440 1.943 2.447 3.143 3.707
7 0.896 1.415 1.895 2.365 2.998 3.499
8 0.889 1.397 1.860 2.306 2.896 3.355
9 0.883 1.383 1.833 2.262 2.821 3.250
10 0.879 1.372 1.812 2.228 2.764 3.169
11 0.876 1.363 1.796 2.201 2.718 3.106
12 0.873 1.356 1.782 2.179 2.681 3.055
www.freebookslides.com
Formula 9.2 for the t-Test Statistic for the Hypothesis Test for the Population Mean (When S Is Unknown)
tx = x - mH0
s2n
To find our critical t-score, we locate the column associated with a = 0.05 for a one-tail test and the row that corresponds to n - 1 degrees of freedom, where n = the sample size. Because we have recorded the times of 12 customers, we have 11 degrees of freedom for this example. The yellow highlights in Table 9.7 indicate that ta = 1.796.
We can also obtain our critical t-score for a one-tail test using Excel’s T.INV function which has the following characteristics:
= T.INV1a, degrees_of_freedom2 Because this function returns the left-tail critical t-score, we need to take the abso-
lute value of the result. For our checkout time example, we have
= �T.INV10.05,112� = � - 1.796 � = 1.796 Step 4: Calculate the appropriate test statistic.
The t-test statistic is the calculated t-score that was introduced in Chapter 8 and is shown in Equation 9.2.
Because we are using the sample standard deviation to replace the unknown population standard deviation, we rely on the t-distribution for this test.
where tx = The t-test statistic for the sample mean x = The sample mean
mH0 = The mean of the sampling distribution, which is assumed to be true for the null hypothesis
s = The standard deviation of the sample n = The sample size
To use Equation 9.2, we need to calculate the sample mean and sample standard devia- tion. We can either use Equation 3.1 on page 79 and Equation 3.7 on page 94 to calcu- late these manually or rely on Excel’s AVERAGE and STDEV.S functions introduced in Chapter 3. I vote for Excel, which provides us with the following results:
x = 4.2 minutes s = 1.42 minutes
tx = x - mH0
s2n = 4.2 - 51.42212 = - 0.80.410 = - 1.95 Step 5: Compare the t-test statistic 1tx2 with the critical t-score 1tA2. Applying the same logic that we used in Table 9.3 for a one-tail (lower) test,
tx = - 1.95 and - ta = - 1.796. Because - 1.95 6 - 1.796, we come to the “reject H0” conclusion. Figure 9.12 illustrates this finding.
C h a p t e r 9 | 9.3 Hypothesis Testing for the Population Mean When s Is Unknown 405 www.freebookslides.com
406 C h a p t e r 9 | Hypothesis Testing for a Single Population
{ figure 9.12 Comparing the t-Test Statistic
with the Critical t-Score
0
Do Not Reject H0
t scaletx = –1.95 –t = –1.796
Reject H0 = 0.05
Step 6: State your conclusions.
Rejecting the null indicates that we have support for the alternative hypothesis, H1: m 6 5 miutes. Therefore, we can conclude that the average self-serve checkout time in the pilot system is less than 5 minutes. It looks like I’m going to be seeing more of these psychological torture devices in the near future.
Remember, we do have an important assumption to keep in mind for this example— that the population follows the normal probability distribution. I will introduce a method in Chapter 12 to test for this assumption. If we find the population is not normally distributed, we can increase our sample size to more than 30, which is where the t-distribution can be ap- proximated by the normal distribution.
estimating the p-Value using the Student’s t-Distribution One limitation we are faced with when using the t-distribution for hypothesis testing is that we can no longer determine a precise p-value using Table 5 in Appendix A, as we did using the normal distribution. This is due to the fact that the structure of the t-table in Table 5 depends on the sample size (or degrees of freedom). However, no need to fret. We can still approximate the p-value when using the t-distribution, as shown in Table 9.8.
{ table 9.8 | Excerpt of Critical t-Scores from Table 5 in Appendix A
p-value is in this range
1 tail 0.200 0.100 0.050 0.025 0.010 0.005
2 tail 0.400 0.200 0.100 0.050 0.020 0.010
conf lev 0.600 0.800 0.900 0.950 0.980 0.990
df
1 1.376 3.078 6.314 12.706 31.821 63.657
2 1.061 1.886 2.920 4.303 6.965 9.925
3 0.978 1.638 2.353 3.182 4.541 5.841
4 0.941 1.533 2.132 2.776 3.747 4.604
5 0.920 1.476 2.015 2.571 3.365 4.032
6 0.906 1.440 1.943 2.447 3.143 3.707
7 0.896 1.415 1.895 2.365 2.998 3.499
8 0.889 1.397 1.860 2.306 2.896 3.355
9 0.883 1.383 1.833 2.262 2.821 3.250
10 0.879 1.372 1.812 2.228 2.764 3.169
11 0.876 1.363 1.796 2.201 2.718 3.106
12 0.873 1.356 1.782 2.179 2.681 3.055
� tx � = 1.95
www.freebookslides.com
Recall that our t-test statistic, tx, is equal to - 1.95. We need to find the critical t-scores that bracket � tx � = � - 1.95 � = 1.95 along the n - 1 = 12 - 1 = 11 row in Table 5 from Appendix A. Table 9.8 shows these values as 1.796 and 2.201, which are highlighted in yel- low. To find the corresponding p-values, we go to the 1 Tail row and find 0.025 and 0.05, also highlighted in yellow.
According to Table 9.8, the p-value for our hypothesis test is between 0.025 and 0.05. Even though we don’t have a precise p-value, using a = 0.05 we can still reject the null hypothesis.
If we need a precise p-value for our one-tail (lower) hypothesis test, we can use Excel’s T.DIST function which has the following characteristics:
= T.DIST1x, degrees_of_freedom, cumulative2 When we set x to our test statistic 1tx2 and cumulative = TRUE, this function provides the area to the left of tx = - 1.95 which equals the p-value as follows:
= T.DIST1 - 1.95, 11, TRUE2 = 0.0386 As you can see, this p-value is between 0.025 and 0.05 as we just concluded from Table 9.8.
The following Your Turn problem provides you the opportunity to perform a one-tail (upper) test. To determine a precise p-value for the right side of the t-distribution, we can use Excel’s T.DIST.RT function which has the following characteristics:
= T.DIST.RT1x, degrees_of_freedom2 The RT prefix indicates this is a “right tail” function.
Recently, the average driving distance of PGA golfers was found to be 284 yards. Suppose I designed a new golf ball that I claim will increase the distance to more than 290 yards. To test my new invention, I randomly selected 15 pro golfers to hit a drive with the ball. The distances in yards for each drive are as follows:
279 295 326 294 284
295 278 308 290 283
288 314 278 280 310
a. To test my claim, follow the steps we just discussed and construct a hypothesis test using a = 0.10.
b. Identify the range for the p-value. c. Use Excel to determine the precise p-value.
Y O u r t u r n # 7N
Answers can be found on u page 433
an example of a two-tail hypothesis test for the population Mean (When S Is unknown) The two-tail hypothesis test with an unknown s follows the same six steps as in the previ- ous one-tail example. To demonstrate, let’s test the claim made by Nielsen that the average American watches 34.5 hours of television per week. The number of hours of television that 10 people watch during a week was recorded; the results are shown in Table 9.9.
{ table 9.9 | Number of Hours of Television Watched by 10 People per Week
30 64 49 40 21 58 9 43 39 43
C h a p t e r 9 | 9.3 Hypothesis Testing for the Population Mean When s Is Unknown 407 www.freebookslides.com
408 C h a p t e r 9 | Hypothesis Testing for a Single Population
I’ll perform this hypothesis test using the following six steps:
Step 1: Identify the null and alternative hypotheses.
H0: m = 34.5 hours 1status quo2 H1: m ≠ 34.5 hours
Step 2: Set a value for the significance level, A.
Let’s raise the bar for this hypothesis test and set a = 0.02. Step 3: Determine the appropriate critical value.
We can find our critical t-score highlighted in blue in Table 9.8. Locate the col- umn associated with a = 0.02 for a two-tail test and the row that corresponds to 10 - 1 = 9 degrees of freedom because 10 is our sample size. Table 9.8 indicates that ta>2 = 2.821. Remember, the two-tail test has a critical score on either side of the sampling distribution.
We can also rely on Excel’s T.INV.2T function that was introduced in Chapter 8 to determine the critical t-scores for our two-tail test as follows:
= T.INV.2T1a, degrees_of_freedom2 = T.INV.2T10.02, 92 = 2.821
Step 4: Calculate the appropriate test statistic.
After we use Excel to calculate the sample mean 1x2 and sample standard devia- tion (s) from the data in Table 9.9, we can then use Equation 9.3 to find our t-test statistic.
x = 39.6 hours s = 16.4 hours
tx = x - mH0
s2n = 39.6 - 34.516.4210 = 5.15.19 = 0.98 Step 5: Compare the t-test statistic 1tx2 with the critical t-score 1tA,22. Using the logic shown in Table 9.3 for a two-tail test, � tx � = 0.98 and � ta>2 � = 2.821.
Because 0.98 6 2.821, we do not reject H0. Figure 9.13 illustrates this finding.
Because we are testing the claim that the population mean is equal to 34.5 hours per week of television watching, this statement needs to be assigned to the null hypothesis. The alternative hypothesis can never have an equal sign.
Because this is a two-tail test, the area associated with a is split in two. Therefore, we use ta>2 to represent the critical t-score.
{ figure 9.13 Comparing the t-Test Statistic
with the Critical t-Score
tx = 0.98
0.98
0
Do Not Reject H0
t scalet /2 = 2.821–t /2 = –2.821
Reject H0 /2 = 0.01
Reject H0 /2 = 0.01
Step 6: State your conclusions.
Failing to reject the null hypothesis indicates that we do not have support for the alternative hypothesis, H1: m ≠ 34.5 hours. However, we need to exercise caution here. We cannot conclude that the average number of hours equals 34.5 because that would be accepting the null hypothesis. We can only say that we have no evi- dence to conclude that the average does not equal 34.5 hours.
Many students jump to the conclusion that based on these results the average number of viewing hours per week in the population equals 34.5. This is an incorrect statement because it accepts the null hypothesis.
www.freebookslides.com
using phStat and excel for a hypothesis test for the population Mean (When S Is unknown) PHStat can also provide hypothesis testing for the mean when the standard deviation of a population is unknown. I’ll demonstrate this procedure using the television viewing example in the previous section.
1. Type the data values from Table 9.9 into Cells A1 to A10 of a spreadsheet (see Figure 9.14A).
2. Go to Add-Ins + PHStat + One-Sample Tests + t Test for the Mean, sigma unknown, as seen in Figure 9.11A.
3. Fill in the t Test for the Mean, sigma unknown dialog box as shown in Figure 9.14A. Click OK.
{ figure 9.14a Calculating the t-Test Statistic
for the Mean Using PHStat: s Unknown
Figure 9.14B shows the output for this hypothesis test. Using a = 0.02, we do not reject the null hypothesis because the t-test statistic, tx, equals 0.98.
{ figure 9.14b Calculating the t-Test Statistic
for the Mean Using PHStat: s Unknown (Final Result)
Notice that PHStat reports a p-value of 0.3511 in Cell B18. Because this p@value 7 a, we can also come to the conclusion not to reject the null hypothesis.
C h a p t e r 9 | 9.3 Hypothesis Testing for the Population Mean When s Is Unknown 409
Excel for Mac users can go to the textbook's Web site for these instructions.
www.freebookslides.com
410 C h a p t e r 9 | Hypothesis Testing for a Single Population
We can also use Excel’s T.DIST.2T function to determine the p-value for a two-tail test using the t-distribution as follows:
= T.DIST.2T1x, degrees_of_freedom,2 When we set x = � tx �, this function provides the area to the left of tx = - 0.98 plus the area to the right of tx = 0.98 which equals the p-value as follows:
= T.DIST.2T10.98, 92 = 0.3527 This p-value is slightly different than the p-value provided by PHStat in Figure 9.14B (0.3511) because of rounding.
We’ll wrap up this section with one more Your Turn problem to be sure you understand how to perform the t-test on your next exam.
An unnamed statistics textbook author was overheard by his wife saying that he spends an average of one hour each weekend doing household chores (yes, even authors have their to-do lists). The author’s wife, having her doubts about this and knowledgeable in hypothesis testing as a result of her proofread- ing his chapters, secretly recorded the number of minutes he spent doing his chores over 11 randomly selected weekends (the clipboard and stopwatch should have caught my, I mean his, attention). The results are as follows:
70 22 54 57 56 47 12 60 43 10 56
a. Does the author’s wife have enough evidence to challenge his claim using a = 0.05? b. Using Table 5 in Appendix A, determine the range for the p-value and state your conclusion. c. Use PHStat to validate these results and to determine the p-value for this test. d. Use Excel to determine the p-value for this test. e. What assumptions need to be made by the author’s wife to perform this analysis (other than
that her husband likes to exaggerate)?
Y O u r t u r n # 8N
Answers can be found on u page 434
9.3 Section Problems Basic Skills 9.11 Determine the critical t-scores for each of the following
conditions:
a. one-tail test, a = 0.05, and n = 21 b. two-tail test, a = 0.02, and n = 10 c. two-tail test, a = 0.05, and n = 28 d. two-tail test, a = 0.01, and n = 40
9.12 Consider the following hypotheses:
H0: m Ú 65 H1: m 6 65
Given that x = 58.8, s = 10.4, n = 25, and a = 0.05, answer the following questions:
a. What conclusion should be drawn? b. Use PHStat to determine the p-value for this test.
9.13 Consider the following hypotheses:
H0: m = 140
H1: m ≠ 140
Given that x = 148.1, s = 37.5, n = 20, and a = 0.02, answer the following questions:
a. What conclusion should be drawn? b. Use PHStat to determine the p-value for this test.
9.14 Consider the following hypotheses and sample data, and then answer the following questions using a = 0.05.
H0: m … 16 H1: m 7 16
19 19 12 18 22 21 14 21 17 15
a. What conclusion should be drawn? b. Use PHStat to determine the p-value for this test.
9.15 Consider the following hypotheses and sample data, and then answer the following questions using a = 0.05.
H0: m = 10
H1: m ≠ 10
8 9 9 8 6 7 10 10 12 7 5 9 10 9 10
www.freebookslides.com
a. What conclusion should be drawn? b. Use PHStat to determine the p-value for this test.
applications 9.16 During the winter of 2012–2013, the average utility bill
for Delaware residents was $186 per month. A random sample of 40 customers was selected during the winter of 2013–2014, and the average bill was found to be $178.10 with a sample standard deviation of $22.40.
a. Using a = 0.05, does this sample provide enough evi- dence to conclude that the average utility bill in Dela- ware was lower in the winter of 2013–2014 than it was in the winter of 2012–2013?
b. Does changing the value of a from 0.05 to 0.01 affect your conclusion? Why or why not?
c. Use PHStat to validate these results and to determine the p-value for this test.
9.17 Suppose the average size of a new house built in a certain county in 2010 was 2,272 square feet. A random sample of 25 new homes built in this county was selected in 2014. The average square footage was 2,190, with a sample standard deviation of 225 square feet.
a. Using a = 0.02, does this sample provide enough evi- dence to conclude that the average house size of a new home in the county has changed since 2010?
b. Estimate the p-value for this test using Table 5 in Appendix A.
c. Determine the precise p-value for this test using Excel. d. Use PHStat to validate these results.
9.18 According to BIGresearch, holiday shoppers spent an average of $373 over the Thanksgiving weekend in 2008. The following data show the amount spent by a random sample of holiday shoppers during the same weekend in 2014:
$427 $274 $370 $238 $222 $215 $360 $434 $387 $395 $323 $63 $415 $429 $377 $279
a. Test the hypothesis that that shoppers spent less than an average of $373 over the Thanksgiving weekend in 2014 using a = 0.05.
b. Estimate the p-value for this test using Table 5 in Appendix A.
c. Determine the precise p-value for this test using Excel. d. Use PHStat to validate these results.
9.19 According to the market research firm NPD Group, Americans ate an average of 211 meals in restaurants in 2001. The following data show the number of meals eaten in restaurants as determined from a random sample of Americans in 2014:
212 128 197 344 143 79 180 313 57 200 161 320 90 224 266 284 231 322 200 173
a. Using a = 0.05, test the hypothesis that the number of meals eaten at restaurants by Americans has not changed since 2001.
b. Estimate the p-value for this test using Table 5 in Appendix A.
c. Determine the precise p-value for this test using Excel. d. Use PHStat to validate these results. e. What assumptions need to be made to perform this
analysis?
9.20 Fannie Mae is a government-sponsored organization that was established in 1938 after the Depression to provide local banks with money from the federal government to be used for residential mortgages in an effort to increase homeownership rates. As lending standards have tightened during the most recent housing market crisis, credit scores for borrowers of approved mortgages have increased. In 2012, the average credit score for loans that were pur- chased by Fannie Mae was 766. A random sample of 35 mortgages recently purchased by Fannie Mae was se- lected, and it was found that the average credit score was 771 with a sample standard deviation of 21.
a. Using a = 0.05, is there enough evidence from this sample to conclude that the average credit score for mortgages purchased by Fannie Mae has increased since 2012?
b. Estimate the p-value for this test using Table 5 in Appendix A.
c. Determine the precise p-value for this test using Excel. d. Use PHStat to validate these results. e. What assumptions need to be made to perform this
analysis?
9.21 In 2008, the online travel agency Travelocity reported that summer travelers booked their airline reservations an average of 73.3 days in advance. A random sample of 40 summer travelers in 2014 was selected, and the number of days travelers booked their airline reservations in advance was recorded. These data can be found in the Excel file titled Travelocity.xlsx.
a. Perform a hypothesis test using a = 0.05 to determine if the average number of days reservations are booked in advance has changed since 2008.
b. Estimate the p-value for this test using Table 5 in Appendix A.
c. Determine the precise p-value for this test using Excel. d. Use PHStat to validate these results.
C h a p t e r 9 | 9.3 Hypothesis Testing for the Population Mean When s Is Unknown 411 www.freebookslides.com
412 C h a p t e r 9 | Hypothesis Testing for a Single Population
where
x = The number of observations of interest in the sample (successes) n = The sample size If these conditions are satisfied, our test statistic is found using Equation 9.4.
Formula 9.4 for the z-Test Statistic for a Hypothesis Test for the Proportion
zp = p - pH0B pH011 - pH02n
9.4 Hypothesis Testing for the Proportion of a Population
There are situations where we are interested in testing the claim about the population proportion rather than the mean. For example, we might perform a hypothesis test to determine the proportion of citizens who intend to vote for the Democratic candidate in an upcoming election. As you might recall from Chapter 7, proportion data follow the binomial distribution, which can be approximated by the normal distribution under the following conditions:
np Ú 5 and n11 - p2 Ú 5 where
p = The probability of a success in the population n = The sample size We also learned in Chapter 7 that we can calculate the sample proportion, p, using
Equation 9.3.
where
zp = The z-test statistic for the proportion p = The sample proportion
pH0 = The population proportion, which is assumed to be true in the null hypothesis n = The sample size
In the following section, I’ll demonstrate a one-tail hypothesis for the proportion.
an example of a One-tail hypothesis test for the proportion In January 2011, the French government passed legislation requiring that at least 40% of corporate board members of large companies to be female within six years. Large companies are defined as those having more than 500 employees or revenues over 50 million euros. A survey performed by Corporate Women Directors International in 2013 found that 25% of corporate board members in large French companies were women (compared to 21% in the United States). Suppose the French government would like to test the hypothesis that the proportion of female board members is currently more than the reported 25% in 2013 due to the current legislation. Out of a random sample of 240 French board members, 73 were found to be women. We’ll test this hypothesis with a = 0.05.
Formula 9.3 for the Sample Proportion
p = x n
www.freebookslides.com
C h a p t e r 9 | 9.4 Hypothesis Testing for the Proportion of a Population 413
Hypothesis tests for the proportion follow the same six steps discussed earlier in the chapter:
Step 1: Identify the null and alternative hypotheses.
H0: p … 0.25 1status quo2 H1: p 7 0.25
Notice that the hypotheses statements in this example are expressed in terms of p rather than m.
Step 2: Set a value for the significance level, A.
For this example, we will set a = 0.05. Step 3: Determine the appropriate critical value.
Because proportion data tend to follow the binomial distribution, which we can ap- proximate with the normal distribution, we can use Table 9.5 to determine the criti- cal z-score. A one-tail test with H1: p 7 0.25 and a = 0.05 results in za = 1.645.
Step 4: Calculate the appropriate test statistic.
Equation 9.4 provides our test statistic for this procedure. However, for this exam- ple, we first need to calculate the sample proportion using Equation 9.3:
p = x n
= 73
240 = 0.304
zp = p - pH0A pH011 - pH02n = 0.304 - 0.25A 0.2511 - 0.252240
zp = 0.05420.000781 = 0.0540.0279 = 1.94
Step 5: Compare the z-test statistic 1zp 2 with the critical z-score 1zA2. Using the same logic as that outlined in Table 9.3 for a one-tail (upper) test,
zp = 1.94 and za = 1.645. Because 1.94 7 1.645, we reject H0. Figure 9.15 illustrates this finding.
Because we are testing if the proportion of female board members is currently more than 25%, this is an example of a one-tail (upper) test.
Notice that pH0 = 0.25 because we are assuming that the status quo (that corporate boards are 25% female) has not changed until we have evidence otherwise.
{ figure 9.15 Comparing the z-Test Statistic
with the Critical z-Score
0 0.25 p
H0
Do Not Reject H0
z scale p scale
Reject H0 = 0.05
z = 1.645 zp = 1.94 p = 0.304
Step 6: State your conclusions.
Rejecting the null indicates that we have support for the alternative hypothesis, H1: p 7 0.25. Therefore, we can conclude that the proportion of female board members in France has increased beyond 25%.
the p-Value approach to hypothesis testing for the proportion The p-value procedure for the hypothesis test for proportions is identical to the procedure for the mean when the population standard deviation is known. For our French boardroom example (a one-tail test), the p-value is the probability of obtaining a sample proportion
www.freebookslides.com
414 C h a p t e r 9 | Hypothesis Testing for a Single Population
higher than 0.304 if the true population proportion is 0.25. Therefore, the p-value is as follows:
P1p 7 0.3042 = P1zp 7 1.942 = 1.0 - 0.9738 = 0.0262 This p-value is represented by the shaded area in the right tail of the sampling distribu-
tion shown in Figure 9.16 because we have a one-tail (upper) hypothesis test.
{ figure 9.16 Using the p-Value for a One-
Tail Hypothesis Test for the Proportion
0.9738
0 0.025
p H0
z scale p scale
p-value = 0.0262
zp = 1.94 p = 0.304
Because the p@value = 0.0262, which is less than a = 0.05, we reject the null hypothesis.
Using phStat and excel for hypothesis testing for the proportion PHStat provides a way of testing a hypothesis for the proportion. I’ll demonstrate this proce- dure using the French boardroom example:
1. Go to Add-Ins + PHStat + One-Sample Tests + Z Test for the Proportion, as seen in Figure 9.11A.
2. Fill in the Z Test for the Proportion dialog box as shown in Figure 9.17A. Click OK.
{ figure 9.17a Calculating the z-Test Statistic
for the Proportion Using PHStat
Figure 9.17B shows the output for this hypothesis test. Using a = 0.05, we reject the null hypothesis because the z-test statistic, zp, equals 1.94. The slight differences between our results from the previous section and the numbers displayed in Figure 9.17B are due to rounding in the calculations. Excel uses many more decimal places in the calculations than I do manually.
www.freebookslides.com
C h a p t e r 9 | 9.4 Hypothesis Testing for the Proportion of a Population 415
Notice that PHStat reports a p-value of 0.0263 in Cell B16. Because this p@value 6 a, we reject the null hypothesis.
We can also use Excel’s NORM.S.DIST function to help us determine the p-value for this example as follows:
= 1.0 - NORM.S.DIST11.94, TRUE2 = 1.0 - 0.9738 = 0.0262
We’ll wrap up this section with one more Your Turn problem to be sure you understand how to perform hypothesis testing for the proportion.
{ figure 9.17b Calculating the z-Test Statistic
for the Proportion Using PHStat (Final Result)
A Ewing Marion Kauffman Foundation survey found that 42% of small-business owners in the United States were firstborn in their family. To test this report, a random sample of 150 small-business owners was taken, and 54 of them were found to be firstborn.
a. Perform a hypothesis test using a = 0.01 to examine if this proportion has changed recently using the sample data.
b. Calculate the p-value for this sample using the tables in Appendix A and state your conclusion. c. Determine the p-value for this test using Excel. d. Confirm these results using PHStat.
Y O U r t U r n # 9N
Answers can be found on u pages 434–435
9.4 Section Problems Basic Skills 9.22 Calculate the p-value for the following conditions and de-
termine whether to reject the null hypothesis:
a. one-tail (lower) test, zp = - 1.36, and a = 0.05 b. one-tail (upper) test, zp = 1.28, and a = 0.10 c. two-tail test, zp = 2.29, and a = 0.05 d. two-tail test, zp = - 0.90, and a = 0.01
9.23 Calculate the p-value for the following conditions and de- termine whether to reject the null hypothesis:
a. one-tail (upper) test, zp = 2.15, and a = 0.10 b. one-tail (lower) test, zp = - 0.66, and a = 0.05 c. two-tail test, zp = - 1.69, and a = 0.05 d. two-tail test, zp = 1.44, and a = 0.02
9.24 Consider the following hypotheses:
H0: p … 0.24 H1: p 7 0.24
Given that p = 0.277, n = 130, and a = 0.05, answer the following questions:
a. What conclusion should be drawn? b. Determine the p-value for this test.
9.25 Consider the following hypotheses:
H0: p = 0.69 H1: p ≠ 0.69
www.freebookslides.com
416 C h a p t e r 9 | Hypothesis Testing for a Single Population
Given that p = 0.606, n = 160, and a = 0.05, answer the following questions:
a. What conclusion should be drawn? b. Determine the p-value for this test.
applications 9.26 An increased number of U.S. colleges have been using
online resources such as Facebook and Google to research applicants. According to Kaplan Test Prep, 26% of admis- sions officers indicated that they visited an applying stu- dent’s social networking page in 2012. A random sample of 100 admissions officers was recently selected and it was found that 35 of them visit the social networking sites of students applying to their college. Using a = 0.05, answer the following questions:
a. Does this sample provide support for the hypothesis that the proportion of admissions officers who visit an applying student’s social networking page has in- creased since 2012?
b. Determine the p-value for this test. c. Use PHStat to validate these results.
9.27 Consumers with credit scores below 600 have a very dif- ficult time getting approved for car or mortgage loans. In 2012, 24% of Americans had a credit score below 600. Due to the recent financial crisis, the federal government is concerned that this proportion has increased. To test this hypothesis, a random sample of 250 Americans was chosen in 2014. From this sample, 67 people had credit scores less than 600. Using a = 0.10, answer the follow- ing questions:
a. Does this sample provide support for the government’s concern that the proportion of Americans with credit scores below 600 has increased since 2012?
b. Determine the p-value for this test. c. Verify your results using PHStat.
9.28 A 2010 survey by CarMD.com found that 64% of vehicle owners avoided automotive maintenance and repairs. Sup- pose Sears Automotive would like to perform a hypothesis test to challenge this finding. From a random sample of 170 vehicle owners that was recently taken, it was found that 103 avoid maintenance and repairs. Using a = 0.02, answer the following questions:
a. Based on this sample, can we conclude that the pro- portion of vehicle owners who avoid maintenance has changed since 2010?
b. Determine the p-value for this test. c. Verify your results using PHStat.
9.29 Recently, the number of airline companies that offer in- flight Wi-Fi service to passengers has increased. However, it is estimated that only 10% of the passengers who have Wi-Fi available to them are willing to pay for it. Suppose Gogo, the largest provider of airline Wi-Fi service, would like to test this hypothesis by randomly sampling 125 pas- sengers and asking them if they would be willing to pay $4.95 for 90 minutes of onboard Internet access. Suppose that 20 passengers indicated they would use this service. Using a = 0.05, answer the following questions:
a. Based on this sample, can we conclude that the propor- tion of airline passengers willing to pay for onboard Wi-Fi service is different than 10%?
b. Determine the p-value for this test. c. Verify your results using PHStat.
9.30 The Eurozone consists of 17 European countries that use the euro as their common currency. The European debt crisis, which began in 2009, made it difficult for some Eurozone countries to repay their government debt. A na- tional poll in 2013 indicated that 26% of Germans felt that exiting the Eurozone would be good for Germany. A ran- dom sample of 360 Germans was recently selected, and it was found that 72 felt that leaving the Eurozone would be good for Germany. Using a = 0.01, answer the following questions:
a. Does this sample provide support for the hypothesis that the proportion of Germans who feel leaving the Eurozone would be good for Germany has decreased since 2013?
b. Determine the p-value for this test. c. Use PHStat to validate these results.
9.31 The number of long-term unemployed, defined as those out of work for more than 27 weeks, has been a detriment to the recent economic recovery. In 2013, 40% of the un- employed had been out of work for more than 27 weeks. Government policy makers feel that this percentage has declined recently as the job market has improved. To test this theory, a random sample of 300 unemployed people was selected, and it was found that 112 were unemployed for longer than 27 weeks. Using a = 0.10, answer the following questions:
a. Based on this sample, can the federal government conclude that the percentage of unemployed who have been out of work for more than 27 weeks has recently decreased?
b. Determine the p-value for this test. c. Use PHStat to validate these results. d. Comment on the value of alpha chosen for this test.
9.5 Type II Errors So far in this chapter, we have performed each hypothesis test by setting a value for a, which is the probability of making a Type I error with our conclusion. Recall that a Type I error oc- curs when the null hypothesis is true and our sample mean or proportion falls into the “reject
www.freebookslides.com
C h a p t e r 9 | 9.5 Type II Errors 417
We use the plus sign in this equation when we need the critical sample mean on the right side of the sampling distribution and the negative sign when xa is on the left side of the distribution.
Because we have a one-tail (upper) test, we use the plus sign in Equation 9.5 to calcu- late the critical sample mean:
xa = mH0 + 1za2a s2n b
xa = 100 + 11.6452a 12250 b = 102.8 miles
If our sample mean exceeds 102.8 miles, we can reject the null hypothesis and conclude the new technology results in a driving range that averages more than 100 miles per charge as Nissan claims.
Let’s look at two different scenarios. First, suppose that our sample mean from the 50 cars has an average driving range that exceeds 102.8 miles. If I were a Nissan executive,
the null hypothesis” region. We can also be guilty of a Type II error, which occurs when the null hypothesis is really false and we fail to reject it. The probability of a Type II error is known as b.
Once we set the value for a, the value for b becomes fixed for a constant sample size, n. In this section, we will discover that the values for a and b are inversely related for a con- stant sample size. As one is raised, the other becomes smaller, and vice versa. In most cases, it is desirable to have small probabilities for a and b for our hypothesis test. The only way to lower the probability of both errors at the same time is to increase the size of the sample.
Calculating the probability of type II errors Occurring (population Mean Case) I’ll use the following example to show you how to calculate b for a specific value of a for a hypothesis test for the population mean. The Nissan Leaf is a five-door, 100% electric car that began selling in the United States in 2011. During the car’s development, Nissan predicted that a fully charged battery would give the Leaf an average driving range of 100 miles. Suppose that Nissan had a recent breakthrough in battery technology that resulted in a claim that the average range of the new batteries would now exceed 100 miles. To test this claim, a random sample of 50 cars equipped with the new technology was selected to have their driving ranges measured. We will assume the population standard deviation for the driving range for these cars is 12 miles. For this hypothesis test, I’ll set a = 0.05.
Because Nissan would like to prove the average range of the Leaf exceeds 100 miles, this is an example of a one-tail (upper) test. Therefore, the null and alternative hypotheses are stated as follows:
H0: m … 100 miles 1status quo2 H1: m 7 100 miles 1research claim2
At this point, I need to introduce the critical sample mean, xa, which is the sample mean that marks the boundary of the rejection region. We are referring to the same boundary shown in Figure 9.15 in the previous section and simply using a different form of measure- ment—the sample mean rather than the z-score. Equation 9.5 shows how to calculate this value.
Formula 9.5 for The Critical Sample Mean for a Hypothesis Test for the Population Mean (When S Is Known)
xa = mH0 { 1za2a s2n b
The critical sample mean, xa, is the sample mean that marks the boundary of the rejection region when testing for a population mean.
www.freebookslides.com
418 C h a p t e r 9 | Hypothesis Testing for a Single Population
I’d pop the champagne cork and celebrate. However, being a statistician, I’d realize there is a 5% chance 1a = 0.052 that my conclusion is wrong. This would happen if, in fact, the population average does not exceed 100 miles, resulting in a Type I error.
Now suppose that the sample mean for the 50 cars was an average driving range of less than 102.8 miles. This result would lead us not to reject the null hypothesis and conclude that the new technology was a dud. But before we put the champagne away, we need to ask ourselves, “What is the probability that our conclusions are wrong?” What we’re looking for here is b, the probability of our failing to reject the null hypothesis when, in fact, we should be rejecting it and celebrating the success of our improved driving range. This erroneous conclusion is defined as a Type II error.
As you can see, the b calculation is made under the premise that the null hypothesis is not true for a specific population mean and should be rightfully rejected. In other words, the new battery technology is actually effective, with an average range exceeding 100 miles. Therefore, the value of b depends on the actual value of m, the population mean (the average range of the new batteries). Even though we don’t know m, we can still calculate the value of b for a specific population mean.
Let’s say, hypothetically, that the new batteries are effective and that the population has an average range of 105 miles. What is the probability of mistakenly concluding that the new batteries are not effective 1b2? This error will occur if our sample mean for this population is less than 102.8 miles. Figure 9.18 illustrates this scenario. Don’t let this figure intimidate you—I’ll break it down into bite-size pieces!
When we decide not to reject the null hypothesis, there is always the chance, with probability equal to b, that our conclusions are wrong. In the Nissan Leaf example, b is the probability of concluding the average driving distance does not exceed 100 miles when, in fact, it does exceed 100 miles.
When we decide to reject the null hypothesis, there is always the chance, with probability equal to a, that we are wrong! In the Nissan Leaf example, a is the probability of concluding that the average driving distance does exceed 100 miles when, in fact, it does not exceed 100 miles.
{ figure 9.18 b Calculation When m = 105
Miles
Hypothesized Distribution
Actual Distribution
Power = 0.9032
0 100
µ
0 105
µ
H0
Do Not Reject H0
x scale z scale
x scale z scale
Power = 1−
Reject H0 Type I Error
= 0.05
Do Not Reject H0 Type II Error = 0.0968
x = 102.8 z = 1.645
x = 102.8 z = –1.30
Reject H0
The top half of Figure 9.18 is nothing new. You’ve seen this curve many times in this chapter. It’s simply the sampling distribution for the null hypothesis, which in this case claims the population mean equals 100 miles. The top curve also shows the critical mean (102.8) that we just calculated using Equation 9.5. The probability of making a Type I error is shaded in orange.
The dotted line between the two curves represents the position of the critical mean, which marks the rejection regions in both graphs. If our sample mean is to the left of this line, we do not reject the null. If our mean is to the right, we reject the null hypothesis. Re- member, the new batteries are effective, so rejecting the null is the correct hypothesis deci- sion, and failing to reject the null is a Type II error.
The bottom curve in Figure 9.18 represents the sampling distribution of the actual popu- lation with a mean equal to 105 miles. What is the chance of seeing a sample mean from our 50 cars that is less than 102.8 miles if the actual population mean equals 105 miles? This
The value of b is based on an assumed value of m, the actual population mean.
www.freebookslides.com
The power of this hypothesis test is then as follows:
Power = 1 - 0.0968 = 0.9032
In other words, if the true population mean equals 105 miles and we set a = 0.05, we have a 90.32% chance of correctly concluding that the new batteries are effective. This value is also shown in the bottom curve in Figure 9.18.
What happens to b if the actual population mean is 106 miles rather than 105? Figure 9.19 shows the effect of this change.
probability is b and is found in the green-shaded region in the bottom half of Figure 9.18. We find this area using Equation 9.1 and Table 3 in Appendix A.
z = xa - m
s2n = 102.8 - 10512250 = - 2.21.697 = - 1.30 b = P1xa … 102.82 = P1z … - 1.302 = 0.0968
If the true population mean equals 105 miles, there is a 9.68% chance that we will not rec- ognize that the new batteries are effective. This probability is based on setting a = 0.05 and randomly sampling 50 cars.
The power of a hypothesis test is the probability of it correctly rejecting the null hypoth- esis. The power is found using Equation 9.6.
The power of the hypothesis test is the probability of it correctly rejecting the null hypothesis.
{ figure 9.19 b Calculation When m = 106
Miles
Hypothesized Distribution
Actual Distribution
Power = 0.9706 Power = 1−
0 100
µ
0 106
µ
H0
Do Not Reject H0
x scale z scale
x scale z scale
Reject H0 Type I Error
= 0.05
Do Not Reject H0 Type II Error = 0.0294
x = 102.8 z = 1.645
x = 102.8 z = –1.89
Reject H0
The top hypothesized distribution is unchanged from the last figure. However, the actual distribution shown in the bottom curve has shifted slightly to the right, reflecting the popula- tion mean moving from 105 to 106 miles. b is the probability of obtaining a sample mean of 102.8 miles or less from a population with a mean of 106 miles. The b and power calcula- tions are shown as follows:
z = xa - m
s2n = 102.8 - 10612250 = - 3.21.697 = - 1.89 b = P1xa … 102.82 = P1z … - 1.892 = 0.0294
Power = 1 - b = 1 - 0.0294 = 0.9706
Shifting this actual distribution to the right in this example makes the green-shaded region smaller. This smaller shaded region means the value of b is smaller (there is less chance of making a Type II error).
Formula 9.6 for the Power of a Hypothesis Test
Power = 1 - b
C h a p t e r 9 | 9.5 Type II Errors 419 www.freebookslides.com
420 C h a p t e r 9 | Hypothesis Testing for a Single Population
If the true population mean equals 106 miles, we now have a 97.06% chance of cor- rectly concluding that the new batteries are effective. In other words, as the true population mean moves away from the hypothesized mean of 100 miles, the power of the test increases and b decreases. This is due to the fact that it is easier to correctly reject the null when the true population mean is much different from the hypothesized mean. Table 9.10 shows the power that corresponds to various population means for the battery example.
As the true population mean moves away from the hypothesized mean, the power of the test increases because it is easier to correctly reject the null hypothesis.
{ table 9.10 | The Power that Corresponds to Various Population Means: Battery Example
actual population mean, M
z-score power 1−B
100 1.65 0.0495
101 1.06 0.1446
102 0.47 0.3192
103 - 0.12 0.5478
104 - 0.71 0.7611
105 - 1.30 0.9032
106 - 1.89 0.9706
107 - 2.47 0.9932
108 - 3.06 0.9989
109 - 3.65 0.9999
Notice in Table 9.10 that the power for this hypothesis test is very low when the actual population mean is close to the hypothesized mean of 100 miles. Typically, it is very difficult for a hypothesis test to accurately reject the null hypothesis when there is little difference between the hypothesized and actual population mean. I strongly recommend that you take a few minutes to confirm that you can calculate the power for some of the population means shown in Table 9.10.
Figure 9.20 plots the power values and their corresponding population means. This graph is known as the power curve. The power curve helps you visualize how the power of the hypothesis test improves as the actual population mean moves away from the hypothesized mean. So, when the actual population mean increases mile-wise, as in this example, the power of the test becomes stronger and stronger. As a result, there is a smaller and smaller chance that we will make a mistake by failing to reject the null hy- pothesis (the hypothesis that the driving range of a Nissan Leaf is 100 miles or less).
When the true population mean is very close to the hypothesized mean, the power of the test becomes very small because it is very difficult for the hypothesis test to accurately reject the null hypothesis.
The power curve plots the power values of a hypothesis test over a range of corresponding population means.
This power curve is based on H0 … 100 miles, a = 0.05, n = 50 cars, and s = 12 miles.
{ figure 9.20 The Power Curve for the Battery
Hypothesis Test
100 0.00
0.20
0.40
0.60
0.80
1.00
106104102 108
Power Curve
Possible Values for Actual Population Mean 110
P ow
er
the effect of A on B So far in this section we have kept the value of a at 0.05 and then proceeded to calcu- late b. What happens if we decide to reduce the chance of making a Type I error by lowering a to 0.01? Well, as I preached in an earlier chapter, there are no free lunches in statistics. Reducing a without increasing the sample size will cause b to increase. I’ll demonstrate this pattern by changing a from 0.05 seen in Figure 9.19 to 0.01.
www.freebookslides.com
Let’s calculate b for the following conditions:
H0: m … 100 miles H1: m 7 100 miles
m = 106 n = 50 a = 0.01
The b and power calculations are as follows:
xa = mH0 + 1za2a s2n b
xa = 100 + 12.332a 12250 b = 104 miles
z = xa - m
s2n = 104 - 10612250 = - 2.01.697 = - 1.18 b = P1xa … 1042 = P1z … - 1.182 = 0.1190
Power = 1 - b = 1 - 0.1190 = 0.8810
Figure 9.21 shows the impact on b when reducing a to 0.01 in our hypothesis test.
The value of a is reduced by shifting the dotted line to the right. By making the orange- shaded region smaller, we end up making the green-shaded region larger. This results in a larger value of b (there is more chance of making a Type II error).
{ figure 9.21 b Calculation When m = 106
Miles and a = 0.01
Hypothesized Distribution
Actual Distribution
Power = 0.8810 Power = 1−
0 100
µ
0 106
µ
H0
Do Not Reject H0
x scale z scale
x scale z scale
Reject H0 Type I Error = 0.01
Do Not Reject H0 Type II Error = 0.1190
x = 104 z = 2.33
z = –1.18
Reject H0
x = 104
Notice that the dotted line indicating the boundary for the rejection region has shifted to the right, with the critical sample mean, xa, moving from 102.8 to 104 miles. Both distribu- tions are in the same position as shown in Figure 9.19 because the hypothesized population mean (100) and actual population mean (106) have not changed. Shifting this dotted line to the right has reduced the orange-shaded area in the hypothesized distribution (top curve), which lowers a from 0.05 to 0.01. This shift has also increased the green-shaded area in the actual distribution (bottom curve), which raises b from 0.0294 to 0.1190. By lowering our chance of making a Type I error 1a2, we have increased our chance of making a Type II error 1b2. You can see this visually in the graph. Lowering a made the “do not reject H0” area in the lower graph bigger. Consequently, there is a greater chance that we will make a Type II mistake and fail to reject the null hypothesis—the hypothesis that the driving range of a battery is 100 miles or less.
How does one choose between the tradeoff of making a Type I error or Type II error? Well, one approach is to consider the cost of each error. In our Nissan Leaf example, a Type I error (with a probability equal to a) occurs when Nissan claims that the new batteries aver- age more than 100 miles per charge when, in fact, they do not. The cost of this error would be disappointed consumers who don’t experience the mileage they expect with fully charged batteries. By contrast, a Type II error (with a probability equal to b) occurs when Nissan
C h a p t e r 9 | 9.5 Type II Errors 421 www.freebookslides.com
422 C h a p t e r 9 | Hypothesis Testing for a Single Population
We use the plus sign in this equation when we need the critical sample proportion on the right side of the sampling distribution and the negative sign when pa is on the left side of the distribution.
Calculating power can be a little tricky, so I encourage you to take the time to try this last Your Turn problem to see if you get it.
concludes that the new batteries do not exceed an average of 100 miles per charge when, in fact, they do. The cost of this error could be the lost opportunity to promote the battery’s ac- tual performance and potentially lose market share to competing electric cars. Nissan needs to consider the cost of these outcomes when deciding on an acceptable a and the resulting b.
Another approach would be for Nissan to set a to 0.05 (which is very common) and then reduce the level of b by increasing the sample size. Increasing the sample size makes both sampling distributions in Figure 9.21 narrower, which will reduce the shaded areas that represent a and b.
probability of type II errors for population proportions Our Nissan Leaf example focused on determining the probability of a Type II error when testing for a population mean. The procedure for calculating the probability of a Type II er- ror when testing for a population proportion is the same with one exception—we need to replace the critical sample mean with the critical sample proportion, pa, which is shown in Equation 9.7.
The critical sample proportion, pa, is the sample proportion that marks the boundary of the rejection region when testing for a population proportion.
Formula 9.7 for the Critical Proportion for a Hypothesis Test for the Proportion
pa = pH0 { 1za2A pH011 - pH02n
Historically, the average age of Buick owners has been reported to be 61 years old. Suppose, in an effort to attract younger customer, Buick has invested in a new advertising campaign and would like to test its effectiveness with a hypothesis test. A random sample of 41 new Buick owners was selected. Assume the standard deviation for the age of Buick owners is 10.0 years. Compute the power of this hypothesis test using a = 0.10 and assuming the actual population mean is 60.0 years. Consider the following hints:
• Because this is a one-tail (lower) test, use the negative sign in Equation 9.5 when calculating the critical sample mean.
• Because this is a one-tail (lower) test, the “reject the null” region will be on the left side of the dotted line shown in Figure 9.21.
• The hypothesized distribution will be to the right of the actual distribution, which is the reverse of Figure 9.21.
Y O U r t U r n # 1 0N
Answer can be found on u page 435
www.freebookslides.com
9.5 Section Problems Basic Skills 9.32 Consider the following hypotheses:
H0: m … 30 H1: m 7 30
Given that s = 6, n = 42, and a = 0.05, calculate b for each of the following conditions:
a. m = 31 b. m = 32
9.33 Consider the following hypotheses:
H0: m Ú 75 H1: m 6 75
Given that s = 15, n = 36, and a = 0.01, calculate b for each of the following conditions:
a. m = 73 b. m = 66
9.34 Consider the following hypotheses:
H0: p Ú 0.72 H1: p 6 0.72
Given that n = 100 and a = 0.05, calculate b for each of the following conditions.
a. p = 0.66 b. p = 0.62
9.35 Consider the following hypotheses:
H0: p … 0.15 H1: p 7 0.15
Given that n = 150 and a = 0.10, calculate b for each of the following conditions.
a. p = 0.16 b. p = 0.22
9.36 Consider the following hypotheses:
H0: m = 120
H1: m ≠ 120
Given that s = 27, n = 60, and a = 0.05, calculate b for each of the following conditions:
a. m = 131 b. m = 115
Hint: For a two-tail hypothesis test, b is the area between the critical means under the actual distribution, as shown in the following figure.
µ
Hypothesized Distribution
µH0
Do Not Reject H0
Do Not Reject H0
Reject H0 /2
Reject H0 /2
Alpha = Sum of Shaded Areas
x /2 x /2
x /2 x /2
Reject H0Reject H0
Actual Distribution
Beta = Shaded Area
applications 9.37 The average retirement age for French citizens in 2009 was
reported to be 58.7 years according to the Organization for Economic Co-operation and Development, an international group dedicated to promoting trade and economic growth. With the French pension system operating with a deficit, a bill was introduced by the government during the sum- mer of 2010 to raise the minimum retirement age from 60 to 62. Suppose a survey of 40 retiring French citizens was recently taken to investigate whether the bill has raised the average age at which people actually retire. Assume the standard deviation of the retirement age is 5 years. Using a = 0.05, answer the following questions:
a. Explain in your own words how Type I and Type II er- rors can occur in this hypothesis test.
b. Calculate the probability of a Type II error occurring if the actual population age is 60 years old.
c. Calculate the probability of a Type II error occurring if the actual population age is 61.5 years old.
9.38 The crisis in the real estate market caused the listing prices of homes in areas such as Orlando, Florida, to fall from previous years. A real estate office would like to sample 50 new listings randomly to test the hypothesis that the current listing price average is less than $243,000, the average in the previous year. Assume the standard de- viation for the price of homes in this market is $45,000.
a. Explain in your own words how Type I and Type II errors can occur in this hypothesis test.
b. Using a = 0.10, calculate the probability of a Type II error occurring if the actual average listing is $225,000.
C h a p t e r 9 | 9.5 Type II Errors 423 www.freebookslides.com
424 C h a p t e r 9 | Hypothesis Testing for a Single Population
c. Using a = 0.05, calculate the probability of a Type II error occurring if the actual average listing is $225,000.
d. Explain the differences in the results you calculated in parts b and c.
9.39 According to Nielsen Company, 21% of households in the United States in 2009 relied solely on their cell phones for phone service instead of landlines. Nielsen also re- ported that this percentage has steadily increased over the previous years. AT&T recently sampled 125 households randomly to test the hypothesis that the proportion of cell phone–only households increased.
a. Explain in your own words how Type I and Type II er- rors can occur in this hypothesis test.
b. Using a = 0.05, calculate the probability of a Type II error occurring if the actual proportion of cell phone– only households is 0.30.
c. Using a = 0.01, calculate the probability of a Type II error if the actual proportion of cell phone–only house- holds is 0.30.
d. Explain the differences in the results you calculated in parts b and c.
9.40 The Dome restaurant in Delaware is under new manage- ment. While under the previous management, 15% of the customers rated their dining experiences as “unsatisfac- tory.” The restaurant’s current managers would like to test their belief that this percentage is now lower due to new training procedures. Suppose 75 customers were ran- domly chosen and asked to rate their dining experiences. Using a = 0.05, answer the following questions:
a. Explain in your own words how Type I and Type II errors can occur in this hypothesis test.
b. Calculate the probability of a Type II error occurring if the actual proportion of unsatisfied customers is 11%.
c. Calculate the probability of a Type II error occurring if the actual proportion of unsatisfied customers is 6%.
9.41 According to the Bureau of Labor, the average Ameri- can aged 15 years or older gets 8 hours and 23 minutes (503 minutes) of sleep per night. To test if this average has changed recently, a random sample of 55 Americans aged 15 years and older was selected, and the number of min- utes they slept recorded. Assume the standard deviation of hours of sleep is 60 minutes. Using a = 0.02, answer the following questions:
a. Explain in your own words how Type I and Type II er- rors can occur in this hypothesis test.
b. Calculate the probability of a Type II error given the actual average hours of sleep is 524 minutes.
c. Calculate the probability of a Type II error given the actual average hours of sleep is 500 minutes.
9.42 Contact rate is defined as the percentage of plate appear- ances by Major League Baseball players that the ball is put in play (as opposed to striking out). Historically, the Major League average has been 80%. Suppose we want to test that this rate has not changed recently by randomly selecting 250 plate appearances by players and recording the percentage of players that put the ball in play. Using a = 0.05, answer the following questions:
a. Explain in your own words how Type I and Type II er- rors can occur in this hypothesis test.
b. Calculate the probability of a Type II error occurring if the actual contact rate is 77%.
c. Calculate the probability of a Type II error occurring if the actual contact rate is 88%.
www.freebookslides.com
425
■ A hypothesis is an assumption about a population parameter such as a mean or a proportion.
■ The null hypothesis, denoted by H0, represents the status quo and involves stating the belief that the mean of the population is … , = , or Ú a specific value. • The null hypothesis is believed to be true unless there is overwhelming evidence to the contrary.
■ The alternative hypothesis, denoted by H1, represents the opposite of the null hypothesis and holds true if the null hypothesis is found to be false.
• The alternative hypothesis always states the mean of the population is 6 , ≠, or 7 a specific value.
■ The null hypothesis can never be accepted. The only two options available are to
• reject the null.
• fail to reject the null.
■ A two-tail hypothesis test is used whenever the alternative hypothesis is expressed as ≠.
■ A one-tail hypothesis test is used when the alternative hypothesis is stated as 6 or 7 with the rejec- tion area on the same side as the inequality points.
■ A Type I error occurs when the null hypothesis is rejected when, in reality, it is true.
• The probability of making a Type I error is known as a, the level of significance.
■ A Type II error occurs when the null hypothesis is not rejected when, in reality, it is not true.
• The probability of making a Type II error is known as b.
■ When constructing a hypothesis test for the mean when a population’s standard deviation 1s2 is known, we use the normal distribution to determine the critical value, which identifies the rejection region for the null hypothesis.
■ The p-value is the probability of observing a sample mean at least as extreme as the one selected for the hypothesis test, assuming the null hypothesis is true.
• The p-value is sometimes referred to as the observed level of significance.
• If the p-value is greater than alpha, we do not reject the null. Otherwise we reject the null.
■ To construct a hypothesis test for the mean when a population’s standard deviation is unknown, we substitute the sample standard deviation, s, in place of s and use the Student’s t-distribution to de- termine the critical value for the hypothesis test with n - 1 degrees of freedom.
■ Proportion data follow the binomial distribution, which can be approximated by the normal distri- bution when np Ú 5 and n11 - p2 Ú 5. • We can, therefore, use the normal distribution tables in Appendix A to determine the critical
value for the population proportion.
• The p-value for this hypothesis test can also be found directly in Appendix A in the same man- ner as testing for the mean with sigma known.
■ Once we set the value for a, the value for b becomes fixed.
■ The values for a and b are inversely related for a constant sample size.
■ The only way to lower the probability of both errors at the same time is to increase the size of the sample.
■ The power of the hypothesis test, 1 - b, is defined as the probability of correctly rejecting the null hypothesis.
■ As the true population mean moves away from the hypothesized mean, the power of the test increases because it is easier to correctly reject the null when the true population mean is much different than the hypothesized mean.
■ The power curve plots the power values of a hypothesis test over a range of corresponding popula- tion means.
Chapter 9 Summary
www.freebookslides.com
426
Chapter 9 Key Terms
Alpha. The probability of rejecting the null hypothesis when, in reality, it is true.
Alternative hypothesis. Designated H1, this hypothesis repre- sents the opposite of the null hypothesis and holds true if the null hypothesis is found to be false. The alternative hypothesis always states the population parameter is 6 , ≠, or 7 a spe- cific value.
Beta. The probability of failing to reject the null hypothesis when, in reality, it is not true.
Consumer’s risk. A Type II error is known as the consumer’s risk when it occurs in quality control settings, because the customer is getting a product from a process that is not per- forming properly.
Critical sample mean, xA. The sample mean that marks the boundary of the rejection region.
Critical sample proportion, pA. The sample proportion that marks the boundary of the rejection region when testing for a population proportion.
Hypothesis. An assumption about a population parameter such as a mean or a proportion.
Level of significance. The probability of making a Type I error, a. Null hypothesis. Designated H0, this hypothesis represents the
status quo and involves stating the belief that the population parameter is … , = , or Ú a specific value and is always associ- ated with the equal sign.
Observed level of significance. The probability of observing a sample mean at least as extreme as the one selected for the
hypothesis test, assuming the null hypothesis is true. The ob- served level of significance is also known as the p-value.
One-tail hypothesis test. A test in which the alternative hypoth- esis is stated as 6 or 7 .
One-tail (lower) hypothesis test. A test in which the alternative hypothesis is stated as 6 .
One-tail (upper) hypothesis test. A test in which the alternative hypothesis is stated as 7 .
p-value. The probability of observing a sample mean at least as extreme as the one selected for the hypothesis test, assuming the null hypothesis is true.
Power curve. A curve that plots the power values of a hypothesis test over a range of corresponding population means.
Power. The probability that a hypothesis test will correctly reject the null hypothesis.
Producer’s risk. A Type I error is known as the producer’s risk when it occurs in quality control settings, because the pro- ducer is looking for a problem in its process that does not exist.
Two-tail hypothesis test. A test in which the alternative hypoth- esis is expressed as ≠.
Type I error. An error that occurs when the null hypothesis is re- jected when, in reality, it is true. The probability of making a Type I error is known as a, the level of significance.
Type II error. An error that occurs when the null hypothesis is not rejected when, in reality, it is not true. The probability of making a Type II error is known as b.
Chapter 9 Equations
9.3 hypothesis testing for the population Mean When S Is Unknown (pp 390–402)
tx = x - mH0
s2n
zx = x - mH0
s2n 9.2 hypothesis testing for the population Mean When S Is Known (pp 390–402)
Formula 9.1 for the z-test Statistic for a Hypothesis Test for the Population Mean (When S Is Known)
Formula 9.2 for the t-test Statistic for the Hypothesis Test for the Population Mean (When S Is Unknown)
www.freebookslides.com
427
9.5 type II errors (pp 412–416)
Formula 9.4 for the z-test Statistic for a Hypothesis Test for the Proportion zp = p - pH0B pH011 - pH02n
p = x n
9.4 hypothesis testing for the proportion of a population (pp 403–411)
pa = pH0 { 1za2B pH011 - pH02nFormula 9.7 for the Critical Proportion for a Hypothesis Test for the Proportion
xa = mH0 { 1za2a s2n bFormula 9.5 for the Critical Sample Mean for a Hypothesis Test for the Population Mean (When A Is Known)
Formula 9.3 for the Sample Proportion
Power = 1 - bFormula 9.6 for the Power of a Hypothesis Test
Chapter 9 Problems 9.43 According to Hotels.com, the average room rate for a New
York City hotel was $204 in 2011. Suppose the Chamber of Commerce of New York City would like to test if this rate has changed recently by randomly sampling 40 room rates. The mean of this sample was found to be $212.30. Assume
the population standard deviation is $35. Using a = 0.05, answer the following.
a. State the null and alternative hypothesis. b. What conclusions can be drawn for this test?
A Summary of Hypothesis Tests for One Population
type S test statistic equation
Mean Known zx = x - mH0
s2n 9.1 Mean Unknown tx =
x - mH0 s2n 9.2
Proportion Not applicable zp = p - pH0B pH011 - pH02n 9.4
www.freebookslides.com
428
c. Determine the p-value for this test and interpret its meaning.
d. Verify your results using PHStat.
9.44 According to comScore, Apple’s smartphone operating system controlled 39% of the U.S. smartphone market in February 2013. Suppose Apple believes that this market share will increase due to recent advertising campaign. To test this hypothesis, a random sample of 275 smartphone users was selected, 126 of whom owned smartphones us- ing Apple’s operating system. Using a = 0.05, answer the following.
a. State the null and alternative hypothesis. b. Based on this sample, what conclusions can be drawn
for this test? c. Determine the p-value for this test and interpret its
meaning. d. Verify your results using PHStat.
9.45 In April 2013, President Obama’s approval rating was 52%. Suppose the White House staff was concerned that the rating had fallen due to the administration’s handling of the gov- ernment’s debt crisis during the summer of 2013. Let’s say that out of a random sample of 300 adults, 144 approved of President Obama’s performance during the summer of 2013. Using a = 0.05, answer the following questions.
a. State the null and alternative hypothesis. b. Based on this sample, what conclusions can be drawn
for this test? c. Determine the p-value for this test and interpret its
meaning. d. Verify your results using PHStat e. How would the conclusions be affected if the White
House chose to use a = 0.10 rather than a = 0.05.
9.46 Recently, Seasons Pizza has begun receiving complaints from customers about the amount of time they wait for their pizza deliveries. To address this issue, Seasons made some operational changes and added more delivery people to its staff. The restaurant would now like to test the hypothesis that the average delivery time is less than 30 minutes. The following data represent a random sample of delivery times:
23 24 23 36 30 40 34 24 28 29 15 27
Using a = 0.10, answer the following:
a. State the null and alternative hypotheses. b. Does this sample provide enough evidence to support
Season’s delivery claim? c. Estimate the p-value for this test using Table 5 in
Appendix A. d. Determine the precise p-value for this test using Excel. e. Use PHStat to validate these results. f. What motivation might Season’s Pizza have with choos-
ing a = 0.10? g. What assumptions need to be made to perform this
analysis?
9.47 According to the Journal of the American Medical Association, resident doctors worked an average of 59.3 hours per week at hospitals from 2006 to 2008. The Accreditation Council for Graduate Medical Education, which certifies residency programs in hospitals, has devel- oped a plan to reduce the long hours resident doctors work. To investigate the plan’s effectiveness, a random sample of the hours worked per week by 20 resident doctors was recently selected. They are as follows:
53 57 52 65 70 51 55 61 49 61
54 64 44 57 55 60 53 61 51 56
Using a = 0.05, answer the following:
a. State the null and alternative hypotheses. b. Does this sample provide enough evidence to suggest
that the new residency plan is effective? c. Estimate the p-value for this test using Table 5 in
Appendix A. d. Determine the precise p-value for this test using Excel. e. Use PHStat to validate these results. f. What assumptions need to be made to perform this
analysis?
9.48 In July 2010, a survey conducted by Webroot, a software security firm, found that 32% of the respondents use the same passwords for all of the social networking Web sites they log on to (which, by the way, is not the best idea). Suppose a follow-up survey was recently conducted to in- vestigate if the proportion had changed. Out of a random sample of 225 Internet users, it was found that 86 used the same password for all their social networking Web sites. Using a = 0.10, answer the following:
a. State the null and alternative hypotheses. b. What conclusions can be made about the proportion of
Internet users who maintain the same passwords for all the social networking sites to which they log on?
c. Determine the p-value for this test and interpret its meaning.
d. Verify your results using PHStat.
9.49 A Wall Street Journal article reported that 15 of the 30 NBA teams have employees whose sole responsibility is to analyze data. The information compiled by these “stat- heads” is then used to help make decisions during games, for the draft, and to evaluate potential trades. At the time of the article’s writing, the 15 teams had played a total of 962 games and had won 570 of them.
a. Using a = 0.01, can it be concluded that teams who employ “statheads” (I confess I am not really thrilled with this word) have an advantage over those teams that do not?
b. Verify your results using PHStat. c. What concerns might you have with using a hypothesis
test in this situation?
www.freebookslides.com
429
9.50 According to Fidelity Investments, the average 401(k) ac- count balance was $77,300 in 2013. To test if this average has recently changed, suppose a sample of 30 401(k) plans was recently selected, and it was found that the average 401(k) balance was $85,200. Assume the population stan- dard deviation is $21,000. Using a = 0.02, answer the following:
a. State the null and alternative hypothesis. b. What conclusions can be made about the current average
balance of 401(k) accounts? c. Determine the p-value for this test and interpret its
meaning. d. Verify your results using PHStat. e. If a = 0.05 had been used rather than a = 0.02, would
the conclusions differ? Comment on this choice of alpha.
9.51 Smart meters are a special type of electrical meter that monitors the usage of electricity and communicates that information back to the utility company. According to the Energy Information Administration, 26.5% of homes in the United States were equipped with smart meters in 2011. To test if this percentage has changed, a random sample of 200 U.S. residences was recently selected, and it was found that 59 of them were equipped with smart meters. Using a = 0.05, answer the following:
a. State the null and alternative hypothesis. b. Based on this sample, do we have enough evidence to
conclude that the percentage of homes in the United States equipped with smart meters has changed since 2011?
c. Determine the p-value for this test and interpret its meaning.
d. Verify your results using PHStat.
9.52 Suppose the Department of Transportation would like to test the hypothesis that the average gasoline consumption per car in the United States is 6 liters per day. (We’re going metric here.) The following data represent the number of li- ters used per day for 25 randomly selected cars. These data can also be found in the Excel file labeled liters.xlsx.
9.2 2.9 12.0 2.4 5.3
16.4 6.1 7.6 9.6 1.3
9.4 8.9 6.7 11.9 9.0
11.3 6.6 9.3 4.6 7.2
6.1 10.7 0.4 6.6 5.4
Using a = 0.02, answer the following:
a. State the null and alternative hypotheses. b. What conclusions can be drawn based on this sample? c. Estimate the p-value for this test using Table 5 in
Appendix A. d. Determine the precise p-value for this test using Excel. e. Use PHStat to validate these results. f. What assumptions need to be made to perform this analysis?
9.53 A growing number of younger employees have been partic- ipating in their company’s retirement plans in recent years. According to Vanguard Group, 44% of employees under the age of 25 were making contributions to their 401(k) plans in 2011 (compared to just 27% in 2003). A random sample of 340 employees under the age of 25 was recently selected, and it was found that 167 of them made contribu- tions to their 401(k) plans this year.
a. Using a = 0.01, perform a hypothesis test to determine if the percentage of employees under the age of 25 who have made contributions to their 401(k) plan is more than 44%.
b. Determine the p-value for this test and interpret its meaning.
c. Verify your results using PHStat. d. How would the conclusions be affected if you chose to
use a = 0.05 rather than a = 0.01.
9.54 According to Pew Research Center surveys, 12% of American adults did not own a cell phone in 2012. Sup- pose Verizon Wireless would like to test if this percentage has recently changed. A recent random sample of 280 American adults was selected, and it was found that 29 of them did not own a cell phone. Using a = 0.10, answer the following:
a. State the null and alternative hypothesis. b. Based on this sample, what conclusions can Verizon
Wireless make about this population? c. Determine the p-value for this test and interpret its
meaning. d. Verify your results using PHStat.
9.55 According to a Staples/Decision Analyst survey conducted in 2013, full-time small-business owners in the United States worked an average of 50.4 hours per week. A recent random sample of 60 full-time small-business owners was selected, and it was found that they worked an average of 48.6 hours last week with a sample standard deviation of 11.4 hours.
a. Using a = 0.05, is there enough evidence from this sample to conclude that the average number of hours that full-time small-business owners work per week is different than 50.4 hours?
b. Estimate the p-value for this test using Table 5 in Appendix A.
c. Determine the precise p-value for this test using Excel. d. Use PHStat to validate these results.
9.56 U.S. cell phone customers reportedly sent an average of 700 text messages per month in 2012, which is lower than previous years. Suppose AT&T would like to test the hypothesis that the average number of text messages per month has declined since 2012. A recent random sample of 75 U.S. cell phone users was selected and the number of text messages sent last month was recorded. These data can
www.freebookslides.com
430
be found in the Excel file titled text messages.xlsx. Using a = 0.05, answer the following:
a. State the null and alternative hypothesis. b. Based on this sample, what conclusions can AT&T make
about this population? c. Estimate the p-value for this test using Table 5 in Appen-
dix A. d. Determine the precise p-value for this test using Excel. e. Use PHStat to validate these results.
9.57 Security experts are raising concerns about hackers target- ing smartphones, as owners store more personal and finan- cial information on the devices. In 2012, it was estimated that 7% of smartphone users were victims of malicious attacks on their mobile devices. A random sample of 190 smartphone owners was recently selected, and it was found that 17 had experienced attacks on their devices. Using a = 0.05, answer the following:
a. Based on this sample, can we conclude that the percent- age of smartphone owners who have had their devices hacked has changed since 2012?
b. Determine the p-value for this test and interpret its meaning.
c. Verify your results using PHStat.
9.58 During 2012, the average monthly bill for digital cable in the United States was $86 according to research firm Centris. Suppose Comcast would like to test the hypothesis that the average monthly bill is higher than $86 this year. A random sample of 52 households was chosen. Assume the standard deviation of monthly cable bills in the country is $17.
a. Explain in your own words how a Type I and Type II error can occur in this hypothesis test.
b. Using a = 0.01, compute the probability of a Type II error occurring if the actual average monthly cable bill is $92.
c. Using a = 0.05, compute the probability of a Type II error occurring if the actual average monthly cable bill is $92.
d. Explain the differences in the results you calculated in parts b and c.
9.59 The average wait time on the phone for taxpayers call- ing the IRS in 2012 was 1,080 seconds. Suppose (if you can use your imagination) that the IRS made operational changes in an effort to reduce wait times during 2013. To test the effectiveness of these changes, a random sample of 50 phone calls was selected and the wait time of each call was recorded. Assume the standard deviation for the wait time is 250 seconds.
a. Explain in your own words how Type I and Type II er- rors can occur in this hypothesis test.
b. Using a = 0.02, calculate the probability of a Type II error occurring if the actual average wait time per call is 1,014 seconds.
c. Using a = 0.02, calculate the probability of a Type II error occurring if the actual average wait time per call is 960 seconds.
d. Explain the differences in the results you calculated in parts b and c.
9.60 Suppose the average operating time per charge for a 6-volt laptop battery is currently 4.0 hours. Let’s say SWET Electronic Technology claims it has developed a new 6-volt battery that has an average charge life that exceeds 4.0 hours. To test the effectiveness of this new technology, a random sample of 45 batteries was selected and the operat- ing time per charge for each battery was recorded. Assume the standard deviation is 0.7 hours.
a. Explain in your own words how Type I and Type II er- rors can occur in this hypothesis test.
b. Using a = 0.05, calculate the probability of a Type II error occurring if the average operating time per charge is actually 4.4 hours.
c. Using a = 0.01, calculate the probability of a Type II error occurring if the average operating time per charge is actually 4.4 hours.
d. Explain the differences in the results you calculated in parts b and c.
9.61 According to the U.S. Department of Labor, 12.3% of the U.S. workforce was unionized in 2009. This percentage has declined steadily since the end of World War II, when more than a third of U.S. workers belonged to a union. Sup- pose the department would like to test the hypothesis that the proportion of union workers decreased in 2014 by ran- domly sampling 160 employees.
a. Explain in your own words how Type I and Type II er- rors can occur in this hypothesis test.
b. Using a = 0.05, calculate the probability of a Type II error if the actual proportion of unionized employees in the workforce is 10%.
c. Using a = 0.05, calculate the probability of a Type II error if the actual proportion of unionized employees in the workforce is 5%.
d. Explain the differences in the results you calculated in parts b and c.
9.62 Suppose the Real Estate Commission for the state of Delaware would like to test the hypothesis that the aver- age number of days a home is on the market in New Castle County is 60 days. To test this hypothesis, 32 homes sold during the year were selected and the number of days that the homes were on the market was recorded. Assume the standard deviation for the time on the market is 25 days.
a. Explain in your own words how Type I and Type II errors can occur in this hypothesis test.
b. Using a = 0.05, calculate the probability of a Type II error occurring if the actual average time for a house on the market is 54 days.
www.freebookslides.com
431
c. Using a = 0.05, calculate the probability of a Type II error occurring if the actual average time for a house on the market is 78 days.
d. Explain the differences in the results you calculated in parts b and c.
9.63 Small businesses are viewed by many as the backbone of the U.S. economy. Small-business owners are often de- scribed as entrepreneurs, requiring a variety of skills in order to be successful. A 2013 survey of small-business owners found that the average age was 40 years. Suppose the Small Business Administration (SBA), which is a gov- ernment agency that provides support to small businesses, would like to test the hypothesis that the average age of such businesses is now greater than 40 years. The Excel file labeled SBA.xlsx shows the ages of a recent sample of 100 small-business owners. Using a = 0.05, answer the following:
a. Perform a hypothesis test to determine if the average age of a small-business owner exceeds 40 years.
b. Estimate the p-value for this test using Table 5 in Appendix A.
c. Determine the precise p-value for this test using Excel. d. Use PHStat to validate these results.
9.64 Small businesses (See Problem 9.63) are viewed by many as the backbone of the U.S. economy. Small-business owners are often described as entrepreneurs, requiring a variety of skills in order to be successful. A 2013 survey of small-business owners found that 47% had a college degree beyond a bachelor’s degree. Suppose the Small Business Administration (SBA), which is a government agency that provides support to small businesses, would like to test the hypothesis that the percentage of small-business owners with more than a bachelor’s degree is different than 47%. The Excel file labeled SBA.xlsx shows the college degrees of a recent sample of 100 small-business owners. Using a = 0.05, answer the following:
a. Perform a hypothesis test to determine the percentage of small-business owners with more than a bachelor’s degree is different than 47%. You can use the following Excel function to count the number of small-business owners with more than a bachelor’s degree in the data file:
= COUNTIF(B2:B101, “Yes”)
b. Determine the p-value for this test and interpret its meaning.
c. Verify your results using PHStat.
9.65 A Wall Street Journal article discussed the impact that the recent economic downturn has had on the job market for clergy. Many churches have reduced or frozen the sala- ries and benefits for their clergy because donations from churchgoers have declined. The article reported that the average salary for an associate pastor with 10 years of experience is $64,000. Suppose that to investigate whether this average has changed recently, the National Association of Church Business Administration conducted a salary survey of pastors. The results can be found in the Excel file labeled Pastor.xlsx. Using PHStat with a = 0.05, answer the following:
a. State the null and alternative hypotheses. b. Do these data provide enough evidence to conclude that
the average pastor salary has changed? c. Estimate the p-value for this test using Table 5 in
Appendix A. d. Determine the precise p-value for this test using Excel. e. Use PHStat to validate these results.
9.66 Recently, cell phone companies have been heavily invest- ing in the African continent. With only half of its population owning a phone, Nigeria is considered a market that has much potential for growth. However, recent competition has driven prices for cell phones down in the country. It has been reported that the average monthly revenue earned per cus- tomer in Nigeria has been falling steadily since 2006 and is currently at $11. Vodafone, a U.K. cell phone company, has hired you to assist in the decision to enter the Nigerian mar- ket. If there is statistical evidence that the average monthly revenue is less than $11, Vodafone will choose not to invest in this market; otherwise, the company will invest. The Excel file labeled Nigeria.xlsx contains the monthly revenue from a random sample of 65 Nigerian mobile phone customers. Using PHStat with a = 0.05, answer the following:
a. State the null and alternative hypotheses. b. Based on this sample, what recommendations will you
provide Vodafone? c. Estimate the p-value for this test using Table 5 in
Appendix A. d. Determine the precise p-value for this test using Excel. e. Use PHStat to validate these results.
www.freebookslides.com
432
Step 1: Identify the null and alternative hypotheses. H0: m = 18 1status quo2 H1: m ≠ 18
The normal condition for this process is to average 18 ounces per box. This position is assigned the null hypothesis.
Step 2: Set a value for the significance level, A. For this example, we set a = 0.05.
Step 3: Determine the appropriate critical values. Because this is a two-tail test with a = 0.05, za>2 = 1.96 on the right side of the distribution and - za>2 = - 1.96 on the left.
Step 4: Calculate the appropriate test statistic. Using Equation 9.1,
x = 18.06 mH0 = 18 s = 0.25 n = 40
zx = x - mH0
s2n = 18.06 - 180.25240 = 0.060.0395 = 1.52 Step 5: Compare the critical z-score 1zA,22 with the z-test statistic 1zx2.
Because our z-test statistic, zx, is positive (1.52), we use the rejection region on the right side of the sampling distribution with its positive critical z-score (1.96). Taking the absolute value of each, we have � zx � = 1.52, which is less than � za � = 1.96. According to Table 9.3 for a two-tail test, we do not reject the null hypothesis.
Step 6: State your conclusions. We conclude that we have no evidence that the filling process is working improperly. Therefore, no corrective action needs to be taken. Note that we are not saying that the process is operating properly.
Y O U r t U r n # 4
x = 18.3 a = 0.05 mH0 = 20 s = 5.0 n = 45
zx = x - mH0
s2n = 18.3 - 205.0245 = - 1.70.745 = - 2.28 p@value = P1x 6 18.32 = P1zx 6 - 2.282 = 0.0113
Because p-value 6 a, we reject the null hypothesis. Our sample of 45 wait times supports the conclusion that the average wait time for a table is less than 20 minutes on Saturday night.
Y O U r t U r n # 3
Y O U r t U r n # 2
Step 1: Identify the null and alternative hypotheses. Because Lindsay hopes to conclude that the average wait time is less than
20 minutes, we state the alternative hypothesis as H1: m 6 20. H0: m Ú 20 H1: m 6 20 1what Lindsay hopes to conclude2 Step 2: Set a value for the significance level, A. a = 0.05
Step 3: Determine the appropriate critical score. Because this is a one-tail (lower) test, - za = - 1.645.
Step 4: Calculate the appropriate test statistic.
zx = x - mH0
s2n = 18.3 - 205.0245 = - 1.70.745 = - 2.28 Step 5: Compare the z-test statistic 1zx2 to the critical z-score 1za2.
Because zx = - 2.28 is less than - za = - 1.645, we reject the null hypothesis according to Table 9.3 for a one-tail (lower) test.
Step 6: State your conclusions. Because we can reject the null hypothesis, our sample of 45 wait times supports the conclusion that the average time customers wait for a table on Saturday night is less than 20 minutes.
Chapter 9 Solutions to Your Turn
1. H0: p … 0.70 1the status quo2 H1: p 7 0.70 1what the IRS hopes for2 This is a one-tail test because the IRS would like to test that its campaign
influenced more people to file electronically.
2. H0: m = 2.9 1the status quo2 H1: m ≠ 2.9
Comcast is only testing that the average number of television sets per household is equal to 2.9. The company has no interest in knowing if this value is greater than or less than 2.9. Therefore, this is a two-tail test.
3. H0: m Ú 60 days 1status quo2 H1: m 6 60 days (what the government hopes for) When the effect of a change in a process, such as a new tax-break program,
is being measured, we are determining whether the status quo has been disrupted. The claim against the status quo is then assigned to the alternative hypothesis. This is a one-tail hypothesis test because we are interested in determining if the average number of days on the market is less than 60.
Y O U r t U r n # 1
www.freebookslides.com
433
x = 18.06 a = 0.05 mH0 = 18 s = 0.25 n = 40
zx = x - mH0
s2n = 18.06 - 180.25240 = 0.060.0395 = 1.52 p@value = 2 * P1x 7 18.062 = 2 * P1zx 7 1.522 p@value = 12210.06432 = 0.1286
Because p@value Ú a, we do not reject H0. We conclude that we have no evidence that the filling process is working improperly. Therefore, no corrective action needs to be taken.
Y O U r t U r n # 5
Y O U r t U r n # 6
Y O U r t U r n # 7
H0: m = $26,500 1status quo2 H1: m ≠ $26,500
The p@value = 0.2449 and a = 0.10. Because the p@value Ú a, we do not reject the null hypothesis. We conclude that we have no evidence that the average student debt has changed between 2011 and 2014.
a) Step 1: Identify the null and alternative hypotheses. H0: m … 290 yards H1: m 7 290 yards 1my new ball claim2
Because I am claiming the performance of my golf ball is better than the current ball, my claim is assigned to the alternative hypothesis.
Step 2: Set a value for the significance level, A. For this example, we set a = 0.10.
Step 3: Determine the appropriate critical value. To find our critical t-score, we locate the column associated with a = 0.10 for a one-tail test and the row that corresponds to 15 - 1 = 14 degrees of freedom in Table 5 in Appendix A. Because the rejection region is on the right side of the sampling distribution, ta = 1.345.
Step 4: Calculate the appropriate test statistic. After we use Excel to calculate the sample mean and sample standard deviation from the data, we can then use Equation 9.2 to find our t-test statistic:
x = 293.5 yards s = 14.8 yards
tx = x - mH0
s2n = 293.5 - 29014.8215 = 3.53.82 = 0.92 Step 5: Compare the t-test statistic 1tx 2 with the critical t-score 1tA2.
Applying the same logic that we used in Table 9.3 for a one-tail (upper) test, tx = 0.92 and ta = 1.345. Because 0.92 6 1.345, we do not reject H0.
Step 6: State your conclusions. Failing to reject the null hypothesis means we do not have enough evidence to justify my claim that PGA golfers will average more than 290 yards using my ball. Even though my sample average exceeds 290 yards, it is too close to this value to justify my claim. Oh well, back to the drawing board!
b) The p-value is between 0.10 and 0.20. Using a = 0.10, we fail to reject the null hypothesis.
c) = T.DIST.RT10.92, 142 = 0.1866
www.freebookslides.com
434
Y o u r T u r n # 8
Y o u r T u r n # 9
a) Step 1: Identify the null and alternative hypotheses. H0: m = 60 minutes H1: m ≠ 60 minutes
Because we are testing the claim that the population mean is equal to 60 minutes, this statement needs to be assigned to the null hypothesis. The alternative hypothesis can never have an equal sign.
Step 2: Set a value for the significance level, A. We set a = 0.05.
Step 3: Determine the appropriate critical value. Using Table 5 in Appendix A, we look in the two-tail 0.05 column and the row that corresponds to 11 - 1 = 10 degrees of freedom, which gives us ta>2 = 2.228.
Step 4: Calculate the appropriate test statistic. Use the AVERAGE and STDEV.S functions in Excel to find the sample mean and sample standard deviation. Using those values in Equation 9.2, we can then find our t-test statistic.
x = 44.27 minutes s = 20.4 minutes
tx = x - mH0
s2n = 44.27 - 6020.4211 = - 15.736.15 = - 2.56 Step 5: Compare the t-test statistic 1tx 2 with the critical t-score 1tA,22.
Using the logic shown in Table 9.3 for a two-tail test, � tx � = 2.56 and � ta>2 � = 2.228. Because 2.56 7 2.228, we reject H0.
Step 6: State your conclusions. a) Rejecting the null indicates that we have support for the alternative hypoth-
esis, H1: m ≠ 60 minutes. Therefore, we can conclude that the average
amount of time this author works on chores over the weekend is not equal to 60 minutes. It appears from our sample mean of 44.27 minutes that his average time is less than 60 minutes.
b) The p-value ranges between 0.02 and 0.05. With a = 0.05, we reject the null hypothesis.
c) The p-value = 0.0285, which is less than a = 0.05. Therefore, we reject the null hypothesis, which is consistent with our previous conclusion.
d) = T.DIST.2T12.56,102 = 0.0284 Notice that we use the absolute value of - 2.56 in this function. e) Because s is unknown and the sample size is less than 30, the population
needs to be normally distributed to perform this test.
a) Step 1: Identify the null and alternative hypotheses. H0: p = 0.42 1status quo2 H1: p ≠ 0.42
Step 2: Set a value for the significance level, A. For this example, we set a = 0.01.
Step 3: Determine the appropriate critical value. Using Table 9.5 to determine the critical z-score, a two-tail test with a = 0.01 results in za>2 = 2.575.
Step 4: Calculate the appropriate test statistic.
p = x
n =
54
150 = 0.36
zp = p - pH0A pH011 - pH02n = 0.36 - 0.42A 0.4211 - 0.422150
zp = - 0.0620.001624 = - 0.060.0403 = - 1.49
Step 5: Compare the z-test statistic 1zp2 to the critical z-score 1zA,22. Using the same logic outlined in Table 9.3 for a two-tail test, � zp � = 1.49 and � za>2 � = 2.575. Because 1.49 … 2.575, we do not reject H0.
www.freebookslides.com
435
Step 6: State your conclusions. Failing to reject the null indicates that we do not have support for the alternative hypothesis, H1: p ≠ 0.42. Therefore, we cannot conclude that the proportion of U.S. small-business owners that are firstborn in their family is different than 42%.
b) p@value = 2 * P1p … 0.362 = 2 * P1zp … - 1.492 p@value = 2 * 10.06812 = 0.1362
Because the p@value = 0.1362 Ú a = 0.01, we do not reject the null hypothesis.
c) = 2 * NORM.S.DIST1 - 1.49, TRUE2 = 210.06812 = 0.1362
d)
Y o u r T u r n # 1 0 The null and alternative hypotheses are stated as follows:
H0: m Ú 61 1status quo2 H1: m 6 61
Next, we need to calculate the critical mean using Equation 9.5.
xa = mH0 - 1za2a s2n b
xa = 61 - 11.282a 10241 b = 59.0
Because this is a lower tail test 1H1: m 6 612, we reject the null hypothesis if our sample mean is less than 59 years old. Because the true population mean equals 60.0 according to the problem description, we should reject the null hypothesis. Beta is the probability of getting a sample mean greater than 59.0 from a population whose true mean is 60.0.
z = xa - m
s2n = 59.0 - 60.010241 = - 11.562 = - 0.64 b = P1xa 7 59.02 = P1z 7 - 0.642 = 1.0 - 0.2611 = 0.7389 Power = 1 - b = 1 - 0.7389 = 0.2611
The power is fairly low because the hypothesized mean (61.0) is close to the actual mean (60.0). In other words, it’s more difficult to properly reject the null when the true population mean is very close to the hypothesized mean.
µ
Hypothesized Distribution
Actual Distribution
0 61
0 60
µH0
Do Not Reject H0
x scale z scale
x scale z scale
Reject H0 Power = 1– Power = 0.2611
Reject H0 Type I Error
= 0.10
Do Not Reject H0 Type II Error
= 0.7389
x = 59 – z = –1.28
x = 59 z = – 0.64
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
Compare the means of two popula- tions when the population stan- dard deviations are known using independent samples.
Compare the means of two popula- tions when the population stan- dard deviations are unknown using independent samples.
Compare the means of two popula- tions when the population stan- dard deviations are unknown using dependent samples.
Use a confidence interval to com- pare two population means or two population proportions.
Test a population difference other than zero.
Hypothesis Tests Comparing Two Populations
C h a p t e r 1 0 M a p
10.1 Comparing Two Population Means with • Independent Samples • Known Population Standard Deviations
1s1 and s22 | 439 10.2 Comparing Two Population Means with
• Independent Samples • Unknown Population Standard
Deviations 1s1 and s22 | 448 10.3 Hypothesis Testing with Dependent
Samples | 464
10.4 Comparing Two Population Proportions with Independent Samples | 474
10
www.freebookslides.com
438 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
Now that you have mastered the art of one-sample hypothesis testing, it’s time to step it up a notch and tackle the case of two-sample testing. Quite frankly, it’s not that big of a notch. You can apply many of the techniques you learned in Chapter 9 to this chapter. I hope you were paying attention!
You may recall that after Apple released the iPhone 4 in 2010, there were a significant number of complaints by consumers that the phones were dropping calls. The issue was eventually traced back to the antenna design used in the device, and the controversy was quickly dubbed “antenna-gate.” The situation also led to a debate about whether the rate of dropped iPhone calls differed on AT&T’s network as compared to Verizon’s network.
One way to resolve this debate would be to apply a two-sample hypothesis test to deter- mine if there was a significant difference in the dropped call rates in the two populations. Each network could be sampled by making test calls at randomly selected locations. The proportion of dropped calls would be calculated for each network, and a two-sample hypothesis test would tell us if the two population proportions are significantly different. (Sound familiar?)
If my home were selected as a test site, I can almost guarantee a dropped call would oc- cur because I live in a near-dead zone when it comes to cell phone reception. When my cell phone rings and I am home, I routinely race up the stairs to the front bedroom and hang out the window because it’s the only way I can get a signal. For a while, our neighbors feared they had a writer living in their midst who was ready to make a suicidal, second-story leap.
Your author, as he risks his life taking a call from Deb. “Of course, dear. I wouldn’t dream of playing golf until Chapter 10 is done.” (Pay no attention to my golf attire.)
The business world is full of examples like the following that rely on comparing two populations:
• The U.S. government would like to investigate if a difference exists between the average sal- ary of federal workers and that of their private-sector counterparts who hold the same types of jobs.
• A major bank would like to determine if the proportion of customers who do their banking online differs between older and younger customers.
• A consumer group would like to investigate whether running the air conditioner with the windows up on a specific car model reduces the car’s gas mileage compared with not using the air conditioner with the windows down.
We will look at these examples, as well as others, as we explore comparing two populations throughout this chapter. You’ll find that the topics in this chapter are similar to those found in Chapter 9.
• We’ll start with the simplest hypothesis test, where we compare means when the population standard deviations are assumed to be known.
• As we discussed in Chapters 8 and 9, the population standard deviation is not always available. To handle this situation, we will use the sample standard deviation to approximate the population standard deviation and will rely on the Student’s t-distribution. (Sound familiar? I sure hope so.)
www.freebookslides.com
C h a p t e r 10 | 10.1 Comparing Two Population Means with 439
• We will also investigate the case in which the two samples are related to each other (we’ll call these dependent samples). You’ll be happy to hear that this relationship actually simplifies the hypothesis testing procedure.
• We’ll wrap up this chapter as we did the last by comparing the proportions for two dif- ferent populations.
As you can see, we have a lot to cover in this chapter, so let’s get started.
10.1 Comparing Two Population Means with • Independent Samples • Known Population Standard Deviations
1S1 and S22 To answer the questions posed in the previous section, we need to explore a new sampling distribution. This one has the fanciest name of them all—the sampling distribution for the difference in means (cue screeching violins as dramatic background music that raises the hair on the back of your neck). To illustrate this distribution and settle your nerves, consider the federal workers example that was just mentioned and look at Figure 10.1.
{ figure 10.1 The Sampling Distribution for
the Difference in Two Population Means
µx1 – x2
µx1 µx2
x1 – x2
x1 x2
Sample
Population 1 Population 2
µ1 unknown
Sample
µ2 unknown
n1 n2
Sampling Distribution for the Mean (Population 1)
Sampling Distribution for the Mean (Population 2)
Graph 1 Graph 2
Graph 3
Sampling Distribution for the Difference in Means
I’ll arbitrarily make the federal workers Population 1 and the private-sector workers Population 2. Graph 1 in Figure 10.1 shows the sampling distribution for the salaries of the federal workers from a randomly selected sample of size n1. As long as n1 Ú 30, this sam- pling distribution will follow the normal probability distribution with a mean equal to mx1 due to the Central Limit Theorem described in Chapter 7. Graph 2 represents the same infor- mation for the private-sector salaries.
Graph 3 in Figure 10.1 shows the distribution that represents the difference from all pos- sible combinations of the sample means between the federal and private-sector salaries. This graph is known as the sampling distribution for the difference in means. The mean of this distribution is denoted as mx1 - x2 and is found using Equation 10.1.
The sampling distribution for the difference in means is the result of subtracting the sampling distribution for the mean of one population from the sampling distribution for the mean of a second population.
www.freebookslides.com
440 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
where
mx1 = The mean of the sampling distribution from Population 1 mx2 = The mean of the sampling distribution from Population 2 In other words, the mean of the distribution in Graph 3 is the difference between the
means shown in Graphs 1 and 2. Throughout this chapter, the subscript x1 - x2 represents the difference in the sample means of Populations 1 and 2.
The standard deviation for Graph 3 is known as the standard error of the difference between two means. It describes the variation in the difference between two sample means and is found using Equation 10.2.
Formula 10.1 for the Mean of the sampling Distribution for the Difference in Means
mx1 - x2 = mx1 - mx2
Formula 10.2 for the standard error of the Difference Between two Means
sx 1 - x
2 = B s12n1 + s22n2
The standard error of the difference between two means describes the variation in the difference between two sample means.
where
s1 and s2 = The standard deviations for Populations 1 and 2 n1 and n2 = The sample sizes from Populations 1 and 2
In this section, we are assuming that the samples from the two populations are independent samples. When samples are independent of one another, the results you observe when sam- pling from one population have no impact on the results you observe when sampling from the second population. Here’s an example of two independent samples: Randomly selected males and randomly selected females who own iPads are asked their age. The age of each male respondent will have no impact on the age of any female respondent. Now before you pull the rest of your hair out, let’s put this information to work in the next section.
Conducting a hypothesis test to Compare the Difference Between two Means with • Independent Samples • S1 and S2 Known In this section we will look at two-sample hypothesis tests when we know the standard deviation, s, for each population. As you learned in Chapter 8, these values are often un- known but can be estimated. In a later section of this chapter, we will estimate these values. When the population standard deviations are known, we need to consider two different scenarios:
1. If our sample size is small 1n 6 302, this hypothesis test requires that the population follow the normal distribution.
2. If our sample size is large 1n Ú 302, we know from the Central Limit Theorem that the sampling distribution follows the normal distribution. With this scenario, we have no restrictions on the population distribution.
To illustrate a hypothesis test when the standard deviation for each population is known, I’ll use our earlier example where the U.S. government would like to investigate if a difference exists between the average salaries of federal workers and their private-sector counterparts. A random sample of 35 federal jobs that also exist in the private sector had
If we are sampling from a normal distribution, then our sampling distribution will also be normally distributed regardless of the sample size.
www.freebookslides.com
C h a p t e r 10 | 10.1 Comparing Two Population Means with 441
an average salary of $66,700. A random sample of 32 similar-type private-sector jobs had an average salary of $60,400. Assume the population standard deviations for the federal and private-sector salaries are $12,000 and $11,000, respectively. Using a = 0.05, can we conclude that there is a difference between federal and private-sector salaries for these two populations?
The two-sample hypothesis test steps that follow are very similar to the steps we learned for the one-sample tests in Chapter 9.
Step 1: Identify the null and alternative hypotheses.
This is a two-tail test because we are only testing if there is a difference in salary means, not if the mean of one population is either higher or lower than the mean of the other. The null hypothesis, H0, for this two-tail test states that there is no differ- ence between the average salaries of private-sector and federal employees. Another way to express this is that the difference between the two population means is equal to zero. The alternative hypothesis, H1, is that there is indeed a difference in the average salaries of these two populations.
Always clearly define your populations at the outset of a test. I’ll define Population 1 and 2 as follows:
Population 1 = Federal worker salaries Population 2 = Private@sector salaries
This assignment is arbitrary and clearly defining it at the start eliminates any confusion later in the analysis.
The hypotheses statement for this example is as follows:
H0: m1 - m2 = 0 1no difference in private and federal salaries2 H1: m1 - m2 ≠ 0 1private and federal salaries are different2
Step 2: Set a value for the significance level, A.
As we did for hypothesis testing for a single population (Chapter 9), the value of a should be chosen before we test the data. For our salary example, we have chosen a = 0.05.
Step 3: Calculate the appropriate test statistic.
The test statistic for a difference between population means with s1 and s2 both known is shown in Equation 10.3.
Clearly defining each population before stating your hypothesis can help you avoid confusion later in the analysis.
Because the purpose of the test is to determine if a difference exists between private and federal salaries, this is a two-tail test. Had we been investigating if federal employees had higher salaries, it would be a one-tail (upper) test.
Formula 10.3 for the z-test statistic for a hypothesis test for the Difference Between two Means (S1 and S2 Known)
zx = 1x1 - x22 - 1m1 - m22H0
sx1 - x2
where 1m1 - m22H0 = The hypothesized difference in population means
sx1 - x2 = The standard error of the difference between two means x1 - x2 = The difference in sample means between Populations 1 and 2
First, we’ll calculate the standard error of the difference between the two means using Equation 10.2 as follows:
sx1 - x2 = As12n1 + s22n2 = A 12,000235 + 11,000232 sx1 - x2 = 24,114,285.7 + 3,781,250 = $2,809.90
www.freebookslides.com
442 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
Now we are ready to calculate the z-test statistic using Equation 10.3:
zx = 1x1 - x22 - 1m1 - m22H0
sx1 - x2 =
1$66,700 - $60,40012 - 102H0 $2,809.90
zx = 1$66,700 - $60,4002 - 102H0
$2,809.90 =
$6,300
$2,809.90 = 2.24
Step 4: Determine the appropriate critical value.
Remember, our critical value defines the rejection region for the null hypothesis. The test statistic shown in Equation 10.3 follows the normal probability distribu- tion. For your convenience, I have provided Table 10.1 which shows the critical z- scores for various levels of alphas taken from the standard normal table.
The term 1m1 - m22H0 refers to the hypothesized difference between the two population means. Because the null hypothesis is testing that there is no difference between means, this term is 0.
Remember from Chapter 9, I use the notation Za>2 to refer to the critical z-score for a two- tail hypothesis test because the area associated with a is split in half on each side of the distribution.
{ table 10.1 | Critical z-Scores for Various Alphas
alpha 1A2 tail critical z-score
0.01 One 2.33
0.01 Two 2.575
0.02 One 2.05
0.02 Two 2.33
0.05 One 1.645
0.05 Two 1.96
0.10 One 1.28
0.10 Two 1.645
For a two-tail test with a = 0.05, our critical z-scores are set to za>2 = 1.96. Step 5: Compare the z-test statistic 1zx 2 with the critical z-score 1zA,2 2
This comparison is used to decide whether to reject or fail to reject the null hypothesis. To do so, we use the following decision rules that were introduced in Chapter 9 and are shown in Table 10.2.
{ table 10.2 | Decision Rules for Hypothesis Tests when Comparing the z-Test Statistic and Critical z-Score
test hypothesis condition conclusion
Two-tail H0: m = m0 � zx � 7 � za>2 � S Reject H0
H1: m ≠ m0 � zx � … � za>2 � S Do not reject H0
One-tail H0: m … m0 zx 7 za S Reject H0 (upper) H1: m 7 m0 zx … za S Do not reject H0 One-tail H0: m Ú m0 zx 6 - za S Reject H0 (lower) H1: m 6 m0 zx Ú - za S Do not reject H0
In our salary example, which is a two-tail test, � zx � = 2.24 and � za>2 � = 1.96. Because 2.24 7 1.96, we come to the “reject H0” conclusion. In other words, we cannot say that there is no difference between the average salaries of the two populations. Figure 10.2 illustrates this finding. Notice that zx is in the shaded “Reject H0” region.
www.freebookslides.com
C h a p t e r 10 | 10.1 Comparing Two Population Means with 443
Step 6: Calculate the p-value. In Chapter 9, we learned that the p-value is the probability of observing a sample mean at least as extreme as the one selected for the hypothesis test, assuming the null hypothesis is true. We can also apply this concept to our two-sample hypothesis test.
The two-tail p-value for our salary example is calculated as follows:
p@value = 2 * P1zx 7 2.242 p@value = 12211 - 0.98752 = 12210.01252 = 0.025
The total area of the two shaded regions in Figure 10.3 represents this p-value.
{ figure 10.2 Comparing the z-Test Statistic
with the Critical z-Score
0
0.95 Do Not Reject H0
Reject H0 /2 = 0.025
Reject H0 /2 = 0.025
– z /2 = –1.96 z /2 = 1.96 zx = 2.24 z scale
{ figure 10.3 The p-Value for a Two-Tail
Hypothesis Test
0
0.9875
area = 0.0125 area = 0.0125
p-value = 0.0125 + 0.0125 = 0.0250
z scale zx = 2.24– zx = –2.24
Using Table 10.3, we can compare the p-value to a when deciding to reject or not to reject the null hypothesis.
To find the area associated with zx 7 2.24, we first need to find the area for zx … 2.24. Using Table 4 in Appendix A, we determine that this area equals 0.9875. Therefore, zx 7 2.24 = 1.0 - 0.9875 = 0.0125.
{ table 10.3 | Decision Rules for Hypothesis Tests Using the p-Value
condition conclusion
p@value Ú a S Do not reject H0 p@value 6 a S Reject H0
According to Table 10.3, because our p-value = 0.025 is less than a = 0.05, we reject the null hypothesis.
Step 7: State your conclusions. Our final step in this process is to conclude that, by rejecting the null hypothesis, we have support for the alternative hypothesis. According to these two samples, we have evidence to conclude that the average federal salary is not equal to the average private-sector coun- terpart. After looking at these sample averages, I need to send my résumé to Uncle Sam.
Using PHStat for a Hypothesis Test Comparing the Difference Between two Means with • Independent Samples • S1 and S2 Known We can perform this same procedure using PHStat by taking the following steps. Excel for Mac users can find these instructions on the textbook’s Web site.
1. Go to Add-Ins + PHStat + Two-Sample Tests (Summarized Data) + Z Test for Differences in Two Means, as shown in Figure 10.4A.
www.freebookslides.com
444 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
2. Fill in the Z Test for Differences in Two Means dialog box as shown in Figure 10.4B. Click OK.
{ figure 10.4a Conducting a Hypothesis Test
to Compare the Difference Between Means Using PHStat: Independent Samples, s1 and s2 Known (Step 1)
{ figure 10.4b Conducting a Hypothesis Test
to Compare the Difference Between Means Using PHStat: Independent Samples, s1 and s2 Known (Step 2)
Figure 10.4C shows the output for this hypothesis test, which matches the results we obtained manually.
www.freebookslides.com
C h a p t e r 10 | 10.1 Comparing Two Population Means with 445
Enough of watching me do all the work. The following Your Turn problem will give you a chance to see what you have learned so far in this chapter.
Major League Baseball officials (and many fans) have been concerned about the lengths of games re- cently, particularly playoff games. Suppose the officials would like to test the hypothesis that the mean length of a playoff game is longer than the mean length of a regular season game. A random sample of 30 playoff games over the past 10 years had an average length of 189.3 minutes. A random sample of 32 regular season games over the past 10 years had an average length of 175.8 minutes. Assume the standard deviations of the playoff and regular season games are 25 and 21 minutes, respectively. Using a = 0.02, can we conclude that playoff games are longer, on average, than regular season games? Follow the seven steps from the previous section and verify your results with PHStat.
Y o u r t u r n # 1N
Answers can be found on u page 494
{ figure 10.4c Conducting a Hypothesis Test
to Compare the Difference Between Means Using PHStat: Independent Samples, s1 and s2 Known (Final Result)
Using a Confidence Interval to Compare the Difference Between two Means with • Independent Samples • S1 and S2 Known In Chapter 8, I introduced you to the concept of the confidence interval for the mean, which is an interval estimate around a sample mean. A confidence interval provides us with an idea of where the true population mean lies. We can extend this concept to estimate the interval around the difference between two sample means. Doing so will give us an idea of where the true difference in the population means lies.
Our sample size requirement still stands. That is, both sample sizes need to be 30 or more to use the Central Limit Theorem. Under these circumstances, there are no restrictions on the shape of the population distribution because our sampling distribution will be normal with large sample sizes. With smaller sample sizes, the populations need to be normally distributed.
The formulas for determining the upper and lower limits for the confidence interval for the difference between two means are shown in Equations 10.4 and 10.5.
www.freebookslides.com
446 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
where
UCL x1 - x2 = The upper limit for the confidence interval LCL x1 - x2 = The lower limit for the confidence interval
sx1 - x2 = The standard error of the difference between two means (Equation 10.2) Let’s construct a 95% confidence interval to estimate the true difference between the
average salaries of federal and private-sector employees. We can use Table 10.1 to find the appropriate critical z-score by identifying the row that contains 0.05 as the value for a11 - 0.952 and two as the number of tails. Thus, our critical z-score is za>2 = 1.96 for this interval. From the previous section, we know the following:
x1 = $66,700 x2 = $60,400 sx1 - x2 = $2,809.90
Plugging these values into Equations 10.4 and 10.5 provides us with the desired confi- dence interval:
UCL x1 - x2 = 1x1 - x22 + za>2sx1 - x2 UCL x1 - x2 = 1$66,700 - $60,4002 + 11.9621$2,809.902 UCL x1 - x2 = $6,300 + $5,507.40 = $11,807.40
LCL x1 - x2 = 1x1 - x22 - za>2sx1 - x2 LCL x1 - x2 = 1$66,700 - $60,4002 - 11.9621$2,809.902 LCL x1 - x2 = $6,300 - $5,507.40 = $792.60
Our 95% confidence interval is ($792.60, $11,807.40). This means we are 95% confident that the difference between the average salary of federal and private-sector workers is between $792.60 and $11,807.40.
Notice that this confidence interval does not include $0. This is important (hint: now is a good time to focus) because it provides supporting evidence that the true difference in the population means is not equal to zero. This is consistent with our previous conclusion to re- ject the null hypothesis.
To further clarify, let’s pretend for a moment that the confidence interval in our sal- ary example was 1 - $792.60, $11,807.402. Remember, we defined Population 1 as fed- eral workers and Population 2 as private-sector workers. When m1 - m2 (the difference in population means) is positive, federal workers have a higher average salary. When m1 - m2 is negative, private-sector workers have a higher average salary. If our confidence interval extends from a negative difference to a positive difference, we would not have enough evi- dence to say the difference can’t be equal to zero. In other words, we would have been un- able to reject the null hypothesis.
In this section, we have covered the “base case” of hypothesis testing for comparing two population means. That is, the two samples used in our example were independent of one an- other and both population standard deviations were known. Under these conditions, our sample test statistic follows the normal probability distribution. Tables 10.12 and 10.13 at the end of the chapter provide a summary of equations for this section. Take a crack at the next Your Turn problem to be sure you are confident with your new confidence interval procedure.
Construct a 90% confidence interval to estimate the difference in average game lengths between playoff and regular season games in Major League Baseball using the data from Your Turn #1.
Y o u r t u r n # 2N
Answer can be found on u page 495
Formulas 10.4 and 10.5 for the confidence Interval for the Difference in the Means of two Independent populations (s1 and s2 Known)
UCL x1 - x2 = 1x1 - x22 + za>2sx1 - x2 LCL x1 - x2 = 1x1 - x22 - za>2sx1 - x2
Because they involve both upper and lower limits, all confidence intervals have two tails.
When the confidence interval does not include zero, we have support that a significant difference between population means does exist. When the interval does include zero, we have no such support.
When comparing two means, a negative value for the difference implies that the mean of the first group is less than the mean of the second group, on average. Likewise, a positive value implies the opposite.
www.freebookslides.com
C h a p t e r 10 | 10.1 Comparing Two Population Means with 447
10.1 Section Problems Basic Skills 10.1 Consider the following hypothesis statement using
a = 0.05 and data from two independent samples:
H0: m1 - m2 = 0 H1: m1 - m2 ≠ 0
x1 = 237 x2 = 218 s1 = 54 s2 = 63 n1 = 42 n2 = 35
a. Calculate the appropriate test statistic and interpret the result.
b. Calculate the p-value and interpret the result. c. Verify your results using PHStat.
10.2 Consider the following hypothesis statement using a = 0.10 and data from two independent samples:
H0: m1 - m2 … 0 H1: m1 - m2 7 0
x1 = 86 x2 = 78 s1 = 24 s2 = 18 n1 = 50 n2 = 55
a. Calculate the appropriate test statistic and interpret the result.
b. Calculate the p-value and interpret the result. c. Verify your results using PHStat.
10.3 Consider the following hypothesis statement using a = 0.01 and data from two independent samples:
H0: m1 - m2 Ú 0 H1: m1 - m2 6 0
x1 = 122 x2 = 139 s1 = 39 s2 = 33 n1 = 40 n2 = 45
a. Calculate the appropriate test statistic and interpret the result.
b. Calculate the p-value and interpret the result. c. Verify your results using PHStat.
10.4 Consider the following data from two independent sam- ples. Construct a 95% confidence interval to estimate the difference in population means.
x1 = 24 x2 = 21 s1 = 6 s2 = 5 n1 = 38 n2 = 32
10.5 Consider the following data from two independent sam- ples. Construct a 90% confidence interval to estimate the difference in population means.
x1 = 46 x2 = 53 s1 = 10 s2 = 12 n1 = 30 n2 = 36
Business applications 10.6 The following data show the average monthly utility bills
for a random sample of households in Baltimore and for a
random sample of households in Houston. (The bills include phone, television, Internet, electricity, and natural gas.)
Baltimore Houston
Sample mean $390.44 $359.52 Sample size 33 36 Population standard deviation $64 $58
a. Perform a hypothesis test using a = 0.05 to determine if there is a difference between the mean utility bills in these two cities.
b. Determine the p-value and interpret the results. c. Verify your results using PHStat.
10.7 Suppose the Bureau of Labor Statistics would like to investigate if the average retirement age for a worker in Japan is higher than the average retirement age for a worker in the United States. A random sample of 30 re- tired U.S. workers had an average retirement age of 64.6 years. A random sample of 30 retired Japanese work- ers had an average retirement age of 67.5 years. Assume the population standard deviation for the retirement age in the United States is 4.0 years and for Japan is 4.5 years.
a. Perform a hypothesis test using a = 0.05 to determine if the average retirement age in Japan is higher than it is in the United States.
b. Determine the p-value and interpret the results. c. Verify your results using PHStat.
10.8 Walmart has an interest in monitoring the average back- to-school spending for grade-school students year to year. The following table shows the average back-to-school spending of households randomly sampled in 2013 and 2014 along with the population standard deviations and sample sizes for each sample.
2013 2014
Sample mean $606.40 $548.72 Sample size 35 38 Population standard deviation $160 $150
a. Perform a hypothesis test using a = 0.10 to determine if the average household back-to-school spending in 2013 was different than it was in 2014.
b. Determine the p-value and interpret the results. c. Verify your results using PHStat.
10.9 Expedia.com would like to estimate the difference be- tween the average rental price of a car with an automatic transmission and the average rental price of a car with a manual transmission at London’s Heathrow airport. A random sample of 50 cars with an automatic transmission had an average weekly rental of $405.80. A random sam- ple of 36 cars with manual transmission had an average weekly rental of $339.20. Assume the population standard deviation for weekly rentals of cars with automatic trans- missions is $23 and for manual transmission is $26.
www.freebookslides.com
448 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
a. Construct a 95% confidence interval to estimate the difference in the average cost of a one-week rental be- tween these two types of cars at Heathrow.
b. Based on the results from part a, can you conclude that a difference exists in the average rental price of the two types of cars?
10.10 Salary data from two random samples of high school teachers from Pennsylvania and Ohio are as follows. Also shown are the population standard deviations for these populations.
Pennsylvania Ohio
Sample mean $53,289 $49,945 Sample size 40 46 Population standard deviation $6,433 $7,012
a. Construct a 90% confidence interval to estimate the difference in the average salaries of the high school teachers in these two states.
b. Based on the results from part a, can you conclude that a difference exists in the average salaries?
10.2 Comparing Two Population Means with • Independent Samples
• Unknown Population Standard Deviations 1S1 and S22
When the population standard deviations are not known to us, which is a common situation, we substitute the sample standard deviations in their place. This substitution affects the hy- pothesis test in two ways:
1. The Student’s t-distribution is used in place of the normal distribution to identify the rejection region.
2. Both populations need to be normally distributed unless both sample sizes are 30 or larger.
If the populations are not normally distributed, the t-distribution can still be used to identify the rejection region if both sample sizes are 30 or more. This is because the shape of the t-distribution approaches the normal distribution as the sample size increases.
We have two cases to consider in this chapter when the population standard deviations are unknown:
• Case 1: The population variances are equal 1s12 = s222. • Case 2: The population variances are not equal 1s12 ≠ s222.
In Chapter 13, I will demonstrate a technique to test whether population variances are equal or not. Until then, we will just assume one way or the other.
Conducting a hypothesis test to Compare the Difference Between two Means with • Independent Samples
• S1 and S2 Unknown
• Equal Population Variances The health care industry often uses two-sample hypothesis testing for research. For instance, studies have been done to investigate the effects of stimulation on the brain development of rats. (I guess the logic being that what’s good for rats can’t be all that bad for us humans.)
Suppose that two samples were randomly selected from the same rat population. The rats in the first sample—we’ll call these the “lucky rats”—were surrounded with every luxury a rat could imagine. I can envision a country club atmosphere, complete with a golf course (and tiny golf carts), tennis courts, and a five-star restaurant where our lucky rats could feast on imported cheese and French wine while they discuss the state of the rat economy.
When population standard deviations are not known to us 1s1 and s22, we use the sample standard deviations 1s1 and s22 in their place. When we make this substitution, we rely on the t-distribution to conduct the hypothesis test.
www.freebookslides.com
C h a p t e r 10 | 10.2 Comparing Two Population Means with 449
The second sample, whom we’ll call the “less fortunate rats,” didn’t have it quite so good. These poor critters were locked in a barren cage and forced to eat imitation cheese from a can and watch reruns of reality television shows. Animal rights activists protested against this experiment, claiming the involuntary eating of imitation cheese is inhumane.
After the rats spent three months in each of these environments, the size of their brains were measured (by weight) to gauge its development. (I’ll spare you the details as to how this was done, but I will tell you that Harvey the Rat mysteriously failed to show for his 8:00 a.m. tee time. His group went off without him.) Table 10.4 summarizes the gruesome findings.
{ table 10.4 | Summarized Data from the Rat Experiment
population
average brain weight in grams
sample standard deviation
sample size
x s n
Lucky rats 2.6 0.6 20
Less-fortunate rats 2.1 0.8 25
Because the sample sizes are less than 30, we need to assume that the brain weights in these two populations both follow the normal probability distribution.
Suppose the researchers would like to establish that more stimulation would lead to larger brain weight using a = 0.05. For this hypothesis test, we need to assume that the two samples are independent of each other. In other words, the brain weights of the lucky rats have no effect on the brain weights of the less-fortunate rats.
I’ll use the following steps to demonstrate the hypothesis testing procedure:
Step 1: Identify the null and alternative hypotheses.
I’ll start by defining each population as follows:
Population 1 = lucky rats Population 2 = less@fortunate rats
The hypotheses statement for this example is as follows:
H0: m1 - m2 … 0 1Pop 1 has brains that are less than or equal to Pop 2 in weight2 H1: m1 - m2 7 0 1Pop 1 has brains that are greater than Pop 2 in weight2
where
m1 = The mean brain weight of the lucky rat population m2 = The mean brain weight of the less-fortunate rat population This is a one-tail (upper) test because the researchers are investigating whether
Population 1 has an average brain size larger than Population 2, as stated in the alternative hypothesis, H1 (also known as the research hypothesis).
Step 2: Set a value for the significance level, A.
For our rat-brain research, we decided to use a = 0.05. Step 3: Calculate the appropriate test statistic.
The test statistic for a difference between population means with s1 and s2 both unknown, but assumed to be equal, is shown in Equation 10.6. We will discuss the case of unequal variances in the next section.
If we reverse the definitions for the populations, the signs for the null and alternative hypotheses would also be reversed and we would have a lower tail test. Either case would be acceptable.
www.freebookslides.com
450 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
where
1m1 - m22H0 = The hypothesized difference in population means sp
2 = The pooled variance (see Equation 10.7) The pooled variance is simply the weighted average of two sample variances drawn
from two populations. The pooled variance, sp 2, can be found using Equation 10.7.
Formula 10.6 for the t-Test Statistic for a Hypothesis Test for the Difference Between Two Means (S1 and S2 Unknown but Equal)
tx = 1x1 - x22 - 1m1 - m22H0Bsp2 a 1n1 + 1n2 b
The pooled variance is the weighted average of two sample variances drawn from two populations.
Formula 10.7 for the Pooled Variance
sp 2 =
1n1 - 12s12 + 1n2 - 12s22 1n1 - 12 + 1n2 - 12
where
s1 2 = The variance of the sample from Population 1
s2 2 = The variance of the sample from Population 2
n1 and n2 = The sample size from Population 1 and 2 Using the data from Table 10.4 for our rat example, the pooled variance is calculated as
follows:
sp 2 =
1n1 - 12s12 + 1n2 - 12s22 1n1 - 12 + 1n2 - 12
sp 2 =
120 - 1210.622 + 125 - 1210.822 120 - 12 + 125 - 12 =
119210.362 + 124210.642 19 + 24
= 0.5163
Applying this to Equation 10.6, our t-test statistic is calculated as follows:
tx = 1x1 - x22 - 1m1 - m22H0Asp2 a 1n1 + 1n2 b
tx = 12.6 - 2.12 - 102A10.51632a 120 + 125 b = 0.5 - 0210.5163210.092 = 0.50.2156 = 2.32
Step 4: Determine the appropriate critical value.
The test statistic shown in Equation 10.6 follows the Student t-distribution with n1 + n2 - 2 degrees of freedom. Degrees of freedom (df) were introduced in Chapter 8 for the confidence interval estimation. For the rat example, we have the following:
df = n1 + n2 - 2 = 20 + 25 - 2 = 43
Using Table 5 in Appendix A for a one-tail (upper) test with 43 degrees of freedom and a = 0.05, our critical t-score is ta = 1.681.
Step 5: Compare the t-test statistic 1tx2 with the critical t-score 1tA2. This comparison is used to decide whether to reject or fail to reject the null hypothesis. To do so, we use the following decision rules that were introduced in Chapter 9 and are shown in Table 10.5.
I recommend carrying the pooled variance calculation out to four decimal places to avoid rounding errors in your end result.
Sometimes my students confuse s1 with s1
2. The term s1 represents the sample standard deviation taken from Population 1. The term s1
2 represents the sample variance taken from Population 1, which is simply the square of the standard deviation.
Recall that the degrees of freedom for a one-sample test introduced in Chapter 9 is n–1.
www.freebookslides.com
C h a p t e r 10 | 10.2 Comparing Two Population Means with 451
In our rat example, which is a one-tail (upper) test, tx = 2.32 and ta = 1.681. Because 2.32 7 1.681, we reject the null hypothesis according to the decision rules shown in Table 10.5. Figure 10.5 shows that tx is clearly in the shaded “Reject H0” region.
{ table 10.5 | Decision Rules for Hypothesis Tests When Comparing the t-Test Statistic and Critical t-Score
test hypothesis condition conclusion
Two-tail H0: m = m0 � tx � 7 � ta>2 � S Reject H0
H1: m ≠ m0 � tx � … � ta>2 � S Do not reject H0
One-tail H0: m … m0 tx 7 ta S Reject H0 (upper) H1: m 7 m0 tx … ta S Do not reject H0 One-tail H0 : m Ú m0 tx 6 - ta S Reject H0 (lower) H1 : m 6 m0 tx Ú - ta S Do not reject H0
{ figure 10.5 Comparing the t-Test Statistic
with the Critical t-Score
0
Do Not Reject H0 Reject H0
= 0.05
t = 1.681 tx = 2.32 t scale
Step 6: Approximate the p-value
Recall from Chapter 9 the limitation we are faced with when using the t-distribution for hypothesis testing: We can no longer determine a precise p-value as we did using the normal distribution. This is because the structure of the t-table in Appendix A relies on the sample size (or degrees of freedom). However, we can still approximate the p-value when using the t-distribution, as Table 10.6 shows. Recall that our t-test statistic, tx, is equal to 2.32. We need to find the critical t-scores that bracket tx = 2.32 along the n - 1 = 44 - 1 = 43 row in Table 5 from Appendix A. Table 10.6 shows these values to be 2.017 and 2.416, and they are highlighted in yellow. To find the corresponding p-values, we go to the 1 Tail row and find 0.025 and 0.010, also highlighted in yellow.
{ table 10.6 | Excerpt of Critical t-Scores Shown in Table 5 in Appendix A
p-value is in this range
1 Tail 0.200 0.100 0.050 0.025 0.010 0.005
2 Tail 0.400 0.200 0.100 0.050 0.020 0.010
Conf Lev 0.600 0.800 0.900 0.950 0.980 0.990
df
41 0.850 1.303 1.683 2.020 2.421 2.701
42 0.850 1.302 1.682 2.018 2.418 2.698
43 0.850 1.302 1.681 2.017 2.416 2.695
44 0.850 1.301 1.680 2.015 2.414 2.692
tx = 2.32
www.freebookslides.com
452 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
According to Table 10.6, the p-value for our hypothesis test is between 0.010 and 0.025. Even though we don’t have a precise p-value, because a = 0.05 is above this range, we can reject the null hypothesis.
Step 7: State your conclusions.
Rejecting the null hypothesis means we have support for the alternative hypothesis. Ac- cording to these two samples, we have evidence to conclude that the average brain size of the lucky rat population is larger than the average size of the less-fortunate rat population. The results of our rat study can greatly improve the lives of many. When your spouse or significant other catches you sneaking off to the golf course on Saturday morning with chores left unfinished, you can tell him or her with a straight face that you are just try- ing to improve your mind. We now have the statistics to support you. But be warned, you might develop a sore neck with all of that extra brain weight you are carrying around.
Using a Confidence Interval to Compare the Difference Between two Means with
• Independent Samples • S1 and S2 Unknown • Equal Population Variances We can also develop a confidence interval around the difference between the sample means to estimate the true difference in the populations when we don’t know the population stan- dard deviations. The formulas for determining the upper and lower limits for this confidence interval are shown in Equations 10.8 and 10.9.
Formulas 10.8 and 10.9 for the Confidence Interval for the Difference Between the Means of Two Independent Populations (S1 and S2 Unknown and Equal)
UCL x1 - x2 = 1x1 - x22 + ta>2 Asp2 a 1n1 + 1n2 b LCL x1 - x2 = 1x1 - x22 - ta>2 Asp2 a 1n1 + 1n2 b
Let’s construct a 95% confidence interval to estimate the true difference between the average brain weights of our two rat populations. Using Table 5 in Appendix A for a 95% confidence interval and df = 43, our critical t-score is ta>2 = 2.017. In the previous section, we identified the following values:
x1 = 2.6 n1 = 20 x2 = 2.1 n2 = 25 sp
2 = 0.5163
Using these values in Equations 10.8 and 10.9, we have our limits for the 95% confi- dence interval for the sample data from Table 10.4:
UCL x1 - x2 = 1x1 - x22 + ta>2 Asp2 a 1n1 + 1n2 b UCL x1 - x2 = 12.6 - 2.12 + 12.0172A10.51632a 120 + 125 b UCL x1 - x2 = 10.52 + 12.017220.0465 = 0.5 + 0.4349 = 0.9349 LCL x1 - x2 = 1x1 - x22 - ta>2 Asp2 a 1n1 + 1n2 b LCL x1 - x2 = 12.6 - 2.12 - 12.0172A10.51632a 120 + 125 b LCL x1 - x2 = 10.52 - 12.017220.0465 = 0.5 - 0.4349 = 0.0651
www.freebookslides.com
C h a p t e r 10 | 10.2 Comparing Two Population Means with 453
Our 95% confidence interval is (0.0651, 0.9349). This means we are 95% confident that the difference between the average brain weight of the two rat populations is between 0.0651 grams and 0.9349 grams. The fact that this interval does not include zero provides more evi- dence that there is a difference in average brain weights between these two populations.
One comment needs to be made when comparing the results of confidence intervals to hypothesis tests. A confidence interval is analogous to a two-tail hypothesis test be- cause both will use the same identical critical value 1za>2 or ta>22 for a specific level of a. Recall from Chapter 8 that the confidence level for a confidence interval is described as 11 - a2 * 100%. For example, a = 0.05 corresponds to a 11 - 0.052 * 100% = 95% confidence interval. Therefore, a two-tail hypothesis test and the corresponding confidence interval will always provide the same conclusions.
However, this may not be true for a one-tail hypothesis test and the corresponding confi- dence interval because the critical values will not be the same. Notice in our rat experiment ex- ample, the critical value for the one-tail hypothesis test was ta = 1.681 while the critical value for the corresponding confidence interval was ta = 2.017. Because the confidence interval has a higher critical value, there could be an instance when the hypothesis test rejects the null and the confidence interval fails to reject the null. In this case, the confidence interval requires stronger evidence to reject the null than the corresponding one-tail hypothesis test.
Using PHStat and Excel for a Hypothesis test Comparing the Difference Between two Means with • Independent Samples • S1 and S2 Unknown • Equal Population Variances PHStat refers to this procedure as a pooled-variance t-test, which can be performed by taking the following steps. Excel for Mac users can find these instructions on the textbook’s web site.
1. Go to Add-Ins + PHStat + Two-Sample Tests (Summarized Data) + Pooled- Variance t Test, as can be seen in Figure 10.4A.
2. Fill in the Pooled-Variance t Test dialog box as shown in Figure 10.6A. Click OK.
{ figure 10.6a Conducting a Hypothesis Test
to Compare the Difference Between Means Using PHStat: Independent Samples, s1 and s2 Unknown, and Equal Population Variances (Step 2)
Figure 10.6B shows the output for this hypothesis test, which matches the results we obtained manually.
www.freebookslides.com
454 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
{ figure 10.6b Conducting a Hypothesis Test
to Compare the Difference Between Means: Independent Samples, s1 and s2 Unknown, and Equal Population Variances (Final Result)
Notice that Cell B26 in Figure 10.6B shows that the p-value = 0.0126. Because this value is less than a = 0.05, we have evidence to reject the null hypothesis. Also, the 95% confidence interval that we calculated in the previous section is shown in Cells E15 and E16.
We can also rely on Excel’s T.DIST.RT function that provides a p-value for a one-tail (upper) test, which was introduced in Chapter 9:
= T.DIST.RT1x, degrees_ of_ freedom2 = T.DIST.RT12.32, 432 = 0.0126
Try this next Your Turn problem to help me win an argument with my significant other.
My wife and I have had an ongoing “discussion” about the quickest route to take traveling the 80 miles from our home in Wilmington, Delaware, to Avalon, New Jersey, where we like to visit for weekends dur- ing the summer. Deb prefers a more scenic, back-road route, with lots of annoying turns. My favorite course is on a major road where I get to drive 75 miles per hour. The travel time has been recorded for a random sample of trips for each route and is shown here. Deb has gone as far as accusing me of foul play by driving slower when we take her route. I’m counting on you to help me win this argument. (I don’t win many, so please don’t disappoint me.) Assume the population variances for the travel time on each route are equal. These data can be found in the Excel file titled travel time.xlsx. I suggest using Excel to calculate the sample statistics.
Deb’s route:
100 115 109 112 107 111 112 119 93 126
Bob’s route:
99 110 104 112 94 86 120 105 115 93 117 114
a. Perform a hypothesis test to prove my claim that my route takes less travel time than Deb’s, using a = 0.05. Define Population 1 as Bob and Population 2 as Deb.
b. Approximate the p-value using Table 5 in Appendix A, and interpret the results. c. Construct a 95% confidence interval around these sample data. d. Verify your results using PHStat. From the PHStat menu in Figure 10.4A, choose Two-Sample
Tests (Unsummarized Data) + Pooled-Variance t-Test. e. Determine the p-value using Excel and interpret the results. f. What assumption needs to be made to validate these results?
Y o U r t U r n # 3N
Answers can be found on u pages 495–496
Notice that the p-value reported in Figure 10.6B is consistent with our findings using Table 10.6. Here we concluded that the p-value was in the interval between 0.01 and 0.025.
www.freebookslides.com
C h a p t e r 10 | 10.2 Comparing Two Population Means with 455
Conducting a Hypothesis Test Comparing the Difference Between two Means with
• Independent Samples • S1 and S2 Unknown • Unequal Population Variances There are many situations in which the population variances are not equal or we simply can- not verify that they are equal. Under these conditions, the procedure from the previous sec- tion changes slightly. To illustrate, let’s use the following example.
A consumer group would like to investigate if there is a difference in fuel economy for the following two scenarios using a = 0.05.
1. Traveling in a particular car model with the air conditioning on and the windows up dur- ing the summer
2. Traveling in the same car model with the air conditioning off and the windows down during the summer
Running the air conditioner causes the engine to work harder, which will decrease the fuel economy. However, driving the car with the windows down increases drag—especially at a higher speed—which also reduces the fuel economy.
To collect data for this test, 10 randomly selected drivers were asked to drive a 2010 Nissan Maxima with the air conditioning on and the windows up using one full tank of gas on the highway. Eleven drivers were asked to do the same, but with the air conditioning off and the windows down. The data are shown in Table 10.7 and can also be found in the Excel file Maxima.xlsx. Assume that we have no information about the population variances and therefore cannot assume that they are equal.
{ table 10.7 | Fuel Economy Data
population 1 (air conditioning on, windows up)
24.2 26.1 28.8 30.1 24.6
29.1 28.2 27.4 28.3 27.9
population 2 (air conditioning off, windows down)
23.0 21.7 32.7 20.7 31.1 19.6
26.5 21.1 20.6 27.2 26.8
I’ll use the following steps to demonstrate the hypothesis testing procedure where the population variances are not equal.
Step 1: Identify the null and alternative hypotheses.
I start by defining each population as follows:
Population 1 = Air conditioning on, windows up Population 2 = Air conditioning off, windows down
The hypotheses statements for this example are as follows:
H0: m1 - m2 = 0 1Fuel economy of the 2 populations are the same2 H1: m1 - m2 ≠ 0 1Fuel economy of the 2 populations are different2
where m1 = The average fuel economy from Population 1 m2 = The average fuel economy from Population 2
Step 2: Set a value for the significance level, A.
The difference in fuel economy for these two scenarios will be tested using a = 0.05.
Because we are merely testing for a difference in population means, rather than if one population is greater than the other, this is a two-tail hypothesis test.
www.freebookslides.com
456 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
Step 3: Calculate the appropriate test statistic.
The test statistic for a difference between population means with s1 and s2 both un- known and not equal is shown in Equation 10.10.
Formula 10.10 for the t-Test Statistic for a Hypothesis Test for the Difference Between Two Means (S1 and S2 Unknown and Unequal)
tx = 1x1 - x22 - 1m1 - m22H0B a s21n1 + s22n2 b
We can use Excel to calculate the following sample statistics for our example:
x1 = 27.47 s1 = 1.931 n1 = 10 x2 = 24.64 s2 = 4.500 n2 = 11
Applying this to Equation 10.10, our t-test statistic is calculated as follows:
tx = (x1 - x22 - (m1 - m22H0B a s21n1 + s22n2 b
tx = 127.47 - 24.642 - 0B a 11.9312210 + 14.52211 b = 2.8320.3729 + 1.8409 = 2.831.488 = 1.90
Step 4: Determine the appropriate critical value.
The test statistic shown in Equation 10.10 follows the Student t-distribution, with degrees of freedom found using Equation 10.11.
Formula 10.11 for the Degrees of Freedom for the t-Distribution When Testing for the Difference Between Two Means (S1 and S2 Unknown and Unequal)
df = a s
2 1
n1 +
s22 n2
b 2
a s 2 1
n1 b
2
n1 - 1 +
a s 2 2
n2 b
2
n2 - 1
We can simplify matters here by showing the following terms, which were calculated using Equation 10.10:
s21 n1
= 11.93122
10 = 0.3729
s22 n2
= 14.5022
11 = 1.8409
www.freebookslides.com
C h a p t e r 10 | 10.2 Comparing Two Population Means with 457
Let’s take our time and plug these values into Equation 10.11:
df = a s
2 1
n1 +
s22 n2
b 2
a s 2 1
n1 b
2
n1 - 1 +
a s 2 2
n2 b
2
n2 - 1
= 10.3729 + 1.840922
10.372922 10 - 1
+ 11.840922
11 - 1
df = 12.213822
10.13912 9
+ 3.3889
10
= 4.9009
0.0155 + 0.3389 = 13.8 ≈ 13
To obtain the most conservative hypothesis test, the degrees of freedom from Equation 10.11 should always be rounded down. This provides us with a larger critical t-score, which makes it more challenging to reject the null hypothesis. If you round the previous calculation up, you could end up rejecting the null hypoth- esis when, in fact, the null should not be rejected. This is a Type I error, which was discussed in Chapter 9. Using Table 5 in Appendix A for a two-tail test, df = 13, and a = 0.05, our critical t-score is ta>2 = 2.160.
Step 5: Compare the t-test statistic 1tx2 with the critical t-score 1tA,22. In our fuel economy example, which is a two-tail test, � tx � = 1.90 and � ta>2 � = 2.16. Because 1.90 6 2.16, we fail to reject the null hypothesis according to the decision rules shown in Table 10.5. Figure 10.7 shows tx in the “Do Not Reject H0” region.
Always round down the degrees of freedom value found using Equation 10.11. This makes it more challenging to reject the null hypothesis, which is a more conservative approach.
{ figure 10.7 Comparing the t-Test Statistic
with the Critical t-Score
0
Do Not Reject H0 Reject H0
/2 = 0.025 Reject H0
/2 = 0.025
t /2 = 2.16 –t /2 = –2.16
tx = 1.90 t scale
Step 6: Approximate the p-value.
Using Table 5 in Appendix A, go to the row with degrees of freedom equal to 13 and find the values that bracket tx = 1.90. These values are 1.771 and 2.160. Go- ing to the 2 Tail row, we find that the p-value is between 0.05 and 0.10. Because a = 0.05 is outside of this range, we fail to reject the null hypothesis.
Step 7: State your conclusions.
Failing to reject the null hypothesis means we do not have support for the alterna- tive hypothesis. According to these two samples, there is not enough evidence to claim a difference in fuel economy between these populations. When in doubt about your assumption that the population variances are equal, the best strategy is to proceed with the unequal variances test. (Better to be safe than sorry!) Even if the population variances turn out to be equal, this procedure will still provide accurate results. On the other hand, if you incorrectly assume population variances are equal, your results may not be reliable.
Using Excel for a Hypothesis Test Comparing the Difference Between two Means with
• Independent Samples • S1 and S2 Unknown • Unequal Population Variances Excel’s Data Analysis Tools (Windows only) can perform a variety of two-sample hypoth- esis tests, including the case in which population variance are unequal. However, this Excel
www.freebookslides.com
458 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
procedure requires having the raw data available as seen in Table 10.7 in our fuel economy example using the following steps:
1. Enter the fuel economy data values in Columns A and B as shown in Figure 10.8A, or open the Excel file Maxima.xlsx.
2. Go to Data and click on Data Analysis on the right side of the ribbon as shown in Figure 10.8A. This opens the Data Analysis dialog box.
3. Select t-Test: Two-Sample Assuming Unequal Variances. Click OK.
4. Fill in the t-Test: Two-Sample Assuming Unequal Variances dialog box as shown in Figure 10.8B. Click OK.
{ figure 10.8a Conducting a Hypothesis Test
to Compare the Difference Be- tween Two Means Using Excel: Independent Samples, s1 and s2 Unknown, and Unequal Popula- tion Variances (Steps 1–3)
{ figure 10.8b Conducting a Hypothesis Test
to Compare the Difference Be- tween Two Means Using Excel: Independent Samples, s1 and s2 Unknown, and Unequal Popula- tion Variances (Step 4)
Figure 10.8C shows Excel’s output for the fuel economy example.
Excel for Mac users can perform this procedure with PHStat and can find instructions on the textbook’s online resources.
www.freebookslides.com
C h a p t e r 10 | 10.2 Comparing Two Population Means with 459
Excel provides results for both a one-tail and a two-tail hypothesis. The two-tail output in Figure 10.8C is circled in red. Note that Excel rounds the degrees of freedom up from 13.8 to 14, which I advised against doing earlier in the chapter. Maybe somebody from Microsoft needs to take a business statistics class!
PHStat can also perform this procedure with unsummarized data using the following steps:
1. Go to Add-Ins + PHStat + Two-Sample Tests (Unsummarized Data) + Separate-Variance t Test . . . , as seen back in Figure 10.4A.
2. Fill in the Separate-Variance t Test dialog box in the same manner as seen in Figure 10.6A. Click OK.
Finally, we can use Excel’s T.DIST.2T function to determine the precise p-value for our fuel economy example as follows:
= T.DIST.2T1x, degrees_ of_ freedom2 = T.DIST.2T11.90, 132 = 0.0798
This result is consistent with the p-value range of 0.05 to 0.10 found earlier. The slight dif- ference between this result and the one found in Figure 10.8C (0.0776) is due to Excel using 14 degrees of freedom (rather than 13) and rounding that test statistic value to 1.90.
The following Your Turn problem gives you a chance to perform this type of hypothesis test to try out your skills.
{ figure 10.8c Conducting a Hypothesis Test
to Compare the Difference Be- tween Two Means Using Excel: Independent Samples, s1 and s2 Unknown, and Unequal Popula- tion Variances (Final Result)
Sprint would like to investigate if women average more minutes per month talking on their cell phones than men. The following data show the number of minutes per month a random sample of men and women talked on their phones. Assume the population variances for the number of minutes per month by men and women are not equal. These data can be found in the Excel file titled Sprint.xlsx. I suggest using Excel to calculate the sample statistics.
Men (Population 1)
314 324 288 561 295
299 319 367 207 333
Women (Population 2)
492 803 476 370 525
317 625 373 263 367
a. Perform a hypothesis test to test this claim using a = 0.01. b. If you perform this analysis correctly, you will fail to reject the null hypothesis. Can you explain the
cause of this result in spite of the large difference in sample means? c. Validate your results using Excel’s Data Analysis. d. Identify the precise p-value and interpret the result. e. What assumption needs to be made to validate these results?
Y o U r t U r n # 4N
Answers can be found on u pages 496–497
www.freebookslides.com
460 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
testing a Difference other than Zero So far in this chapter, all the examples tested whether or not there was any difference be- tween two populations. There are situations, however, where we want to test whether the difference exceeds a certain value. For example, suppose the manager at a Ruby Tuesday restaurant would like to see if the type of music played in the restaurant affects the average bill incurred per person. The theory is that slower-paced music will influence patrons to stay longer and spend more compared with faster-paced music. Table 10.8 shows the average bill per person during evenings when the music was fast-paced vs. slow-paced, along with the sample sizes and standard deviations.
{ table 10.8 | Summarized Data for Ruby Tuesday
population slow music fast music
Sample mean $45.90 $39.25
Sample standard deviation $5.60 $5.20
Sample size 23 19
The manager would like to perform a hypothesis test to determine if the average bill per person when slow music was played exceeded by more than $3.00 the average bill per person when fast music was played. We’ll assume the population variances are equal and use a = 0.05.
I’ll define Population 1 as slow music and Population 2 as fast music, resulting in the following hypothesis statement:
H0: m1 - m2 … $3.00 1Bills for slow music average $3.00 or less than fast2 H1: m1 - m2 7 $3.00 1Bills for slow music average $3.00 more than fast2
Use Equation 10.7 to calculate the pooled variance:
s2p = 1n1 - 12s21 + 1n2 - 12s22 1n1 - 12 + 1n2 - 12
s2p = 123 - 1215.6022 + 119 - 1215.2022
123 - 12 + 119 - 12 = 1222131.362 + 1182127.042
22 + 18 = 29.4160
Applying this to Equation 10.6, our t-test statistic is calculated as follows:
tx = 1x1 - x22 - 1m1 - m22H0As2p a 1n1 + 1n2 b
tx = 145.90 - 39.252 - 13.002A129.4162a 123 + 119 b = 6.65 - 3.003129.4160210.09612 = 3.651.681 = 2.17
Because we are assuming equal variances for this test, the degrees of freedom are as follows:
df = n1 + n2 - 2 = 23 + 19 - 2 = 40
Using Table 5 in Appendix A for a one-tail (upper) test, df = 40, and a = 0.05, our critical t-score is ta = 1.684. Because tx = 2.17 7 ta = 1.684, we reject the null hypoth- esis according to the decision rules shown in Table 10.5. By rejecting the null hypothesis, we can conclude that the average bill when slow music is played exceeds by more than $3.00 the average bill when fast music is played.
This is a one-tail (upper) test because the manger is testing to see if bills are larger for slow music when compared with fast music. If the manager were merely testing for a difference in bills between the two types of music, we would use a two-tail test.
Because we are testing to determine if the slow music bill averages $3.00 more than the fast music bill, we need to reduce the t-statistic by $3.00.
www.freebookslides.com
C h a p t e r 10 | 10.2 Comparing Two Population Means with 461
Using PHStat to Test for a Difference Other than Zero Because Excel’s Data Analysis Tools does not handle summarized data, I’ll demonstrate how to analyze the Ruby Tuesday example with PHStat using the following steps. Excel for Mac users can refer to the textbook’s Web site for instructions on this procedure.
1. Go to Add-Ins + PHStat + Two-Sample Tests (Summarized Data) + Pooled- Variance t Test…, as seen in Figure 10.4A.
2. Fill in the Pooled-Variance t Test dialog box as shown in Figure 10.9A, including the hypothesized difference of $3.00. Click OK.
{ figure 10.9a Testing for a Difference Other
Than Zero Using PHStat (Steps 1 and 2)
{ figure 10.9b Testing for a Difference Other
Than Zero Using PHStat (Final Result)
Figure 10.9B shows the output for this hypothesis test, which matches the results we obtained manually.
www.freebookslides.com
462 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
In this section, I demonstrated testing for a mean other than zero when the population standard deviation was unknown. This type of hypothesis test can also be performed for the case where the population standard deviation is known, which was discussed previously in Section 10.1. You will also have the opportunity to test for a difference other than zero when working with population proportions later in the chapter.
We’ve covered a lot in this section, so let’s quickly summarize what we’ve learned. We have been focusing on hypothesis testing using independent samples when the population stan- dard deviations were unknown. We handled this condition by using the sample standard devia- tions to approximate the population standard deviations. As a result, the sample test statistic followed the Student’s t-distribution. There are two scenarios to consider under this case:
1. When the population variances are equal, we used the pooled variance to calculate the test statistic.
2. When the population variances are not equal, we used Equation 10.11 to determine the number of degrees of freedom in order to identify the critical value.
Tables 10.12 and 10.13 at the end of the chapter provide a summary of equations for this section. Using these techniques, help me solve another hypothesis test involving Deb in this next Your Turn problem.
On our weekend trips to Avalon (see Your Turn #3), Deb always makes me wait until we get to New Jersey to buy gas. She is certain that the gas in New Jersey is at least $0.20 per gallon less expensive than in it is in Delaware. Undeterred by my last hypothesis-testing setback (again, see Your Turn #3), I bravely collected the following price-per-gallon data from a random selection of gas stations in both states. Assume that the population variances are equal.
Population Delaware New Jersey
Sample mean $3.75 $3.52
Sample standard deviation $0.12 $0.15
Sample size 13 10
a. Perform a hypothesis test to check Deb’s claim using a = 0.05. b. Approximate the p-value using Appendix A and interpret the results. c. Validate your results using PHStat. d. Identify the precise p-value from the PHStat output and interpret the results. e. What assumption needs to be made to validate these results?
Y o U r t U r n # 5N
Answers can be found on u page 497
10.2 Section Problems Basic Skills 10.11 Consider the following hypothesis statement using
a = 0.05 and data from two independent samples. As- sume the population variances are equal and the popula- tions are normally distributed.
H0 : m1 - m2 = 0 H1 : m1 - m2 ≠ 0 x1 = 14.3 x2 = 12.8
s1 = 2.7 s2 = 3.3 n1 = 20 n2 = 18
a. Calculate the appropriate test statistic and interpret the result.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel. d. Verify your results using PHStat.
10.12 Consider the following hypothesis statement using a = 0.05 and data from two independent samples. As- sume the population variances are equal and the popula- tions are normally distributed.
www.freebookslides.com
C h a p t e r 10 | 10.2 Comparing Two Population Means with 463
H0 : m1 - m2 … 10 H1 : m1 - m2 7 10 x1 = 76.3 x2 = 61.5
s1 = 18.4 s2 = 18.7 n1 = 16 n2 = 20
a. Calculate the appropriate test statistic and interpret the result.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel. d. Verify your results using PHStat.
10.13 Consider the following hypothesis statement using a = 0.05 and data from two independent samples. As- sume the population variances are not equal and the popu- lations are normally distributed.
H0 : m1 - m2 = 0 H1 : m1 - m2 ≠ 0 x1 = 114.7 x2 = 122.0
s1 = 24.6 s2 = 14.3 n1 = 14 n2 = 20
a. Calculate the appropriate test statistic and interpret the result.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel. d. Verify your results using PHStat.
10.14 Consider the following hypothesis statement using a = 0.10 and data from two independent samples. As- sume the population variances are not equal and the popu- lations are normally distributed.
H0 : m1 - m2 Ú 0 H1 : m1 - m2 6 0 x1 = 144.0 x2 = 156.3
s1 = 16.8 s2 = 27.0 n1 = 27 n2 = 21
a. Calculate the appropriate test statistic and interpret the result.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel. d. Verify your results using PHStat.
10.15 Consider the following data from two independent sam- ples with equal population variances. Construct a 95% confidence interval to estimate the difference in popula- tion means. Assume the population variances are equal and that the populations are normally distributed.
x1 = 37.2 x2 = 32.5 s1 = 8.9 s2 = 9.3 n1 = 15 n2 = 16
10.16 Consider the following data from two independent sam- ples with equal population variances. Construct a 90% confidence interval to estimate the difference in popula- tion means. Assume the population variances are equal and that the populations are normally distributed.
x1 = 68.7 x2 = 75.1 s1 = 12.5 s2 = 11.8 n1 = 10 n2 = 14
applications 10.17 The Transportation Security Administration would like to
compare the average amount of time it takes passengers to pass through airport security at Philadelphia versus Orlando during peak times. A random sample of 25 trav- elers in Philadelphia spent an average of 14.6 minutes to pass through airport security with a sample standard deviation of 5.8 minutes. A random sample of 27 travel- ers in Orlando spent an average of 11.5 minutes to pass through airport security with a sample standard deviation of 4.9 minutes.
a. Perform a hypothesis test using a = 0.05 to determine if the average time to pass through security in Philadelphia is more than the average time to pass through security in Orlando. Assume the population variances for time through security at these two loca- tions are equal.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel. d. Verify your results using PHStat. e. What assumptions need to be made in order to perform
this procedure?
10.18 The following table shows the average hourly wage rates for day-care centers from the Northeast and Midwest re- gions of the United States based on two random samples:
Northeast Midwest
Sample mean $9.60 $8.60 Sample standard deviation $1.25 $1.20 Sample size 26 31
a. Perform a hypothesis test using a = 0.05 to determine if the average hourly wage for day-care workers in the Northeast is $0.50 per hour higher than day-care work- ers in the Midwest. Assume the population variances for wage rates in each region are equal.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel. d. Verify your results using PHStat. e. What assumptions need to be made in order to perform
this procedure?
10.19 The following table shows the results of two random samples that measured the average number of minutes per charge for AA Lithium-ion (Li-ion) rechargeable batter- ies versus Nickel–Metal Hydride (NiMH) rechargeable batteries:
Li-ion NiMH
Sample mean 96.5 82.9 Sample standard deviation 6.5 11.2 Sample size 14 18
www.freebookslides.com
464 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
a. Perform a hypothesis test using a = 0.10 to determine if the average number of minutes per charge differs be- tween these two battery types. Assume the population variances for the number of minutes per charge are not equal.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel. d. Verify your results using PHStat. e. What assumptions need to be made in order to perform
this procedure?
10.20 Suppose a student organization at the University of Illinois collected data for a study involving class sizes from different departments. A random sample of 11 classes in the business department had an average size of 38.1 students with a sample standard deviation of 10.6 students. A random sample of 12 classes in the engineering department had an average size of 32.6 stu- dents with a sample standard deviation of 13.2 students.
a. Perform a hypothesis test using a = 0.05 to determine if the average class size differs between these depart- ments. Assume the population variances for the num- ber of students per class are not equal.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel. d. Verify your results using PHStat. e. What assumptions need to be made in order to perform
this procedure?
10.21 An online travel agent who specializes in cruises wanted to compare the cost of cruising to different destinations on various cruise lines. The following random sample data show the average cost of a seven-day cruise in a stan- dard room to Alaska vs. the average cost of a seven-day cruise in a standard room to the Caribbean. Assume the
population variances for cruise fares for these destinations are equal.
Alaska Caribbean
Sample mean $994 $925 Sample standard deviation $135 $128 Sample size 9 12
a. Construct a 95% confidence interval to estimate the difference between the average rates of cruising to Alaska vs. cruising to the Caribbean.
b. What conclusions can be made about the difference in rates between these destinations?
c. What assumptions need to be made in order to perform this procedure?
10.22 The following table shows the average number of words understood by later-born and first-born one-year-old chil- dren from two random samples. Assume the population variances of the number of words understood are equal.
Later-Born First-Born
Sample mean 430.2 552.0 Sample standard deviation 130.8 133.7 Sample size 12 12
a. Construct a 98% confidence interval to estimate the difference between the average number of words understood by first-born and later-born one-year-old children.
b. What conclusions can be made about the difference between the two populations?
c. What assumptions need to be made in order to perform this procedure?
10.3 Hypothesis Testing with Dependent Samples
Up to this point, all of the samples that we have used in the chapter have been independent samples. Samples are independent if they are not related in any way to each other. By con- trast, with dependent samples, each observation from one sample is related to an observation from the other sample.
A classic example of a dependent sample would be a weight-loss study. Each person is weighed at the beginning (Population 1) and end (Population 2) of the program. The change in weight of each person is calculated by subtracting each of the Population 2 weights from each of the Population 1 weights. In other words, each observation from Population 1 is matched to an observation in Population 2. The hypothesis test that deals with dependent samples is known as a matched-pair test because, as you will see in this section, we match up the two related observations from each population in our analysis.
With dependent samples, each observation from one sample is related to an observation from the other sample.
A hypothesis test using dependent samples is known as a matched-pair test.
www.freebookslides.com
C h a p t e r 10 | 10.3 Hypothesis Testing with Dependent Samples 465
Other examples of matched-pair tests include the following scenarios:
• The test-preparation company Kaplan would like to measure the effectiveness of its MCAT review course for students applying to medical school. Each student is given a pretest before the course, which is then compared with the student’s posttest score after having taken the course.
• Citibank would like to test the effectiveness of a promotional campaign designed to encourage customers to use its credit cards. The credit card balances of selected customers before and after the promotion are compared.
• Pfizer would like to test the effectiveness of Lipitor, its cholesterol medication. Choles- terol levels of patients before and after the medication is prescribed are compared.
Conducting a hypothesis test to Compare the Difference Between two Means with Dependent Samples Hypothesis tests for dependent samples are tested differently than those for independent samples. To demonstrate this technique, I’ll use the following example. Rockstar is an en- ergy drink distributed by PepsiCo and sold in grocery stores. Josh is a PepsiCo account manager for nine different stores and is responsible for product sales and inventory. Josh would like to test the hypothesis that placing the product on the ends of aisles results in more sales than placing the product on middle-aisle shelves, using a = 0.05. For each of his nine stores, Josh displayed the Rockstar inventory on the end of an aisle for one week and then on a middle-aisle shelf for another week. Table 10.9 shows the number of units of Rockstar sold in each aisle location at each of the nine stores. The data can also be found in the Excel file Rockstar.xlsx.
Recall the Maxima example described in Table 10.7. Because different cars were used in each population, the samples were independent. However, if the fuel economy had been measured for the same car under both conditions, the samples would have been considered dependent.
{ Table 10.9 | Rockstar Weekly Sales
store 1 2 3 4 5 6 7 8 9
End aisle 64 54 126 97 37 74 117 90 81
Middle aisle 72 41 100 62 40 60 122 62 78
I hope you recognize this as an example of two dependent samples. (I envision you look- ing at me quizzically.) Take the first two data points, 64 and 72. They are related to each other because they both were recorded from Store 1 and are, therefore, considered a matched pair. The same logic can be used for the other eight pairs of sales data from Stores 2 through 9.
As with our previous examples, we need to define our populations:
Population 1: End-aisle sales
Population 2: Middle-aisle sales
The choice for assigning populations here is completely arbitrary. I could have easily re- versed these assignments. However, once they are made, be sure to use them consistently throughout the analysis.
I’ll use the following steps to walk you through the t-test for matched pairs using a = 0.05.
Step 1: Calculate the matched-pair differences.
The matched-pair difference in our Rockstar example is found by subtracting the middle-aisle sales from the end-aisle sales for each store using Equation 10.12.
www.freebookslides.com
466 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
where
d = The matched@pair difference x1 and x2 = The matched@pair values from Populations 1 and 2, respectively Because I chose to assign end-aisle sales as Population 1, a positive value of d represents a store where end-aisle sales exceeded middle-aisle sales, which Josh hopes to conclude.
Table 10.10 shows the matched-pair difference calculations for the Rockstar example.
{ Table 10.10 | Matched-Pair Differences for Rockstar
end aisle middle aisle d
64 72 - 8
54 41 +13
126 100 +26
97 62 + 35
37 40 - 3
74 60 +14
117 122 - 5
90 62 +28
81 78 + 3
Be sure to keep track of the positive and negative values for the matched-pair differences for the next step.
Step 2: Calculate the mean and standard deviation of the matched-pair differences.
The mean of the matched-pair differences, d, can be found using Equation 10.13.
Formula 10.12 for the Matched-Pair Difference
d = x1 - x2
Formula 10.13 for the Mean of the Matched-Pair Differences
d = a
n
i = 1 di
n
where
d = The mean of the matched@pair differences di = The ith matched@pair difference n = The number of matched@pair differences
Plugging the data from Table 10.7 into Equation 10.13 provides the following result:
d = a
n
i = 1 di
n =
1 - 82 +13 + 26 + 35 + 1 - 32 + 14 + 1 - 52 + 28 + 3 9
= 103
9 = 11.44
This tells us that across the nine stores, end-aisle displays average 11.44 more unit sales per week than middle-aisle displays. Next, we calculate the standard deviation of the matched- pair differences. Here we can use either Equation 10.14 or Equation 10.15, which is the short- cut version of Equation 10.14. These equations were first introduced back in Chapter 3.
Our average difference would be negative if the middle-aisle displays averaged more sales than end-aisle. This is based on how we defined Populations 1 and 2 at the beginning.
www.freebookslides.com
C h a p t e r 10 | 10.3 Hypothesis Testing with Dependent Samples 467
where
sd = The standard deviation of the matched@pair differences
Table 10.11 shows the calculations using Equation 10.15.
Formulas 10.14 and 10.15 for the Standard Deviation of the Matched-Pair Differences
sd = H ani = 11di - d22n - 1 or
sd = a ani = 1d2i - a a n
i = 1 dib
2
n
n - 1
{ Table 10.11 | Standard Deviation Calculations for Matched-Pair Differences: Rockstar Example
di d2i
- 8 64
13 169
26 676
35 1,225
- 3 9
14 196
- 5 25
28 784
3 9
Sum of the differences: Sum of the squared differences:
a 9
i = 1 di = 103 a
9
i = 1 di 2 = 3,157
Squared sum of the differences: a a 9
i = 1 dib
2
= 110322 = 10,609
Now, carefully plug the values from Table 10.11 into Equation 10.15. Note that n = 9 because we have nine matched pairs (stores) in our sample.
sd = a ani = 1di2 - a a n
i = 1 dib
2
n
n - 1 = H 3,157 - 10,60999 - 1 = A 3,157 - 1,178.788 = 15.73
You can also use Excel to calculate the mean 1 =AVERAGE2 and the standard deviation 1 =STDEV.S2 for the matched-pair differences.
www.freebookslides.com
468 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
Step 3: Identify the null and alternative hypotheses.
Here’s the beauty of the matched-pair t-test. Instead of performing a two-sample test comparing the end-aisle and middle-aisle sales, the matched-pair test uses a one-sample test on the matched-pair differences. In the Rockstar example, if the mean population difference is positive, we have support that the end-aisle sales are higher than the middle-aisle sales. Conversely, if this difference is negative, we have evidence that the middle-aisle sales are higher than the end-aisle sales.
Because Josh would like to test whether the end-aisle sales are higher, the hypoth- eses statement for this example is as follows:
H0: md … 0 1End@aisle sales are less than or equal to middle@aisle sales2 H1: md 7 0 1End@aisle sales are higher than middle@aisle sales2
where
md = The population mean matched-pair difference
If the end-aisle population mean is greater than the middle-aisle population mean, then md will be greater than zero. This is because Equation 10.12 has defined the matched-pair difference as Population 1 (end-aisle) minus Population 2 (middle-aisle). Therefore, we have a one-tail (upper) test with this example.
Step 4: Set a value for the significance level, A.
In the opening description for this example, we set a = 0.05. Remember to choose this value before beginning the analysis.
Step 5: Calculate the appropriate test statistic.
The test statistic for our matched-pair difference is shown in Equation 10.16.
The matched-pair test uses a one-sample hypothesis test on the matched-pair differences.
Formula 10.16 for the t-Test Statistic for a Matched-Pair Hypothesis Test for the Mean
tx = d - 1md2H0
sd2n where
1md2H0 = The population mean matched-pair difference from the null hypothesis Applying the results from steps 1 and 2 to Equation 10.16, our t-test statistic is calculated as follows:
tx = d - 1md2H0
sd2n = 11.44 - 015.7329 = 11.445.24 = 2.18 Step 6: Determine the appropriate critical value.
Because the sample standard deviation, sd, was used in place of the unknown popu- lation standard deviation, the test statistic shown in Equation 10.16 follows the Student t-distribution with n - 1 degrees of freedom. For our Rockstar example, df = n - 1 = 9 - 1 = 8.
Using Table 5 in Appendix A for a one-tail (upper) test, df = 8, and a = 0.05, our critical t-score is ta = 1.860.
Step 7: Compare the t-test statistic 1tx2 with the critical t-score 1tA2. In our Rockstar example, which is a one-tail (upper) test, tx = 2.18 and
ta = 1.860. Because 2.18 7 1.860, we reject the null hypothesis according to the decision rules shown in Table 10.5. Figure 10.10 illustrates this finding. Notice that tx is in the “Reject H0” region.
Because the null hypothesis states there is no difference in the average sales between end-aisle and middle-aisle displays, this value is zero.
www.freebookslides.com
C h a p t e r 10 | 10.3 Hypothesis Testing with Dependent Samples 469
Step 8: Approximate the p-value.
Using Table 5 in Appendix A, go to the row in which df = 8 and find the values that bracket tx = 2.18. These values are 1.860 and 2.306. Going to the 1 Tail row, we find that the p-value is between 0.025 and 0.050. Because a = 0.05 is within this range, we can reject the null hypothesis.
Step 9: State your conclusions.
By rejecting the null hypothesis, we have enough evidence to conclude that the av- erage weekly sales from end-aisle displays are greater than those for middle-aisle displays. These results should encourage Josh to convince the store managers to display his Rockstar inventory at the end of aisles rather than in the middle.
Using excel for a hypothesis test Comparing the Difference Between two Means with Dependent Samples Excel’s Data Analysis Tools (Windows only) can also perform the hypothesis test compar- ing the difference between two means when working with dependent samples. However, this Excel procedure requires having the raw data available as seen in Table 10.9 in our Rockstar weekly sales example using the following steps:
1. Enter the Rockstar sales data in Columns A through C as shown in Figure 10.11A, or open the Excel file Rockstar.xlsx.
2. Go to Data and click on Data Analysis on the right side of the ribbon, as shown in Figure 10.11A. This opens the Data Analysis dialog box.
3. Select t-Test: Paired Two Sample for Means. Click OK.
0
Do Not Reject H0 Reject H0
= 0.05
t = 1.860 tx = 2.18 t scale
{ figure 10.10 Comparing the t-Test Statistic
with the Critical t-Score
{ figure 10.11a Conducting a Hypothesis Test
Comparing the Difference Between Means Using Excel: Dependent Samples (Steps 1–3)
4. Fill in the t-Test: Paired Two Sample for Means dialog box as shown in Figure 10.11B. Click OK.
Excel for Mac users can perform this procedure with PHStat and can find instructions on the textbook’s online resources.
www.freebookslides.com
470 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
{ figure 10.11b Conducting a Hypothesis Test
Comparing the Difference Between Means Using Excel: Dependent Samples (Step 4)
Figure 10.11C shows the Data Analysis output for the Rockstar sales example.
{ figure 10.11c Conducting a Hypothesis Test
Comparing the Difference Between Means Using Excel: Dependent Samples (Final Result)
Notice that the p-value for this test is shown in Cell E11 and is equal to 0.03027 (circled in red). Because this value is less than a = 0.05, we reject the null hypothesis. This value is also consistent with the p-value approximation between 0.025 and 0.05 when using Table 5 in Appendix A.
PHStat can also perform this procedure with unsummarized data using the following steps:
1. Go to Add-Ins + PHStat + Two-Sample Tests (Unsummarized Data) + Paired t Test…, as seen back in Figure 10.4A.
2. Fill in the Paired t Test dialog box in the same manner as seen back in Figure 10.6A. Click OK.
What would happen if we considered the end-aisle data to be independent of the middle- aisle data? Well, let’s see what happens. It’s easy enough to check with Excel by going back to your original Rockstar data file. In Figure 10.11A, rather than select t-Test: Paired Two Sample for Means, choose t-Test: Two-Sample Assuming Unequal Variances (two choices down). I make this choice due to the fact that I have no information indicating that the vari- ances are equal. After completing the dialog box, you’ll get the results shown in Figure 10.12.
{ figure 10.12 Conducting a Hypothesis Test
Comparing the Difference Between Means: Independent Samples (Final Result)
www.freebookslides.com
C h a p t e r 10 | 10.3 Hypothesis Testing with Dependent Samples 471
The p-value for this test, shown in Cell F10, is 0.1969, which is greater than a = 0.05. According to this test, we now fail to reject the null hypothesis! What the heck happened? Notice that there is a fair amount of variability in the sales data between the stores. For instance, the sales in Store 3 seem to be much larger than that in Store 5 when you look at Figure 10.12. This high variability within each sample makes it more challenging to find evi- dence that one population has a larger mean than another. This, in turn, makes it more diffi- cult to reject the null hypothesis. This can be visualized by looking at Equation 10.10, which is one of our test statistics for independent samples.
tx = 1x1 - x22 - 1m1 - m22H0A a s21n1 + s22n2 b
As the values for s1 and s2 get larger (more variability), the test statistic, tx, becomes closer to zero, which is in the “Do Not Reject H0” region shown in Figure 10.10. When we treat these two samples as independent, the high variability from store to store makes it more difficult for tx to land in the “Reject H0” region.
By treating these samples as matched pairs and taking their differences, we reduce the effect of the variability from store to store. This provides us with a more powerful hypoth- esis test. If Josh had just randomly collected independent end-aisle and middle-aisle data without recording the stores that they came from, he might have had no evidence to conclude that end-aisle outsold middle-aisle positions. By using the matched-pair–dependent samples, Josh was able to reject the null hypothesis and make an important discovery. Think about this the next time you pass an end-aisle display at the grocery store.
One last important point needs to be made. In this example, we had small sample sizes and used the sample standard deviations in place of the unknown population standard devia- tions. Under these conditions, the matched-pair differences need to follow the normal prob- ability distribution. However, if we have 30 or more matched pairs, this requirement can be relaxed because of the Central Limit Theorem.
Unfortunately, this is no time for you to relax. Try this dependent-sample Your Turn problem while the technique is still fresh in your mind.
High variability within each sample (high values for s1 and/or s2) results in a lower value for t subscript x. This, in turn, makes it less likely that we will reject H0.
Suppose in my spare time I developed a new golf ball that I claimed increased a golfer’s driving distance from the tee by more than 15 yards. To test my claim, I had eight golfers hit my golf ball and also hit their own golf ball. The distance in yards for each ball by each golfer is shown in the following table and can be found in the Excel file titled driving distance.xlsx.
Golfer 1 2 3 4 5 6 7 8
My ball 201 228 256 233 248 255 239 220
Their ball 204 213 231 241 223 226 212 186
a. Perform a hypothesis test to test this claim using a = 0.10. b. Approximate the p-value using Table 5 in Appendix A and interpret the results. c. Validate your results using Excel’s Data Analysis. d. Identify the p-value using Excel and interpret the results. e. What assumption needs to be made to validate these results?
Y o U r t U r n # 6N
Answers can be found on u pages 498–499
Using a Confidence Interval to Compare the Difference Between two Means with Dependent Samples Confidence intervals can also be constructed around the mean of a matched-pair difference, d, when working with dependent samples. The upper and lower limits for this interval can be found using Equations 10.17 and 10.18, respectively.
www.freebookslides.com
472 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
where
UCL d = The upper limit for the confidence interval LCL d = The lower limit for the confidence interval Let’s construct a 90% confidence interval to estimate the true matched-pair difference
between the end-aisle and middle-aisle sales for Rockstar energy drink. Using Table 5 in Appendix A for a 90% confidence interval and df = n - 1 = 9 - 1 = 8, our critical t-score is ta>2 = 1.860. In the previous section, we identified the following values:
d = 11.44 sd = 15.73 n = 9
Using these values in Equations 10.17 and 10.18, we have our limits for the 90% confi- dence interval:
UCL d = d + ta>2 sd2n
UCL d = 11.44 + 11.8602 15.7329 = 11.44 + 9.75 = 21.19
LCL d = d - ta>2 sd2n
LCL d = 11.44 - 11.8602 15.7329 = 11.44 - 9.75 = 1.69
Our 90% confidence interval is (1.69, 21.19). This means we are 90% confident that the dif- ference between the sales for the end-aisle and middle-aisle locations is between 1.69 and 21.19 units per week. The fact that this interval does not include zero provides more evi- dence that the difference between these two locations is not equal to zero.
This next Your Turn problem will give you a chance to construct a confidence interval around two dependent samples.
Formulas 10.17 and 10.18 for the Confidence Interval for the Difference Between the Means of Dependent Samples
UCL d = d + ta>2 sd2n
LCL d = d - ta>2 sd2n
Construct a 95% confidence interval around the mean of the matched-pair difference using the golf ball data shown in Your Turn #6. Interpret the results.
Y o U r t U r n # 7N
Answers can be found on u page 499
To summarize, this section considered the case in which the samples are dependent on one another and are also known as matched pairs—that is, each observation from one sample is related to an observation from the other sample. This two-sample hypothesis test is reduced to a one-sample test by taking the difference of the matched pairs. Tables 10.12 and 10.13 at the end of the chapter provide a summary of equations for this section.
www.freebookslides.com
C h a p t e r 10 | 10.3 Hypothesis Testing with Dependent Samples 473
10.3 Section Problems Basic Skills 10.23 The following two samples were collected as matched
pairs:
Pair 1 2 3 4 5 6 7
Sample 1 5 6 9 4 6 7 8
Sample 2 4 2 6 6 5 9 6
a. State the null and alternative hypotheses to test if a dif- ference in means exists between the populations repre- sented by Samples 1 and 2.
b. Calculate the appropriate test statistic and interpret the results of the hypothesis test using a = 0.05.
c. Approximate the p-value using Table 5 in Appendix A and interpret the result.
d. Verify your results using Excel’s Data Analysis. Mac users can rely on PHStat for this procedure.
e. Identify the p-value from Excel and interpret the result. f. What assumptions need to be made in order to perform
this procedure?
10.24 The following two samples were collected as matched pairs:
Pair 1 2 3 4 5 6
Sample 1 7 6 9 5 6 8
Sample 2 4 2 6 6 1 8
a. State the null and alternative hypotheses to test if the population represented by Sample 1 has a higher mean than the population represented by Sample 2.
b. Calculate the appropriate test statistic and interpret the results of the hypothesis test using a = 0.05.
c. Approximate the p-value using Table 5 in Appendix A and interpret the result.
d. Verify your results using Excel’s Data Analysis. Mac users can rely on PHStat for this procedure.
e. Identify the p-value from Excel and interpret the result. f. What assumptions need to be made in order to perform
this procedure?
10.25 The following two samples were collected as matched pairs:
Pair 1 2 3 4 5 6 7 8
Sample 1 8 4 6 9 9 7 9 8
Sample 2 4 2 6 6 1 8 1 4
a. State the null and alternative hypotheses to test if the population represented by Sample 1 has a mean that is 2.0 units higher than the population represented by Sample 2.
b. Calculate the appropriate test statistic and interpret the results of the hypothesis test using a = 0.10.
c. Approximate the p-value using Table 5 in Appendix A and interpret the result.
d. Verify your results using Excel’s Data Analysis. Mac users can rely on PHStat for this procedure.
e. Identify the p-value from Excel and interpret the result.
f. What assumptions need to be made in order to perform this procedure?
10.26 The following two samples were collected as matched pairs:
Pair 1 2 3 4 5 6 7
Sample 1 8 4 6 9 9 7 9
Sample 2 4 2 6 5 1 8 1
a. Construct a 95% confidence interval to estimate the difference in means between the populations from which Samples 1 and 2 were drawn.
b. What conclusions can be made based on these results?
10.27 The following two samples were collected as matched pairs:
Pair 1 2 3 4 5 6 7 8
Sample 1 8 4 6 9 9 7 9 8
Sample 2 5 7 6 5 6 9 7 6
a. Construct a 90% confidence interval to estimate the difference in means between the populations from which Samples 1 and 2 were drawn.
b. What conclusions can be made based on these results?
applications 10.28 Swype is an input technique for touch-screen devices that
allows users to input a word by sliding a finger from let- ter to letter. The user’s finger is only removed from the keyboard between words. The following table shows the typing speeds of 10 individuals who were measured typ- ing using both methods. These data can also be found in the Excel file Swype.xlsx.
Person 1 2 3 4 5 6 7 8 9 10
Swype 48 52 42 36 53 40 37 32 54 46
Traditional 40 45 36 27 44 40 42 38 46 37
www.freebookslides.com
474 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
a. Perform a hypothesis test using a = 0.05 to deter- mine if the average typing speed using these two input methods is different.
b. Approximate the p-value using Table 5 in Appendix A and interpret the result.
c. Verify your results using Excel’s Data Analysis. Mac users can rely on PHStat for this procedure.
d. Identify the p-value using Excel and interpret the result.
e. What assumptions need to be made in order to perform this procedure?
10.29 The MCAT is a standardized test used by medical schools in the admissions process. The scale of this exam ranges from 3 to 45. A new type of review course for the MCAT was developed by a training company. The following table shows MCAT scores for nine students before and after taking the review course. These data can also be found in the Excel file MCAT.xlsx.
Student 1 2 3 4 5 6 7 8 9
Before 26 21 20 31 18 33 25 23 30
After 28 26 17 34 20 31 26 22 32
a. Perform a hypothesis test using a = 0.05 to determine if the average MCAT score is higher for students after the review course when compared with before the course.
b. Approximate the p-value using Table 5 in Appendix A and interpret the result.
c. Verify your results using Excel. Mac users can rely on PHStat for this procedure.
d. Identify the p-value using Excel and interpret the result. e. What assumptions need to be made in order to perform
this procedure?
10.30 A new weight-loss program claims that participants will lose an average of more than 10 lbs after completing it. The following table shows the weights of eight individu- als before and after the program. These data can also be found in the Excel file weight loss.xlsx.
Person 1 2 3 4 5 6 7 8
Before 227 214 207 186 203 198 243 190
After 202 194 194 172 195 180 231 192
a. Perform a hypothesis test using a = 0.10 to determine if the average weight loss was more than 10 lbs for par- ticipants in the weight-loss program.
b. Approximate the p-value using Table 5 in Appendix A and interpret the result.
c. Construct an 80% confidence interval to estimate the average weight loss for individuals in the program. Interpret the results.
d. Verify your results using Excel’s Data Analysis. Mac users can rely on PHStat for this procedure.
e. Identify the p-value using Excel and interpret the result.
f. What assumptions need to be made in order to perform this procedure?
10.31 The following table shows the golf scores of nine people before and after a lesson given by the golf professional at Pike Creek Golf Club. These data can also be found in the Excel file lessons.xlsx.
Golfer 1 2 3 4 5 6 7 8 9
Before lesson 96 88 94 86 102 90 100 90 99
After lesson 88 81 95 79 95 85 101 85 95
a. Using a = 0.05, test the professional’s claim that the average golfer will lower his or her score by more than two strokes after a lesson.
b. Approximate the p-value using Table 5 in Appendix A and interpret the result.
c. Construct a 90% confidence interval to estimate the av- erage reduction in golf scores after the lesson. Interpret the results.
d. Verify your results using Excel’s Data Analysis. Mac users can rely on PHStat for this procedure.
e. Identify the p-value using Excel and interpret the result.
f. What assumptions need to be made in order to perform this procedure?
10.4 Comparing Two Population Proportions with Independent Samples
Now that we have exhausted every conceivable hypothesis test for comparing population means (and yes, I am exhausted), it’s time to move on to proportions, which will wrap up this chapter. There are many interesting applications in which a hypothesis test can be used to compare two population proportions, such as the following:
• An insurance company would like to know if the proportion of young male drivers who have car accidents differs from the proportion of young female drivers who have car accidents.
www.freebookslides.com
C h a p t e r 10 | 10.4 Comparing Two Population Proportions with Independent Samples 475
• A bank would like to compare the proportion of young customers to the proportion of older customers who pay their bills online. Recall that we discussed the single sample test for a proportion in Chapter 9. This sec-
tion expands that concept by demonstrating the two-population scenario, which is illustrated in Figure 10.13.
{ figure 10.13 The Sampling Distribution for
the Difference in Population Proportions
=
+=
p1 – p2
p1 p2
p1 – p2
p2
Sample
Population 1 Population 2
p1 unknown
Sample
p2 unknown
n1 n2
Sampling Distribution for the Proportion (Population 1)
Sampling Distribution for the Proportion (Population 2)
Graph 1 Graph 2
Graph 3
Sampling Distribution for the Difference in Proportions
n2
p2(1 – p2)
n2
p2(1 – p2)
= n1
p1(1 – p1)
n1
p1(1 – p1)
p1
To demonstrate this technique, let’s use the following example. The recent economic downturn has had a negative impact on the nation’s homeownership rate, which is found by dividing the number of owner-occupied housing units by the total number of housing units. Suppose the government would like to compare this rate in the northeastern United States to the rate in the southeastern United States. A random sample of 150 southeastern homes was drawn, and it was found that 105 were owner-occupied. A random sample of 125 northeast- ern homes was drawn, and it was found that 80 were owner-occupied. I’ll assign the popula- tions as follows:
Population 1: Southeast Population 2: Northeast
Figure 10.13 uses the following notation:
p1 = The true proportion of owner@occupied homes in the Southeast p2 = The true proportion of owner@occupied homes in the Northeast p1 = The sample proportion of owner@occupied homes in the Southeast p2 = The sample proportion of owner@occupied homes in the Northeast n1 = The sample size from the southeastern population n2 = The sample size from the northeastern population
Graphs 1 and 2 in Figure 10.13 show the sampling distribution for the proportion for each of the two populations. We examined these scenarios in Chapter 9. The mean and
As before, the choice of assigning populations is arbitrary.
www.freebookslides.com
476 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
standard deviation (also known as the standard error) for each distribution are indicated as well. Nothing new here.
Graph 3 is where we break new ground. Here I show the sampling distribution for the difference in proportions. This new distribution is the result of subtracting one sampling distribution for the proportion from a second sampling distribution for the proportion. What we are doing is similar to what we did at the start of this chapter when we estimated population means. A key equation in this figure is the standard deviation, of this new dis- tribution, which is known as the standard error for the difference in population proportions and is shown in Equation 10.19.
The sampling distribution for the difference in proportions is the result of subtracting one sampling distribution for the proportion from a second sampling distribution for the proportion.
The standard error of the difference between population proportions describes the variation in the difference between two sample proportions.
Formula 10.19 for the Standard Error for the Difference in Population Proportions
sp1 - p2 = B p111 - p12n1 + p211 - p22n2 However, it is the values of p1 and p2 that we are trying to estimate because
they are unknown. Our solution? We replace p1 and p2 with p1 and p2, which are the sample proportions taken from Populations 1 and 2. Doing so gives us the approximate standard error for the difference in population proportions, snp1 - p2, which is shown in Equation 10.20.
The approximate standard error of the difference between population proportions uses p
_ 1 and p
_ 2 to estimate the
values of p1 and p2 when determining the standard deviation.
Formula 10.20 for the Approximate Standard Error for the Difference in Population Proportions
snp1 - p2 = B p111 - p12n1 + p211 - p22n2 Let’s put this equation to work. First, we need to calculate the sample proportions, as follows:
p1 = x1 n1
= 105
150 = 0.70 p2 =
x2 n2
= 80
125 = 0.64
where
x1 and x2 = The number of owner-occupied homes from the southeastern and northeast- ern samples, respectively
Plugging these values into Equation 10.20, we have the approximate standard error for the difference in proportions:
snp1 - p2 = B p111 - p12n1 + p211 - p22n2 snp1 - p2 = B 10.70211 - 0.702150 + 10.64211 - 0.642125 snp1 - p2 = 20.001400 + 0.001843 = 20.003243 = 0.056947
Keep this value handy because we will need it in the next section.
I suggest taking the standard error of the difference between population proportion calculations out to six decimal places to avoid rounding errors. I know this is a pain, but I’m trying to save you more pain later on!
www.freebookslides.com
C h a p t e r 10 | 10.4 Comparing Two Population Proportions with Independent Samples 477
Notice that the shapes of all three sampling distributions in Figure 10.13 appear to re- semble the normal probability distribution. As you might recall from Chapter 7, proportion data follow the binomial distribution, which can be approximated by the normal distribution if we have relatively large sample sizes. In this section, we will assume our sample sizes are large enough to meet this requirement.
We are now ready to start comparing these two populations. We’ll begin with a look at constructing a confidence interval and then wrap up this chapter with one last hypothesis test.
Using a Confidence Interval to Compare the Difference Between two proportions Our point estimate for the difference between population proportions is simply the difference between the sample proportions, p1 - p2. In our example, the estimate for the difference in homeownership rates between the Southeast and Northeast is as follows:
p1 - p2 = 0.70 - 0.64 = 0.06
We can construct a confidence interval around this point estimate using Equations 10.21 (upper limit) and 10.22 (lower limit).
Had our population definitions been reversed, this value would be - 0.06, which would also be perfectly acceptable.
Formulas 10.21 and 10.22 for the Confidence Interval for the Difference Between Two Proportions
UCL p1 - p2 = 1p1 - p22 + za>2 nsp1 - p2 LCL p1 - p2 = 1p1 - p22 - za>2snp1 - p2
where
UCL p1 - p2 = The upper limit for the confidence interval LCL p1 - p2 = The lower limit for the confidence interval
nsp1 - p2 = The approximate standard error of the difference between two proportions (Equation 10.20)
Let’s construct a 95% confidence interval to estimate the true difference between the homeownership rates between the Southeast and Northeast. We can use Table 10.1 to find the appropriate critical z-score by identifying the row with an a value of 0.05 and two tails (remember, all confidence intervals have two tails). Our critical z-score is set at za>2 = 1.96 for this interval. From the previous section, we know that snp1 - p2 = 0.056947. Putting Equa- tions 10.21 and 10.22 to work results in the following:
UCL p1 - p2 = 1p1 - p22 + za>2snp1 - p2 UCL p1 - p2 = 0.06 + 11.96210.0569472 = 0.172 UCL p1 - p2 = 1p1 - p22 - za>2snp1 - p2 LCL p1 - p2 = 0.06 - 11.96210.0569472 = -0.052
Our 95% confidence interval is 1 -0.052, 0.1722. This means we are 95% confident that the difference in homeownership rates between the Southeast and Northeast is between - 5.2% and 17.2%. The -5.2% simply refers to the possibility that the homeownership rate in the Northeast (Population 2) is 5.2% larger than the rate in the Southeast (Population 1). Because this confidence interval does include 0%, we have no evidence that the homeowner- ship rates are different between these two sections of the country.
www.freebookslides.com
478 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
Conducting a hypothesis test to Compare the Difference Between two proportions When performing a hypothesis test for the difference between two proportions, the null hypothesis assumes that the populations have equal proportions 1p1 = p22. Therefore, we have three possible hypotheses statements:
Two-Tail One-Tail One-Tail
H0: p1 - p2 = 0 H0: p1 - p2 … 0 H0: p1 - p2 Ú 0 H1: p1 - p2 ≠ 0 H1: p1 - p2 7 0 H0: p1 - p2 6 0
Suppose the government would like to perform a hypothesis test to decide whether there is enough evidence to conclude that there is a difference in homeownership rates between the Southeast and Northeast using a = 0.05. I will demonstrate this procedure using the following steps.
Step 1: Identify the null and alternative hypotheses. Because we are testing for a difference in rates rather than testing if one section is greater than the other, we have the following two-tail hypothesis statement:
H0: p1 - p2 = 0 1No difference in ownership rates between regions2 H1: p1 - p2 ≠ 0 1Ownership rates are different between regions2
where
p1 = The true proportion of owner@occupied homes in the Southeast p2 = The true proportion of owner@occupied homes in the Northeast
Step 2: Set a value for the significance level, A. For this example, we had set a = 0.05.
Step 3: Calculate the appropriate test statistic.
When we assume that p1 = p2 with the null hypothesis, we can estimate the overall proportion between the two populations using Equation 10.23. This is known as the pooled estimate of the overall proportion, pn. This is analogous to the pooled vari- ance for a difference in means that we used earlier in the chapter when we assumed the population variances were equal.
Because the government is testing only for a difference in ownership rates (rather than if one region has a greater rate than the other), this is a two-tail test.
Formula 10.23 for the Pooled Estimate for the Overall Proportion
pn = x1 + x2 n1 + n2
This is simply a weighted average of the two sample proportions taken from the popula- tions. Using our homeownership data, we have the following:
pn = x1 + x2 n1 + n2
= 105 + 80 150 + 125
= 185
275 = 0.673
Our estimate of the homeownership rate of both sections combined is 67.3%.
We can now calculate the test statistic for a difference between population proportions, zp, using Equation 10.24.
Formula 10.24 for the z-Test Statistic for a Hypothesis Test for the Difference Between Two Proportions
zp = 1p1 - p22 - 1p1 - p22H0Apn11 - pn2a 1n1 + 1n2 b
The term 1p1 - p22H0 refers to the hypothesized difference between the two population proportions. When the null hypothesis is testing that there is no difference between population proportions, then the term 1p1 - p22H0 is set to 0.
www.freebookslides.com
C h a p t e r 10 | 10.4 Comparing Two Population Proportions with Independent Samples 479
where 1p1 - p22H0 = The hypothesized difference in population proportions Our test statistic for the homeownership example is as follows:
zp = 1p1 - p22 - 1p1 - p22H0Apn11 - pn2a 1n1 + 1n2 b = 10.70 - 0.642 - 102B 10.673211 - 0.6732a 1150 + 1125 b
zp = 0.06210.673210.32720.014667 = 0.0620.003228 = 0.060.056815 = 1.06
Step 4: Determine the appropriate critical value. Because the test statistic in Equation 10.24 follows the normal distribution, we can use Table 10.1 to determine the critical value, za>2. For a two-tail test with a = 0.05, our critical z-score is za>2 = 1.96.
Step 5: Compare the z-test statistic 1zp2 with the critical z-score 1zA,2 2. In our homeownership example, which is a two-tail test, � zp � = 1.06 and � za>2 � = 1.96. Because 1.06 6 1.96, we fail to reject the null hypothesis. Figure 10.14 illustrates this finding. Notice that zp is in the “Do Not Reject H0” region.
{ figure 10.14 Comparing the z-Test Statistic
with the Critical z-Score.
0
Do Not Reject H0 Reject H0
/2 = 0.025 Reject H0
/2 = 0.025
–z /2 = –1.96 z /2 = 1.96 zp = 1.06z scale
Step 6: Calculate the p-value. The two-tail p-value for our homeownership example is as follows:
p@value = 2 * P1zp 7 1.062 p@value = 12211 - 0.85542 = 12210.14462 = 0.2892
The total area of the two shaded regions in Figure 10.15 represents this p-value.
{ figure 10.15 The p-Value for a Two-Tail
Hypothesis Test
0
0.8554
zp = –1.06 zp = 1.06
p-value = 0.1446 + 0.1446 = 0.2892
area = 0.1446area = 0.1446
z scale
Because our p-value = 0.2892 and is greater than a = 0.05, we fail to reject the null hypothesis.
Step 7: State your conclusions. By failing to reject the null hypothesis, we conclude that we do not have enough ev- idence to support the alternative hypothesis, H1: p1 - p2 ≠ 0. We cannot conclude that the homeownership rates are different when comparing the southeastern with the northeastern part of the country. This result is consistent with the confidence interval we previously constructed.
To find the area associated with zp 7 1.06, we first need to find the area for zp … 1.06. Using Table 4 in Appendix A, we determine that this area equals 0.8554. Therefore, zp 7 1.06 = 1.0 - 0.8554
= 0.1446.
www.freebookslides.com
480 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
Using phStat to Compare two population proportions Now it’s time to turn these procedures over to PHStat, using the following steps. Excel for Mac users can find these instructions on the textbook’s web site.
1. Go to Add-Ins + PHStat + Two-Sample Tests (Summarized Data) + Z Test for Differences in Two Proportions, as seen in Figure 10.4A.
2. Fill in the Z Test for Differences in Two Proportions dialog box as shown in Figure 10.16A. Click OK.
{ figure 10.16a Conducting a Hypothesis Test
Using PHStat to Compare the Difference Between Two Proportions (Steps 1 and 2)
Figure 10.16B shows the output for this hypothesis test, including the confidence inter- val, which matches the results we obtained manually.
{ figure 10.16b Conducting a Hypothesis Test
Using PHStat to Compare the Difference Between Two Popula- tion Proportions (Final Result)
Once again we can also rely on Excel’s NORM.S.DIST function to help determine the p-value for our two-tail test:
=NORM.S.DIST11.06, TRUE2 = 0.8554
If we wanted to test for a difference other than zero as we did earlier in the chapter, we would input that value here.
www.freebookslides.com
C h a p t e r 10 | 10.4 Comparing Two Population Proportions with Independent Samples 481
Remember, this function always provides the area to the left of the test statistic. Our p-value is double the area to the right of the test statistic, zp = 1.06, which is
p@value = 12211.0 - 0.85542 = 12210.14462 = 0.2892 As you can see, this result matches what we observed in Figure 10.15. The slight difference between this value and the one seen in Cell B23 in Figure 10.16B is due to rounding.
In this final section, we compared two population proportions. Proportions follow the binomial probability distribution, which can be approximated with the normal distribution under the proper conditions. The standard error for the test statistic, shown as Equation 10.20, uses the sample proportions as an estimate for the population proportions. Tables 10.12 and 10.13 at the end of the chapter provide a summary of equations for this section. Why don’t you apply this technique to this last Your Turn problem to wrap up your understanding of Chapter 10?
Bank of America would like to test the hypothesis that a higher percentage of younger customers use online banking compared with older customers. In a survey of 80 customers under the age of 40, it was found that 68 of them used online banking for the majority of their services. From a group of 100 customers 40 years and older, 72 used online banking for the majority of their services.
a. Using a = 0.05 and following the seven steps outlined in this section, perform a hypothesis test to test the claim that a higher proportion of younger customers use online banking.
b. Construct a 95% confidence interval around these sample data. c. Verify your results using PHStat.
Y o U r t U r n # 8N
Answers can be found on u pages 499–500
Stats in practice: Using hypothesis testing for Good Student Discounts
Liberty Mutual Insurance Company is the fifth largest insurer of automobiles and homes in the United States. As a result, the company relies heavily on statistics as a tool to determine the premiums its policyholders pay. For example, Liberty Mutual provides drivers with zero to six years of driving experience a 10% discount on collision coverage if they qualify as good students. A good student is defined as anyone enrolled in high school or college who maintains a GPA of at least 3.0. Do good students have fewer accidents when compared with other young drivers who do not qualify as good students?
To answer this question, the following data were taken from a single state during 2009 for policyholders with zero to six years of driving experience:
We’ll set up the following hypothesis test using a = 0.05 with good students as Population 1 and the others as Population 2.
Number of Policyholders
Number of Accidents
Proportion
Good students 1,207 167 0.138
Others 4,963 799 0.161
Step 1: Identify the null and alternative hypotheses.
H0: p1 - p2 Ú 0 (Good students have an equal or higher proportion of accidents)
H1: p1 - p2 6 0 (Good students have a lower proportion of accidents)
(continued )
www.freebookslides.com
482 C h a p t e r 10 | Hypothesis Tests Comparing Two Populations
10.4 Section Problems Basic Skills 10.32 Consider the following hypothesis statement using
a = 0.10 and the following data from two independent samples:
H0: p1 - p2 Ú 0 H1: p1 - p2 6 0 x1 = 60 x2 = 72 n1 = 150 n2 = 160
a. Calculate the appropriate test statistic and interpret the result.
b. Calculate the p-value and interpret the result. c. Verify your results using PHStat.
10.33 Consider the following hypothesis statement using a = 0.02 and the following data from two independent samples:
H0: p1 - p2 … 0.20 H1: p1 - p2 7 0.20 x1 = 190 x2 = 118 n1 = 225 n2 = 200
a. Calculate the appropriate test statistic and interpret the result.
b. Calculate the p-value and interpret the result. c. Verify your results using PHStat.
10.34 Consider the following hypothesis statement using a = 0.05 and the following data from two independent samples:
H0: p1 - p2 = 0 H1: p1 - p2 ≠ 0 x1 = 18 x2 = 24 n1 = 85 n2 = 105
a. Calculate the appropriate test statistic and interpret the result.
b. Calculate the p-value and interpret the result. c. Verify your results using PHStat.
10.35 Consider the following data from two independent sam- ples. Construct a 90% confidence interval to estimate the difference in population proportions.
x1 = 46 x2 = 48 n1 = 90 n2 = 80
10.36 Consider the following data from two independent sam- ples. Construct a 90% confidence interval to estimate the difference in population proportions.
x1 = 92 x2 = 76 n1 = 130 n2 = 150
Using PHStat, we come up with the following results shown in Figure 10.17.
Step 2: Set a value for the significance level, A.
For this analysis, we’ll use a = 0.05.
Step 3: Identify the appropriate test statistic.
According to our PHStat output, zp = - 1.94 Step 4: Determine the appropriate critical value.
According to our PHStat output, - za = - 1.645. Step 5: Compare the z-test statistic 1zp2 with the critical
z-score 1zA2. Because zp = - 1.94 6 - za = - 1.645, we reject the null hypothesis.
Step 6: Identify the p-value.
According to our PHStat output, the p-value = 0.0262. Because this values is less than a = 0.05, we reject the null hypothesis.
Step 7: State your conclusions. Based on this sample, we can conclude that good students have fewer accidents than other drivers in this age group from this particular state. This analysis supports Liberty Mutual’s decision to provide a discount to young drivers who are good students.
Special thanks to Liberty Mutual for providing this material.
{ figure 10.17
www.freebookslides.com
C h a p t e r 10 | 10.4 Comparing Two Population Proportions with Independent Samples 483
applications 10.37 Economists theorize that the recent recession has affected
men more than women because men are typically em- ployed in industries that have been hit hardest by the re- cession, such as manufacturing and construction. Women, on the other hand, are typically employed in services such as health care and education, which are considered more recession resistant. A sample of 175 men and a sample of 140 women were drawn. Eighteen in the group of men were unemployed; 12 in the group of women were unemployed.
a. Perform a hypothesis test using a = 0.05 to determine if the unemployment rate for men is higher than the rate for women.
b. Determine the p-value and interpret the results. c. Verify your results using PHStat.
10.38 A major challenge for retailers like Best Buy is “show- rooming” which describes customers who browse through their stores and then make their purchase from an online competitor. In an effort to measure the volume of show- rooming, Best Buy observes the percentage of customers who leave their stores with a purchase. Suppose Best Buy would like to investigate if the percentage of women who leave the store with a purchase is higher than the percent- age of men. A random sample of 170 female shoppers was selected and it was found that 73 left the store with a purchase. A random sample of 150 male shoppers was selected and it was found that 56 left the store with a purchase.
a. Perform a hypothesis test with a = 0.10 to determine if the percentage of women who leave the store with a purchase is higher than the percentage of men.
b. Determine the p-value and interpret the results. c. Verify your results using PHStat.
10.39 People are considered obese when they are approximately 30 lbs over their healthy weight. Obesity can increase the risk of heart disease and diabetes, which could add to the cost of the health care system. Two random samples of adults were selected. The individuals in one of the
samples lacked high school diplomas. The individuals in the other sample held college degrees. The number of people sampled and the obese individuals from each sample are as follows:
No High School Diploma College Degree
x1 = 70 x2 = 37 n1 = 205 n2 = 180
a. Perform a hypothesis test using a = 0.05 to determine if the proportion of obese individuals without high school diplomas differs from the proportion of obese individuals who have college degrees.
b. Determine the p-value and interpret the results. c. Verify your results using PHStat.
10.40 Office occupancy in a city is an indication of the eco- nomic health of the region in which it is located. A ran- dom sample of 165 offices in Boston was selected and it was found that 24 were vacant. A random sample of 145 offices in Chicago was selected and it was found that 17 were vacant.
a. Construct a 95% confidence interval to estimate the difference in vacancy rates between these two cities. What conclusions can be made?
b. Verify your results using PHStat.
10.41 Passing the ball between two players during a soccer game is a critical skill for the success of a team. A random sample of passes made by the English and German teams in a recent World Cup was drawn, and the number of suc- cessful passes in each sample was counted. The data are as follows:
Germany England
x1 = 69 x2 = 71 n1 = 76 n2 = 91
a. Construct a 90% confidence interval to estimate the difference in accuracy between the German and English passes. What conclusions can be made?
b. Verify your results using PHStat.
www.freebookslides.com
484
The sampling distribution for the difference in means is the result of subtracting one sampling dis- tribution for the mean from a second sampling distribution for the mean.
The standard error of the difference between two means describes the variation in the sampling dis- tribution for x1 - x2.
Two samples are independent of one another when the results observed when sampling from one population have no effect on the results observed when sampling from the other population.
When constructing a hypothesis test for the difference in means when the standard deviations of two populations are known, we use the normal distribution to determine the critical value that iden- tifies the rejection region for the null hypothesis.
We can also use the p-value to determine the conclusion for a hypothesis test. Confidence intervals can be constructed around the difference between two sample means to esti-
mate where the true difference in population means lies.
• When the confidence interval for the difference between two means does not include zero, we have supporting evidence that a difference between the population means does exist.
• When the confidence interval for the difference between two means includes zero, we do not have supporting evidence that a difference between the population means exists.
When the population standard deviations are not known to us, we substitute the sample standard deviations in their place.
• When doing so, the Student’s t-distribution is used in place of the normal distribution to iden- tify the rejection region.
• Under this scenario, both populations need to be normally distributed.
• However, if the populations are not normally distributed, the t-distribution can still be used to identify the rejection region if both sample sizes are 30 or more.
• When the population variances are equal, the pooled variance is used to calculate the test statistic.
• The corresponding critical value uses n1 + n2 - 2 degrees of freedom. • When the population variances are not equal, the degrees of freedom for the critical value are determined using Equation 10.11.
With dependent samples, the observation from one of the samples is related to a corresponding ob- servation from the other sample.
A hypothesis test using dependent samples is known as a matched-pair test. Rather than treat each sample independently, the difference between each matched pair is calcu-
lated. This difference is then treated as a one-sample hypothesis test.
Using matched-pair tests, when possible, reduces the effect of variability within each sample, which results in a more powerful hypothesis test.
Many business decisions involve comparing two population proportions rather than population means.
The sampling distribution for the difference in proportions is the result of subtracting one sampling distribution for the proportion from a second sampling distribution for the proportion.
The standard error of the difference between population proportions describes the variation in the sampling distribution for p1 - p2.
As you might recall from Chapter 7, proportion data follow the binomial distribution and can be approximated by the normal distribution for a relatively large sample size.
chapter 10 Summary
www.freebookslides.com
485
chapter 10 Equations
10.1 Comparing Two Population Means with (pp 439–448) • Independent Samples • Known Population Standard Deviations (s1 and s2)
Formula 10.1 for the Mean of the Sampling Distribution for the Difference in Means
mx1 - x2 = mx1 - mx2
Formula 10.2 for the Standard Error of the Difference Between Two Means sx1 - x2 = Cs21n1 + s22n2 Formula 10.3 for the z-Test Statistic for a Hypothesis Test for the Difference Between Two Means (S1 and S2 Known)
zx = 1x1 - x2) - 1m1 - m22H0
sx1 - x2
Formulas 10.4 and 10.5 for the Confidence Interval for the Difference in the Means of Two Independent Populations (S1 and S2 Known)
UCL x1 - x2 = 1x1 - x22 + za>2sx1 - x2 LCL x1 - x2 = 1x1 - x22 - za>2sx1 - x2
Approximate standard error of the difference between popu- lation proportions. Uses p1 and p2 to describe the variation in the sampling distribution for p1 - p2.
Dependent samples. Samples in which the results observed when sampling from one population correspond to the results observed when sampling from the second sample.
Independent samples. Samples in which the results observed when sampling from one population have no effect on the re- sults observed when sampling from the second population.
Matched-pair test. A hypothesis test for means using dependent samples.
Pooled variance. A weighted average of two sample variances using the number of degrees of freedom for each sample as the weights.
Sampling distribution for the difference in means. The result of subtracting one sampling distribution for the mean from a second sampling distribution for the mean.
Sampling distribution for the difference in proportions. The result of subtracting one sampling distribution for the propor- tion from a second sampling distribution for the proportion.
Standard error of the difference between two means. A value that describes the variation in the sampling distribution for x1 - x2.
Standard error of the difference between population propor- tions. A value that describes the variation in the sampling distribution for p1 - p2.
chapter 10 Key Terms
485 www.freebookslides.com
486
10.2 Comparing Two Population Means with (pp 448–464) • Independent Samples • Unknown Population Standard Deviations (s1 and s2)
Formula 10.6 for the t-Test Statistic for a Hypothesis Test for the Difference Between Two Means (S1 and S2 Unknown but Equal)
tx = 1x1 - x22 - 1m1 - m22H0Bs2p a 1n1 + 1n2 b
Formula 10.7 for the Pooled Variance s2p = 1n1 - 12s21 + 1n2 - 12s22 1n1 - 12 + 1n2 - 12
Formulas 10.8 and 10.9 for the Confidence Interval for the Difference Between the Means of Two Independent Populations (S1 and S2 Unknown and Equal)
UCL x1 - x2 = 1x1 - x22 + ta>2 Bs2p a 1n1 + 1n2 b LCL x1 - x2 = 1x1 - x22 - ta>2 Bs2p a 1n1 + 1n2 b
Formula 10.10 for the t-Test Statistic for a Hypothesis Test for the Difference Between Two Means (S1 and S2 Unknown and Unequal)
tx = 1x1 - x22 - 1m1 - m22H0B ¢ s21n1 + s22n2 ≤
Formula 10.11 for the Degrees of Freedom for the t-Distribution When Testing for the Difference Between Two Means (S1 and S2 Unknown and Unequal)
df = a s
2 1
n1 +
s22 n2
b 2
a s 2 1
n1 b
2
n1 - 1 +
a s 2 2
n2 b
2
n2 - 1
10.3 Hypothesis Testing with Dependent Samples (pp 464–474)
Formula 10.12 for the Matched-Pair Difference d = x1 - x2
Formula 10.13 for the Mean of the Matched-Pair Differences d = a
n
i = 1 di
n
www.freebookslides.com
487
Formulas 10.14 and 10.15 for the Standard Deviation of the Matched-Paired Differences
sd = H ani = 11di - d22n - 1 or sd = c ani = 1d2i - ¢ ani = 1di≤2nn - 1 Formula 10.16 for the t-Test Statistic for a Matched-Pair Hypothesis Test for the Mean
tx = d - 1md2H0
sd2n Formulas 10.17 and 10.18 for the Confidence Interval for the Difference Between the Means of Dependent Samples
UCL d = d + ta>2 sd2n
LCL d = d - ta>2 sd2n
10.4 Comparing Two Population Proportions with Independent Samples (pp 474–483)
Formula 10.19 for the Standard Error for the Difference in Population Proportions sp1 - p2 = B p111 - p12n1 + p211 - p22n2 Formula 10.20 for the Approximate Standard Error for the Difference in Population Proportions
snp1 - p2 = B p111 - p12n1 + p211 - p22n2 Formulas 10.21 and 10.22 for the Confidence Interval for the Difference Between Two Proportions
UCL p1 - p2 = 1p1 - p22 + za>2snp1 - p2 LCL p1 - p2 = 1p1 - p22 - za>2snp1 - p2
Formula 10.23 for the Pooled Estimate for the Overall Proportion
pn = x1 + x2 n1 + n2
Formula 10.24 for the z-Test Statistic for a Hypothesis Test for th e Difference Between Two Proportions
zp = 1p1 - p22 - 1p1 - p22H0Cpn11 - pn2¢ 1n1 + 1n2 ≤
www.freebookslides.com
488
{ table 10.13 | A Summary of Confidence Intervals for Comparing Two Populations
type sample S1, S2 confidence interval equations
Mean Independent samples
Known UCL x1 - x2 = 1x1 - x22 + za>2sx1 - x2 LCL x1 - x2 = 1x1 - x22 - za>2sx1 - x2
10.4
10.5
Mean Independent samples
Unknown UCL x1 - x2 = 1x1 - x22 + ta>2 Bs2p a 1n1 + 1n2 b LCL x1 - x2 = 1x1 - x22 - ta>2 Bs2p a 1n1 + 1n2 b
10.8
10.9
Mean Dependent samples
Unknown UCL d = d + ta>2 sd2n
LCL d = d - ta>2 sd2n
10.17
10.18
Proportion Independent samples
Not applicable UCL p1 - p2 = 1p1 - p22 + za>2snp1 - p2 UCL p1 - p2 = 1p1 - p22 - za>2snp1 - p2
10.21
10.22
{ table 10.12 | A Summary of Hypothesis Tests for Comparing Two Populations
type sample S1, S2 test statistic other required equations
Mean Independent samples
Known zx = 1x1 - x22 - 1m1 - m22H0
sx1 - x2 sx1 - x2 = As21n1 + s22n2
Mean Independent samples
Unknown and equal
tx = 1x1 - x22 - 1m1 - m22H0As2p a 1n1 + 1n2 b s2p = 1n1 - 12s
2 1 + 1n2 - 12s22
1n1 - 12 + 1n2 - 12 df = n1 + n2 - 2
Mean Independent samples
Unknown and unequal
tx = 1x1 - x22 - 1m1 - m22H0A a s21n1 + s22n2 b df = a s
2 1
n1 +
s22 n2
b 2
a s 2 1
n1 b
2
n1 - 1 +
a s 2 2
n2 b
2
n2 - 1
Mean Dependent samples
Unknown tx = d - 1md2H0
sd2n sd = b ani = 1d2i - a a
n
i = 1 dib
2
n
n - 1
Proportion Independent samples
Not applicable zp = 1p1 - p22 - 1p1 - p22H0Bpn11 - pn2a 1n1 + 1n2 b pn =
x1 + x2 n1 + n2
www.freebookslides.com
489
10.42 The federal government has become concerned about the default rates of loans made to students who attend for-profit schools. Two random samples of student loans were col- lected: one from students at for-profit schools and another from students at nonprofit schools. The following data show the sample sizes and the number of loans in each sample that defaulted:
For-Profit Nonprofit
x1 = 23 x2 = 7 n1 = 220 n2 = 200
a. Perform a hypothesis test using a = 0.05 to determine if the proportion of for-profit loans that default is larger than the proportion of loans for nonprofit schools that default.
b. Determine the p-value and interpret the results. c. Construct a 95% confidence interval to estimate the dif-
ference in the proportion of loans in default at these two types of schools.
d. Verify your results using PHStat.
10.43 Baggage fees charged by airlines have received much at- tention recently as the industry has looked for ways to in- crease revenue without directly increasing fares. American Airlines would like to investigate if the average number of bags checked per flight fell after the company implemented fees for checking them. The following table shows the aver- age numbers of checked bags per flight for a random sam- ple of Boeing 737 domestic flights both before and after the fees were implemented. The population standard deviations and sample sizes are also indicated.
Before After
Sample mean 111.9 109.7
Sample size 42 50
Population standard deviation 10.7 9.4
a. Perform a hypothesis test using a = 0.10 to determine if the average number of checked bags decreased after the checked-baggage fees were administered.
b. Determine the p-value and interpret the results. c. Construct a 90% confidence interval to estimate the dif-
ference in the average number of checked bags per flight before and after the fees were implemented.
d. Verify your results using PHStat.
10.44 A survey asked respondents how many online “friends” they have on networking sites such as Facebook. The fol- lowing table presents the average number of friends for men and women along with the sample standard deviations and sample sizes. Assume the population variances for the number of friends per person are not equal.
Men Women
Sample mean 178.3 144.6
Sample size 26 23
Sample standard deviation 72.3 56.9
a. Using a = 0.05, perform a hypothesis test to deter- mine if the men average 10 more online friends than the women.
b. Approximate the p-value using Table 5 in Appendix A and interpret the result.
c. Determine the precise p-value using Excel and interpret the results.
d. Verify your results using PHStat. e. What assumptions need to be made in order to perform
this procedure?
10.45 During the recent decline in the housing market, it ap- peared that the average size of a newly constructed house fell. To investigate this trend, the square footages of a random sample of houses built in 2010 were compared to houses built in 2014. A random sample of 45 homes built in 2010 had a sample mean of 2,462.3 square feet and a sample standard deviation of 760.8 square feet. A random sample of 40 homes built in 2014 had a sample mean of 2,257.0 square feet and a sample standard deviation of 730.2 square feet. Assume that the population variances for the square footages of houses built in these two years are equal.
a. Using a = 0.05, perform a hypothesis test to determine if the average home constructed in 2010 was larger than a home built in 2014.
b. Construct a 95% confidence interval to estimate the average difference in the square footages of new homes constructed in these two years. Interpret your result.
c. Determine the precise p-value using Excel and interpret the results.
d. Verify your results using PHStat. e. What assumptions need to be made in order to perform
this procedure?
10.46 The recent financial crisis in Europe has resulted in high unemployment rates in some European Union countries. A recent survey of 120 adults from Greece found that 34 were currently unemployed. A corresponding survey of 135 adults from Spain found that 33 were currently unemployed.
a. Perform a hypothesis test with a = 0.02 to determine if the percentage of unemployed adults in Greece is differ- ent than the percentage of unemployed adults in Spain.
b. Determine the p-value and interpret the results. c. Determine the 98% confidence interval to estimate the
difference in the proportion of unemployed workers between these two countries.
d. Verify your results using PHStat.
chapter 10 Problems
www.freebookslides.com
490
10.47 Small-business owners play a major role in the welfare of today’s economy. This particular segment has a reputation for working long hours during the week. Suppose the Small Business Administration (SBA), a federal agency charged with supporting small businesses, would like to test the hy- pothesis that full-time small-business owners average more than 5 hours per week at work when compared to part-time small-business owners. A random sample of 15 full-time owners averaged 51.9 hours per week with a sample stan- dard deviation of 5.5 hours per week. A random sample of 12 part-time owners averaged 41.5 hours per week with a sample standard deviation of 5.2 hours per week. Assume the population variances for hours worked per week for both groups are equal.
a. Using a = 0.05, perform this hypothesis test for the SBA.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Construct a 95% confidence interval to estimate the average difference in hours worked per week between these two groups. Interpret your result.
d. Determine the precise p-value using Excel and interpret the results.
e. Verify your results using PHStat. f. What assumptions need to be made in order to perform
this procedure?
10.48 McDonald’s would like to compare the wait times its drive-through customers experience vs. the wait times its customers using the restaurants’ inside counters experience. The following data represent the wait times, in minutes, randomly selected customers in the two types of groups experienced. These data can also be found in the Excel file wait times.xlsx. Assume the population variances for the wait times for both locations are equal.
Drive-Through Inside Counter
3.2 1.7 3.0 1.7
5.0 4.0 2.8 5.0
0.9 4.9 3.4 1.9
6.4 3.0 3.3 4.5
3.6 3.2 2.4 5.9
3.5 3.4 4.5 4.0
3.9 6.3 1.1 3.3
3.3 0.0 2.0 2.8
2.1 3.3 0.0 5.3
4.9 2.4
a. Using a = 0.05, perform a hypothesis test to determine if the average wait time differs for customers in these two locations.
b. Approximate the p-value using Table 5 in Appendix A and interpret the result.
c. Construct a 95% confidence interval to estimate the average difference in wait time between these locations. Interpret your result.
d. Verify your results using PHStat or Excel. e. Identify the p-value using Excel and interpret the result. f. What assumptions need to be made in order to perform
this procedure?
10.49 The on-time performances of flights in the airline industry are an important measurement that can help attract custom- ers. The following data show the number of late flights from random samples taken from United Airlines and Southwest Airlines:
United Southwest
x1 = 130 x2 = 119 n1 = 175 n2 = 140
a. Perform a hypothesis test using a = 0.05 to determine if the on-time performances of these two airlines are different.
b. Determine the p-value and interpret the results. c. Construct a 95% confidence interval to estimate the
difference in the on-time performances of these two airlines.
d. Verify your results using PHStat.
10.50 Pfizer would like to test the effectiveness of a new cho- lesterol medication it has recently developed. To test the effectiveness, the LDL cholesterol level of 12 randomly se- lected individuals was measured before and after they took the medication. The data are shown as follows and can be found in the Excel file cholesterol.xlsx.
Person Before After Person Before After
1 187 144 7 184 105
2 196 146 8 185 104
3 184 117 9 212 138
4 180 104 10 206 125
5 208 114 11 192 120
6 203 135 12 175 121
a. Using a = 0.01, perform a hypothesis test to determine if the average LDL level is more the 50 points lower for patients who have taken the new medication.
b. Approximate the p-value using Table 5 in Appendix A and interpret the result.
c. Construct a 99% confidence interval to estimate the average difference in LDL levels for people before and after they take the medication.
d. Verify your results using Excel. e. Identify the p-value using Excel and interpret the result. f. What assumptions need to be made in order to perform
this procedure?
www.freebookslides.com
491
10.51 The new health care plan that the federal government recently implemented has caused people to become con- cerned that a shortage of primary care physicians, par- ticularly in under-served rural areas, will occur. Random samples of patient visits to primary care physicians in both rural and urban areas were selected. The number of days the patients had to wait for an appointment was recorded. The summarized data for each sample are shown in the fol- lowing table:
Rural Urban
Sample mean 11.7 8.6
Sample size 32 30
Population standard deviation 5.0 3.5
a. Perform a hypothesis test using a = 0.01 to determine if the average number of days patients in urban areas waited to see their primary care physicians differs from the average number of days patients in rural areas waited.
b. Determine the p-value and interpret the results. c. Construct a 99% confidence interval to estimate the dif-
ference in the average number of days patients in urban areas waited to see their primary care physicians vs. the average number of days patients in rural areas waited.
d. Verify your results using PHStat.
10.52 The airline industry measures fuel efficiency by calculating how many miles one seat can travel, whether occupied or not, on one gallon of jet fuel. The following data show the fuel economy, in miles per seat, for 15 randomly selected flights on Delta and US Airways. These data can also be found in the Excel file fuel efficiency.xlsx. Assume the population variances for the fuel efficiency for these two airlines are not equal.
Delta US Airways
82.1 68.4 52.7 60.8 68.3 77.2
58.8 52.0 71.4 76.4 71.4 63.0
60.0 59.6 44.9 58.9 72.1 81.1
57.9 67.6 55.9 68.6 63.1 83.5
45.2 61.0 86.7 58.2 73.3 69.0
a. Perform a hypothesis test using a = 0.05 to determine if the average fuel efficiency differs between the two airlines.
b. Approximate the p-value using Table 5 in Appendix A and interpret the result.
c. Verify your results using PHStat or Excel. d. Identify the p-value using Excel and interpret the result. e. What assumptions need to be made in order to perform
this procedure?
10.53 Recent attention has been given to the percentage of suc- cessful free throws that resulted in points made in men’s college basketball and the number of dribbles the shooter takes prior to the free throw. Samples of players who drib- bled twice and players who dribbled four times before mak- ing free throws were randomly collected, and the number in both groups that was successful recorded:
Two Dribbles Four Dribbles
x1 = 79 x2 = 112 n1 = 120 n2 = 145
a. Perform a hypothesis test using a = 0.10 to determine if the proportion of successful free throws differs when players take two vs. four dribbles before shooting.
b. Determine the p-value and interpret the results. c. Construct a 90% confidence interval to estimate the dif-
ference in the proportion of successful free throws when players take two vs. four dribbles before shooting.
d. Verify your results using PHStat.
10.54 Low-profile tires are automobile tires that have a short sidewall height, which is the distance between the tire rim and the road. These tires provide better performance at the expense of gas mileage. The Ford Taurus was chosen to measure the effect these tires have on gas mileage. Ten cars of this model were selected, and the gas mileage obtained on one tank of gas was measured with standard tires. Low- profile tires were then installed on the same cars. Using the same drivers, the gas mileage was again recorded. The results are shown as follows and can be found in the Excel file low profile.xlsx. Assume the population variances are equal.
Car Standard Low Profile Car Standard Low Profile
1 21.5 22.4 6 26.5 19.0
2 22.3 20.1 7 25.5 19.7
3 25.6 24.0 8 19.5 16.2
4 19.3 19.5 9 23.9 21.4
5 22.3 21.7 10 22.9 22.4
a. Using a = 0.05, perform a hypothesis test to determine if the average gas mileage obtained using standard tires is higher than the average gas mileage obtained using low-profile tires.
b. Approximate the p-value using Appendix A and interpret the result.
c. Construct a 90% confidence interval to estimate the av- erage difference in gas mileage obtained using these two types of tires. Interpret the results.
d. Verify your results using Excel or PHStat. e. Identify the p-value using Excel and interpret the result. f. What assumptions need to be made in order to perform
this procedure?
www.freebookslides.com
492
10.55 In Major League Baseball, the umpire behind the plate uses his best judgment to decide if a pitch is within the strike zone or outside of the strike zone. The age-old question is whether the strike zone for the batter in the National League is different from the strike zone in the American League. One way to address this question is to compare the percentage of called third strikes in the two leagues. The logic is that a batter who looks at a called third strike without swinging believed the pitch was outside the strike zone when the umpire considered the pitch within the strike zone. To test this hypothesis, a random sample of plate ap- pearances from each league was selected and the number of called third strikes was counted. The data are as follows:
American National
x1 = 46 x2 = 37 n1 = 170 n2 = 160
a. Perform a hypothesis test with a = 0.10 to determine if the proportion of called third strikes differs between the two leagues.
b. Determine the p-value and interpret the results. c. Construct a 90% confidence interval to estimate the dif-
ference in the proportion of called third strikes between the two leagues.
d. Verify your results using PHStat.
10.56 Brand loyalty in the automotive industry can be measured by the percentage of brand owners who purchase again. Sup- pose Cars.com would like to investigate if there is a differ- ence in brand loyalty between Chevrolet and Buick owners. A random sample of 160 Chevrolet owners found that 68 had previously owned a Chevrolet. A random sample of 150 Buick owners found that 76 had previously owned a Buick.
a. Using a = 0.05, perform this hypothesis test for Cars.com.
b. Construct a 95% confidence interval to estimate the dif- ference in the proportion of owners who purchased the same brand of car for these two populations. Interpret your result.
c. Determine the p-value and interpret the results. d. Verify your results using PHStat.
10.57 According to the Institute for College Access & Success, the average student-loan debt for the most recent class of students from Pennsylvania is $9,000 more than the average for stu- dents in California. To test this claim, the following data were collected from random samples. Assume the population vari- ances for the student-loan debt for these two states are equal.
Pennsylvania California
Sample mean $29,959 $18,879
Sample size 20 20
Sample standard deviation $8,000 $7,000
a. Using a = 0.05, perform a hypothesis test to investigate the claim of the Institute for College Access & Success.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Construct a 95% confidence interval to estimate the av- erage difference in the student-loan debt between these two states. Interpret your result.
d. Determine the precise p-value using Excel and interpret the results.
e. Verify your results using PHStat. f. What assumptions need to be made in order to perform
this procedure?
10.58 Past research has shown that Millennials, defined as those in the 18–34 age group, are more willing to provide personal information online to a company in exchange for something in return when compared to older individuals. To verify these reports, a random sample of 200 Millennials was se- lected and it was found that 112 responded that they would share their location in order to receive deals from nearby businesses. A random sample of 200 individuals older than 34 years was selected and 84 responded in the same manner.
a. Using a = 0.02, perform a hypothesis test to investigate if Millennials are more willing to share personal infor- mation online when compared to older individuals.
b. Construct a 98% confidence interval to estimate the difference in the proportion of people willing to share personal information online for these two populations. Interpret your result.
c. Determine the p-value and interpret the results.
10.59 Many homeowners rely on handymen to perform small jobs, such as repairs or maintenance, around their residence. Ac- cording to HomeAdvisor Inc., the average cost for a handy- man project in Atlanta is more than the average cost for a project in Chicago. To test this claim, a random sample of 32 handyman projects in Atlanta was selected, and it was found that the average cost was $437 with a sample standard deviation of $83. A random sample of 36 handyman projects in Chicago was selected, and it was found that the average cost was $411 with a sample standard deviation of $62. Assume the population variances for the cost of handyman projects for these two cities are not equal.
a. Using a = 0.05, perform a hypothesis test for the HomeAdvisor claim.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Determine the precise p-value using Excel and interpret the results.
d. Verify your results using PHStat. e. What assumptions need to be made in order to perform
this procedure?
10.60 In January 2011, the French government passed legisla- tion requiring that within six years at least 40% of corpo- rate board members of large companies be female. Large
www.freebookslides.com
493
companies are defined as those having more than 500 employees or revenues over 50 million euros. Suppose the Corporate Women Directors International (CWDI) would like to test the hypothesis that the proportion of women on corporate boards of French companies is more than 5% higher than the proportion of women on boards of U.S. companies. From a random sample of 240 French board members, 73 were found to be women. From a random sample of 225 U.S. board members, 40 were found to be women.
a. Using a = 0.10, perform this hypothesis test for the CWDI.
b. Construct a 90% confidence interval to estimate the dif- ference in the proportion of women board members for these two countries. Interpret your result.
c. Determine the p-value and interpret the results. d. Verify your results using PHStat.
10.61 Negative equity (also known as being “underwater”) refers to a scenario where the market value of a residence is worth less than the outstanding balance on the mortgage for that home. Suppose the Federal Housing Administration (FHA), which is the government agency charged with supporting the home financing market, would like to test the hypoth- esis that the proportion of home mortgages with negative equity in Florida is more than 10% higher than the national proportion. A random sample of 180 mortgages from Florida found that 67 were underwater. A random sample of 190 mortgages across the United States found that 42 were underwater.
a. Using a = 0.05, perform this hypothesis test for the FHA.
b. Construct a 95% confidence interval to estimate the dif- ference in the proportion of underwater mortgages for these two populations. Interpret your result.
c. Determine the p-value and interpret the results. d. Verify your results using PHStat.
10.62 Retailers pay close attention to holiday sales during the Thanksgiving weekend each year. To monitor these sales, a random sample of shoppers was selected in 2012 and again in 2013. The amount of money each shopper spent in stores and on Web sites was recorded. These data can be found in the Excel file holiday sales.xlsx. Assume that the popula- tion variances for the amounts spent during this weekend in the two years are equal.
a. Using a = 0.10, perform a hypothesis test to determine if the average amounts spent on holiday shopping during this weekend differ between the two years.
b. Approximate the p-value using Table 5 in Appendix A and interpret the results.
c. Construct a 90% confidence interval to estimate the average difference in the amounts spent by holi- day shoppers between the two years. Interpret your result.
d. Verify your results using PHStat or Excel. e. Identify the p-value and interpret the result. f. What assumptions need to be made in order to perform
this procedure?
10.63 Citibank, which has a major credit card division, has insti- tuted a promotion designed to encourage its customers to increase their current credit card usage. To test the effec- tiveness of this promotion, Citibank monitored the monthly credit card balances of 25 customers before and after the promotion was launched. The results can be found in the Excel file Citibank 1.xlsx.
a. Using a = 0.05, perform a hypothesis test to determine if the average credit card balance was higher after the promotion than before the promotion.
b. Construct a 90% confidence interval to estimate the average difference in a customer’s credit card balance before and after the promotion.
c. Verify your results using Excel or PHStat. d. Identify the p-value and interpret the result. e. What assumptions need to be made in order to perform
this procedure?
10.64 Citibank, which has a major credit card division, has de- signed a promotion that the firm hopes will encourage its customers to increase their current credit card usage. To test the effectiveness of the promotion, Citibank monitored the monthly balances of 25 customers who were informed of the promotion and the monthly balances of 25 customers who were not aware of it. Assume the population variance for the credit card balances are equal. The results can be found in the Excel file Citibank 2.xlsx.
a. Using a = 0.05, perform a hypothesis test to determine if the average credit card balance is higher for customers aware of the promotion than it was for customers un- aware of the promotion.
b. Construct a 90% confidence interval to estimate the av- erage difference in credit card balance before and after the promotion.
c. Verify your results using PHStat. d. Identify the p-value and interpret the result. e. What assumptions need to be made in order to perform
this procedure?
10.65 The Excel file golf scores.xlsx contains a random sample of golf scores from two highly competitive sons of a certain sta- tistics author. Each son claims he is the better golfer. Assume the population variances for each son’s golf score are equal.
a. Perform a hypothesis test using a = 0.05 to determine if there is a difference in the average golf score between the two sons.
b. Determine the p-value and interpret the results. c. Construct a 95% confidence interval to estimate the dif-
ference in the average golf score between these two sons. d. Verify your results using PHStat or Excel.
www.freebookslides.com
494
10.66 Coke would like to perform a blind taste test of its cola vs. the cola from its biggest competitor, Pepsi. To conduct this test, 24 individuals were randomly selected, asked to taste one unmarked cola, and to rate it on a scale of 1–10. The individuals were then asked to do the same for the other unmarked cola. The results are shown in the Excel file taste test.xlsx.
a. Using a = 0.10, perform a hypothesis test to determine if a difference exists between the average scores for these two colas.
b. Construct a 90% confidence interval to estimate the av- erage difference in scores between these two colas.
c. Verify your results using Excel or PHStat. d. Identify the p-value and interpret the result. e. What assumptions need to be made in order to perform
this procedure?
Y o u r T u r n # 1 Step 1: Identify the null and alternative hypotheses.
Population 1 = Playoff games
Population 2 = Regular season games
H0: m1 - m2 … 0 (playoff games are not longer) H1: m1 - m2 7 0 (playoff games are longer)
This is a one-tail test because we are testing that playoff games are longer than regular season games. There is a direction in the test.
Step 2: Set a value for the significance level, A.
a = 0.02
Step 3: Determine the appropriate critical value.
Using Table 10.1, a one-tail test using a = 0.02 has a critical z-score, za, equal to 2.05.
Step 4: Calculate the appropriate test statistic.
sx1 - x2 = B s21n1 + s22n2 = B 25230 + 21232 sx1 - x2 = 220.83 + 13.78 = 5.88 minutes
zx = 1x1 - x22 - 1m1 - m22H0
sx1 - x2
= 1189.3 - 175.82 - 102H0
5.88
zx = 113.52 - 102
5.88 = 2.30
Step 5: Compare the z-test statistic 1zx2 with the critical z-score 1zA2. In our Major League Baseball example, which is a one-tail (upper) test, zx = 2.30 and za = 2.05. Because 2.30 7 2.05, we come to the “Reject H0” conclusion.
Step 6: Calculate the p-value.
The one-tail p-value for our example is as follows:
p@value = P1zx 7 2.302 = 11 - 0.98932 = 0.0107 According to Table 10.3, because our p-value = 0.0107 is less than a = 0.05, we reject the null hypothesis.
Step 7: State your conclusions.
Rejecting the null hypothesis means we have support for the alternative hypothe- sis. According to these two samples, we have evidence to support that the average playoff game is longer than the average regular season game.
chapter 10 Solutions to Your Turn
www.freebookslides.com
495
Y o u r T u r n # 2 According to Table 10.1, for a = 0.10 and two tails, za>2 = 1.645.
x1 = 189.3 x2 = 175.8 sx1 - x2 = 5.88
UCL x1 - x2 = 1x1 - x22 + za>2sx1 - x2 UCL x1 - x2 = 1189.3 - 175.82 + 11.645215.882 = 23.17 minutes LCL x1 - x2 = 1x1 - x22 - za>2sx1 - x2 LCL x1 - x2 = 1189.3 - 175.82 - 11.645215.882 = 3.83 minutes
Because the confidence interval does not include zero, we reject the null hypothesis.
Y o u r T u r n # 3 a) Step 1: Identify the null and alternative hypotheses.
Population 1 = Bob’s route
Population 2 = Deb’s route
H0: m1 - m2 Ú 0 (Bob’s route is equal to or takes more time than Deb’s) H1: m1 - m2 6 0 (Bob’s route takes less time than Deb’s)
where
m1 = The mean time for Bob’s route
m2 = The mean time for Deb’s route
This is a one-tail (lower) test because the question is asking if Bob’s route takes less time than Deb’s.
Step 2: Set a value for the significance level, A.
a = 0.05
Step 3: Calculate the appropriate test statistic.
x1 = 105.8 minutes s1 = 10.7883 minutes n1 = 12
x2 = 110.4 minutes s2 = 9.2400 minutes n2 = 10
s2p = 1n1 - 12s21 + 1n2 - 12s22 1n1 - 12 + 1n2 - 12
s2p = 112 - 12110.788322 + 110 - 1219.240022
112 - 12 + 110 - 12
s2p = 11121116.38742 + 192185.37762
1112 + 192 = 102.4330
tx = 1x1 - x22 - 1m1 - m22H0Bs2pa 1n1 + 1n2 b
tx = 1105.8 - 110.42 - 102A1102.43302a 112 + 110 b
= -4.6 - 021102.4330210.18332 = -4.64.333 = - 1.06
Step 4: Determine the appropriate critical value.
Using Table 5 in Appendix A for a one-tail test, df = n1 + n2 - 2 = 12 + 10 - 2 = 20, and a = 0.05, our critical t-score is - ta = - 1.725.
Step 5: Compare the t-test statistic 1tx2 with the critical t-score 1ta2. In this example, which is a one-tail (lower) test, tx = - 1.06 and - ta = - 1.725. Because - 1.06 7 - 1.725, we fail to reject the null hypothesis according to the decision rules shown in Table 10.5.
Step 6: State your conclusions.
Failing to reject the null hypothesis means we do not have support for the alternative hypothesis. According to these two samples, we do not have evidence to conclude that Bob’s route is faster than Deb’s. I have been foiled again by my beloved statistics (and my wife).
b) Using Table 5 in Appendix A, go to the row in which df = 20 and find the values that bracket 0 tx 0 = 0 - 1.06 0 = 1.06. These values are 0.860 and 1.325. Going to the 1 Tail row, the p-value is between 0.10 and 0.20. With a = 0.05, we fail to reject the null hypothesis.
c) Using Table 5 in Appendix A for a 95% confidence interval and df = 20, our critical t-score is ta>2 = 2.086. Using Equations 10.8 and 10.9, our limits for the 95% confidence interval are as follows:
UCL x1 - x2 = 1x1 - x22 + ta>2Bs2pa 1n1 + 1n2 b UCL x1 - x2 = 1105.8 - 110.42
+ 12.0862B 1102.42942¢ 112 + 110 ≤ UCL x1 - x2 = 1 -4.62 + 12.0862218.7787
= -4.6 + 9.04 = 4.44 minutes
LCL x1 - x2 = 1x1 - x22 - ta>2Bs2pa 1n1 + 1n2 b LCL x1 - x2 = 1105.8 - 110.42
- 12.0862B 1102.42942a 112 + 110 b LCL x1 - x2 = 1 -4.62 - 12.0862218.7787
= -4.6 - 9.04 = - 13.64 minutes
Our 95% confidence interval is 1 - 13.64, 4.442. This means we are 95% confident that the difference between the average travel time in the
www.freebookslides.com
496
two routes is between - 13.64 minutes and 4.44 minutes. The fact that this interval does include zero provides more evidence that there is not a difference in the average travel times of the two routes.
d)
e) = T.DIST1 - 1.06, 20, TRUE2 = 0.1509 (This function is used for a one-tail lower test.)
f) Because the sample standard deviations are being used to approximate the population standard deviations, the populations must be normally distributed.
Y o u r T u r n # 4 a) Step 1: Identify the null and alternative hypotheses.
Population 1 = Men
Population 2 = Women
H0: m1 - m2 Ú 0 (men use the same or more minutes than women) H1: m1 - m2 6 0 (men use less minutes than women)
With the populations defined, we have a lower-tail test. If we reverse the definitions, we would have an upper-tail test. Either case is acceptable.
Step 2: Set a value for the significance level, A.
a = 0.01
Step 3: Calculate the appropriate test statistic.
We can use Excel to calculate the following sample statistics for our example:
x1 = 330.7 s1 = 90.8149 n1 = 10
x2 = 461.1 s2 = 161.2255 n2 = 10
Applying this to Equation 10.10, our t-test statistic is as follows:
tx = 1x1 - x22 - 1m1 - m22H0B a s21n1 + s22n2 b
tx = 1330.7 - 461.12 - 0B ¢ 190.81492210 + 1161.22552210 ≤
= - 130.42824.7346 + 2,599.3662 = - 130.458.5158 = - 2.23
Step 4: Determine the appropriate critical value.
We can simplify using Equation 10.11 by calculating the following terms:
s21 n1
= 190.814922
10 = 824.7346
s22 n2
= 1161.225522
10 = 2, 599.3662
We then plug these values into Equation 10.11:
df = a s
2 1
n1 +
s21 n1
b 2
a s 2 1
n1 b
2
n1 - 1 +
a s 2 2
n2 b
2
n2 - 1
= 1824.7346 + 2,599.366222
1824.734622 10 - 1
+ 12,599.366222
10 - 1
df = 13,424.100822
1680,187.160422 9
+ 16,756,704.641722
9
df = 11,724,466.2886
75,576.3512 + 750,744.9602 = 14.2 ≈ 14
Using Table 5 in Appendix A for a one-tail 1lower2 test, df = 14, and a = 0.01, our critical t-score is - ta = - 2.624.
Step 5: Compare the t-test statistic 1tx2 with the critical t-score 1tA2. For this example, which is a one-tail (lower) test, tx = - 2.23 and - ta = - 2.624. Because - 2.23 7 - 2.624, we fail to reject the null hypothesis according to the decision rules shown in Table 10.5.
www.freebookslides.com
497
Step 6: Approximate the p-value.
The p-value is between 0.01 and 0.025.
Step 7: State your conclusions.
Failing to reject the null hypothesis means we do not have support for the alternative hypothesis. According to these two samples, there is not enough evidence to claim that women average more minutes talking on their cell phones than men.
b) This result may seem surprising because the sample average for the women (461.1 minutes) is so much larger than the sample average for the men (330.7 minutes). The following three reasons make it more challenging to reject the null hypothesis: 1. Using a low a1a = 0.012 2. Having small sample sizes 1n1 = 10, n2 = 102 3. Having high sample standard deviations relative to the sample means
1s1 = 90.8, s2 = 161.22
c)
d) Because the p-value = 0.0214 (see Cell E10 in previous figure) is greater than a = 0.01, we fail to reject the null hypothesis.
e) Because the sample sizes are less than 30, and the population standard devia- tions are unknown, the population needs to be normally distributed.
Y o u r T u r n # 5 a) I’ll define Population 1 as Delaware (DE) stations and Population 2 as New
Jersey (NJ) stations, resulting in the following hypothesis statement:
H0: m1 - m2 … $0.20 H1: m1 - m2 7 $0.20 (DE gas is more than $0.20 per gallon than NJ gas)
Use Equation 10.7 to calculate the pooled variance:
s2p = 1n1 - 12s21 + 1n2 - 12s22 1n1 - 12 + 1n2 - 12
s2p = 113 - 1210.1222 + 110 - 1210.1522
113 - 12 + 110 - 12
= 112210.01442 + 19210.02252
12 + 9 = 0.01787
Applying this to Equation 10.6, our t-test statistic is as follows:
tx = 1x1 - x22 - 1m1 - m22H0Bs2pa 1n1 + 1n2 b
tx = 13.75 - 3.522 - 10.202A10.017872a 113 + 110 b
= 0.23 - 0.20210.01787210.17692 = 0.030.0562 = 0.53
For this test, the degrees of freedom are calculated as follows:
df = n1 + n2 - 2 = 13 + 10 - 2 = 21
Using Table 5 in Appendix A for a one-tail (upper) test, df = 21, and a = 0.05, our critical t-score is ta = 1.721. Because tx = 0.53 6 ta = 1.721, we fail to reject the null hypothesis according
to the decision rules shown in Table 10.5. By failing to reject the null hypoth- esis, we do not have enough evidence to conclude that New Jersey gas aver- ages at least $0.20 per gallon less than Delaware. Yes, I finally win!
b) Using Table 5 in Appendix A, go to the row in which df = 21 and find the values that bracket tx = 0.53. The lowest value in this row is 0.859 in the first column. Going to the 1 Tail row, the p-value is more than 0.20. With a = 0.05, we fail to reject the null hypothesis.
c)
d) Because the p-value = 0.2996 (see Cell B26 in the previous figure) is greater than a = 0.05, we fail to reject the null hypothesis.
e) Because the sample sizes are less than 30 and the population standard deviations are unknown, we can’t rely on the Central Limit Theorem to come to our rescue. Therefore, the population needs to be normally distributed.
www.freebookslides.com
498
Y o u r T u r n # 6 a) Step 1: Calculate the matched-pair differences. Population 1 = My ball Population 2 = Their ball
My Ball Their Ball d 201 204 -3 228 213 15
256 231 25
233 241 -8 248 223 25
255 226 29
239 212 27
220 186 34
Step 2: Calculate the mean and the standard deviation of the matched-pair differences.
d = a
n
i = 1 di
n
= 1 -32 + 15 + 25 + 1 -82 + 25 + 29 + 27 + 34
8
= 144
8 = 18.0
di di 2
-3 9 15 225
25 625
-8 64 25 625
29 841
27 729
34 1,156
Sum of the differences:
a 9
i = 1 di = 144
Sum of the squared differences:
a 9
i = 1 d2i = 4,274
Squared sum of the differences: a a 9
i = 1 dib
2
= 114422 = 20,736
sd = b ani = 1d2i - a a n
i = 1 dib
2
n
n - 1
= R4,274 - 20,73688 - 1 = A4,274 - 2,5927 = 15.5
Step 3: Identify the null and alternative hypotheses.
H0: md … 15 H1: md 7 15 (My ball averages 15 yards more than theirs)
Step 4: Set a value for the significance level, A.
a = 0.10
Step 5: Calculate the appropriate test statistic.
tx = d - 1md2H0
sd2n = 18.0 - 1515.528 = 3.05.48 = 0.55 Step 6: Determine the appropriate critical value.
Using Table 5 in Appendix A for a one-tail (upper) test, df = n - 1 = 8 - 1 = 7, and a = 0.10, our critical t-score is ta = 1.415.
Step 7: Compare the t-test statistic 1tx2 with the critical t-score 1tA2. In our golf example, which is a one-tail (upper) test, tx = 0.55 and ta = 1.415. Because 0.55 6 1.415, we fail to reject the null hypothesis according to the decision rules shown in Table 10.5.
Step 8: Approximate the p-value.
See the answer to part b following.
Step 9: State your conclusions.
By failing to reject the null hypothesis, we do not have enough evidence to conclude that my golf ball increases golfers’ driving distances by more than 15 yards. Back to the drawing board again!
b) Using Table 5 in Appendix A, go to the row in which df = 7 and find the val- ues that bracket tx = 0.55. The lowest value in this row is 0.896 in the first column. Going to the 1 Tail row, we find that the p-value is more than 0.20. Because a = 0.10 is outside this range, we fail to reject the null hypothesis.
www.freebookslides.com
499
Y o u r T u r n # 7 Using Table 5 in Appendix A for a 95% confidence interval and df = n - 1 = 8 - 1 = 7, our critical t-score is ta>2 = 2.365. In the previous Your Turn section, we identified the following values:
d = 18.0 sd = 15.5 n = 8
Using these values in Equations 10.17 and 10.18, we have our limits for the 95% confidence interval:
UCL d = d + ta>2 sd2n
UCL d = 18.0 + 12.3652 15.528 = 18.0 + 12.96 = 30.96
LCL d = d - ta>2 sd2n
LCL d = 18.0 - 12.3652 15.528 = 18.0 - 12.96 = 5.04
Our 95% confidence interval is (5.04, 30.96). This means we are 95% confident that the difference between the distance using my golf ball and their golf balls is between 5.04 and 30.96 yards. The fact that this interval does include less than 15 yards places doubt on my claim and is consistent with the conclusion not to reject the null hypothesis. There is no proof my golf ball averages more than 15 yards farther off the tee than their golf balls. Back to the drawing board again!
c)
d) Because the p-value = 0.3005 (see Cell E11 in the previous figure) and is greater than a = 0.10, we fail to reject the null hypothesis.
e) Because the sample sizes are less than 30 and the population standard deviations are unknown, the matched-pair differences need to follow the normal probability distribution.
Y o u r T u r n # 8 a) Step 1: Identify the null and alternative hypotheses. Because we are testing that one group has a higher proportion of online
customers than the other group, we have the following one-tail (upper) hypothesis statement:
H0: p1 - p2 … 0 (proportion of younger is equal to or less than older) H1: p1 - p2 7 0 (proportion of younger is more than older)
where
p1 = The true proportion of younger online customers
p2 = The true proportion of older online customers
Step 2: Set a value for the significance level, A.
a = 0.05
Step 3: Calculate the appropriate test statistic.
pn = x1 + x2 n1 + n2
= 68 + 72 80 + 100
= 0.778
p1 = x1 n1
= 68
80 = 0.85 p2 =
x2 n2
= 72
100 = 0.72
zp = 1p1 - p22 - 1p1 - p22H0Bpn11 - pn2a 1n1 + 1n2 b
= 10.85 - 0.722 - 102H0210.778211 - 0.7782a 1
80 +
1
100 b
zp = 0.13210.778210.222210.02252
= 0.1320.003886 = 0.130.062338 = 2.09
www.freebookslides.com
500
Step 4: Determine the appropriate critical value.
Using Table 10.1, for a one-tail test using a = 0.05 our critical z-score is za = 1.645.
Step 5: Compare the z-test statistic 1zp2 with the critical z-score 1zA2. In our online banking example, which is a one-tail (upper) test, zp = 2.09 and za = 1.645. Because 2.09 7 1.645, we reject the null hypothesis.
Step 6: Calculate the p-value.
The one-tail p-value for our example is as follows:
p@value = P1zp 7 2.092 = 1.0 - 0.9817 = 0.0183 Because our p-value = 0.0183 and is less than a = 0.05, we reject the null hypothesis, according to Table 10.3.
Step 7: State your conclusions.
By rejecting the null hypothesis, we conclude that we do have enough evi- dence to support the alternative hypothesis, H1: p1 - p2 7 0. Therefore, we conclude that the proportion of younger customers who use online bank- ing is greater than the proportion of older customers.
b) snp1 - p2 = B p111 - p12n1 + p211 - p22n2 snp1 - p2 = B 10.85211 - 0.85280 + 10.72211 - 0.722100 snp1 - p2 = 20.001594 + 0.002016
= 20.003610 = 0.060083 UCL p1 - p2 = 1p1 - p22 + Za>2snp1 - p2 UCL p1 - p2 = 10.85 - 0.722 + 11.96210.0600832
= 0.13 + 0.11776 = 0.2478
LCL p1 - p2 = 1p1 - p22 - Za>2snp1 - p2 LCL p1 - p2 = 10.85 - 0.722 - 11.96210.0600832
= 0.13 - 0.11776 = 0.0122
We are 95% confident that the true difference between the proportion of younger and older online customers is between 1.22% and 24.78%. Because this interval does not contain zero, we conclude that the proportion of younger customers who use online banking is different from the proportion of older customers who use online banking.
c)
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Test for a difference between the means of three or more popula- tions using one-way ANOVA.
■ Test for a difference between the means of three or more popula- tions with a blocking factor using randomized block ANOVA.
■ Understand the benefits of incorpo- rating a blocking factor with analy- sis of variance.
■ Examine the effects two factors have on the means of three or more populations using two-way ANOVA.
■ Test for the interaction between the two main factors with two-way ANOVA.
■ Perform multiple comparison tests for all three ANOVA techniques.
Analysis of Variance (ANOVA) Procedures
C h a p t e r 1 1 M a p
11.1 One-Way ANOVA | 503
11.2 Randomized Block ANOVA | 523
11.3 Two-Way ANOVA | 540
11
www.freebookslides.com
502 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
In Chapter 9, we learned how to perform a hypothesis test to estimate a single-population parameter such as a mean or a proportion. Chapter 10 extended this concept to estimate the difference between two population parameters. This chapter will take hypothesis testing an additional step by comparing three or more population means using a technique known as the analysis of variance (ANOVA). This procedure is so special that it even has its own acro- nym: ANOVA. Sounds like the title of an awesome sci-fi movie. (ANOVA: Revenge of the Aliens. Coming to a theater near you!)
This technique has many useful business applications such as determining the following:
• If the average amount of time spent per month on Facebook differs between various age groups
• If the average airfare for round-trip flights from Philadelphia to Paris differs between airlines
• If the average number of sales calls per day differs between sales representatives
Let’s start the chapter with the following example. Recently, the CFI Group, a firm that studies customer satisfaction, conducted a survey to measure how satisfied customers were with several smartphones. Table 11.1 shows the average satisfaction scores reported by the firm from a sample of users.
Analysis of variance (ANOVA) is a technique used to conduct a hypothesis test to compare three or more population means simultaneously.
{ table 11.1 | Average Satisfaction Scores for Smartphones
population phone average score
1 iPhone 83
2 Android 77
3 BlackBerry 73
4 Nokia 66
We can employ an ANOVA procedure to test if we have enough evidence from this sam- ple to conclude whether the satisfaction scores from these populations of smartphone users are truly different from one another. In other words, the purpose of the ANOVA procedure is to determine whether the variation in satisfaction scores is due to the type of smartphone or simply to randomness. To do so, we need to identify the factors and levels in the analysis. A factor in an ANOVA test describes the cause of the variation in the data. In this example, the factor would be the smartphones, which cause various degrees of satisfaction with their users. A level in an ANOVA test describes a category within the factor of interest. For our example, we have four levels because we have satisfaction scores from four different smart- phone models.
The analysis of variance technique comes in three different flavors, which are known as designs. Each design organizes the data in a manner conducive to the type of analysis that is desired; the designs are as follows:
• One-way ANOVA. The one-way ANOVA design is the simplest of the three designs and compares the means of different levels of one factor. Comparing the satisfaction levels of four different smartphone brands is an example of this procedure. Think of a one-way ANOVA as the vanilla of ANOVA—the most basic of the procedures but very reliable.
• Randomized block ANOVA. The randomized block ANOVA design is a variation of the one-way ANOVA where we use matched samples in a similar way to the matched pairs in Chapter 10. For example, suppose we believe that the size of the monthly smartphone bill influenced the satisfaction score. We could then group customers with similar bills together within each brand. This design allows us to block out the variation in scores due to the size of the bill for each brand. Doing so may allow us to detect differences in satisfaction scores between brands that may not be evident if we had used the one-way ANOVA design. I would describe this procedure as the mint chocolate chip flavor (my personal favorite) of ANOVA—a bit fancier than the one-way method.
A factor in an ANOVA test describes the cause of the variation in the data.
A level in an ANOVA test describes a category within the factor of interest.
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 503
Because smartphones are the only factor that influences satisfaction scores in Table 11.2, this is an example of a one-way ANOVA. The following steps will illustrate this technique.
Step 1: Identify the null and alternative hypotheses.
Here’s some good news for you. The null hypothesis for every ANOVA procedure states that all the population means are equal. The alternative hypothesis, therefore, claims that not all population means are equal. For our smartphone example, we have the following:
H0: m1 = m2 = m3 = m4 H1: Not all ms are equal
By rejecting the null hypothesis, we are concluding that a difference in population means truly exists (that is, that the users of some smartphones generate higher mean satisfaction scores than others). As with one- and two-sample hypothesis testing from the previous chapters, we need to set our level of significance when using an ANOVA. For this example, I’ll set the probability of making a Type I error at a = 0.05.
This is a whole lot easier than trying to figure out if we have a one-tail or two-tail test. Be grateful for small favors!
In this example, a Type I error happens when we conclude there is a difference in the satisfaction scores among the groups of smartphone users when, in reality, there is no difference in the population means.
• Two-way ANOVA. The two-way ANOVA design compares the means from different levels using two factors. For example, this method allows us to look for differences in satisfaction scores between smartphone brands (the first factor) and differences in satis- faction scores between education level of the user (the second factor) simultaneously. I would compare this procedure to bacon ice cream (yes, this does exist) because the two- way ANOVA is a more exotic and complicated flavor of ANOVA when compared with the two previous types.
Each of these procedures relies on the following set of assumptions:
• Each of the populations being compared follows the normal probability distribution.
• The observations must be independent of one another.
• The populations being compared have equal variances.
• The observations are either interval or ratio data.
For the remainder of this chapter, we will assume these conditions have been met. Later in this text, we will discuss methods to verify that we have normal populations and equal variances. We’re now ready to examine our first ANOVA procedure.
11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations
A one-way ANOVA is used when we are looking at the influence that one factor has on the data values. Consider the smartphone example in the previous section. Suppose Table 11.2 shows the satisfaction scores for individual users of each phone. These data can also be found in the file smartphones.xlsx.
Recall that interval data exhibit differences between values are meaningful. Ratio data have all the properties of interval data, with the added benefit of a true zero point.
A one-way ANOVA is used when we are looking at the influence that one factor has on the data values.
An ANOVA test allows us to have unequal sample sizes.
{ table 11.2 | Individual Satisfaction Scores for Four Smartphones
iphone android blackberry nokia
87 71 66 65
85 82 74 69
78 75 79 67
82 80 63
www.freebookslides.com
504 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
The mean scores for each smartphone can be found by taking the average of each column in Table 11.3.
x1 = Sum of iphone scores
n1 =
332
4 = 83.0
x2 = Sum of Android scores
n2 =
308
4 = 77.0
x3 = Sum of BlackBerry scores
n3 =
219
3 = 73.0
x4 = Sum of Nokia scores
n4 =
264
4 = 66.0
We also need to determine the grand mean, x, which is the average of all the smartphone scores in Table 11.3. The equation for calculating the grand mean is as follows:
x = Sum of all scores
Total number of scores =
1,123
15 = 74.87
Here is the question we are pondering: Are these four sample means far enough from one another to justify a claim that the population means from which they were drawn are significantly different using a = 0.05? Let’s find out!
Step 3: Calculate the total sum of squares (SST) and mean square total (MST).
To answer this question, we need to find the total sum of squares (SST ), which measures the amount of variation between each data value and the grand mean. Figure 11.1 shows the SST graphically for our smartphone example.
Each circle in Figure 11.1 represents one specific satisfaction score from Table 11.2. The red horizontal line indicates the grand mean for all 15 scores 1x = 74.872. The length of each arrow represents the variation between each score and the grand mean. Longer arrows in Figure 11.1 indicate a larger value for the SST. Equations 11.1 and 11.2 show how to calculate the SST. Both equations will provide the same result, but using Equation 11.2 requires fewer computations and is the one that I will use.
Be careful not to simply average the four sample means to calculate the grand mean when the sample sizes are not equal. Don’t calculate the grand mean of the smartphone data by adding 83, 77, 73, and 66 and then simply dividing by 4. Rather, divide the total score (1,123) by the total number of scores (15).
The total sum of squares (SST ) measures the amount of variation between each data value and the grand mean.
Step 2: Calculate the sample means 1x2 and grand mean 1x2. The sample mean calculations for our smartphone data from Table 11.2 are shown
in Table 11.3.
{ table 11.3 | Sample Data for the Satisfaction Scores for the Smartphones
iphone android blackberry nokia total
87 71 66 65
85 82 74 69
78 75 79 67
82 80 63
Total 332 308 219 264 1,123
Size 4 4 3 4 15
Mean 83.0 77.0 73.0 66.0 74.87
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 505
where
SST = The total sum of squares xij = The ith value in the jth population x = The grand mean of all the data values
nj = The sample size from the jth population nT = The total number of data values k = The number of populations being compared
Some of you may be freaking out over the looks of these equations, so let’s call a time- out and break these bad boys down. Table 11.4 shows the corresponding data values for various subscripts of i (the row in Table 11.3) and j (the column). For example, x11 1i = 1, j = 12 refers to the first iPhone score in the first column (87), whereas x21 1i = 2, j = 12 refers to the second iPhone score (85) in the same column. The first Android score (71) is assigned to x12 1i = 1, j = 22, which is the first score in the second column. To use Equation 11.2, we sum up all 15 data values 1nT = 152 and also sum the square of all the data values.
We plug these two values into Equation 11.2, as follows:
SST = a k
j = 1 a nj
i = 1 x 2ij -
a a k
j = 1 a nj
i = 1 xijb
2
nT = 84,909 -
11,12322 15
SST = 84,909 - 84,075.27 = 833.73
Students often wonder why we call a procedure that compares means an analysis of variance. As you can see in Figure 11.1, we are examining variances to see if the average scores are different. More on this later!
Even though Equation 11.1 looks simpler than Equation 11.2, it requires more effort when using a hand calculator. If you are using Excel, however, Equation 11.1 is more manageable.
{ figure 11.1 The Total Sum of Squares (SST)
for the Smartphone Data
x– –
64 66 68 70 72 74 76 78 80 82 84 86 88
S at
is fa
ct io
n S
co re
iPhone (1)
Levels
Android (2)
BlackBerry (3)
Nokia (4)
Formulas 11.1 and 11.2 for the total sum of squares (SST )
SST = a k
j = 1 a nj
i = 1 1xij - x22
or
SST = a k
j = 1 a nj
i = 1 x 2ij -
a a k
j = 1 a nj
i = 1 xijb
2
nT
Notice the connection between Figure 11.1 and Equation 11.1. The arrows in the figure represent the difference between xij and the grand mean, x.
www.freebookslides.com
506 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
For those of you who prefer Equation 11.1, Figure 11.2 shows the SST calculation using Excel.
{ table 11.4 | SST Calculations for the Smartphone Data
i j smartphone Xij X 2 ij
1 1 iPhone 87 7,569
2 1 iPhone 85 7,225
3 1 iPhone 78 6,084
4 1 iPhone 82 6,724
1 2 Android 71 5,041
2 2 Android 82 6,724
3 2 Android 75 5,625
4 2 Android 80 6,400
1 3 BlackBerry 66 4,356
2 3 BlackBerry 74 5,476
3 3 BlackBerry 79 6,241
1 4 Nokia 65 4,225
2 4 Nokia 69 4,761
3 4 Nokia 67 4,489
4 4 Nokia 63 3,969
a k
j = 1 a nj
i = 1 xij = 1,123 a
k
j = 1 a nj
i = 1 x 2ij = 84,909
{ figure 11.2 Using Excel to Calculate the SST
The mean square total (MST), which can be found using Equation 11.3, is derived from the SST and is simply another term for the variance of the sample data. The denominator in this equation is the degrees of freedom for the data set, which equals nT - 1.
Formula 11.3 for the Mean square total (MST)
MST = Total sum of squares
nT - 1 =
SST
nT - 1
Notice that in Table 11.4, j = 1 for the iPhone scores, j = 2 for the Android scores, j = 3 for the BlackBerry scores, and j = 4 for the Nokia scores.
The mean square total (MST) is simply another term for the variance of the sample data. It is found by dividing the total sum of squares (SST ) by nT - 1.
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 507
Step 4: Partition the total sum of squares (SST) into the sum of squares between (SSB) and the sum of squares within (SSW).
As Figure 11.3 shows, the total sum of squares (SST) can be divided into two components:
1. The sum of squares between (SSB)
2. The sum of squares within (SSW)
where
MST = The mean square total SST = The total sum of squares
nT = The total number of data values
For our smartphone example, the mean square total (MST) is calculated as follows:
MST = SST
nT - 1 =
833.73
15 - 1 = 59.55
If the null hypothesis is true (and we assume it is unless we find evidence to believe other- wise), all of the levels being compared (smartphone brand) are drawn from the same popula- tion with a mean equal to m and variance equal to s2. Under these circumstances, the MST would be a good estimate for the population variance, s2. We’ll revisit this point later in the chapter.
We’ve covered a lot of material so far in this chapter, and now would be a good time to try your hand at starting your own ANOVA procedure with this Your Turn problem.
In Chapter 8, we learned that degrees of freedom are the number of values that are free to be varied given that information, such as the sample mean, is known.
Remember that the null hypothesis assumes that all population means are equal.
Pretzel Guys is a retail establishment that bakes hand-rolled pretzels on site for its customers. A key step in the pretzel-baking process is to ensure that a consistent-size pretzel is hand-rolled by each em- ployee. To test for consistency, a random sample of four pretzels made by each employee was weighed. The weights of each pretzel in ounces are shown in the following table for each employee and can be found in the Excel file pretzel.xlsx.
Jane (1) Tom (2) Jason (3)
2.5 2.1 3.3
2.7 2.9 2.8
2.2 2.2 3.7
2.6 2.4 3.0
a. State the null and alternative hypotheses. b. Calculate the sample means and grand mean. c. Calculate the total sum of squares (SST ). d. Calculate the mean square total (MST ).
Y o u r t u r n # 1N
Answers can be found on u page 568
{ figure 11.3 Partitioning the Total Sum of
Squares (SST) for a One-Way ANOVA Total Sum
of Squares SST
Sum of Squares Within SSW
Sum of Squares Between
SSB
www.freebookslides.com
508 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
where
SSB = The sum of squares between xj = The sample mean from the jth population x = The grand mean of all the data values
nj = The sample size from the jth population k = The number of populations being compared
For our smartphone example, we have already determined that x = 74.87 and k = 4. Tables 11.3 and 11.4 provide us with the remaining sample data needed for this equation. For your convenience, I’ve summarized this information in Table 11.5.
Equation 11.4 shows the mathematical relationship for this partitioning.
Formula 11.4 for the partitioning of the total sum of squares (SST ) for a one-way anoVa
SST = SSB + SSW
Figure 11.4 illustrates the SSB using our smartphone example.
{ figure 11.4 The Sum of Squares Between
(SSB) for the Smartphone Data
x2
x3
x4
x1
Levels
x
64 66 68 70 72 74 76 78 80 82 84 86 88
S at
is fa
ct io
n S
co re
iPhone (1)
Android (2)
BlackBerry (3)
Nokia (4)
–
–– –
–
–
The first component, the sum of squares between (SSB ), measures the variation between each sample mean and the grand mean as shown by the arrows in this figure. The mean of each sample is shown by a green horizontal line, whereas the grand mean of all 15 scores is indicated by the red line. The length of each arrow represents the variation between each sample mean and the grand mean. A longer arrow in Figure 11.4 indicates a larger value for the SSB. The SSB can be calculated using Equation 11.5.
The first component, the sum of squares between (SSB ), measures the variation between each sample mean and the grand mean of the data.
Formula 11.5 for the sum of squares Between (SSB)
SSB = a k
j = 1 nj1xj - x22
{ table 11.5 | Summarized Sample Data for the Smartphones Example
iphone android blackberry nokia
j = 1 j = 2 j = 3 j = 4
xj x1 = 83 x2 = 77 x3 = 73 x4 = 66
nj n1 = 4 n2 = 4 n3 = 3 n4 = 4
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 509
The sum of squares within (SSW ) measures the variation within each sample, as shown by the arrows in Figure 11.5. Longer arrows in Figure 11.5 indicate a larger value for the sum of squares within (SSW). The sum of squares within (SSW) can be calculated using Equation 11.7 or Equation 11.8.
The sum of squares within (SSW ) measures the variation within each sample.
Applying this data to Equation 11.5, we have the formula:
SSB = a k
j = 1 nj1xj - x22
SSB = n11x1 - x22 + n21x2 - x22 + n31x3 - x22 + n41x4 - x22 SSB = 142183 - 74.8722 + 142177 - 74.8722 + 132173 - 74.8722 + 142166 - 74.8722 SSB = 14218.1322 + 14212.1322 + 1321 - 1.8722 + 1421 - 8.8722 SSB = 264.40 + 18.16 + 10.50 + 314.72 SSB = 607.78
The mean square between (MSB), which can be found using Equation 11.6, provides a sec- ond estimate for the population variance, s2, if the null hypothesis is true. The denominator in this equation is the degrees of freedom for the SSB, which equals k - 1.
Remember that squaring a negative number has a positive result.
Recall that the MST provided us with our first estimate of the population variance.
Formula 11.6 for the Mean square Between (MSB)
MSB = Sum of squares between
k - 1 =
SSB
k - 1
where
MSB = The mean square between SSB = The sum of squares between
k = The number of populations being compared
Putting Equation 11.6 to work with our smartphone example, the mean square between is calculated as following:
MSB = SSB
k - 1 =
607.78
4 - 1 = 202.59
Last, but not least, we can determine the sum of squares within (SSW) with the help of Figure 11.5.
{ figure 11.5 The Sum of Squares Within
(SSW) for the Smartphone Data
x3
x2
x1
x4 64 66 68 70 72 74 76 78 80 82 84 86 88
iPhone (1)
Levels
Android (2)
BlackBerry (3)
Nokia (4)
–
–
–
–
S at
is fa
ct io
n S
co re
The mean square between (MSB ) provides an estimate for the population variance, s2, if the null hypothesis is true. It is found by dividing the sum of squares between (SSB ) by k - 1.
www.freebookslides.com
510 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
where
MSW = The mean square within SSW = The sum of squares within
k = The number of populations being compared nT = The total number of observations
Plugging our smartphone values into Equation 11.9, the mean square within (MSW) is calculated as follows:
MSW = SSW
nT - k =
225.95
15 - 4 = 20.54
Now that we have partitioned the SST into its two components (the SSB and SSW) and calculated the mean squares, we are ready for the next step.
Step 5: Calculate the appropriate test statistic.
The F-test statistic, which was named after the British statistician Ronald Fisher, is the appropriate test statistic to use for a one-way ANOVA. Equation 11.10 shows how to calculate the F-test statistic for a one-way ANOVA.
Formula 11.9 for the Mean square within (MSW)
MSW = Sum of squares within
nT - k =
SSW
nT - k
where
SSW = The sum of squares within SST = The total sum of squares SSB = The sum of squares between
xij = The ith value in the jth population xj = The sample mean from the jth population nj = The sample size from the jth population k = The number of populations being compared
I’ll use Equation 11.8 to determine the SSW because it is a much easier calculation than Equation 11.7 (I’m sure you’ll agree):
SSW = SST - SSB SSW = 833.73 - 607.78 = 225.95
In addition to the mean square total (MST) and mean square between (MSB), the mean square within (MSW ) provides a third estimate for the population variance, s2. The MSW can be found using Equation 11.9. The denominator in this equation is the degrees of free- dom for the sum of squares within, which equals nT - k.
The mean square within (MSW ) provides another estimate for the population variance, s2. It is found by dividing the sum of squares within (SSW ) by nT - k.
Unlike the MST and MSB, the mean square within (MSW) provides a good estimate of the population variance whether or not the null hypothesis is true.
Formulas 11.7 and 11.8 for the sum of squares within (SSW)
SSW = a k
j = 1 a nj
i = 1 1xij - xj22
or
SSW = SST - SSB
Formula 11.10 for the F-test statistic for a one-way anoVa
Fx = MSB
MSW
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 511
Table 11.7 summarizes the results of the smartphone ANOVA.
Using our mean square values from the last step, the calculated F-score, Fx, is as follows:
Fx = MSB
MSW =
202.59
20.54 = 9.86
An ANOVA table is a convenient way to summarize and present the results of the ANOVA procedure. Table 11.6 shows the format and the equations for an ANOVA table.
{ table 11.6 | One-Way ANOVA Equations: A Summary
source sum of squares degrees of freedom mean sum of squares f
Between SSB k - 1 MSB = SSB
k - 1 Fx =
MSB
MSW
Within SSW nT - k MSW = SSW
nT - k
Total SST nT - 1
{ table 11.7 | Summary table for the Smartphone Data
source sum of squares degrees of freedom mean sum of squares f
Between 607.78 3 202.59 9.86
Within 225.95 11 20.54
Total 833.73 14
As I mentioned in the previous step, both the MSB and the MSW provide reasonable estimates for the population variance, s2. Because the null hypothesis assumes all of the samples are drawn from the same population, we would expect the MSB and the MSW to be very close to one another if the null hypothesis was, in fact, true. This would be evident by a critical F-score close to 1.0.
If the null hypothesis is not true because the population means are different, we would expect the MSB to be larger than the MSW, causing the critical F-score to exceed 1.0. To il- lustrate this point, refer to Figure 11.4. Under these conditions, the sample means would be even farther apart from one another than they currently are in the figure, resulting in even longer arrows to the grand mean. This, in turn, would elevate the values of both the SSB and the MSB while leaving the values for the SSW and the MSW relatively unaffected.
Step 6: Determine the appropriate critical value.
The test statistic shown in Equation 11.10 follows a new distribution known as the F-distribution, which is shown in Figure 11.6. As you can see, this distribution is right-skewed, with the rejection region in the right tail. The ANOVA F-test is al- ways a one-tail (upper) hypothesis test, as shown in Figure 11.6. The critical value, Fa, can be found in Table 6 in Appendix A. The F-distribution has two types of degrees of freedom, D1 and D2, which correspond to the degrees of freedom for the sum of squares between SSB and the sum of squares within SSW as follows:
D1 = k - 1 D2 = nT - k
www.freebookslides.com
512 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
According to Table 11.8, the critical value for our smartphone ANOVA with a = 0.05 and degrees of freedom equal to 3 and 11 is Fa = 3.587 (highlighted in yellow).
We can also obtain the critical F-score for our ANOVA procedure using Excel’s F.INV. RT function, which has the following characteristics:
=F.INV.RT 1a, D1, D22 =F.INV.RT 10.05, 3, 112 = 3.587
Step 7: Compare the F-test statistic 1Fx 2 with the critical F-score 1FA2. This comparison is used to decide whether to reject or fail to reject the null hypoth-
esis. To do so, we use the decision rules shown in Table 11.9.
Table 11.8 shows an excerpt from Table 6 in Appendix A, with the following smartphone data:
D1 = k - 1 = 4 - 1 = 3 D2 = nT - k = 15 - 4 = 11
Remember, an ANOVA procedure always uses a one- tail hypothesis test to compare population means.
{ figure 11.6 The F-Distribution
Fa
Reject H0 a
Do Not Reject H0 1 – a
{ table 11.8 | Excerpt from table 6 in Appendix A Area in the Right Tail of Distribution = 0.05
D1 D2 1 2 3 4 5 6 7 8 9 10
1 161.448 199.500 215.707 224.583 230.162 233.986 236.768 238.883 240.543 241.882
2 18.513 19.000 19.164 19.247 19.296 19.330 19.353 19.371 19.385 19.396
3 10.128 9.552 9.277 9.117 9.013 8.941 8.887 8.845 8.812 8.786
4 7.709 6.944 6.591 6.388 6.256 6.163 6.094 6.041 5.999 5.964
5 6.608 5.786 5.409 5.192 5.050 4.950 4.876 4.818 4.772 4.735
6 5.987 5.143 4.757 4.534 4.387 4.284 4.207 4.147 4.099 4.060
7 5.591 4.737 4.347 4.120 3.972 3.866 3.787 3.726 3.677 3.637
8 5.318 4.459 4.066 3.838 3.687 3.581 3.500 3.438 3.388 3.347
9 5.117 4.256 3.863 3.633 3.482 3.374 3.293 3.230 3.179 3.137
10 4.965 4.103 3.708 3.478 3.326 3.217 3.135 3.072 3.020 2.978
11 4.844 3.982 3.587 3.357 3.204 3.095 3.012 2.948 2.896 2.854
{ table 11.9 | Decision Rules for ANOVA
condition conclusion
Fx … Fa S Do not reject H0 Fx 7 Fa S Reject H0
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 513
Because Fx = 9.86 and is greater than Fa = 3.587, we reject the null hypothesis ac- cording to Table 11.9. We can see this graphically in Figure 11.7. The test statistic, Fx, is clearly in the shaded rejection region.
{ figure 11.7 Comparing the F-Test Statistic
with the Critical F-Score for the Smartphone Example
−Fa = 3.587 Fx = 9.86
Reject H0 a = 0.05
Do Not Reject H0 1 – a = 0.95
Step 8: State your conclusions.
It’s been a while since we’ve seen our hypothesis statement, so let’s restate it:
H0: m1 = m2 = m3 = m4 H1: Not all ms are equal
By rejecting the null hypothesis, we have evidence that not all of the four population means are equal. In other words, it appears that the owners of some smartphone brands are more satisfied with their phones than owners of other brands. At this point, however, we don’t have enough information to decide which populations have significantly different satisfac- tion scores. We’ll tackle that task in a later section.
I have two final comments to wrap up this section. First, you may have wondered at the beginning of this chapter why we call a procedure that compares population means an “analysis of variance.” Hopefully by now you realize that to test our hypothesis, an ANOVA compares two types of variances: the variance between samples and the variance within those samples. This is necessary because we are simultaneously comparing more than two sample means.
This leads me to my second point. I have had some insightful students ask me why don’t we just use the two-sample t-test that we learned in Chapter 10 to compare these population means two at a time. Great question! For one thing, this would result in many more calculations than an ANOVA procedure requires because every possible pair of sample means would have to be tested. For instance, with our smartphone example with four sam- ple means, we would have six separate t-tests to perform in order to examine all possible combinations.
More importantly, performing six individual t-tests increases our probability of a Type I error to a level that is much higher than the desired a = 0.05 that we set for the ANOVA procedure. If each t-test had a 95% chance of correctly not rejecting the null hypothesis, then according to our multiplication rule for independent events (Chapter 4), the probability of all six t-tests correctly not rejecting the null is as follows:
10.95210.95210.95210.95210.95210.952 = 0.735 That means the probability of making at least one Type I error for these six t-tests is approxi- mately the following:
1 - 0.735 = 0.265
Obviously, 26.5% is a lot higher than the 5% chance of a Type I error with our ANOVA procedure. This is because the ANOVA procedure compares all four population means simultaneously instead of two at a time.
I use the term approximately to describe the 26.5% chance of making a Type I error because these six events are not completely independent. This is due to the fact that some of the comparisons share the same sample mean. However, the point still stands: An ANOVA test is much more effective than multiple t-tests when comparing three or more population means. You can take that to the bank!
An analysis of variance compares the variance between samples to the variance within those samples to determine if the means of the populations are different.
By performing six individual t-tests, we increase the probability of a Type I error to a level that is much higher than the desired a = 0.05.
www.freebookslides.com
514 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Because we have covered so much material in this section, I thought it would be helpful to summarize the eight steps of a one-way ANOVA in Table 11.10.
{ table 11.10 | Summary of Steps for a One-Way ANOVA
step description procedure
1 Identify the null and alternative hypotheses. H0: m1 = m2 = c = mk H1: Not all ms are equal
2 Calculate the sample means 1x2 and the grand mean 1x2. 3 Calculate the total sum of squares (SST).
Calculate the mean square total (MST). SST = a
k
j = 1 a nj
i = 1 x 2ij -
a a k
j = 1 a nj
i = 1 xijb
2
nT
MST = SST
nT - 1
(11.2)
(11.3)
4 Partition the total sum of squares (SST) into the sum of squares between (SSB) and the sum of squares within (SSW). Calculate the corresponding mean squares.
SSB = a k
j = 1 nj1xj - x22
MSB = SSB
k - 1 SSW = SST - SSB
MSW = SSW
nT - k
(11.5)
(11.6)
(11.8)
(11.9)
5 Calculate the appropriate test statistic. Fx = MSB
MSW (11.10)
6 Determine the appropriate critical value. Critical value, Fa, is found in Table 6 in Appendix A with degrees of freedom:
D1 = k - 1 D2 = nT - k
7 Compare the F-test statistic 1Fx2 with the critical F-score 1Fa2.
Fx … Fa S Do not reject H0 Fx 7 Fa S reject H0
8 State your conclusions.
using excel for a one-Way anoVa We can use Excel’s Data Analysis to perform a one-way ANOVA procedure for our smart- phone example by taking the following steps. Students with Excel for Mac can go to the textbook’s Web site for instructions to perform one-way ANOVA using PHStat.
1. Either open the Excel file smartphones.xlsx or enter the satisfaction score data values in Columns A, B, C, and D as shown in Figure 11.8A.
2. Go to Data and click on Data Analysis on the right side of the ribbon, as shown in Figure 11.8A. This opens the Data Analysis dialog box.
3. Select ANOVA: Single Factor. Click OK.
www.pearsonhighered.com/ donnelly
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 515
Figure 11.8C shows the ANOVA output for the smartphone example, which matches our results from the previous section.
4. Fill in the ANOVA: Single Factor dialog box as shown in Figure 11.8B. Click OK.
{ figure 11.8a Conducting a One-Way ANOVA
Test Using Excel (Steps 1–3)
{ figure 11.8b Conducting a One-Way ANOVA
Test Using Excel (Step 4)
{ figure 11.8c Conducting a One-Way ANOVA
Test Using Excel (Final Result)
Notice that the p-value reported in Cell K13 shown in Figure 11.8C equals 0.001887. This value represents the probability of obtaining a critical F-score of 9.86 or more if the population means are truly equal. Because this p-value is less than a = 0.05, we reject the null hypothesis and conclude that the average scores in these populations are not equal.
www.freebookslides.com
516 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Multiple Comparisons: Comparing pairs of population Means (one-Way anoVa) As mentioned in the previous section, rejecting the null hypothesis with an ANOVA test allows us to conclude that a difference exists between the population means. At this point, however, we are not able to state which populations differ. To do so, we need to rely on the Tukey–Kramer Multiple Comparison Test for One-Way ANOVA, which allows us to examine each pair of sample means and to conclude whether their respective population means differ.
The hypothesis statement for this procedure is
H0: mi = mj H1: mi ≠ mj
for every combination of population pairs being compared from the original ANOVA pro- cedure. We also set our significance level, a, based on the acceptable probability of a Type I error. We’ll apply this multiple comparison method to the smartphone example from the previous section, using a = 0.05 with the following steps.
Step 1: Calculate the absolute sample mean differences.
When we have k sample means to compare, we have
k1k - 12 2
pairs of sample means. In the smartphone example, k = 4, so we have 4132>2 = 6 pairs of sample means. The following pairs are samples:
1 and 2 2 and 3
1 and 3 2 and 4
1 and 4 3 and 4
Because the Tukey-Kramer multiple comparisons procedure tests only for a dif- ference between population means (rather than one being greater than another),
The Tukey–Kramer Multiple Comparison Test for One-Way ANOVA allows us to examine each pair of sample means and to conclude whether their respective population means differ for one-way ANOVA.
An ANOVA procedure only tests to see if population means are different. To find out which means are different, we need to perform a multiple comparison test.
We can also obtain the p-value for our ANOVA procedure using Excel’s F.DIST.RT function, which has the following characteristics:
=F.DIST.RT 1Fx, D1, D22 =F.DIST.RT 19.86, 3, 112 = 0.0019
Before I move on to the next topic, it’s that magical time where you get to find out how much of this material you’ve actually absorbed. Remember, it always looks easy when I do it, so take a few minutes to work on this next Your Turn problem.
Answer the following using your results from the Pretzel Guys problem described in Your Turn #1.
a. Calculate the sum of squares between (SSB) and the mean square between (MSB). b. Calculate the sum of squares within (SSW) and the mean square within (MSW). c. Calculate the appropriate test statistic for the ANOVA procedure. d. Construct an ANOVA summary table. e. Using a = 0.05, can you conclude that there is a difference in the average weight of the pret-
zels made by the three employees? f. Verify your results with Excel.
Y o u r t u r n # 2N
Answers can be found on u pages 568–569
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 517
where
CRi, j = The critical range for comparing sample i to sample j Qa = The critical value from the studentized range table (Appendix A, Table 7)
MSW = The mean square within ni = The sample size from sample i nj = The sample size from sample j
The critical value for the Tukey–Kramer critical range is found in Table 7 in Appendix A based on the desired significance level and the following two degrees of freedom:
D1 = k D2 = nT - k
Table 11.11 shows an excerpt from Table 7 using the following smartphone data:
D1 = k = 4 D2 = nT - k = 15 - 4 = 11
we calculate the absolute value of the difference between sample means, as follows:
0 x1 - x2 0 = 0 83 - 77 0 = 0 6 0 = 6 0 x1 - x3 0 = 0 83 - 73 0 = 0 10 0 = 10 0 x1 - x4 0 = 0 83 - 66 0 = 0 17 0 = 17 0 x2 - x3 0 = 0 77 - 73 0 = 0 4 0 = 4 0 x2 - x4 0 = 0 77 - 66 0 = 0 11 0 = 11 0 x3 - x4 0 = 0 73 - 66 0 = 0 7 0 = 7
Step 2: Calculate the Tukey–Kramer critical range.
The Tukey–Kramer critical range, CRi, j, is calculated for each of the sample pairs by comparing the means from samples i and j using Equation 11.11.
If the differences between any two sample means are negative, the absolute value of that difference is positive.
Formula 11.11 for the tukey–Kramer critical range
CRi, j = QaB MSW2 a 1ni + 1nj b
{ table 11.11 | Excerpt from the Studentized Range Table: Critical Values 1Q A2 of the Studentized Range (0.05 Level)
D1 D2 2 3 4 5 6 7 8 9 10
1 17.97 26.98 38.32 37.08 40.41 43.12 45.40 47.36 49.07
2 6.09 8.33 9.80 10.88 11.74 12.44 13.03 13.54 13.99
3 4.50 5.91 6.82 7.50 8.04 8.48 8.85 9.18 9.46
4 3.93 5.04 5.76 6.29 6.71 7.05 7.35 7.60 7.83
5 3.64 4.60 5.22 5.67 6.03 6.33 6.58 6.80 6.99
6 3.46 4.34 4.90 5.30 5.63 5.90 6.12 6.32 6.49
7 3.34 4.16 4.68 5.06 5.36 5.61 5.82 6.00 6.16
8 3.26 4.04 4.53 4.89 5.17 5.40 5.60 5.77 5.92
9 3.20 3.95 4.41 4.76 5.02 5.24 5.43 5.59 5.74
10 3.15 3.88 4.33 4.65 4.91 5.12 5.30 5.46 5.60
11 3.11 3.82 4.26 4.57 4.82 5.03 5.20 5.35 5.49
Be sure not to confuse this D1 with the D1 for the ANOVA procedure described on page 511 which equals k - 1.
www.freebookslides.com
518 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Step 3: State your conclusions.
The hypothesis for multiple comparisons of sample means was stated as
H0: mi = mj H1: mi ≠ mj
for every combination of sample pairs from the original ANOVA procedure. Table 11.13 shows the decision rules for determining whether we can reject the null hypothesis.
According to Table 11.11, the critical value for our smartphone ANOVA with a = 0.05 and degrees of freedom equal to 4 and 11 is Qa = 4.26 (highlighted in yellow).
Let’s begin this procedure by comparing the difference between the iPhone mean (sample 1) and the Android mean (sample 2). We need the following data from our one-way ANOVA results found earlier:
MSW = 20.54 n1 = 4 n2 = 4
Using Equation 11.11, the Tukey–Kramer critical range for comparing samples 1 and 2 is calculated as follows:
CR1,2 = QaB MSW2 a 1n1 + 1n2 b CR1,2 = 14.262B 20.542 a 14 + 14 b = 14.2622110.27210.502 CR1,2 = 14.26212.2662 = 9.65
The critical range for comparing the difference between the iPhone mean (sample 1) and the BlackBerry mean (sample 3) using n1 = 4 and n3 = 3 is calculated as follows:
CR1,3 = QaB MSW2 a 1n1 + 1n3 b CR1,3 = 14.262B 20.542 a 14 + 13 b = 14.2622110.27210.58332 CR1,3 = 14.26212.4482 = 10.43
Table 11.12 shows the critical ranges for all six pairs of smartphones.
If the size for each sample is the same for the one-way ANOVA, the critical range for all pairs would be the same.
{ table 11.12 | Critical Ranges for the Smartphone Example
comparing samples critical range
i j
1 2 9.65
1 3 10.43
1 4 9.65
2 3 10.43
2 4 9.65
3 4 10.43
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 519
From these results, we can conclude that the average score for the iPhone (sample 1) is higher than the average score for Nokia (sample 4). The average score for the Android (sample 2) is also higher than the average score for Nokia (sample 4). There is not enough evidence to conclude that any other pairs are significantly different at the a = 0.05 level.
This leads me to my next point. The advantage of using the Tukey–Kramer multiple comparisons procedure is that the probability of making a Type I error (5% when we set a = 0.05) applies to all possible combinations of sample pairs. In other words, we have a 5% chance that we will draw the wrong conclusion for at least one of the sample pairs. This 5% value is known as the experiment-wide error rate. Compare this value to the approximate 26.5% chance of making an error that we derived earlier in the chapter when performing six individual t-tests for our smartphone data.
using phStat to perform Multiple Comparisons between population Means We can perform the Tukey–Kramer multiple comparisons procedure using PHStat by taking the following steps. Excel for Mac users can find instructions for this procedure on the text- book’s Web site.
1. Open the Excel file smartphones.xlsx or enter the satisfaction score data values in Columns A, B, C, and D as shown back in Figure 11.8A.
2. Go to Add-Ins + PHStat + Multiple-Sample Tests + One-Way ANOVA, as shown in Figure 11.9A.
The experiment-wide error rate is the probability of committing a Type I error for at least one pair of population means being compared.
The logic behind these rules is as follows: If the absolute difference between two sample means is large enough to be greater than the critical range, we have enough evidence to conclude the population means are different (so we reject the null). If the absolute difference between two sample means is not large enough to be greater than the critical range, we do not have enough evidence to conclude the population means are different (so we do not reject the null).
Table 11.14 shows these decision rules being applied to the six pairs of samples.
If the absolute difference between two sample means is large enough to be greater than the Tukey–Kramer critical range, we have enough evidence to conclude that the population means are different (we should reject the null hypothesis).
{ table 11.13 | Decision Rules for Comparing Pairs of Population Means
condition conclusion
0 xi - xj 0 … CRij S Do not reject H0 0 xi - xj 0 7 CRij S Reject H0
{ table 11.14 | Decision Table for Comparing Pairs of Population Means: Smartphone Example
0 xi - xj 0 CRi,j decision 0 x1 - x2 0 = 6 9.65 6 6 9.65; population means are not different 0 x1 - x3 0 = 10 10.43 10 6 10.43; population means are not different 0 x1 - x4 0 = 17 9.65 17 7 9.65; population means are different 0 x2 - x3 0 = 4 10.43 4 6 10.43; population means are not different 0 x2 - x4 0 = 11 9.65 11 7 9.65; population means are different 0 x3 - x4 0 = 7 10.43 7 6 10.43; population means are not different
www.freebookslides.com
520 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
{ figure 11.9a Conducting a Multiple
Comparisons Test Using PHStat (Step 2)
3. Fill in the One-Way ANOVA dialog box as shown in Figure 11.9B. Click OK.
{ figure 11.9b Conducting a Multiple
Comparisons Test Using PHStat (Step 3)
4. A pop-up message will appear saying, “Look up Q Statistic and enter value in Cell B15.” Click OK.
Figure 11.9C shows the output for the multiple comparison tests, which matches the re- sults we obtained manually after the critical value for the studentized range (4.26) is inserted in Cell B15.
{ figure 11.9c Conducting a Multiple
Comparisons Test Using PHStat (Final Result)
For this next Your Turn, let’s return to the pretzel example from the previous Your Turns to help you practice the multiple comparison procedure.
www.freebookslides.com
C h a p t e r 11 | 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations 521
11.1 Section Problems Basic Skills 11.1 Consider the following partially completed one-way
ANOVA summary table:
Source Sum of Squares
Degrees of Freedom
Mean Sum of Squares F
Between 4
Within 60
Total 76 24
a. Complete the remaining entries in the table. b. How many population means are being tested? c. Using a = 0.05, what conclusions can be made con-
cerning the population means?
11.2 Consider the following data collected from three indepen- dent populations:
Sample 1 Sample 2 Sample 3
10 20 7
14 17 15
7 14 9
11 21 17
a. Calculate the total sum of squares (SST). b. Partition the total sum of squares (SST) into its two
components. c. Using a = 0.05, what conclusions can be made con-
cerning the population means?
11.3 Using the data from Problem 11.2, determine which means are different using a = 0.05.
11.4 Consider the following partially completed one-way ANOVA summary table:
Source Sum of Squares
Degrees of Freedom
Mean Sum of Squares F
Between 50
Within 20
Total 150 22
a. Complete the remaining entries in the table. b. How many population means are being tested? c. Using a = 0.01, what conclusions can be made con-
cerning the population means?
11.5 Consider the following data collected from four indepen- dent populations:
Sample 1 Sample 2 Sample 3 Sample 4
3 14 21 8
8 9 15 3
6 13 16 13
5 14
a. Calculate the total sum of squares (SST). b. Partition the total sum of squares (SST) into its two
components. c. Using a = 0.01, what conclusions can be made about
the population means?
11.6 Using the data from Problem 11.5, determine which means are different using a = 0.01.
applications 11.7 The Federal Aviation Administration (FAA) would like to
determine if the average number of minutes that a plane departs late differs between airports in Philadelphia, Orlando, and Chicago. The following data were collected from randomly selected flights and indicate the number of minutes that each plane was behind schedule at its departure. These data can also be found in the Excel file FAA.xlsx.
Philadelphia Orlando Chicago
12 8 33
0 19 10
27 0 41
34 10 51
12 13 30
a. Perform a one-way ANOVA using a = 0.05 to deter- mine if there is a difference in the average lateness of the flights from these three airports.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.8 The following table indicates the driving distance, in yards, from a random sample of drives for the pro golfers
Using the data and results from Your Turn #1 and #2, perform the Tukey–Kramer multiple comparisons procedure using a = 0.05 to identify which employees have average pretzel weights that are different. Verify your results with PHStat.
Y o u r t u r n # 3N
Answers can be found on u page 569
www.freebookslides.com
522 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Phil Mickelson, Tiger Woods, and Jim Furyk. These data can also be found in the Excel file MWF.xlsx.
Mickelson Woods Furyk
290 311 266
295 290 265
288 297 285
327 286 279
280
a. Perform a one-way ANOVA using a = 0.05 to de- termine if there is a difference in the average driving distances of these three players.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.9 The following data show the number of pounds of ba- nanas sold per week at the Avalon Grocery store when the banana display was positioned in the produce, milk, and cereal sections of the store. These data can also be found in the Excel file bananas.xlsx.
Produce Milk Cereal
62 39 27
40 19 52
61 32 53
54 56 50
38
a. Perform a one-way ANOVA using a = 0.05 to de- termine if there is a difference in the average number of pounds of bananas sold per week in these three locations.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.10 Avis Rent A Car maintains a fleet of low-mileage cars for its customer base. Suppose that Avis would like to pro- mote the fact that its cars have a lower average mileage than that of its competitors in an advertising campaign. To support this claim, Avis has collected the following mileage data from a random sample of rental cars from its own fleet and the fleets of three competitors. Hint: To help make the calculations more manageable, consider con- verting the mileage into thousands of miles (for example, 13,100 = 13.1). These data can also be found in the Excel file Avis.xlsx.
Avis Hertz National Enterprise
13,100 15,900 15,300 14,500
7,800 11,400 21,800 20,000
10,400 5,600 18,100 17,400
14,600 10,100 12,800 24,800
8,600 16,000 20,500 16,300
a. Using a = 0.05, determine if there is a difference in the average mileage between these four companies.
b. Using a = 0.05, determine if there is evidence to sup- port the claim made by Avis.
c. Verify your results with Excel or PHStat.
11.11 A consumer group would like to compare the satisfaction ratings of three fast-food restaurants: McDoogles, Burger Queen, and Windys. A random sample of satisfaction scores on a scale of 1–20 was collected from customers at each restaurant. These data can also be found in the Excel file fast food.xlsx. The scores are as follows:
McDoogles Burger Queen Windys
14 16 18
13 19 14
12 14 16
10 12 11
12 18 16
17 15
16
a. Perform a one-way ANOVA using a = 0.05 to deter- mine if there is a difference in the average satisfaction scores for the three restaurants.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.12 The following table shows the weight of randomly selected packages shipped by FedEx, UPS, and DHL. These data can also be found in the Excel file package weight.xlsx.
FedEx UPS DHL
13.7 9.8 0.7 20.2 13.0 4.0
11.9 5.3 5.7 6.1 7.7 2.0
2.8 14.8 22.8 12.5 8.6 3.7
4.1 1.6 0.4 11.6 7.2 9.8
a. Perform a one-way ANOVA using a = 0.05 to de- termine if there is a difference in the average package weights shipped by these three delivery companies.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.13 Recently, Las Vegas has seen increased competition from Singapore and Macau (China) for customers in the casino resort industry. One measurement of success is the aver- age length of stay by visitors. The following data show the number of days a random sample of visitors stayed at each location. These data can also be found in the Excel file casinos.xlsx.
Singapore Macau Las Vegas
7 2 3
4 4 6
4 3 3
3 1 4
7 1 5
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 523
Tony would like to know if there is a difference in the average number of calls made per day by these three sales reps. At first glance, this appears to be a straightforward one- way ANOVA problem like we saw in the previous section (obviously it’s not because I’ve introduced a new topic, but bear with me for a minute.) In the previous section, we were comparing average scores for each phone. Here we will compare average sales for each rep- resentative. Let’s perform a one-way ANOVA with Excel using a = 0.05. The results are shown in Figure 11.10.
a. Perform a one-way ANOVA using a = 0.05 to deter- mine if the average length of stay of visitors was differ- ent for the three locations.
b. If warranted, perform a multiple comparison test to determine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.14 Suppose a manager at a local Domino’s Pizza would like to determine if the average time it takes to deliver a pizza and return to the store differs for the four employees who make the deliveries. The following data show a random sample of the delivery times for each driver. These data can also be found in the Excel file Dominos.xlsx.
Driver 1 Driver 2 Driver 3 Driver 4
40 16 27 21
32 9 24 7
28 13 13 34
29 22 9 14
40 10
a. Using a = 0.05, determine if the manager has enough evidence to conclude there is a difference in the deliv- ery times of the four drivers.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor
In the previous section, the order in which the smartphone satisfaction scores were presented had no bearing on the results. For example, if we rearranged the BlackBerry scores from 66-74-79 to 74-79-66 in the third column of Table 11.2, the ANOVA results would be un- changed. However, there are situations where the order in which the data are presented does have an impact on the analysis. Consider the following example.
Tony is an area manager for Procter and Gamble (P&G), a company that provides a variety of household products sold in many retail stores. Tony is responsible for three P&G representatives who make sales calls to store managers to service their product needs. Table 11.15 shows the number of sales calls the three reps made last week for each weekday. The data can also be found in the Excel file sales.xlsx.
{ table 11.15 | Sales Calls Made by the P&G Representatives
sales representatives
day dan amy beth
Monday 5 8 8
Tuesday 4 7 4
Wednesday 6 8 7
Thursday 6 7 5
Friday 4 5 3
www.freebookslides.com
524 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
According to Figure 11.10, Dan averages 5.0 calls per day, Amy averages 7.0 calls per day, and Beth averages 5.4 calls per day. Because the p-value in Cell F12 equals 0.126, which is more than a = 0.05, we fail to reject the null hypothesis. Using one-way ANOVA, Tony concludes that, based on the data from these three samples, there is no difference in the average number of sales calls made per day by these three reps.
However (I hope you see this coming), the order in which the sales calls have been recorded is important and has meaning because each value represents a different day of the week. The first row of data in Table 11.15 is linked together because it represents the number of sales calls made on Monday by each employee. The same logic holds true for the other four rows. For example, if we rearranged the order of Dan’s sales calls, we would also have to do the same for Amy and Beth’s sales calls to ensure the proper data value is assigned to the proper weekday. This dependency across the rows is analogous to the situation from Chapter 10 in which two samples were matched pairs. When we have this kind of structure with more than two populations, the appropriate procedure to test the difference in popula- tion means is known as a randomized block ANOVA.
With a randomized block ANOVA, we have added a second factor to the procedure. The main factor is the sales reps, of which there are three levels (Dan, Amy, and Beth). Tony would like to determine if this main factor has an effect on the average number of sales calls made per week. However, by arranging the data according to weekday, we have introduced a second factor, which is known as the blocking factor. The levels of the blocking factor (specific weekdays) are known as blocks. The purpose of the blocking factor is to remove some of the variability in the sales calls associated with the weekday, which may allow us to better detect any differences due to the main factor (the sales reps). That is what we are truly interested in knowing. For instance, if the average number of calls on Friday is less than Monday’s average (perhaps one or more of the reps began the weekend early), a randomized block ANOVA might do a better job at detecting a difference in the average number of calls made by the three employees than a one-way ANOVA. Let’s give it a try!
Step 1: Identify the null and alternative hypotheses.
The hypothesis statement for a randomized block ANOVA is identical to that for the one-way case discussed in the previous section:
H0: m1 = m2 = m3 H1: Not all ms are equal
For this example, I’ll set the probability of making a Type I error to a = 0.05. Step 2: Calculate the factor means, the block means, and the grand mean 1x2. The mean calculations for our sales call data from Table 11.15 are shown in Table 11.16. Notice that I calculated the means for both the columns (the factors, or
sales reps) and the rows (the blocks, or weekday).
Because the p-value (0.126) is more than a (0.05), we conclude that there is no difference in the average number of sales calls made per day by these three reps.
A randomized block ANOVA incorporates a blocking factor to account for variation outside of the main factor in hopes of increasing the likelihood of detecting a variation due to the main factor.
The levels of the blocking factor are known as blocks.
The three population means in the null hypothesis pertain to the three employees’ sales calls.
{ figure 11.10 A One-Way ANOVA Test for the
P&G Sales Call Example
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 525
Once again, we need to find our grand mean, x, which is the sum of all the data divided by the total number of data points, nT, in Table 11.16. This represents the overall average number of sales calls made per day by these three reps.
x = Sum of all data values
nT =
87
15 = 5.8
Step 3: Calculate the total sum of squares (SST).
The total sum of squares (SST) for a randomized block ANOVA is calculated the same way as it is for a one-way ANOVA. We’ll again use Equation 11.2 to deter- mine the SST with the help from the calculations in Table 11.17.
With a randomized block ANOVA, the size of each sample needs to be the same.
The variable nT represents the total number of observations. For the sales call example, we have 15 data values (3 employees multiplied by 5 days), so nT = 15.
Notice that in Table 11.17, j = 1 for Dan, j = 2 for Amy, and j = 3 for Beth.
{ table 11.16 | Sample Data for the P&G Sales Calls
weekday dan amy beth block total block mean
Monday 5 8 8 21 7.0
Tuesday 4 7 4 15 5.0
Wednesday 6 8 7 21 7.0
Thursday 6 7 5 18 6.0
Friday 4 5 3 12 4.0
Factor total 25 35 27 87
Factor mean 5.0 7.0 5.4
{ table 11.17 | SST Calculations for the P&G Sales Calls
i j employee xij x 2 ij
1 1 Dan 5 25
2 1 Dan 4 16
3 1 Dan 6 36
4 1 Dan 6 36
5 1 Dan 4 16
1 2 Amy 8 64
2 2 Amy 7 49
3 2 Amy 8 64
4 2 Amy 7 49
5 2 Amy 5 25
1 3 Beth 8 64
2 3 Beth 4 16
3 3 Beth 7 49
4 3 Beth 5 25
5 3 Beth 3 9
a k
j = 1 a nj
i = 1 xij = 87 a
k
j = 1 a nj
i = 1 x ij
2 = 543
www.freebookslides.com
526 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
We plug these two values into Equation 11.2 as follows:
SST = a k
j = 1 a nj
i = 1 x ij
2 - a a
k
j = 1 a nj
i = 1 xijb
2
nT = 543 -
18722 15
SST = 543 - 504.6 = 38.4
The mean square total (MST) is found using Equation 11.3, as follows:
MST = SST
nT - 1 =
38.4
15 - 1 = 2.74
Before we move on to the next step in a randomized block ANOVA, this would be a good time to stop and catch our breath with a Your Turn exercise. This one will give you an opportunity to start a randomized block ANOVA problem and learn about mystery shopping at the same time.
Many retail establishments use mystery shoppers to provide managers with feedback on how well their service employees perform. A mystery shopper is a person who is hired to pose as a typical customer and complete a report that rates various aspects of his or her shopping experience. The following table shows mystery shopper ratings for the cleanliness of three retail stores on a scale of 1–20. These data can also be found in the Excel file mystery.xlsx. Each shopper rated all three stores.
Shopper Walmart Starbucks The Gap
1 12 17 13
2 16 18 17
3 14 17 17
4 18 20 19
a. State the null and alternative hypotheses. b. Calculate the factor, block, and grand means. c. Calculate the total sum of squares (SST ). d. Calculate the mean square total (MST ).
Y o u r t u r n # 4N
Answers can be found on u page 570
Step 4: Partition the total sum of squares (SST) into the sum of squares between (SSB), the sum of squares block (SSBL), and the sum of squares error (SSE).
The total sum of squares (SST) for the randomized block ANOVA is partitioned into the following three sums of squares:
1. Sum of squares between (SSB)
2. Sum of squares block (SSBL)
3. Sum of squares error (SSE)
Equation 11.12 shows the relationship between these sums of squares.
Remember that k represents the number of populations being tested. In the sales call example, we have three employees, so k = 3.
Formula 11.12 for the Partitioning of the Total Sum of Squares (SST) for a Randomized Block ANOVA
SST = SSB + SSBL + SSE
The sum of squares between (SSB), which is found using Equation 11.5, has the same meaning as it does for a one-way ANOVA. For our sales call example, we have already
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 527
Applying these data to Equation 11.5, we have the following:
SSB = a k
j = 1 nj1xj - x22
SSB = n11x1 - x22 + n21x2 - x22 + n31x3 - x22 SSB = 15215.0 - 5.822 + 15217.0 - 5.822 + 15215.4 - 5.822 SSB = 1521 - 0.822 + 15211.222 + 1521 - 0.422 SSB = 15210.642 + 15211.442 + 15210.162 SSB = 11.2
The mean square between (MSB) is again found using Equation 11.6:
MSB = SSB
k - 1 =
11.2
3 - 1 = 5.6
Next, we’ll see that Equation 11.13 introduces the sum of squares block (SSBL), which measures the variation between the block means and the grand mean.
The sum of squares block (SSBL) measures the variation between the block means and the grand mean.
determined that x = 5.8 and k = 3. Table 11.16 provides us with the remaining sample data needed for this equation. For your convenience, Table 11.18 summarizes this information.
{ table 11.18 | Summarized Sample Data for the P&G Sales Calls
dan amy beth
j = 1 j = 2 j = 3
xj x1 = 5.0 x2 = 7.0 x3 = 5.4
nj n1 = 5 n2 = 5 n3 = 5
where
SSBL = The sum of squares block xi = The sample mean from the ith block x = The grand mean of all the data values b = The number of blocks k = The number of populations being compared
Remember, for our sales call example, the blocks are the weekdays, which means that b = 5. Table 11.19 summarizes the data shown in Table 11.16 that is needed for Equation 11.13.
Formula 11.13 for the Sum of Squares Block (SSBL)
SSBL = k a b
i = 1 1xi - x22
{ table 11.19 | Summarized Block Sample Data for the P&G Sales Calls
monday tuesday wednesday thursday friday
i = 1 i = 2 i = 3 i = 4 i = 5
xi x1 = 7 x2 = 5 x3 = 7 x4 = 6 x5 = 4
www.freebookslides.com
528 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Using our previous results, we have the following:
SSE = SST - 1SSB + SSBL2 SSE = 38.4 - 111.2 + 20.42 = 38.4 - 31.6 = 6.8
Finally, the mean square error (MSE) represents the variance associated with the SSE and can be found using Equation 11.16.
Applying these data to Equation 11.5, we have the following:
SSBL = k a b
i = 1 1xi - x22
SSBL = 1323 1x1 - x22 + 1x2 - x22 + 1x3 - x22 + 1x4 - x22 + 1x5 - x22 4 SSBL = 1323 17 - 5.822 + 15 - 5.822 + 17 - 5.822 + 16 - 5.822 + 14 - 5.822 4 SSBL = 132311.222 + 1 - 0.822 + 11.222 + 10.222 + 1 - 1.8224 SSBL = 132311.442 + 10.642 + 11.442 + 10.042 + 13.2424 SSBL = 13236.804 = 20.4
The mean square block (MSBL) is found using Equation 11.14.The mean square block (MSBL) represents the variance associated with the sum of squares block (SSBL).
Formula 11.14 for the Mean Square Block (MSBL)
MSBL = Sum of squares block
b - 1 =
SSBL
b - 1
Using our sales call results, we have the following:
MSBL = SSBL
b - 1 =
20.4
5 - 1 = 5.1
The mean square block (MSBL) represents the variance associated with the sum of squares block. If the average number of sales calls per day was the same for each weekday, the mean square block (MSBL) value would be zero.
The last component of the total sum of squares (SST) is the sum of squares error (SSE), which represents the random variation in the sales call data that is attributed to neither the employee nor the weekday. The SSE can be determined using Equation 11.15.
The sum of squares error (SSE) represents the random variation in the data not attributed to either the main factor or the blocking factor.
Formula 11.15 for the Sum of Squares Error (SSE) for Randomized Block ANOVA
SSE = SST - 1SSB + SSBL2
Formula 11.16 for the Mean Square Error (MSE) for Randomized Block ANOVA
MSE = Sum of squares error
1b - 121k - 12 = SSE
1b - 121k - 12
Using our sales call results, we have the following:
MSE = SSE
1b - 121k - 12 = 6.8
15 - 1213 - 12 = 0.85
Now that we have partitioned the SST into its three components and calculated the mean squares, we are ready for the test statistic.
The mean square error (MSE) represents the variance associated with the sum of squares error (SSE).
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 529
Step 5: Calculate the main factor test statistic.
The main factor test statistic for a randomized block ANOVA is used to determine if a difference in population means exists; it is shown in Equation 11.17.
Using our mean square values from the previous step, the calculated F-score, Fx, is calculated as follows:
Fx = MSB
MSE =
5.6
0.85 = 6.59
Step 6: Determine the appropriate critical value.
The main factor test statistic shown in Equation 11.17 follows the F-distribution with the following degrees of freedom:
D1 = k - 1 D2 = 1b - 121k - 12
Using our P&G sales call data, the degrees of freedom are as follows:
D1 = k - 1 = 3 - 1 = 2 D2 = 1b - 121k - 12 = 15 - 1213 - 12 = 8
According to Table 11.8, the critical value for our sales call ANOVA using a = 0.05 and degrees of freedom equal to 2 and 8 is Fa = 4.459.
We can also obtain this critical F-score using Excel’s F.INV.RT function as follows:
= F.INV.RT 10.05, 2, 82 = 4.459 Step 7: Compare the F-test statistic 1Fx2 with the critical F-score 1FA2. Because Fx = 6.59, which is greater than Fa = 4.459, we reject the null hypothesis
according to the decision rules shown back in Table 11.9. We can see this graphi- cally in Figure 11.11.
Formula 11.17 for Main Factor F-Test Statistic for a Randomized Block ANOVA
Fx = MSB
MSE
{ figure 11.11 Comparing the F-Test Statistic
with the Critical F-Score for the P&G Sales Call Example
−Fa = 4.459 Fx = 6.59
Reject H0 a = 0.05
Do Not Reject H0 1 – a = 0.95
Step 8: State your conclusions.
By rejecting the null hypothesis, we can conclude that not all of the three popula- tion means are equal. Tony can conclude that some employees average more sales calls per week than others.
Now, hold on 1 minute. Didn’t we just conclude that there was no difference in average calls per week with our one-way ANOVA (see Figure 11.10)? Before we solve this mystery, allow me to demonstrate how to perform a randomized block ANOVA with Excel.
www.freebookslides.com
530 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
using excel to perform a randomized Block anoVa Excel’s Data Analysis can perform a randomized block ANOVA procedure for us. Using the sales call data, we take the following steps. Those of you with Excel for Mac can go to the textbook’s Web site for instructions to perform one-way ANOVA using PHStat.
1. Open the Excel file sales.xlsx or enter the sales call data values in Columns A, B, C, and D as shown in Figure 11.12A.
2. Go to Data and click on Data Analysis on the right side of the ribbon as shown in Figure 11.12A. This opens the Data Analysis dialog box.
3. Select ANOVA: Two Factor Without Replication. Click OK.
{ figure 11.12a Conducting a Randomized
Block ANOVA Test Using Excel (Steps 1–3)
4. Fill in the ANOVA: Two Factor Without Replication dialog box as shown in Figure 11.12B. Click OK.
{ figure 11.12b Conducting a Randomized
Block ANOVA Test Using Excel (Step 4)
5. Figure 11.12C shows the ANOVA output for the sales call example.
{ figure 11.12c Conducting a Randomized
Block ANOVA Test Using Excel (Final Result)
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 531
The “Sources of Variation” section in Figure 11.12C shows the different variables we have discussed, but they are labeled slightly differently in Excel:
• Rows = Blocking variation (SSBL, MSBL) • Columns = Between variation (SSB, MSB) • Error = Error variation (SSE, MSE)
To determine if a difference exists in the means of the populations, we focus our atten- tion on the “Columns” source of variation found in Row 18 in Figure 11.12C. The p-value in Cell K18 is 0.020368 and is less than a = 0.05. Therefore, we reject the null hypothesis and conclude that a difference does exist in the average sales calls made per week between these three employees. In other words, the probability of observing an F-test statistic greater than 6.588235 if the null hypothesis is true is only 0.020368, which is less than the a = 0.05 sig- nificance level we set for ourselves.
We can also obtain the p-value for this ANOVA procedure using Excel’s F.DIST.RT function as follows:
= F.DIST.RT 16.59, 2, 82 = 0.0204
to Block or not to Block: that Is the Question Now, back to our mystery. Why did our one-way ANOVA tell us there was no difference in the average number of sales calls made by the employees, whereas the randomized block ANOVA confirmed there was a difference? To answer this question, let’s investigate the im- pact of the blocking factor on the hypothesis test. In doing so, we need to decide whether the blocking factor (in this case, the weekday) helped or hindered our analysis. Take a look at Figure 11.13, which illustrates the partitioning of the total sum of squares (SST) for both the one-way and randomized block ANOVA.
{ figure 11.13 Further Partitioning the Total
Sum of Squares (SST) for a Randomized Block ANOVA
MSB
= SSB
= SSBL
MSBL
=
=xF
Sum of Squares Within SSW
Total Sum of Squares
SST
Sum of Squares Between
SSB
Sum of Squares Between
SSB
Sum of Squares Block SSBL
Sum of Squares Error SSE
df = (b − 1)(k − 1)
MSE MSB=xF MSW
df = nT − k
df = k − 1
df = b − 1
df = k − 1
k − 1
b − 1
(b − 1)(k − 1)
MSB
MSE SSE
One-Way ANOVA
Randomized Block
ANOVA
With a one-way ANOVA, we will have a greater chance of rejecting the null hypoth- esis when more variation in the data is due to the SSB rather than the SSW. Notice in Figure 11.13 with a randomized block ANOVA, the SSW is further partitioned into the SSBL and the SSE. As more variation in the data is explained by the SSBL for given values of k and b
S less is attributed to the SSE,
S which makes the MSE = SSE
1b - 121k - 12 smaller,
S which makes the test statistic, Fx = MSB
MSE , larger,
S which increases the likelihood of rejecting the null hypothesis 1when Fx 7 Fa2.
www.freebookslides.com
532 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
To illustrate this point, take a look at Table 11.20, which compares these two ANOVAs using the sales call example.
{ table 11.20 | Comparing the Sales Call Data Using a One-Way AnOvA vs. a Randomized Block AnOvA
one-way anova randomized block anova
Test statistic Fx =
MSB
MSW Fx =
MSB
MSE
Fx = 5.6
2.27 = 2.47 Fx =
5.6
0.85 = 6.59
Critical value 3.885 4.459
Decision Fail to reject null hypothesis Reject null hypothesis
As you can see, the test statistic for the randomized block ANOVA has a smaller de- nominator (0.85) than the one-way ANOVA (2.27) because the blocking factor, weekday, has removed some of the variation. In this example, the blocking factor was effective because it resulted in rejecting the null hypothesis. In other words, we were able to tell that the days of the week were masking the result—that the representatives weren’t really making the same number of calls per week. When the blocking was not used (in our one-way ANOVA calcu- lations), we did not detect a difference in sales calls and failed to reject the null hypothesis.
We can take this question of whether to block one step further by testing the signifi- cance of the blocking factor. With our sales call example, we have the following hypotheses:
H0: mBL1 = mBL2 = mBL3 = mBL4 = mBL5 H1: Not all mBLs are equal
where
mBLi = The population mean for the ith block
There are five means in this null hypothesis because there are five blocks in the sales call example (Monday through Friday). The blocking factor test statistic for the random- ized block ANOVA is used to determine if a difference in block means exists; it is shown in Equation 11.18. As we’ll see later in this chapter, this information can help us decide if the blocking factor was useful in the analysis.
Formula 11.18 for Blocking Factor F-Test Statistic for a Randomized Block ANOVA
FBL = MSBL
MSE
Using our mean square values from Figure 11.12C, the calculated F-score for the block- ing factor, FBL, is as follows:
FBL = MSBL
MSE =
5.1
0.85 = 6.0
The blocking factor test statistic shown in Equation 11.18 follows the F-distribution with the following degrees of freedom:
D1 = b - 1 D2 = 1b - 121k - 12
Using our sales call data, the blocking degrees of freedom are as follows:
D1 = b - 1 = 5 - 1 = 4 D2 = 1b - 121k - 12 = 15 - 1213 - 12 = 8
See Figure 11.10 for these values.
Although our primary reason for performing ANOVA was to compare average sales between employees, testing the significance of the blocking factor tells us whether blocking was effective.
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 533
According to Table 11.8, the blocking critical value for our sales call ANOVA using a = 0.05 and degrees of freedom equal to 4 and 8 is Fa = 3.838. Because FBL = 6.0 is greater than Fa = 3.838, we reject the null hypothesis according to the decision rules shown in Table 11.9. By rejecting the blocking null hypothesis, we have evidence that the blocking factor was effective and that it belongs in our final analysis.
In terms of the sales call example, this conclusion means that the weekday appears to influence the number of sales calls made. This can also be verified by looking back at Figure 11.12C and observing that the p-value for the blocking factor, found in Cell K17, is equal to 0.0156, which is less than a = 0.05. In other words, on some weekdays there is a higher or lower number of sales calls across all three employees. This is why we failed to reject the null hypothesis for the sales call example using a one-way ANOVA and were able to reject the null hypothesis using a randomized block ANOVA.
I do have a note of caution at this point. If one of the objectives of the ANOVA proce- dure is to test specifically for a difference in the means of the blocks—that is, if the goal is to consider the blocks as a main factor—the randomized block ANOVA would not be the ap- propriate procedure. Rather, the two-way ANOVA test, which is discussed later in the chap- ter, would be the procedure of choice.
The ANOVA table for the randomized block procedure, which is shown in Table 11.21, looks slightly different from that for the one-way ANOVA example.
Because blocking was effective in the sales call example (it led to a different result than that obtained with the one-way ANOVA procedure), the randomized block ANOVA is the appropriate procedure to use.
{ table 11.21 | Randomized Block AnOvA Equations: A Summary
source
sum of squares
degrees of freedom
mean sum of squares
f
Between SSB k - 1 MSB =
SSB
k - 1 Fx =
MSB
MSE
Block SSBL b - 1 MSBL =
SSBL
b - 1 FBL =
MSBL
MSE
Error SSE 1b - 121k - 12 MSE =
SSE
1b - 121k - 12 Total SST nT - 1
Table 11.22 summarizes the results of the sales call randomized block ANOVA.
{ table 11.22 | Randomized Block AnOvA Summary Table for the P&G Sales Call Data
source
sum of squares
degrees of freedom
mean sum of squares
f
Between 11.2 2 5.6 6.59
Block 20.4 4 5.1 6.0
Error 6.8 8 0.85
Total 38.4 14
If you decide to use the randomized block ANOVA and fail to reject the null hypothesis for the main factor, it’s important to investigate the effectiveness of the blocks by looking at the p-value for the “Rows” source of variation in Excel. If blocking is not effective, it will re- sult in your failing to reject the null hypothesis for the blocking factor. So, including it in the final analysis could result in inflating the probability of a Type II error (failing to find a differ- ence in the means when one really exists). In a sense, the blocking factor, because it is inef- fective, is masking the true difference in the means of the main factor. In this case, you should redo the analysis by conducting a one-way ANOVA. The following is a quick example.
A certain unnamed statistics author likes to humiliate himself on a regular basis by playing golf with his two sons, who like to remind him constantly how much better they are on the golf course than he is (in spite of the fact that he always pays for the rounds). To
www.freebookslides.com
534 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
investigate these claims, I—I mean the unnamed author—recorded the last four rounds of golf played by all three players at four different courses. The scores are shown in Table 11.23.
{ table 11.23 | Golf Scores
course author brian john
1 90 83 85
2 84 85 86
3 90 83 82
4 90 85 80
Because each row in Table 11.23 represents a different golf course, a randomized block ANOVA would appear to be the analysis of choice. Figure 11.14 shows these results using Excel.
{ figure 11.14 Randomized Block ANOVA
Results for the Golf Scores
Because the p-value for the main factor (golfer) in Cell K17 is 0.087508 and is greater than a = 0.05, we fail to reject the null hypothesis. In other words, there is no evidence to support the claims that the sons are better golfers than their poor, broke dad. However, be- cause we used a randomized block ANOVA and failed to reject the null hypothesis, there is a chance that the blocking factor is masking any true difference in the main factor means.
Figure 11.14 provides us with some evidence that the blocking factor was not effective in this analysis. The p-value for the blocking factor (course) can be found in Cell K16 and is equal to 0.964384. Because this value is greater than a = 0.05, we fail to reject the null hypothesis, which means the blocking factor is not carrying its weight in the problem and should be removed from the analysis. In fact, if you look at the average scores in Cells I4 through I7, you will see that the different courses don’t have much effect on the scores of the golfers. Thus, the blocking factor is ineffective. To do the analysis properly, we should perform a one-way ANOVA to be sure the blocking factor is not covering up the difference between the golfers’ average scores.
Figure 11.15 shows the one-way ANOVA results from Excel for the golf score example.
{ figure 11.15 One-Way ANOVA Results for
the Golf Scores
Further evidence that the blocking factor is not effective can be found by looking at the block means in Figure 11.14. The average scores for each of the four courses (86, 85, 85, and 85) don’t vary much at all. It does not appear the different courses have much influence on the golf scores.
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 535
Notice that the p-value in Cell K12 is now equal to 0.02878, which is less than a = 0.05.
Our final conclusion, to this author’s chagrin, is to reject the null hypothesis for the main factor. It appears that there is a difference in the average golf scores of these three players. To spare his pride, it looks like this author needs to keep this chapter away from his sons.
Use the following steps as a guide to answer the question, “To block or not to block?”
1. If a blocking factor seems appropriate for a particular analysis, begin with a randomized block ANOVA design.
2. If the main factor is significant, reject the null hypothesis and proceed with your conclusions.
3. If the main factor with the randomized block design is not significant, proceed to test the main factor with the one-way ANOVA design.
As long as the main factor is statistically significant, there is no concern about the significance of the blocking factor. Remember, the purpose of using the randomized block design is to reduce the variability due to the blocking factor. If there is an interest in inves- tigating the significance of the blocking factor, the randomized block ANOVA is not the ap- propriate design. Rather, a two-way ANOVA design, which can test the significance of two main factors, should be employed. We’ll discuss the two-way ANOVA procedure later in this chapter.
Table 11.24 provides a summary of the steps required to test the main factor using a ran- domized block ANOVA design.
A randomized block ANOVA should not be used to test the significance of the blocking factor. Under these circumstances, use a two-way ANOVA, which is discussed later in this chapter.
{ table 11.24 | Summary of Steps for a Randomized Block AnOvA
step description procedure
1 Identify the null and alternative hypotheses. H0: All ms are equal H1: Not all ms are equal
2 Calculate the factor means, the block means, and the grand mean 1x2.
3 Calculate the total sum of squares (SST).
SST = a k
j = 1 a nj
i = 1 x ij
2 - a a
k
j = 1 a nj
i = 1 xijb
2
nT
MST = SST
nT - 1
(11.2)
(11.3)
4 Partition the total sum of squares (SST) into the sum of squares between (SSB), the sum of squares block (SSBL), and the sum of squares error (SSE). Calculate the corresponding mean squares.
SSB = a k
j = 1 nj1xj - x22
MSB = SSB
k - 1
SSBL = k a b
i = 1 1xi - x22
MSBL = SSBL
b - 1 SSE = SST - 1SSB + SSBL2
MSE = SSE
1b - 121k - 12
(11.5)
(11.6)
(11.13)
(11.14)
(11.15)
(11.16)
(continued)
www.freebookslides.com
536 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
This next Your Turn problem will give you the chance to finish the randomized block procedure on the mystery shopper example.
step description procedure
5 Calculate the main factor test statistic. Fx =
MSB
MSE (11.17)
6 Determine the appropriate critical value. Critical value, Fa, is found in Table 6 in Appendix A with degrees of freedom:
D1 = k - 1 D2 = 1b - 121k - 12
7 Compare the F-test statistic 1Fx2 with the critical F-score 1Fa2.
Fx … Fa S Do not reject H0 Fx 7 Fa S Reject H0
8 State your conclusions.
{ table 11.24 | Summary of Steps for a Randomized Block AnOvA (continued)
Tukey–Kramer Multiple Comparison Test for Randomized Block ANOVA allows us to examine each pair of sample means and to conclude whether their respective population means differ for randomized block ANOVA.
Answer the following using your results from the mystery shopper problem described in Your Turn #4.
a. Calculate the sum of squares between (SSB) and the mean square between (MSB). b. Calculate the sum of squares block (SSBL) and the mean square block (MSBL). c. Calculate the sum of squares error (SSE) and the mean square error (MSE). d. Calculate the main factor test statistic for the ANOVA procedure. e. Using a = 0.05, can you conclude there is a difference in the average cleanliness scores of
the three stores? f. Does the blocking factor appear to be effective? g. Construct an ANOVA summary table. h. Verify your results with Excel.
Y o u r t u r n # 5N
Answers can be found on u pages 570–571
Multiple Comparisons: Comparing pairs of populations Mean (randomized Block anoVa) There are several different procedures to choose from when making multiple comparisons for a randomized block ANOVA. I’ll demonstrate the Tukey–Kramer Multiple Comparison Test for Randomized Block ANOVA using the P&G sales call example. This procedure is very similar to the one-way procedure discussed earlier in the chapter when we were looking at the smartphone data.
Step 1: Calculate the absolute sample mean differences.
With k = 3 populations (employees) being compared, we have 3122>2 = 3 pairs of sample means. The pairs are made up of the following samples:
1 and 2 1 and 3 2 and 3
Using data from Table 11.16, we have the following:
0 x1 - x2 0 = 0 5.0 - 7.0 0 = 0 - 2.0 0 = 2.0 0 x1 - x3 0 = 0 5.0 - 5.4 0 = 0 - 0.4 0 = 0.4 0 x2 - x3 0 = 0 7.0 - 5.4 0 = 0 1.6 0 = 1.6
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 537
Step 2: Calculate the critical range.
The critical range for comparing pairs for a randomized block ANOVA, CR, is used to determine if the difference between a pair of sample means is large enough to conclude that the population means are significantly different. The formula for the CR for a randomized block ANOVA is shown as Equation 11.19.
Formula 11.19 for the Critical Range for a Randomized Block ANOVA
CR = QaA MSEb where
CR = The critical range for comparing two sample means Qa = The critical value from the studentized range table (Appendix A, Table 7) MSE = The mean square error b = The number of blocks
The critical value, Qa, is found in Table 7 in Appendix A. The value is based on our desired significance level and the following two degrees of freedom:
D1 = k D2 = 1b - 121k - 12
Using the P&G sales call data with k = 3 employees and b = 5 weekdays, the degrees of freedom are as follows:
D1 = k = 3 D2 = 1b - 121k - 12 = 15 - 1213 - 12 = 8
Using Table 7 in Appendix A with a = 0.05, the critical value is Qa = 4.04. The critical range for the P&G sales call example can be found with Equation 11.19. Recall from Table 11.22 that the MSE = 0.85.
CR = QaA MSEb = 14.042A 0.855 = 14.04210.41232 = 1.67 Step 3: State your conclusions.
We can use the decision rules in Table 11.13 to determine which pairs of population means are different. Table 11.25 shows these decision rules being applied to the three pairs of samples.
{ table 11.25 | Determining Which Population Means Are Different in the Sales Call Example
0 xi − xj 0 cr decision 0 x1 - x2 0 = 2.0 1.67 2.0 7 1.67; means are different 0 x1 - x3 0 = 0.4 1.67 0.4 6 1.67; means are not different 0 x2 - x3 0 = 1.6 1.67 1.6 6 1.67; means are not different
According to Table 11.25, we can conclude that a difference exists between the average number of weekly sales calls made by Dan (1) vs. Amy (2). There is no evidence that the other two pairs of employees (Dan and Beth, and Amy and Beth) have different means based on these data.
In this next Your Turn section, try the multiple comparison technique on the mystery shopper problem on which you have been working.
www.freebookslides.com
538 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
11.2 Section Problems Basic Skills 11.15 Consider the following partially completed randomized
block ANOVA summary table:
Source
Sum of Squares
Degrees of Freedom
Mean Sum of Squares
F
Between 2
Block 105 7
Error 42
Total 183 23
a. Complete the remaining entries in the table. b. How many population means are being tested? c. Using a = 0.05, what conclusions can be made about
the population means? d. Was blocking effective? Why or why not?
11.16 Consider the following data collected for a randomized block ANOVA:
Block Sample 1 Sample 2 Sample 3
1 8 4 3
2 5 4 3
3 6 2 1
4 13 9 5
a. Calculate the total sum of squares (SST). b. Partition the total sum of squares (SST) into its three
components. c. Using a = 0.05, what conclusions can be made about
the population means? d. Was blocking effective? Why or why not?
11.17 Using the data from Problem 11.16, determine which means are different from one another using a = 0.05.
11.18 Consider the following partially completed randomized block ANOVA summary table:
Source
Sum of Squares
Degrees of Freedom
Mean Sum of Squares
F
Between 72 6.0
Block 168 28.0
Error 18
Total 312 27
a. Complete the remaining entries in the table. b. How many population means are being tested? c. Using a = 0.05, what conclusions can be made con-
cerning the population means? d. Was blocking effective? Why or why not?
11.19 Consider the following data collected for a randomized block ANOVA.
Block Sample 1 Sample 2 Sample 3 Sample 4
1 5 5 10 8
2 4 4 8 4
3 4 3 8 1
4 3 5 8 4
5 4 3 3 2
a. Calculate the total sum of squares (SST). b. Partition the total sum of squares (SST) into its three
components. c. Using a = 0.05, what conclusions can be made about
the population means? d. Was blocking effective? Why or why not?
11.20 Using the data from Problem 11.19, determine which means are different using a = 0.05.
applications 11.21 Suppose Gatorade has developed four new drink flavors
and would like to conduct a taste test to collect data on
Using the data and results from Your Turn #4 and #5, perform the Tukey–Kramer multiple comparisons procedure using a = 0.05 to identify which stores have average cleanliness scores that are different from one another.
Y o u r t u r n # 6N
Answer can be found on u page 571
www.freebookslides.com
C h a p t e r 11 | 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor 539
customers’ preferences. Six people were asked to sample and rate each flavor on a scale of 1–20. The data are as follows and can be found in the file Gatorade.xlsx.
Person Flavor 1 Flavor 2 Flavor 3 Flavor 4
1 19 20 12 17
2 18 17 17 18
3 17 18 16 19
4 13 19 12 14
5 10 13 7 18
6 13 12 11 16
a. Using a = 0.05, what conclusions can be made about the preference for the four flavors?
b. Was blocking effective? Why or why not? c. If warranted, determine which pairs of flavors were
different from one another using a = 0.05. d. Verify your results with Excel.
11.22 Suppose the Environmental Protection Agency (EPA) would like to investigate the impact that octane has on gas mileage. The following table shows the gas mileage for six cars that were driven 1,000 miles with three different grades of gasoline: 87, 89, and 93 octane. The gas mileage was recorded for each octane level. Each car was tested with all three gasoline grades. These data can also be found in the file octane.xlsx.
Car 87 Octane 89 Octane 93 Octane
Maxima 22.6 23.3 23.0
Focus 28.0 29.6 30.1
Accord 22.6 22.1 23.3
Sonata 28.6 29.1 29.4
Camry 24.1 27.7 26.0
Jetta 30.0 29.4 30.7
a. Using a = 0.05, does the octane level appear to have an effect on the gas mileage?
b. Was blocking effective? Why or why not? c. If warranted, determine which pairs of octanes were
different using a = 0.05. d. Verify your results with Excel.
11.23 The superintendent of the Red Clay School District is concerned about the sick time taken by teachers and ad- ministrators. More specifically, she would like to know if there is a difference in the number of hours of sick time taken when comparing the days of the week. To in- vestigate this, seven random weeks were selected during the school year, and the total “sick hours” taken by all employees each day were recorded. The hours are shown
in the following table and can be found in the file sick hours.xlsx.
Week Mon Tues Wed Thurs Fri
1 17 29 24 19 24
2 23 24 18 23 27
3 26 22 22 22 30
4 22 26 20 27 32
5 30 28 21 20 33
6 36 17 21 22 32
7 21 22 21 21 25
a. Using a = 0.05, does there appear to be a difference in the number of sick hours taken during the days of the week?
b. Was blocking effective? Why or why not? c. If warranted, determine which pairs of days were dif-
ferent using a = 0.05. d. What might account for some of these differences? e. Verify your results with Excel.
11.24 Suppose Golf Magazine would like to do an article com- paring the driving distances of various golf balls. Eight golfers were asked to hit Top Flite, Pinnacle, and Titleist golf balls with their drivers. The distance for each shot was measured in yards and is as follows. The file golf balls.xlsx also contains these data.
Golfer Top Flite Pinnacle Titleist
1 217 202 205
2 228 270 228
3 226 237 224
4 214 257 249
5 236 274 267
6 229 252 230
7 241 242 237
8 233 242 230
a. Using a = 0.05, does there appear to be a difference in the driving yardage of the balls?
b. Was blocking effective? Why or why not? c. If warranted, determine which pairs of balls were dif-
ferent using a = 0.05. d. Verify your results with Excel.
11.25 Avon Products has a 24-hour distribution facility in Newark, Delaware, that fulfills orders for the cosmetic maker’s sales representatives. Orders are filled in one of three distribution lines. Random business days were selected, and the number of orders processed for each
www.freebookslides.com
540 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
line over 4-hour intervals was recorded. The data are as follows and can also be found in the file Avon.xlsx.
Interval Line 1 Line 2 Line 3
7:00 a.m.–11:00 a.m. 1,313 1,254 1,279
11:00 a.m.–3:00 p.m. 1,118 1,093 1,395
3:00 p.m.–7:00 p.m. 1,276 1,227 1,190
7:00 p.m.–11:00 p.m. 1,096 988 1,210
11:00 p.m.–3:00 a.m. 1,050 1,244 1,114
3:00 a.m.–7:00 a.m. 1,239 1,202 1,036
a. Using a = 0.05, does there appear to be a difference in the number of orders processed by the lines?
b. Was blocking effective? Why or why not? c. If warranted, determine which pairs of lines were dif-
ferent using a = 0.05. d. Verify your results with Excel.
11.26 Bagel Boys is a chain that sells New York–style bagels at three locations. The owner of the chain would like to inves- tigate if there is a difference in the number of bagels sold per day at each location. A random week was selected, and the number of bagels sold each day at each location was recorded. The data are as follows and can also be found in the file bagels.xlsx.
Day Store 1 Store 2 Store 3
Monday 156 140 130
Tuesday 169 182 131
Wednesday 157 177 139
Thursday 135 151 132
Friday 158 139 146
Saturday 170 213 145
Sunday 175 188 171
a. Using a = 0.05, does there appear to be a differ- ence in the number of bagels sold per day by the three stores?
b. Was blocking effective? Why or why not? c. If warranted, determine which pairs of stores were dif-
ferent using a = 0.05. d. Verify your results with Excel.
11.27 Warehouse clubs such as Costco, BJ’s, and Sam’s Club compete with traditional supermarkets by advertising lower prices to customers who are willing to pay a mem- bership fee and purchase in bulk quantities. Suppose a consumer group would like to investigate if warehouse clubs have different average prices than traditional super- markets. Data in the Excel file warehouse.xlsx show the price of 11 grocery items from a supermarket and three warehouse clubs.
a. Choose the most appropriate ANOVA procedure using a = 0.05 to determine if a difference exists in the av- erage price of these items at the four stores?
b. Was blocking effective? Why or why not? c. If warranted, determine which pairs of stores were dif-
ferent using a = 0.05. d. Verify your results with Excel.
11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations
So far in this chapter, we have considered a one-way ANOVA, which examines the ef- fect that one main factor has on the observed data. I then introduced a randomized block ANOVA, which uses a blocking factor to reduce some of the variation in hopes of improving our chances of discovering a difference in the population means due to the main factor.
Now that we have mastered both the one-way and randomized block ANOVA proce- dures, I’ll wrap up this chapter with two-way ANOVA. A two-way ANOVA examines the simultaneous effect that two main factors have on the observed data. To demonstrate a two- ANOVA technique, let’s use the following example.
A two-way ANOVA is a procedure in which we examine the simultaneous effect that two main factors have on the observed data.
www.freebookslides.com
C h a p t e r 11 | 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 541
Recently, there was an article in USA Today titled “U.S. Fliers Pay Much More Than Europeans.” The article reported that transatlantic round-trip flights originating in the United States cost considerably more than the same flights originating in Europe. To investigate this phenomenon, I personally gathered the data shown in Table 11.26 which displays round-trip airfares between Chicago and London for three different airlines originating in both cities. These data can also be found in the Excel file airfares.xlsx.
{ table 11.26 | Round-Trip Airfare Data for Flights between Chicago and London
united airlines ($)
air france ($)
british airways ($)
Flights originated in Chicago 1,063 1,314 1,442
1,299 1,493 1,413
995 1,443 1,063
1,299 1,577 1,442
1,406 1,314 1,575
Flights originated in London 1,015 1,374 1,603
856 977 1,531
802 1,043 1,079
850 1,070 807
935 1,428 870
With a two-way ANOVA test, we need to identify two main factors from our data. The convention that I’ll use in this section is to assign Factor A to the levels associated with the columns in Table 11.26, of which there are three airlines (United Airlines, Air France, and British Airways). Factor B will be assigned to the levels associated with the rows in Table 11.26, which is the city from which the round-trip flight originated—either Chicago or London. Each of these factors has the potential to contribute variability to the airfares. The purpose of our two-way ANOVA procedure is to simultaneously measure the impact that both of these factors have on the price of a trip. More specifically, we are interested in an- swering the following two questions:
1. Do the average airfares for round-trip flights between the two cities differ among the three airlines? (In other words, is there a difference between the Factor A means?)
2. Do the round-trip airfares differ among the airlines depending on whether the flights originated in London or Chicago? (In other words, is there a difference between the Factor B means)?
The top half of Table 11.26 displays, for each airline, five airfares for flights that origi- nated in Chicago, flew to London, and returned to Chicago. The bottom half of the table shows matched airfares for the same days for flights that originated in London, flew to Chicago, and returned to London. A cell in a two-way ANOVA is a specific combination of one level from Factor A and one level from Factor B. Table 11.26 shows a total of six cells 13 * 2 = 62 because Factor A (the airline companies) has three levels and Factor B has two levels (Chicago-originated flights and London-originated flights). The five airfares in the United Airlines cell for flights originating in Chicago are known as replications because we have five observations for the same level of both factors. The procedure that I will dem- onstrate requires the same number of replications to occur in each cell.
Replications represent the number of data values assigned to each cell in a two-way ANOVA table.
A cell in a two-way ANOVA is a specific combination of one level from Factor A and one level from Factor B.
www.freebookslides.com
542 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
It is not advisable to perform the two-way ANOVA procedure manually because of the number of calculations required. Instead, I will rely on Excel to provide the ANOVA results.
Using excel for a two-Way aNOVa Excel’s Data Analysis can perform a two-way ANOVA procedure for our airfare example. Those of you with Excel for Mac can go to the textbook’s Web site for instructions to per- form two-way ANOVA using PHStat.
1. Either open Excel file airfares.xlsx or enter the airfare data values in Columns A, B, C, and D as Figure 11.16A shows.
2. Go to Data and click on Data Analysis on the right side of the ribbon as shown in Figure 11.16A. This opens the Data Analysis dialog box.
3. Select ANOVA: Two-Factor with Replication. Click OK.
{ figure 11.16a Conducting a Two-Way ANOVA
Test Using Excel (Steps 1–3)
4. Fill in the ANOVA: Two-Factor with Replication dialog box as shown in Figure 11.16B. The Rows per sample: input refers to the number of replications per cell, which in our airfare example is 5. Click OK.
{ figure 11.16b Conducting a Two-Way ANOVA
Test Using Excel (Step 4)
Figure 11.16C shows the two-way ANOVA output for the airfare example. How the out- put is derived will be explained in the next section.
www.freebookslides.com
C h a p t e r 11 | 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 543
the Mean Sum of Squares for a two-Way aNOVa The logic behind a two-way ANOVA is similar to the ANOVA topics we have already cov- ered. Figure 11.17 shows the partitioning of the total sum of squares (SST) for two-way ANOVA, which still represents the total variation for all of the data values.
In the Excel output, Factor A corresponds to the “Columns” source of variation, whereas Factor B data can be found in the “Sample” source of variation.
{ figure 11.16c Conducting a Two-Way ANOVA
Test Using Excel (Final Result)
Total Sum of Squares
SST
Sum of Squares Factor A
SSFA
Sum of Squares Factor B
SSFB
Sum of Squares Interaction
SSAB
Sum of Squares Error SSE
{ figure 11.17 Partitioning the Total Sum of
Squares (SST) in a Two-Way ANOVA
As you can see in Figure 11.17, the total sum of squares (SST) is partitioned into the fol- lowing four sums of squares:
1. Sum of squares Factor A (SSFA)
2. Sum of squares Factor B (SSFB)
3. Sum of squares interaction (SSAB)
4. Sum of squares error (SSE)
Each of these will be discussed in the following sections.
The Sum of Squares for Factor A (SSFA) The sum of squares for Factor A (SSFA) measures the variation between the Factor A means (airlines) and the grand mean for all of the data. Using Equation 11.20, we utilize the SSFA to determine the mean sum of squares for Factor A (MSFA).
The sum of squares for Factor A (SSFA) measures the variation between the Factor A means and the grand mean for all the data.
www.freebookslides.com
544 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
where
MSFA = The mean sum of squares for Factor A SSFA = The sum of squares for Factor A
a = The number of levels for Factor A We can find these values in Figure 11.16C. The variation due to Factor A is labeled as
“Columns” in Row 26 in Figure 11.16C. Because we have three airlines in our data, a = 3.
MSFA = SSFA
a - 1 =
389,048.6
3 - 1 = 194,524.3
The Sum of Squares for Factor B (SSFB) The sum of squares for Factor B (SSFB) measures the variation between the Factor B means (flight-origination city) and the grand mean for all of the data. We use the SSFB to determine the mean sum of squares for Factor B (MSFB) using Equation 11.21.
Formula 11.20 for the Mean Sum of Squares for Factor A (MSFA)
MSFA = Sum of squares factor A
a - 1 =
SSFA
a - 1
The sum of squares for Factor B (SSFB) measures the variation between the Factor B means and the grand mean for all the data.
where
MSFB = Mean sum of squares for Factor B SSFB = Sum of squares for Factor B
b = Number of levels for Factor B We can also find these values in Figure 11.16C. The variation due to Factor B is la-
beled as “Sample” in Row 25 in Figure 11.16C. Because we have two cities in which flights originate (Chicago and London), b = 2. Using these values in Equation 11.21, we get the following:
MSFB = SSFB
b - 1 =
506,480.1
2 - 1 = 506,480.1
The Sum of Squares for Interaction of Factors A and B (SSAB) Because we are examining the simultaneous effect of Factors A and B on the airline fares, we have to consider any interaction between the two factors themselves that could contribute to some of the variation in airfares. The sum of squares interaction (SSAB) represents the variation due to the effect that Factor A has on Factor B, or vice versa.
For example, if airfares were consistently lower for flights originating in London on United Airlines and Air France, but the same flights were consistently higher for British Airways, we would observe an interaction between Factors A and B. This is because the airfares for a level in Factor A (British Airways) have been influenced by a level in Factor B (London).
We’ll discuss interaction in more detail in another section of this chapter. In the mean- time, all you need to know for the time being is that, if interaction between Factors A and B is present, we cannot rely on the validity of the ANOVA results to measure the effect the factors have on the data. In other words, interaction causes headaches and we hope not to see it in our analysis.
The sum of squares interaction (SSAB) represents the variation due to the effect that Factor A has on Factor B, or vice versa.
Formula 11.21 for the Mean Sum of Squares for Factor B (MSFB)
MSFB = Sum of squares factor B
b - 1 =
SSFB
b - 1
www.freebookslides.com
C h a p t e r 11 | 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 545
The sum of squares for the interaction of Factors A and B is used to determine the mean sum of squares for interaction of Factors A and B (MSAB), which can be found using Equation 11.22.
Formula 11.22 for the Mean Sum of Squares for Interaction of Factors A and B (MSAB)
MSAB = SSAB
1a - 121b - 12
where
MSAB = The mean sum of squares for interaction of Factors A and B SSAB = The sum of squares for interaction of Factors A and B
Again, we can find these values in Figure 11.16C in the “Interaction” source of varia- tion found in Row 27 in Figure 11.16C. Using these values in Equation 11.22, we get the following:
MSAB = SSAB
1a - 121b - 12 = 16,004.1
13 - 1212 - 12 = 8,002.0
The Sum of Squares for Error (SSE) The sum of squares error (SSE) is the variation in the data that’s left over after we have re- moved the variation from the following:
• Factor A
• Factor B
• The interaction from Factors A and B
In other words, the SSE represents the randomness in the data that is not accounted for by any factor or interaction between the factors. We use SSE to determine the mean square error (MSE) for two-way ANOVA using Equation 11.23.
The sum of square error (SSE) for two- way ANOVA represents the variation in the data that’s left over after we have removed the variation from Factor A, Factor B, and the interaction from Factors A and B.
The mean square error (MSE) for two- way ANOVA is found by dividing the sum of squares error (SSE) by nT - 1ab2.
Formula 11.23 for the Mean Squares Error (MSE) for a Two-Way ANOVA
MSE = SSE
nT - 1ab2
where
MSE = The mean square error SSE = The sum of squares error
nT = The total number of data values We can also find these values in Figure 11.16C in the “Within” source of variation (see
Row 28). Because each airline has 10 airfares (five replications from each originating city) and we have three airlines, we have a total of 30 data values 1nT = 302. Using these values in Equation 11.23, we get the following:
MSE = SSE
nT - 1ab2 =
1,068,634.4
30 - 132122 = 1,068,634.4
30 - 6 = 44,526.4
Interpreting the Output for a two-Way aNOVa We are now ready to put all of these mean sum of squares together to determine if the popu- lation means of the airfares are different from one another.
Multiplying the number of replications (5) by the number of airlines 1a = 32 by the number of cities 1b = 22 results in the total number of observations 1nT = 302.
The mean sum of squares for interaction of Factors A and B (MSAB) is found by dividing the sum of squares interaction (SSAB) by 1a - 12 1b - 12
www.freebookslides.com
546 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Step 1: Test for interaction between Factors A and B.
We perform this test first because if we do find that interaction exists, we are stopped in our tracks when it comes to using a two-way ANOVA. The presence of interaction inter- feres with the interpretation of the impact of Factors A and B on the population means. I’ll conduct all of the hypothesis tests using a = 0.05. The hypothesis statement for the interaction is as follows:
H0: Factors A and B do not interact
H1: Factors A and B do interact
The test statistic for the interaction hypothesis is shown as Equation 11.24.
The null hypothesis for interaction is always that Factors A and B do not interact.
Formula 11.24 for the Interaction Test Statistic
FAB = MSAB
MSE
Using our results from the previous section, we have the following:
FAB = MSAB
MSE =
8,002.0
44,526.4 = 0.18
The p-value in Cell K27 in Figure 11.16C equals 0.8366. This value represents the probability of observing an F-statistic greater than 0.18 if the null hypothesis were true. Because this probability is more than a = 0.05, we fail to reject the null hypothesis. We do not have enough evidence to conclude that interaction between Factors A and B exists. We can now move on to the next step and test the effect that each main factor (each airline and each city from which the flights originate) has on our conclusion.
Step 2: Test for Factor A.
Factor A is defined as the airlines. Using the following hypothesis statement, we can now test if the airline means are different.
H0: mA1 = mA2 = mA3 H1: Not all Factor A means are equal
where
mAi = The population mean for the ith level of Factor A The test statistic for the Factor A hypothesis is shown in Equation 11.25.
This alternative hypothesis is testing to determine if the average airfares for United Airlines, Air France, and British Airways are different.
Formula 11.25 for the Factor A Test Statistic
FA = MSFA
MSE
Using our results from the previous section, we have the following:
FA = MSFA
MSE =
194,524.3
44,526.4 = 4.37
The p-value, which is shown in Cell K26 in Figure 11.16C and which equals 0.0241, represents the probability of observing an F-statistic greater than 4.37 if the null hypoth- esis is true. Because this probability is much less than a = 0.05, we can reject the null hypothesis. In other words, we have enough evidence to conclude that the average airfares for round-trip flights between Chicago and London do differ among the three airlines. The average airfares can be found in Cells G19, H19, and I19 for United Airlines, Air France, and British Airways, respectively, in Figure 11.16C and are summarized in Table 11.27.
After failing to reject the null hypothesis that tests for interaction, we can proceed testing for Factors A and B. Had we rejected the null hypothesis for interaction, the test for Factors A and B would be unreliable.
www.freebookslides.com
C h a p t e r 11 | 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 547
Step 3: Test for Factor B.
Factor B is defined as the originating city for a round-trip flight. We can now make the following hypothesis statement to test if the Factor B means are different:
H0: mB1 = mB2 H1: Not all Factor B means are equal
where mBi = The population mean for the ith level of Factor B
The test statistic for the Factor B hypothesis is shown as Equation 11.26.
This alternative hypothesis is testing to determine if the average airfares for flights originating in Chicago and London are different.
{ table 11.28 | Average Airfare by Originating City
city average airfare ($)
Chicago 1,342.53
London 1,082.67
{ table 11.27 | Average Airfare by Airline
airline average airfare ($)
United Airlines 1,052.00
Air France 1,303.30
British Airways 1,282.50
Formula 11.26 for the Factor B Test Statistic
FB = MSFB
MSE
Using our results from the previous section, we have the following:
FB = MSFB
MSE =
506,480.1
44,526.4 = 11.37
The p-value in Cell K25 in Figure 11.16C equals 0.0025. It represents the probability of observing an F-statistic greater than 11.37 if the null hypothesis is true. Because this probability is much less than a = 0.05, we can again reject the null hypothesis. In other words, we have enough evidence to conclude that the average airfares for flights originat- ing in Chicago are different from those originating in London. These average airfares can be found in Cell J7 for Chicago and Cell J13 for London in Figure 11.16C. Table 11.28 summarizes the averages for the two cities.
It appears that across all three airlines, flights originating in Chicago are much more ex- pensive than those starting in London. Apparently, the USA Today article was accurate.
Step 4: Summarize the results in an ANOVA table.
Table 11.29 is a summary table for the two-way ANOVA procedure.
www.freebookslides.com
548 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Table 11.30 summarizes the results of the airfare two-way ANOVA.
{ table 11.29 | Two-Way AnOvA summary Table
source
sum of squares degrees of freedom mean sum of squares f
B SSFB b - 1 MSFB =
SSFB
b - 1 FB =
MSFB
MSE
A SSFA a - 1 MSFA =
SSFA
a - 1 FA =
MSFA
MSE
AB SSAB 1a - 121b - 12 MSAB =
SSAB
1a - 121b - 12 FAB = MSAB
MSE
Error SSE nT - 1a21b2 MSE = SSE nT - 1a21b2
Total SST nT - 1
{ table 11.30 | Two-Way AnOvA summary Table for the Airfare Data
source sum of squares degrees of
freedom
mean sum of squares f
Factor B 506,480.1 1 506,480.1 11.37
Factor A 389,048.6 2 194,524.3 4.37
Interaction 16,004.1 2 8,002.0 0.18
Error 1,068,634.4 24 44,526.4
Total 1,980,167.2 29
It’s time for me to take a break and turn this over to you so you can try your own two-way ANOVA problem.
N Katie is a regional manager for Target and is responsible for the performance of three New Jersey stores located in Gloucester, Deptford, and Voorhees. Katie has read some research about the impact that environmental scents have on customers’ perceptions. To investigate this phenomenon, Katie made arrangements for each store to be scented with lavender for a period of time and then with citrus for another period of time. Customers were surveyed on a scale of 1–20 about their overall impressions of the stores during these periods. Data were also collected when the stores were unscented. The following table shows these results, which can also be found in the file target.xlsx.
Lavender Citrus Unscented
Gloucester 13 18 12
16 20 16
19 15 15
16 18 15
Deptford 15 17 14
12 17 9
14 14 12
13 17 13
Y O U r t U r N # 7
(continued )
www.freebookslides.com
C h a p t e r 11 | 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 549
revisiting Interaction Earlier in this chapter, we discussed the issue of interaction between the two main factors in a two-way ANOVA. The best way to explain interaction is through an interaction plot that displays the relationship between the factors. Let’s start this section by using Excel to show how to construct this plot for our airfare example:
1. Open the Excel file airfares.xlsx or enter the airfare data values in Cells A1 through D11 as shown in Figure 11.18.
2. Calculate the mean for each of the six cells as shown in Cells B15 through D16 in Figure 11.18. For example, Cell B15 shows the average airfare for the five flights originating in Chicago with United Airlines. Cell B15 has the Excel formula = AVERAGE1B2:B62. Repeat this calculation for the remaining five cells.
3. Calculate the difference between the cell means for each airline. For example, Cell B18 has the formula = 1B15 - B162. Repeat this calculation for Cells C18 and D18.
4. Highlight Cells A14 through D16 as shown in Figure 11.18.
5. Go to Insert and click on Line on the middle of the ribbon as shown in Figure 11.18.
6. Select Line with Markers as shown in Figure 11.18.
Lavender Citrus Unscented
Voorhees 11 15 15
19 16 16
15 20 11
16 18 12
a. Perform a two-way ANOVA using Excel to test the effects Factor A (the scent or lack of it) and Factor B (the location) have on the perceptions of customers, along with any interaction of the two factors.
b. Construct an ANOVA summary table for this problem. c. State your conclusions using a = 0.05.
Answers can be found on u page 572
{ figure 11.18 Using Excel to Construct an
Interaction Plot
Excel for Mac users can find these instructions on the textbook’s Web site.
www.freebookslides.com
550 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Figure 11.19 shows the resulting interaction plot for our airfare data.
{ figure 11.19 An Interaction Plot for
the Airfare Example (No Interaction)
The orange line in Figure 11.19 plots the average airfare for each airline for one level in Factor B (flights originating in London). The blue line represents the average airfare for each airline for the other level in Factor B (flights originating in Chicago). The distance between these two lines represents the average difference in airfare between flights originating in Chicago and London that was calculated in Row 18 in Figure 11.18. You saw in Figure 11.18 that the difference ranges from $209 for British Airways to $320.80 for United Airlines. Figure 11.19 shows this result visually: The average airfare is more expensive when a flight originates in Chicago, regardless of which airline we examine.
The fact that the two lines in the figure are close to being parallel to one another indi- cates that there is little or no interaction between Factors A and B. In other words, it does not matter which airline we examine. The average airfare across the three airlines will always be higher for flights originating from Chicago. In general, there is no interaction between Factors A and B when the data values for each level of one factor behave in the same fashion across all levels of the other factor.
Figure 11.19 shows an instance in which there was little or no interaction between Factors A and B. But what does interaction look like when it does occur, you might be won- dering? I’m glad you asked. To illustrate the presence of interaction, I’m going to rearrange the airfare data by swapping the two sets of cells for British Airways shown in Figure 11.20 (the cells in the red boxes). In this new spreadsheet, the Chicago flights are still more expen- sive for United Airlines and Air France. However, the London flights are now more expen- sive for British Airways.
{ figure 11.20 A Two-Way ANOVA with
Interaction
www.freebookslides.com
C h a p t e r 11 | 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 551
Allow me to restate the hypothesis statement for the interaction of Factors A and B.
H0: Factor A and B do not interact
H1: Factor A and B do interact
The p-value for the interaction of factors (shown in Cell K27) is now 0.0197. Because this value is less than a = 0.05, we reject the null hypothesis and conclude that interaction be- tween Factors A and B exists. Figure 11.21 shows the interaction plot for the revised data.
{ figure 11.21 An Interaction Plot for the
Airfare Example (Interaction Present)
Notice now that the orange and blue lines intersect one another, which is an indication that interaction is present between the two main factors. Here, the more expensive origi- nating city depends on which airline you are considering. A Chicago origination is more expensive on United and Air France. However, a London origination is now more expensive on British Airways. Intersecting lines like the ones we see in Figure 11.21 suggest the pres- ence of interaction between Factors A and B. Interaction is present because the pattern that the more expensive flights originate in Chicago does not hold true across all airlines. Under these circumstances, the conclusions from testing Factor A and Factor B with a two-way ANOVA can be unreliable.
When interaction is present, however, all is not lost. Another option would be to perform a one-way ANOVA for Factor A for each level of Factor B, or vice versa. For example, we could perform a one-way ANOVA to see if there is a difference in the mean airfares of the airlines for flights originating in Chicago. We could then repeat this analysis for flights origi- nating in London.
Just because lines cross in Figure 11.21 does not mean that interaction in the populations exists. The plot in Figure 11.21 is based on a sample that is subject to sampling error. The p-value in Figure 11.20 is the deciding factor for interaction in the populations.
Construct an interaction plot for Factors A and B using the data shown in Your Turn #7. Hint: There will be three horizontal lines in this plot.
Y O U r t U r N # 8N
Answer can be found on u page 572
Multiple Comparisons: Comparing pairs of population Means (two-Way aNOVa) When interaction between Factors A and B is not present and we have found that a dif- ference in means does exist with either factor, we can perform the Tukey–Kramer Multiple Comparison Test for Two-Way ANOVA (now, that’s a mouthful). This test is very similar to the previous comparison tests that we’ve already encountered. We’ll compare the absolute dif- ference in sample means from our original airfare example (without interaction) with a criti- cal range to determine which means are different.
First, we’ll calculate the critical range for Factor A, CRA, using Equation 11.27.
Tukey–Kramer Multiple Comparison Test for Two-Way ANOVA allows us to examine each pair of sample means and to conclude whether their respective population means differ for two-way ANOVA.
www.freebookslides.com
552 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
Formula 11.27 for the Critical Range for Factor A
CRA = QAA MSEbr where
CRA = The critical range for comparing two sample means for Factor A QA = The critical value for Factor A from the studentized range table (Appendix A, Table 7)
MSE = The mean square error b = The number of levels in Factor B r = The number of replications in each cell
The critical value for Factor A, QA, is found in Table 7 in Appendix A. The value is based on our desired significance level and the following two degrees of freedom:
D1 = a D2 = ab1r - 12
Remember, a = the number of levels for Factor A. Using the airfare data with a = 3 airlines, b = 2 cities, and r = 5 replications per cell, the degrees of freedom are as follows:
D1 = a = 3 D2 = ab1r - 12 = 13212215 - 12 = 24
Using a = 0.05, Table 7 in Appendix A shows that the critical value is QA = 3.53. Recalling that MSE = 44,526.4 as shown in Figure 11.16C, the critical range for the airfare example can be found with Equation 11.27:
CRA = QAA MSEbr = 13.532A 44,526.4122152 = 13.532166.732 = 235.6 Table 11.27 summarizes the Factor A means for each airline. Using these data, Table
11.31 compares the absolute differences in the sample means with the critical value and states the decision. Note that United Airlines = Sample 1, Air France = Sample 2, and British Airways = Sample 3.
{ table 11.31 | Determining Which sample Means Are Different for Factor A
0xi - x j 0 cra decision 0 x1 - x2 0 = 0 1,052.0 - 1,303.3 0 = 251.3 235.6 251.3 7 235.6; means are
different
0 x1 - x3 0 = 0 1,052.0 - 1,282.5 0 = 230.5 235.6 230.5 6 235.6; means are not different
0 x2 - x3 0 = 0 1,303.3 - 1,282.5 0 = 20.8 235.6 20.8 6 235.6; means are not different
If 0 xi - xj 0 7 CRA, we can conclude that the population means are different. According to Table 11.31, we can conclude that for round-trip flights between Chicago and London, the average airfare for Air France is higher than it is for United Airlines. However, there is not enough evidence to claim there is a difference in the round-trip airfares between United Airlines and British Airways and between Air France and British Airways.
Next, we’ll calculate the critical range for Factor B, CRB, using Equation 11.28.
www.freebookslides.com
C h a p t e r 11 | 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 553
where
CRB = The critical range for comparing two sample means for Factor B QB = The critical value for Factor B from the studentized range table (Appendix A, Table 7)
MSE = The mean square error a = The number of levels in Factor A r = The number of replications in each cell
The critical value for Factor B, QB, is found in Table 7 from Appendix A. The value is based on our desired significance level and the following two degrees of freedom:
D1 = b D2 = ab1r - 12
Using the airfare data with a = 3 airlines, b = 2 cities, and r = 5 replications per cell, the degrees of freedom are as follows:
D1 = b = 2 D2 = ab1r - 12 = 13212215 - 12 = 24
Using a = 0.05, Table 7 in Appendix A shows that the critical value is QB = 2.92. With MSE = 44,526.4, the critical range for the airfare example can be found using Equation 11.28:
CRB = QBA MSEar = 12.922A 44,526.4132152 = 12.922154.482 = 159.08 Normally, we would not bother performing a multiple comparison test for a factor with only two levels, such as Factor B in our airfare example, because there is only one pair of sample means to examine: the mean fare for flights originating from Chicago and the mean fare for flights originating from London. However, I’ll perform the test in this instance to provide you with an example of how to proceed (you’re very welcome). Table 11.28 provides us with sample means for the two levels in Factor B. Using these data, Table 11.32 compares the ab- solute difference in the sample means with the critical value and states the decision.
{ table 11.32 | Determining Which sample Means Are Different for Factor B
0x i - x j 0 crb decision 0 x1 - x2 0 = 0 1,342.5 - 1,082.7 0 = 259.8 159.08 259.8 7 159.08; means are
different
Table 11.32 simply confirms what we already knew. Round-trip airfares between Chicago and London are significantly cheaper if the flight originates in London rather than Chicago. Who would have guessed?
Take advantage of this last Your Turn problem to make sure you understand how to per- form multiple comparisons with a two-way ANOVA.
Using the data from Your Turn #7, perform a multiple comparison test to see if there is difference in the means of the populations. Then state your conclusions.
Y O U r t U r N # 9N
Answers can be found on u page 573
Formula 11.28 for the Critical Range for Factor B
CRB = QBA MSEar www.freebookslides.com
554 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
11.3 Section Problems Basic Skills 11.28 Consider the following partially completed two-way
ANOVA summary table:
Source Sum of Squares
Degrees of Freedom
Mean Sum of Squares F
Factor A 100 2
Factor B 2
Interaction 60
Error 450 45
Total 730 53
a. Complete the remaining entries in the table. b. How many replications are present for each cell? c. Using a = 0.05, is there significant interaction be-
tween Factors A and B? d. Using a = 0.05, are the Factor A means different? e. Using a = 0.05, are the Factor B means different?
11.29 Consider the following data collected for a two-way ANOVA:
Factor A
Factor B Level 1 Level 2 Level 3
Level 1 9 31 29
18 20 31
31 22 35
Level 2 21 22 34
23 27 33
13 21 23
a. Using a = 0.05, is there significant interaction be- tween Factors A and B?
b. Using a = 0.05, are the Factor A means different? c. Using a = 0.05, are the Factor B means different?
11.30 Using the data from Problem 11.29, determine which means are different using a = 0.05, when warranted.
11.31 Consider the following partially completed two-way ANOVA summary table:
Source Sum of Squares
Degrees of Freedom
Mean Sum of Squares F
Factor A 3 30.0
Factor B 20 2.0
Interaction 6 7.0 1.4
Error 72
Total
a. Complete the remaining entries in the table. b. How many replications are present for each cell? c. Using a = 0.05, is there significant interaction be-
tween Factors A and B? d. Using a = 0.05, are the Factor A means different? e. Using a = 0.05, are the Factor B means different?
11.32 Consider the following data collected for a two-way ANOVA:
Factor A
Factor B Level 1 Level 2 Level 3
Level 1 8 9 10
6 12 28
14 19 24
Level 2 28 31 25
10 21 36
16 19 33
Level 3 39 40 38
33 28 37
23 40 31
a. Using a = 0.05, is there significant interaction between Factors A and B?
b. Using a = 0.05, are the Factor A means different? c. Using a = 0.05, are the Factor B means different?
11.33 Using the data from Problem 11.32, determine which means are different using a = 0.05, when warranted.
applications 11.34 Suppose the Robert H. Smith School of Business at the
University of Maryland would like to compare the starting salaries for both men and women who graduated with differ- ent majors. The following data show starting salaries for ran- dom students from the most recent graduating class. These data can also be found in the file starting salaries.xlsx.
Majors
Finance ($)
Marketing ($)
Accounting ($)
Women 45,400 41,700 52,600
46,200 44,600 40,900
48,100 41,400 47,000
46,200 46,100 53,700
Men 49,200 43,900 44,000
50,300 42,100 50,500
43,100 43,700 45,300
53,300 39,600 47,300
a. Using a = 0.05, is there significant interaction between Factor A and Factor B (major and gender)?
b. Using a two-way ANOVA and a = 0.05, does the major have an effect on a person’s starting salary?
c. Using a two-way ANOVA and a = 0.05, does gender have an effect on a person’s starting salary?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the major and gender factors.
www.freebookslides.com
C h a p t e r 11 | 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations 555
11.35 The recent Wall Street Journal article titled “The Power of a Gentle Nudge” cited a Stanford University study that re- searched the motivation of people to exercise. Participants were placed in one of three groups. After stating an exer- cise program, people in the first group received a phone call every three weeks from a trained health educator to ask about their exercise programs and encourage them to continue exercising. A second group received the same call from an automated system. The third group did not receive a call. The number of minutes spent exercising per week was recorded at the beginning of the program, after six months, and after one year. Suppose the following table provides data from this study. These data can also be found in the file exercise.xlsx.
Type of Advice
Human Advice
Automated Advice
No Advice
At the beginning 93 64 68
99 65 56
118 106 64
89 117 102
After six months 119 198 106
167 242 97
141 115 151
121 166 74
After one year 104 186 144
212 250 128
173 140 101
193 185 125
a. Using a = 0.05, is there significant interaction between the type of advice and the length of the exer- cise program?
b. Using a two-way ANOVA and a = 0.05, does the type of advice have an effect on the number of minutes the groups exercised per week?
c. Using a two-way ANOVA and a = 0.05, does the length of the exercise program (the length of time since it began) have an effect on the number of minutes the groups exercised per week?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the type of advice and length of the exercise program (the length of time since it began).
11.36 Urban traffic congestion throughout the world has been increasing in recent years, especially in developing coun- tries. The following table shows the number of minutes that randomly selected drivers spent stuck in traffic in various cities on both weekdays and weekends. The data for this problem can also be found in the file traffic.xlsx.
City
Beijing New Delhi
Mexico City
New York
Weekday 89 44 56 53
74 113 81 65
119 65 81 38
67 76 99 42
94 97 122 51
Weekend 80 81 35 30
87 26 86 39
69 104 75 44
71 79 66 44
58 77 36 42
a. Using a = 0.05, is there significant interaction between the city and time of the week?
b. Using a two-way ANOVA and a = 0.05, does the city have an effect on the amount of time stuck in traffic?
c. Using a two-way ANOVA and a = 0.05, does the time of the week have an effect on the amount of time stuck in traffic?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the city and the time of the week.
11.37 A credit score is a numerical value between 300 and 850 that measures a person’s creditworthiness. The following table shows the credit scores for randomly selected indi- viduals from Texas, Pennsylvania, California, and Florida, who are grouped according to their ages. These data can also be found in the file credit scores.xlsx.
State
TX PA CA FL
20–39 years old 619 736 663 681
671 607 506 632
614 727 717 713
517 794 574 620
40–59 years old 691 775 708 574
700 645 728 697
641 767 666 677
639 669 716 629
60+ years old 766 743 756 765 663 737 675 698
672 718 696 795
661 788 692 730
a. Using a = 0.05, is there significant interaction be- tween the state and age of the individual?
b. Using a two-way ANOVA and a = 0.05, does the state have an effect on the person’s credit score?
www.freebookslides.com
556 C h a p t e r 11 | Analysis of Variance (ANOVA) Procedures
c. Using a two-way ANOVA and a = 0.05, does the age group of the individual have an effect on their credit score?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the state and the age group.
11.38 Movie theater ticket prices have been increasing to ac- commodate the demand for movies formatted in 3D. The following data show the prices for adult tickets for three different movie formats in three different cities. These data can also be found in the file ticket prices.xlsx.
Format
2D ($) 3D ($) IMAX 3D ($)
New York 11 18 22
11 19 13
13 15 22
11 15 19
7 20 19
Atlanta 10 17 16
11 14 19
12 14 20
11 16 15
13 15 15
Dallas 5 14 16
7 13 17
8 11 14
10 17 16
8 12 15
a. Using a = 0.05, is there significant interaction between the city and the movie format?
b. Using a two-way ANOVA and a = 0.05, does the city have an effect on the cost of a movie?
c. Using a two-way ANOVA and a = 0.05, does the movie format have an effect on the cost of a movie?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the city and the movie format.
11.39 The following table shows the retirement ages for a random sample of retirees from four different countries according to their genders. These data can also be found in the file retirement.xlsx.
Country
Mexico Japan United States France
Women 66 62 60 57
73 65 62 70
77 66 56 48
74 65 67 51
63 64 60 56
78 60 66 56
Men 76 69 64 59
67 64 68 63
79 66 57 58
76 67 72 59
71 68 68 65
69 75 57 59
a. Using a = 0.05, is there significant interaction between the country and the gender?
b. Using a two-way ANOVA and a = 0.05, does the country have an effect on the retirement age?
c. Using a two-way ANOVA and a = 0.05, does the gender of the retiree have an effect on the retirement age?
d. Using a = 0.05, if warranted, determine which means are significantly different.
e. Construct an interaction plot for country and gender.
www.freebookslides.com
557
■ An analysis of variance is a technique for performing a hypothesis test to compare three or more population means simultaneously.
■ A factor in an ANOVA describes the cause of variation in the data.
■ A level in ANOVA describes a category within the factor.
■ To accurately conduct an analysis of variance the following set of assumptions must be made:
• Each of the populations being compared must follow the normal probability distribution.
• The populations being compared must have an equal variance.
• The observations must be independent of one another. In other words, one data value can have no influence on other data values.
• The observations must be either interval or ratio data.
■ The null hypothesis for every ANOVA procedure states that all the population means are equal.
■ The alternative hypothesis, therefore, claims that not all of the population means are equal.
■ A one-way ANOVA is used when we are looking at the influence that one factor has on the data values.
• The total sum of squares (SST) measures the amount of variation between each data value and the grand mean.
• The mean square total (MST) is derived from the SST and is simply another term for the vari- ance of the sample data.
• The total sum of squares can be divided into the sum of squares between (SSB) and the sum of squares within (SSW).
• The sum of squares between measures the variation between each sample mean and the grand mean of the data.
• The mean square between (MSB) provides an estimate for the population variance, s2, if the null hypothesis is true.
• The sum of squares within (SSW) measures the variation between each data value and the cor- responding sample mean.
• The mean square within (MSW) provides another estimate for the population variance, s2.
• If the null hypothesis is true, we would expect the values for MSB and MSW to be close to one another.
• If the null hypothesis is not true, we would expect the value of MSB to be larger than the value of MSW, causing the F-test statistic to exceed 1.0.
■ The Tukey-Kramer multiple comparisons procedure allows us to examine each pair of sample means and to conclude whether their respective population means differ.
• If the absolute difference between two sample means is large enough to be greater than the Tukey-Kramer critical range, we have enough evidence to conclude the population means are different.
• The experiment-wide error rate is the probability of committing a Type I error for at least one pair of population means being compared.
■ Randomized block ANOVA incorporates a blocking factor to account for any variation outside of the main factor in hopes of increasing the likelihood of detecting variation due to the main factor.
■ The levels of the blocking factor are known as blocks.
■ With randomized block ANOVA, the size of each sample needs to be the same.
chapter 11 Summary
www.freebookslides.com
558
■ The total sum of squares (SST) for the randomized block ANOVA is partitioned into the following three sums of squares:
• Sum of squares between (SSB)
• Sum of squares block (SSBL)
• Sum of squares error (SSE)
■ The sum of squares between (SSB) measures the variation between each sample mean and the grand mean of the data.
■ The sum of squares block (SSBL) measures the variation between the block means and the grand mean.
■ The sum of squares error (SSE) represents the random variation in the data not attributed to either the main factor or the blocking factor.
■ Use the following steps as a guide to decide whether to include a blocking factor in your final analysis.
• If a blocking factor seems appropriate for a particular analysis, start off with a randomized block ANOVA procedure.
• If you reject the null hypothesis for the main factor, proceed with your conclusions.
• If you fail to reject the null hypothesis for the main factor with the randomized block ANOVA, redo the analysis with a one-way ANOVA.
■ If the null hypothesis for the randomized block ANOVA is rejected, we can identify which popula- tion means are different by using the Tukey-Kramer multiple comparisons procedure for random- ized block ANOVA.
■ Two-way ANOVA is a procedure used to examine the simultaneous effect that two main factors (known as Factor A and Factor B) have on the observed data.
■ A cell in a two-way ANOVA is a specific combination of one level from Factor A and one level from Factor B.
■ Replications represent the number of data values assigned to each cell in the two-way ANOVA table.
■ The procedure used in this textbook requires that the same number of replications occur in each cell.
■ Because we are examining the simultaneous effect of Factors A and B with two-way ANOVA, we have to consider any interaction between Factors A and B that could be contributing to some of the variation in the data.
■ The total sum of squares for two-way ANOVA is partitioned into the following four sums of squares:
• Sum of squares Factor A (SSFA)
• Sum of squares Factor B (SSFB)
• Sum of squares interaction (SSAB)
• Sum of squares error (SSE)
■ The sum of squares for Factor A (SSFA) measures the variation between the Factor A means and the grand mean for all the data.
■ The sum of squares for Factor B (SSFB) measures the variation between the Factor B means and the grand mean for all the data.
■ The sum of squares interaction (SSAB) represents the variation due to the effect that Factor A has on Factor B or vice versa.
www.freebookslides.com
559
■ An interaction plot displays the relationship between Factors A and B.
■ Lines on the interaction plot that are relatively parallel are evidence that no interaction between the main factors exists.
■ By contrast, intersecting lines are evidence that interaction does exist between the factors. In gen- eral, there is no interaction between Factors A and B when the data values for each level of one fac- tor behave in the same fashion across all levels of the other factor.
■ If we can reject the null hypothesis for either main factor, we can use the Tukey-Kramer Multiple Comparison Test for Two-Way ANOVA to identify which means are different.
Analysis of variance (ANOVA). A technique used to perform a hypothesis test to compare three or more population means simultaneously.
Blocking factor. A factor used to account for variations outside of the main factor in hopes of increasing the likelihood of detecting variations due to the main factor in a randomized block ANOVA.
Blocks. The levels of the blocking factor in a randomized block ANOVA.
Cell. A specific combination of one level from Factor A and one level from Factor B in a two-way ANOVA.
Experiment-wide error rate. The probability of committing a Type I error for at least one pair of population means being compared.
Factor. The cause of variation in the data for an ANOVA procedure.
Level. A category within the factor of interest for an ANOVA procedure.
Mean square between (MSB). A value that provides an estimate for the population variance, s2, if the null hypothesis is true. It is found by dividing the sum of squares between (SSB) by k - 1.
Mean square block (MSBL). Is found by dividing the sum of squares block (SSBL) by b - 1.
Mean square error for randomized block ANOVA (MSE). Is found by dividing the sum of squares error (SSE) by 1b - 121k - 12.
Mean square error for two-way ANOVA (MSE). Is found by dividing the sum of squares error (SSE) by nT - 1ab2.
Mean square total (MST). A value derived from the SST, it is simply another term for the variance of the sample data. It is found by dividing the total sum of squares (SST) by nT - 1.
Mean square within (MSW). A value that provides an estimate for the population variance, s2. It is found by dividing the sum of squares within (SSW) by nT - k.
Mean sum of squares for Factor A (MSFA). Is found by divid- ing the sum of squares for Factor A (SSFA) by a - 1.
Mean sum of squares for Factor B (MSFB). Is found by divid- ing the sum of squares for Factor B (SSFB) by b - 1.
Mean sum of squares for interaction of Factors A and B (MSAB). Is found by dividing the sum of squares interaction (SSAB) by 1a - 121b - 12.
One-way ANOVA. The type of ANOVA used when we are look- ing at the influence that one factor has on the data values.
Randomized block ANOVA. An ANOVA procedure that incor- porates a blocking factor to account for variations outside of the main factor in hopes of increasing the likelihood of detect- ing variations due to the main factor.
Replications. The number of data values assigned to each cell in a two-way ANOVA table.
Sum of squares between (SSB). A value that measures the varia- tion between each sample mean and the grand mean of the data.
Sum of squares block (SSBL). A value that measures the varia- tion between the block means and the grand mean.
Sum of squares error (SSE). A value that represents the random variation in the data not attributed to either the main factor or the blocking factor.
Sum of squares for Factor A (SSFA). A value that measures the variation between the Factor A means and the grand mean for all of the data.
Sum of squares for Factor B (SSFB). A value that measures the variation between the Factor B means and the grand mean for all of the data.
chapter 11 Key Terms
www.freebookslides.com
560
Sum of squares interaction (SSAB). A value that measures the variation of the means of populations due to the effect that Factor A has on Factor B, or vice versa.
Sum of squares within (SSW). A value that measures the varia- tion between each data value and the corresponding sample mean.
Total sum of squares (SST). A value that measures the amount of variation between each data value and the grand mean.
Tukey–Kramer Multiple Comparison Test for One-Way ANOVA. Allows us to examine each pair of sample means and to conclude whether their respective population means differ for one-way ANOVA.
Tukey–Kramer Multiple Comparison Test for Randomized Block ANOVA. Allows us to examine each pair of sample means and to conclude whether their respective population means differ for randomized block ANOVA.
Tukey–Kramer Multiple Comparison Test for Two-Way ANOVA. Allows us to examine each pair of sample means and to conclude whether their respective population means differ for two-way ANOVA.
Two-way ANOVA. A procedure used to examine the simultane- ous effect that two main factors have on the observed data.
chapter 11 Equations
SST = SSB + SSW
SSB = a k
j = 1 nj1xj - x22
Formula 11.4 for the Partitioning of the Total Sum of Squares (SST) for a One-Way ANOVA
Formula 11.5 for the Sum of Squares Between (SSB)
MST = Total sum of squares
nT - 1 =
SST
nT - 1 Formula 11.3 for the Mean Square Total (MST)
Formulas 11.1 and 11.2 for the Total Sum of Squares (SST)
SST = a k
j = 1 a nj
i = 1 1xij - x22
or
SST = a k
j = 1 a nj
i = 1 x 2ij -
a a k
j = 1 a nj
i = 1 xijb
2
nT
11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on the Means of Populations (pp 503–523)
MSB = Sum of squares between
k - 1 =
SSB
k - 1 Formula 11.6 for the Mean Square Between (MSB)
www.freebookslides.com
561
CRi,j = QaB MSW2 a 1ni + 1nj b SST = SSB + SSBL + SSE
SSBL = k a b
i = 1 1xi - x22
Formula 11.11 for the Tukey–Kramer Critical Range
11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor (pp 523–540)
Formula 11.12 for the Partitioning of the Total Sum of Squares (SST) for a Randomized Block ANOVA
Formula 11.13 for the Sum of Squares Block (SSBL)
Fx = MSB
MSW Formula 11.10 for the F-Test Statistic for a One-Way ANOVA
Formula 11.9 for the Mean Square Within (MSW) MSW = Sum of squares within
nT - k =
SSW
nT - k
SSW = a k
j = 1 a nj
i = 1 1xij - xj22
or
SSW = SST - SSB
Formulas 11.7 and 11.8 for the Sum of Squares Within (SSW)
MSBL = Sum of squares block
b - 1 =
SSBL
b - 1
SSE = SST - 1SSB + SSBL2
MSE = Sum of squares error
1b - 121k - 12 = SSE
1b - 121k - 12
Fx = MSB
MSE
Formula 11.14 for the Mean Square Block (MSBL)
Formula 11.15 for the Sum of Squares Error (SSE) for a Randomized Block ANOVA
Formula 11.16 for the Mean Square Error (MSE) for Randomized Block ANOVA
Formula 11.17 for the Main Factor F-Test Statistic for a Randomized Block ANOVA
FBL = MSBL
MSE Formula 11.18 for the Blocking Factor F-Test Statistic for a Randomized Block ANOVA
www.freebookslides.com
562
MSFB = Sum of squares factor B
b - 1 =
SSFB
b - 1
MSAB = SSAB
1a - 121b - 12
MSE = SSE
nT - 1ab2
FAB = MSAB
MSE
Formula 11.21 for the Mean Sum of Squares for Factor B (MSFB)
Formula 11.22 for the Mean Sum of Squares for Interaction of Factors A and B (MSAB)
Formula 11.23 for the Mean Square Error (MSE) for Two-way ANOVA
Formula 11.24 for the Interaction Test Statistic
MSFA = Sum of squares factor A
a - 1 =
SSFA
a - 1 Formula 11.20 for the Mean Sum of Squares for Factor A (MSFA)
11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations (pp 540–556)
CR = QaA MSEbFormula 11.19 for the Critical Range for a Randomized Block ANOVA
FB = MSFB
MSE
CRA = QAA MSEbr CRB = QBA MSEar
Formula 11.26 for the Factor B Test Statistic
Formula 11.27 for the Critical Range for Factor A
Formula 11.28 for the Critical Range for Factor B
FA = MSFA
MSE Formula 11.25 for the Factor A Test Statistic
www.freebookslides.com
563
11.40 A critical factor in the successful operation in today’s hospital system is the effective staffing of emergency room (ER) personnel. In an effort to examine this issue, Wilmington Hospital would like to determine if the aver- age number of emergency room visits differs over the three 8-hour shifts during the day. The following table shows the number of ER visits for randomly selected 8-hour shifts. These data can also be found in the Excel file ER.xlsx.
7:00 a.m.– 3:00 p.m.
3:00 p.m.– 11:00 p.m.
11:00 p.m.– 7:00 a.m.
41 25 15
32 67 11
26 24 26
26 31 10
40 53 23
a. Perform a one-way ANOVA using a = 0.05 to deter- mine if there is a difference in the average number of ER visits during the three shifts.
b. If warranted, perform a multiple comparison test to determine which pairs are different using a = 0.05.
c. Can you recommend a more effective way to collect these data that would enhance this analysis?
d. Verify your results with Excel or PHStat.
11.41 Television advertisers base their investment decisions regarding the promotion of their products and services on demographic information about television viewers. The age of the viewers is a key factor in this process. The following table shows the number of hours that a random sample of individuals watched television during the week. The individuals are grouped according to their ages. These data can also be found in the Excel file advertisers.xlsx.
18–24 25–34 35–49 50–64
39 41 44 49
14 40 19 33
15 33 27 33
17 35 36 39
20 21 49 71
a. Perform a one-way ANOVA using a = 0.05 to determine if there is a difference in the average number of hours per week of television viewing by the four age groups.
b. If warranted, perform a multiple comparison test to determine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.42 Because most National Football League games are sold out, the secondary market, in which people resell their tickets, is very active during the season. The following table shows the price for secondary market tickets to the games of four NFL teams. These data can also be found in the Excel file NFL tickets.xlsx.
Green Bay Packers ($)
New Orleans Saints ($)
Indianapolis Colts ($)
New York Jets ($)
213 197 170 197
190 198 152 151
185 216 165 184
188 199 166 188
214 220 165 182
a. Perform a one-way ANOVA using a = 0.05 to deter- mine if there is a difference in the average ticket prices for the four NFL teams.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.43 Budget shortfalls in many states during the most recent recession placed a strain on education resources. One area that receives much attention from both parents and admin- istrators is the number of students per teacher. Suppose the U.S. Department of Education would like to compare this ratio in kindergartens for schools in California, Delaware, Nevada, and Georgia. The following data show the number of kindergarten students in randomly selected classrooms in these four states. These data can also be found in the Excel file kindergarten.xlsx.
CA DE NV GA
26 21 30 14
21 23 35 15
23 31 22 15
25 33 29 21
26 18 31 16
12 25 39 15
a. Perform a one-way ANOVA using a = 0.05 to deter- mine if the average number of students in kindergarten classes is different in the four states.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. Verify your results with Excel or PHStat.
11.44 The following table shows the selling price of a random sample of residential homes, in thousands of dollars,
chapter 11 Problems
www.freebookslides.com
564
at three beach communities in New Jersey. The homes are categorized by the real estate firm that is listing the home. These data can also be found in the Excel file beach.xlsx.
Real Estate Firm Avalon ($)
Stone Harbor ($)
Sea Isle City ($)
Prudential 550 700 500
Re/Max 625 840 500
Diller 775 1,070 620
Fox 900 1,350 1,100
Century 21 1,500 1,600 800
a. Using a = 0.05 and the real estate firm as a blocking factor, test to see if a difference exists in the average selling prices of homes in the three communities.
b. If warranted, determine which pairs of communities are different using a = 0.05.
c. Verify your results with Excel or PHStat. d. Was the blocking factor effective? Why or why not?
11.45 Suppose Consumer Reports would like to conduct a study comparing the prices of televisions made by different manufacturers. The following data show the prices of a random sample of televisions for various screen sizes. These data can also be found in the Excel file Consumer Reports.xlsx.
Size LG ($) Panasonic ($) Samsung ($) Insignia ($)
32" 450 450 600 450
37" 700 1,000 1,000 600
42" 1,000 750 600 500
46" 1,300 700 1,300 900
50" 1,600 1,400 1,300 700
55" 1,900 1,500 2,200 1,100
a. Using a one-way ANOVA and a = 0.05, test to see if a difference exists in the average prices of the brands.
b. Using a randomized block ANOVA and a = 0.05, test to see if a difference exists in the average prices of the brands.
c. If warranted, determine which pairs of television brands are different using a = 0.05.
d. Verify your results with Excel. e. Explain the differences in the results from parts a and b.
11.46 Mike is a restaurant owner and has read about the effect that music can have on the amount of time that custom- ers stay at their tables for dinner. To test this effect, Mike made arrangements to play slow-paced music at his estab- lishment on a busy Saturday night and recorded the time that customers at the randomly selected tables spent in the
restaurant during five months of the year. Mike did the same on subsequent Saturday nights with fast-paced music and no music. The following data show the amount of the time, in minutes, for the observed tables. These data can also be found in the Excel file music.xlsx.
Month No Music Low Music Fast Music
January 60 76 64
March 120 128 115
May 98 110 111
August 73 82 70
October 136 138 142
a. Test to determine if a difference exists between the different types of music using a one-way ANOVA with a = 0.05.
b. If the results in part a indicate that there is no difference between types of music, what additional steps should be taken to test the difference in means for each category of music?
c. If warranted, determine which pairs of music categories are different using a = 0.05.
d. Verify your results with Excel.
11.47 Suppose Scotts Lawn Care would like to test the effective- ness of four new grass fertilizers that it has developed. Each fertilizer is applied to identical-size sections of grass, and after a period of time the sections of grass are mowed. The weight of the grass clippings are used to measure the ef- fectiveness of the fertilizer. To control for variations in soil and ambient conditions, each fertilizer was applied to five different lawns, which can act as a blocking factor. The pounds of grass clippings for each sample are shown in the following table. These data can also be found in the Excel file fertilizer.xlsx.
FERt 1 FERt 2 FERt 3 FERt 4
Lawn 1 10 12 8 10
Lawn 2 9 13 11 11
Lawn 3 9 9 13 9
Lawn 4 7 10 9 12
Lawn 5 5 13 12 10
a. Using a randomized block ANOVA and a = 0.05, does there appear to be a difference in the effectiveness of the four fertilizers?
b. If the answer to part a is no, what additional steps should be taken to test the difference in the population means of each fertilizer?
c. If warranted, determine which pairs of fertilizers were different using a = 0.05.
d. Verify your results with Excel.
www.freebookslides.com
565
11.48 You have been assigned to test the hypothesis that the average number of hours worked per week by employees differs between the United States, China, and Sweden. The following data show the number of hours that a random sample of employees worked last week in each country. These data can also be found in the Excel file employee hours.xlsx.
United States Sweden China
34 28 43
41 34 51
38 25 40
31 33 34
a. Perform a one-way ANOVA using a = 0.05 to deter- mine if a difference exists in the average number of hours that an employee works per week between these countries.
b. If appropriate, perform a multiple comparison test to determine which pairs are different using a = 0.05.
c. Verify your results using Excel or PHStat.
11.49 One area that fast-food restaurants compete with one an- other is with the service time for the drive-through window. The following data show the drive-through service times, in minutes, for a random sample of customers at three fast- food chains. These data can also be found in the Excel file drive through service.xlsx.
McDonald’s Wendy’s Burger King
3.1 0.8 2.5
3.7 2.8 3.1
2.3 1.2 3.0
3.6 2.5 2.6
3.3 2.0 3.3
5.0 2.1 2.9
a. Perform a one-way ANOVA using a = 0.01 to determine if a difference exists in the average drive- through service time between these three restaurants.
b. If appropriate, perform a multiple comparison test to de- termine which pairs are different using a = 0.01.
c. Verify your results using Excel or PHStat.
11.50 The following data show customer satisfaction scores, on a scale of 1–20, for a chain of hair salons at three different locations during specific days of the week. The manager would like to investigate if a difference exists in satisfac- tion scores between these locations. These data can also be found in the Excel file hair salon.xlsx.
Locations
Day Midway towson Dover
Monday 13 14 12
Wednesday 14 15 10
Friday 16 15 14
Saturday 16 18 17
Sunday 17 20 14
a. Perform a randomized block ANOVA using a = 0.05 to test if a difference exists in satisfaction scores between these three locations.
b. Perform a hypothesis test using a = 0.05 to determine if the blocking factor was effective.
c. If appropriate, perform a multiple comparison test to determine which pairs are different using a = 0.05.
d. Verify your results with Excel.
11.51 The data in the following table represent the number of days that a random sample of homes in four price ranges were on the market before being sold for three different competing real estate companies in a local area. You have been assigned to test the hypothesis that the average number of days that a home is on the market differs between these three real estate companies. It is believed that the selling price of the home could be an effective blocking factor for this test. These data can also be found in the Excel file housing market.xlsx.
Company
Selling Price Century 21 Re/Max Weichert
Under $300,000 37 18 86
$300,000 to under $400,000
41 44 71
$400,000 to under $500,000
46 63 59
$500,000 to under $600,000
38 67 72
a. Perform a randomized block ANOVA using a = 0.05 to test if a difference exists in the number of days a home is on the market between these three companies. Also, perform any other procedures that are necessary to com- plete this analysis.
b. If appropriate, perform a multiple comparison test to determine which main factor pairs are different using a = 0.05.
c. Verify your results with Excel.
11.52 Some research has indicated that diet programs may be more effective when the dieter reports their weight-loss progress publically to others. A consumer group organization would
www.freebookslides.com
566
like to compare the average weight-loss for those that report their progress to those that do not report. This group would also like to study the effectiveness of three different diets. Diet 1 focuses on reducing carbohydrate intake, Diet 2 focuses on controlling calorie intake and Diet 3 focuses on reducing fat intake. The following data represent the weight- loss, in pounds, for individuals under each factor. These data can also be found in the Excel file diet reports.xlsx.
Diet 1 Diet 2 Diet 3
No report 6 4 2
10 13 7
6 5 0
5 4 3
5 8 6
6 8 1
Report 9 13 15
15 15 14
13 16 4
8 9 11
3 12 5
10 13 4
a. Using a = 0.05, is there a significant interaction between the type of diet and the reporting status of the individual?
b. Using a two-way ANOVA and a = 0.05, does the re- porting status have an effect on the weight loss experi- enced by the individual?
c. Using a two-way ANOVA and a = 0.05, does the type of diet have an effect on the weight loss experienced by the individual?
d. If warranted, determine which diets have means that are significantly different using a = 0.05.
e. Construct an interaction plot for the reporting status and the type of diet.
11.53 The Department of Labor (DoL) would like to investigate if there is a difference in the average number of hours worked per week by employees in the United States, China, and Sweden. DoL would also like to test if the age of the em- ployee impacts the average number of hours worked per week. The following data show the number of hours that a random sample of employees worked last week in each country along with their age group. These data can also be found in the Excel file DOL.xlsx.
Age Group United States Sweden China
30 to under 40 40 36 38
35 27 41
43 37 45
37 27 34
36 31 46
Age Group United States Sweden China
40 to under 50 26 39 53
34 28 49
31 30 41
35 29 34
34 23 44
50 to under 60 39 51 43
41 38 38
38 39 39
34 30 36
37 30 49
a. Using a = 0.05, is there a significant interaction between the age group and the country of the individual?
b. Using a two-way ANOVA and a = 0.05, does the age group have an effect on the average number of weeks worked by the individual?
c. Using a two-way ANOVA and a = 0.05, does the country have an effect on the average number of weeks worked by the individual?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the age group and the country
11.54 A possible contributor to rising health care costs in the United States is obesity, which is currently determined us- ing a formula called body mass index (BMI). This index is calculated using the following formula:
BMI = Weight1lbs2 * 703
1Height1in.222 A person with a BMI of 25 to 29 is classified as over-
weight, 30 to 40 as obese, and 40 or more as morbidly obese. A random sample of individuals was selected from Michigan, Florida, Utah, and New York, and their BMI measurements were taken. The gender of each person was also noted. These data can be found in the file BMI by state.xlsx.
a. Using a = 0.05, is there significant interaction between the gender and the state?
b. Using a two-way ANOVA and a = 0.05, does the state in which the person resides have an effect on his or her BMI level?
c. Using a two-way ANOVA and a = 0.05, does a person’s gender have an effect on his or her BMI level?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the gender and the state.
www.freebookslides.com
567
11.55 Suppose the Department of Energy would like to compare residential utility bills for different cities in the United States. A random sample of households was selected, and their utility bills for the month were recorded. The number of bedrooms in the houses was also noted. These data can also be found in the file utility bills.xlsx.
a. Using a = 0.05, is there significant interaction between the number of bedrooms and the city?
b. Using a two-way ANOVA and a = 0.05, does the num- ber of bedrooms have an effect on the average monthly utility bill?
c. Using a two-way ANOVA and a = 0.05, does the city have an effect on the average monthly utility bill?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the number of bed- rooms and the city.
11.56 Suppose Bank of America developed a credit card promo- tion to entice its customers to increase the balances on their credit cards. To test the effectiveness of different ways of communicating this promotion, Bank of America sent the promotion to some customers through e-mail, sent it to other customers through traditional mail, and did not send it to other customers. A random sample of customers from each group was selected, and their credit card balances following the promotion period were re- corded. These data can be found in the file credit card promotion.xlsx.
a. Perform a one-way ANOVA using a = 0.05 to deter- mine if there is a difference in the average credit card balances of these three groups.
b. If warranted, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
c. What conclusions can be drawn about the effectiveness of communicating the promotion?
d. Verify your results with Excel and PHStat2.
11.57 Suppose the National Center for Education Statistics would like to investigate the effect that the education level for high school teachers and the state that employs them have on their salaries. Excel file high school salaries.xlsx con- tains salaries for a random sample of high school teachers
from Colorado, Kansas, Minnesota, and Nebraska. The educational level for these teachers is also indicated in the file.
a. Using a = 0.05, is there significant interaction between the education level and the state?
b. Does the education level of the teacher have an effect on his or her salary?
c. Using a two-way ANOVA and a = 0.05, does the state that employs the teacher have an effect on his or her salary?
d. If warranted, determine which means are significantly different using a = 0.05.
e. Construct an interaction plot for the education level and the state.
11.58 Suppose the American Association of Retired Persons (AARP) would like to test if a difference exists in the aver- age 401(k) balance between people in different age groups. A random sample of individuals in the 50–59, 60–69, and 70 or older was selected and their 401(k) balance was re- corded. These 401(k) balances, in thousands of dollars, can be found in the Excel file AARP.xlsx.
a. Using a = 0.05, test to determine if a difference exists in the average 401(k) balance between these three age groups.
b. If appropriate, perform a multiple comparison test to de- termine which pairs are different using a = 0.05.
11.59 Many homeowners rely on handymen to perform small jobs, such as repairs or maintenance, around their resi- dence. According to HomeAdvisor Inc., the average cost for a handyman project varies substantially between the cities of New York, Chicago, Denver, and Atlanta. To test this claim, a random sample of handyman projects from each city was selected and can be found in the Excel file handyman.xlsx.
a. Using a = 0.01, test to determine if a difference exists in the average cost of handyman projects in these four cities.
b. If appropriate, perform a multiple comparison test to de- termine which pairs are different using a = 0.01.
www.freebookslides.com
568
a. SSB = a k
j = 1 nj1xj - x22
SSB = n11x1 - x22 + n21x2 - x22 + n31x3 - x22 SSB = 14212.5 - 2.722 + 14212.4 - 2.722 + 14213.2 - 2.722 SSB = 1421 -0.222 + 1421 -0.322 + 14210.522 SSB = 14210.042 + 14210.092 + 14210.252 SSB = 0.16 + 0.36 + 1.00 SSB = 1.52
MSB = SSB
k - 1 =
1.52
3 - 1 = 0.76
b. SSW = SST - SSB SSW = 2.50 - 1.52 = 0.98
MSW = SSW
nT - k =
0.98
12 - 3 = 0.109
c. Fx = MSB
MSW =
0.76
0.109 = 6.97
d. Source
Sum of Squares
Degrees of Freedom
Mean Sum of Squares F
Between 1.52 2 0.76 6.97
Within 0.98 9 0.109
Total 2.50 11
e. D1 = k - 1 = 3 - 1 = 2 D2 = nT - k = 12 - 3 = 9 a = 0.05 Using Table 6 in Appendix A, Fa = 4.256. Because Fx = 6.97 is greater
than Fa = 4.256, we reject the null hypothesis according to Table 11.9. There appears to be a difference in the average weight of the pretzels between these three employees. Management should consider investigating this discrepancy.
Y O u R T u R N # 2
a. H0: m1 = m2 = m3 H1: Not all ms are equal
b. x1 = 10
4 = 2.5 x2 =
9.6
4 = 2.4 x3 =
12.8
4 = 3.2
x = 32.4
12 = 2.7
c. Using Equation 11.2 for SST, we have the following:
i j Employee xij x 2 ij
1 1 Jane 2.5 6.25
2 1 Jane 2.7 7.29
3 1 Jane 2.2 4.84
4 1 Jane 2.6 6.76
1 2 Tom 2.1 4.41
2 2 Tom 2.9 8.41
3 2 Tom 2.2 4.84
4 2 Tom 2.4 5.76
1 3 Jason 3.3 10.89
2 3 Jason 2.8 7.84
3 3 Jason 3.7 13.69
4 3 Jason 3.0 9.0
a k
j = 1 a nj
i = 1 xij = 32.4 a
k
j = 1 a nj
i = 1 x ij
2 = 89.98
SST = a k
j = 1 a nj
i = 1 x 2ij -
a a k
j = 1 a nj
i = 1 xijb
2
nT = 89.98 -
132.422 12
SST = 89.98 - 87.48 = 2.50 Using Equation 11.1 for SST, we have the following:
d. MST = SST
nT - 1 =
2.50
12 - 1 = 0.227
Y O u R T u R N # 1
chapter 11 Solutions to Your Turn
www.freebookslides.com
569
f.
Because the p-value in Cell J12 equals 0.01478 and is less than a = 0.05, we reject the null hypothesis and conclude that the average weights of pretzels made by these employees are not equal.
Step 1: Calculate the sample mean differences.
In the pretzel example, k = 3, so we have 3122>2 = 3 pairs of sample means. The following pairs are samples:
1 and 2 1 and 3 2 and 3
0 x1 - x2 0 = 0 2.5 - 2.4 0 = 0 0.1 0 = 0.1 0 x1 - x3 0 = 0 2.5 - 3.2 0 = 0 -0.7 0 = 0.7 0 x2 - x3 0 = 0 2.4 - 3.2 0 = 0 -0.8 0 = 0.8
Step 2: Calculate the Tukey–Kramer critical range.
The critical value from the studentized range table (Appendix A, Table 7), using a = 0.05, D1 = k = 3, and D2 = nT - k = 12 - 3 = 9, is Qa = 3.95. Because the sample sizes are equal (each employee has four pretzel weights), the critical range, CRi,j, for each pair of samples is the same. Using Equation 11.11 with MSW = 0.109, we have the following:
CRi, j = QaB MSW2 a 1ni + 1nj b CRi, j = 13.952B 0.1092 a 14 + 14 b
= 13.952210.0545210.502 CRi, j = 13.95210.16512 = 0.652
Step 3: Draw your conclusion.
0 xi - xj 0 CRij Decision 0 x1 - x2 0 = 0.1 0.652 Means are not different 0 x1 - x3 0 = 0.7 0.652 Means are different 0 x2 - x3 0 = 0.8 0.652 Means are different
From these results, we can conclude that the average pretzel weight for Jane is lower than the average weight for Jason (samples 1 and 3). Tom’s average pretzel weight is also lower than Jason’s (samples 2 and 3). There is not enough evidence to conclude that Jane’s and Tom’s weights are significantly different at the a = 0.05 level.
Y O u R T u R N # 3
www.freebookslides.com
570
a. H0: m1 = m2 = m3 H1: Not all ms are equal
b.
Shopper Wal Star Gap Block total
Block Mean
1 12 17 13 42 14.0
2 16 18 17 51 17.0
3 14 17 17 48 16.0
4 18 20 19 57 19.0
Factor total 60 72 66 198
Factor mean 15.0 18.0 16.5
x = 198
12 = 16.5
c. Using Equation 11.2 for SST, we have the following:
i j Company xij xij 2
1 1 Walmart 12 144
2 1 Walmart 16 256
3 1 Walmart 14 196
4 1 Walmart 18 324
1 2 Starbucks 17 289
2 2 Starbucks 18 324
3 2 Starbucks 17 289
4 2 Starbucks 20 400
1 3 The Gap 13 169
2 3 The Gap 17 289
3 3 The Gap 17 289
4 3 The Gap 19 361
a k
j = 1 a nj
i = 1 xij = 198 a
k
j = 1 a nj
i = 1 x 2ij = 3,330
SST = a k
j = 1 a nj
i = 1 x 2ij -
a a k
j = 1 a nj
i = 1 xijb
2
nT = 3,330 -
119822 12
SST = 3,330 - 3,267 = 63.0 Using Equation 11.1 for SST, we have the following:
d. MST = SST
nT - 1 =
63
12 - 1 = 5.73
Y O u R T u R N # 4
Y O u R T u R N # 5
a. SSB = a k
j = 1 nj1xj - x22
SSB = n11x1 - x22 + n21x2 - x22 + n31x3 - x22 SSB = 142115.0 - 16.522 + 142118.0 - 16.522
+ 142116.5 - 16.522 SSB = 1421 -1.522 + 14211.522 + 1421022 SSB = 14212.252 + 14212.252 + 142102 SSB = 18.0
MSB = SSB
k - 1 =
18.0
3 - 1 = 9.0
b. SSBL = k a b
i = 1 1xi - x22
SSBL = 13231x1 - x22 + 1x2 - x22 + 1x3 - x22 + 1x4 - x224 SSBL = 1323114 - 16.522 + 117 - 16.522 + 116 - 16.522
+ 119 - 16.5224 SSBL = 13231 - 2.522 + 10.522 + 1 -0.522 + 12.5224 SSBL = 132316.252 + 10.252 + 10.252 + 16.2524 SSBL = 132313.04 = 39.0 MSBL =
SSBL
b - 1 =
39.0
4 - 1 = 13.0
www.freebookslides.com
571
c. SSE = SST - 1SSB + SSBL2 SSE = 63.0 - 118.0 + 39.02 = 63.0 - 57.0 = 6.0 MSE =
SSE
1b - 121k - 12 = 6.0
14 - 1213 - 12 = 1.0
d. Fx = MSB
MSE =
9.0
1.0 = 9.0
e. D1 = k - 1 = 3 - 1 = 2 D2 = 1b - 121k - 12 = 14 - 1213 - 12 = 6 According to Table 11.8, the critical value with a = 0.05 and degrees of
freedom equal to 2 and 6 is Fa = 5.143. Because Fx = 9.0, which is greater than Fa = 5.143, we reject the null hypothesis according to the decision rules shown in Table 11.9. By rejecting the null hypothesis, we can conclude that not all of the three population means are equal. The average cleanliness scores of the three stores are different.
f. FBL = MSBL
MSE =
13.0
1.0 = 13.0
D1 = b - 1 = 4 - 1 = 3 D2 = 1b - 121k - 12 = 14 - 1213 - 12 = 6 According to Table 11.8, the critical value with a = 0.05 and degrees of
freedom equal to 3 and 6 is Fa = 4.757. Because FBL = 13.0, which is greater than Fa = 4.757, we reject the null hypothesis and conclude that blocking was effective.
g.
Source Sum of Squares
Degrees of Freedom
Mean Sum of Squares F
Between 18.0 2 9.0 9.0
Block 39.0 3 13.0 13.0
Error 6.0 6 1.0
Total 63.0 11
h.
Y O u R T u R N # 6 Step 1: Calculate the absolute sample mean differences.
With k = 3 populations (stores) being compared, we have 3122>2 = 3 pairs of sample means. The following pairs are samples:
1 and 2 1 and 3 2 and 3
0 x1 - x2 0 = 0 15.0 - 18.0 0 = 0 - 3.0 0 = 3.0 0 x1 - x3 0 = 0 15.0 - 16.5 0 = 0 -1.5 0 = 1.5 0 x2 - x3 0 = 0 18.0 - 16.5 0 = 0 1.5 0 = 1.5
Step 2: Calculate the critical range for a randomized block ANOVA. With b = 4 blocks 1shoppers2, D1 = k = 3 D2 = 1b - 121k - 12 = 14 - 1213 - 12 = 6 Using Table 7 in Appendix A and a = 0.05, the critical value is Qa = 4.34. Recalling that MSE = 1.0 from Your Turn #5, we have the following:
CR = QaA MSEb = 14.342A1.04 = 14.34210.502 = 2.17
Step 3: Draw your conclusion.
0 xi - xj 0 CR Decision 0 x1 - x2 0 = 3.0 2.17 Means are different 0 x1 - x3 0 = 1.5 2.17 Means are not different 0 x2 - x3 0 = 1.5 2.17 Means are not different According to these results, we can conclude that a difference exists between the cleanliness of Walmart (1) and Starbucks (2). There is no evidence that the other two pairs of stores have different means based on these data.
www.freebookslides.com
572
Y O u R T u R N # 7 a.
b.
Source Sum of Squares
Degrees of Freedom
Mean Sum of Squares F
Factor B 29.06 2 14.53 3.02
Factor A 85.06 2 42.53 8.83
Interaction 1.44 4 0.36 0.08
Error 130 27 4.81
Total 245.56 35
Note that Factor A in the previous table refers to “Columns” in Excel’s ANOVA output and Factor B corresponds to “Sample” in Excel.
c. Interaction hypothesis: Fail to reject the null because the p-value equals 0.989 (Cell K33), which is greater than a = 0.05. Because there is no interaction between Factors A and B, we can test them individually.
Factor A hypothesis: Reject the null hypothesis because the p-value equals 0.001119 (Cell K32), which is less than a = 0.05. It appears that there is a difference in the overall impression of the stores based on the scents.
Factor B hypothesis: Fail to reject the null hypothesis because the p-value equals 0.065664 (Cell K31), which is more than a = 0.05. There is not enough evidence to conclude that the impression scores are different for the locations.
Y O u R T u R N # 8 Because the three lines do not intersect, there is no evidence of interaction
between Factor A (scent) and Factor B (location).
www.freebookslides.com
573
Y O u R T u R N # 9 Your Turn #7 concludes that there was a difference in Factor A means, but not Factor B. Therefore, multiple comparisons are carried out only for Factor A. Using the Target data with a = 3 scents, b = 3 locations, and r = 4 replications per cell, the degrees of freedom for the Factor A critical value, CRA, are as follows:
D1 = b = 3
D2 = ab1r - 12 = 13213214 - 12 = 27
Using Table 7 in Appendix A and a = 0.05, the critical value is approximately QA = 3.51 (halfway between D2 = 24 and 30). Note that MSE = 4.815 (Excel Cell I34 from Your Turn #7).
CRA = QAA MSEbr = 13.512A 4.815132142 = 13.51210.63342 = 2.22
Factor A means for each scent can be found in Excel Cells G25, H25, and I25 from Your Turn #7. Note that Lavender = Sample 1, Citrus = Sample 2, and Unscented = Sample 3.
0 xi - xj 0 CRA Decision 0 x1 - x2 0 = 0 14.92 - 17.08 0 = 2.16 2.22 Means are not different 0 x1 - x3 0 = 0 14.92 - 13.33 0 = 1.59 2.22 Means are not different 0 x2 - x3 0 = 0 17.08 - 13.33 0 = 3.75 2.22 Means are different
We can conclude that the average citrus scores are higher than the average unscented scores. There is not enough evidence to claim a difference in the lavender and unscented scores, or the average lavender and citrus scores.
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Test for a difference in two or more population proportions.
■ Determine if observed frequen- cies follow a discrete probability distribution.
■ Determine if observed frequen- cies follow a Poisson probability distribution.
■ Determine if observed frequen- cies follow a binomial probability distribution.
■ Determine if observed frequen- cies follow a normal probability distribution.
■ Test the independence of two categorical variables.
Chi-Square Tests
C h a p t e r 1 2 M a p
12.1 Comparing Two or More Population Proportions | 577
12.2 Determining If Observed Frequencies Follow a Known Probability Distribution | 585
12.3 Testing the Independence of Two Variables | 605
12
www.freebookslides.com
576 C h a p t e r 12 | Chi-Square Tests
The previous three chapters have focused on different types of hypothesis testing. In Chapter 9 we learned how to perform a test for a single population mean or proportion. We then compared two population means or proportions in Chapter 10. In Chapter 11 we compared three or more population means.
In this chapter we will learn a series of hypothesis-testing techniques that rely on a new probability distribution known as the chi-square distribution. With this distribution we can do the following:
• Compare two or more population proportions. For example, we can decide if there is a dif- ference in the proportions of Democrats, Republicans, and Independent voters who are in favor of the new health care plan.
Stats in practice: Quadrophobia: the Fear of the Number 4
Imagine examining the financial statements of thousands of U.S. firms with the sole purpose of recording the last digit of the quarterly earnings per share (EPS). It would be reasonable to expect that you would observe roughly the same number of occurrences of each digit from 0 to 9. However, when this very task was performed by Stanford University’s Joseph Grundfest and Nadya Malenko on nearly half a million earnings reports
over a 27-year period, a surprising result was discovered. When the authors calculated earnings per share down to the tenth of a cent and then rounded to the nearest cent, they found the digit “4” occurred far less than the expected 10%. The values “2” and “3” were also underrepresented in the sample. Figure 12.1 summarizes the findings as a relative frequency distribution.
{ figure 12.1 The Relative Frequency Distribution
for the Final Digits in Earnings- per-Share Reports
0
2
4
6
8
10
12
0 1 2 3 4 5 6 7 8 9 Round Up
P er
ce n
ta ge
o f
D ig
it
Last Digit
Round Down
Reported EPSs that appear in a firm’s financial statements are rounded to the nearest cent. For example, 16.4 cents would be rounded down to 16 cents, whereas 16.5 cents would be rounded up to 17 cents. It is therefore beneficial for firms to arrive at an EPS that ends in 0.5 cents or greater in order to round up.
If the tenth-of-a-cent place digit in the EPS reports were truly random, we would expect the percentage for each of the 10 digits from zero through nine to be close to 10%. The Stanford University authors concluded that there is an extremely low probability of the results shown in Figure 12.1 occurring merely by chance. It is more likely firms are manipulating their
earnings results through accounting practices. Missing a com- pany’s EPS expectations, even by a cent, can have financial ramifications for the firm’s managers. Sounds like some compa- nies may be cooking the books (at least a little)!
Grundfest and Malenko coined the term quadrophobia to de- scribe the apparent aversion of firms to report their earnings per share with the number “4” as the final digit. After reading this chapter, you will be able to calculate the probability of the number “4” appearing only 8% of the time on financial reports. Then you can decide for yourself how prevalent the phenom- enon of quadrophobia is.
Based on: “Quadrophobia: Strategic Rounding of EPS Data,” by Joseph Grundfest and Nadya Malenko, Stanford University, October 2009.
The chi-square distribution is used to compare two or more population proportions, perform a goodness-of-fit test, and test two categorical variables for independence.
www.freebookslides.com
C h a p t e r 12 | 12.1 Comparing Two or More Population Proportions 577
{ table 12.1 | The Performance of the S&P 500 by Weekday
day
up days fo
down days fo total days proportion of up days
Monday 20 5 25 20>25 = 0.80 Tuesday 15 11 26 15>26 = 0.58 Wednesday 17 9 26 17>26 = 0.65 Thursday 14 11 25 14>25 = 0.56 Friday 12 11 23 12>23 = 0.52 Total 78 47 125
1“Wall Street Loves Mondays,” Bloomberg BusinessWeek, April 12, 2010; http://www.businessweek .com
• Perform a goodness-of-fit test to determine if data follow a particular probability dis- tribution, such as the normal distribution
• Test two categorical variables for independence. With this procedure, we can deter- mine if the education level of a consumer has an impact on the model of car he or she purchases.
We’ll start this chapter off with a chi-square technique that allows us to compare two or more population proportions.
12.1 Comparing Two or More Population Proportions
To introduce the technique to compare two or more population proportions, I’ll rely on the following example. The writer of a recent article in Bloomberg BusinessWeek1 stated that “on Wall Street, Monday is the best day of the week.” So what do you think? Is this true? The information was based on the number of days the S&P 500 index increased and de- creased by weekday over the course of a six-month period. Table 12.1 shows the number of times the market was up and the number of times the market was down for each day of the week along with the total number of observations for each. The last column in the table shows the proportion, or percentage, of days the index increased on each weekday. The statement in the article is based on the fact that on 80% of Mondays in this sample there was an increase in the S&P 500 index. This was a higher percentage of “up” days than any other day of the week experienced.
The term fo in Table 12.1 refers to the observed frequencies. We are interested in determining if the proportion of “up” days truly differs across days of the week for the S&P index, which would provide support for the claim made by the BusinessWeek article. In other words, do we have enough evidence from this sample to support the writer’s state- ment that Mondays have more “up” days than the rest of the week as a general rule? Does the information present a real pattern we could rely on as investors to make decisions? Let’s go to work!
The observed frequencies, fo, refer to the sample data collected from a population of interest.
Step 1: Identify the null and alternative hypotheses.
The hypothesis statement for this test is very similar to the one-way ANOVA from Chapter 11. For the S&P 500 example, it is as follows:
H0: p1 = p2 = p3 = p4 = p5 H1: Not all ps are equal
www.freebookslides.com
578 C h a p t e r 12 | Chi-Square Tests
The chi-square test requires that each expected frequency be equal to or greater than five. This requirement ensures that the chi-square test statistic (shown in Step 3) follows the chi-square distribution (to be introduced in Step 4). Looking at Tables 12.2 and 12.3, it appears that the lowest frequency is 8.65. Consequently, this requirement is met. (Later in the chapter, we’ll examine how to handle the situ- ation when this requirement is not met.)
Step 3: Calculate the chi-square test statistic, X2.
The test statistic for the chi-square test for two or more proportions is shown in Equation 12.1.
The chi-square test requires that each expected frequency be equal to or greater than five.
where pi = The proportion of “up” days for the ith day of the week
As with our previous hypothesis tests, we need to identify our significance level, which is the probability of committing a Type I error. For this example, I’ll set the significance level to a = 0.05. Had we chosen a lower value for a, say 0.01, we would reduce our chances of incorrectly rejecting the null hypothesis. In other words, we would be less likely to conclude there is a difference in the proportion of “up” days among the weekdays, when in reality, there is no difference in the population proportions for the S&P index.
Step 2: Calculate the expected frequencies.
In this step, we calculate the expected frequencies, which are the frequencies that are most likely to occur if the null hypothesis is true. We are assuming that the proportions are equal for each weekday because, like rolling a die, that is what we would expect to see if the number of “up” days were purely random. Consequently, we need to calcu- late the overall proportion, np, of “up” days. From Table 12.1, we recorded a total of 78 “up” days from a total of 125 days. This results in the following overall proportion:
np = 78
125 = 0.624
In other words, 62.4% of the days during the period were “up” days. This proportion represents our estimate for each value of p1 through p5 under the null hypothesis. We would expect this proportion to hold true for each weekday. We use this proportion to calculate the expected frequency of “up” days, fe, for each weekday by multiply- ing np by the values in the “Total Days” column in Table 12.1. Table 12.2 shows these calculations.
Lowering a without changing the sample size will increase b, the probability of a Type II error (failing to reject a null hypothesis that should be rejected). This happens when we conclude there is no difference in the proportion of “up” days among the weekdays when, in reality, there is a difference.
The expected frequencies, fe, refer to the frequencies that are most likely to occur if the null hypothesis is true.
{ table 12.2 | Calculating the Expected Frequencies of “Up” Days
days np total days expected frequencies
of up days, fe Monday 0.624 25 15.6
Tuesday 0.624 26 16.22
Wednesday 0.624 26 16.22
Thursday 0.624 25 15.6
Friday 0.624 23 14.35
{ table 12.3 | Calculating the Expected Frequencies of “Down” Days
days total days expected frequencies
of up days, fe expected frequencies
of down days, fe Monday 25 15.6 9.4
Tuesday 26 16.22 9.78
Wednesday 26 16.22 9.78
Thursday 25 15.6 9.4
Friday 23 14.35 8.65
We also need to calculate the expected frequencies of the occurrence of “down” days. We can do this by subtracting the expected frequencies of “up” days from the total days shown in Table 12.3.
Expected frequencies do not have to be integers because they represent only theoretical values. On the other hand, observed frequencies (total days) must be integers, because they are countable items.
www.freebookslides.com
C h a p t e r 12 | 12.1 Comparing Two or More Population Proportions 579
The chi-square test requires that each expected frequency be equal to or greater than five. This requirement ensures that the chi-square test statistic (shown in Step 3) follows the chi-square distribution (to be introduced in Step 4). Looking at Tables 12.2 and 12.3, it appears that the lowest frequency is 8.65. Consequently, this requirement is met. (Later in the chapter, we’ll examine how to handle the situ- ation when this requirement is not met.)
Step 3: Calculate the chi-square test statistic, X2.
The test statistic for the chi-square test for two or more proportions is shown in Equation 12.1.
The chi-square test requires that each expected frequency be equal to or greater than five.
where
x2 = The chi-square test statistic fo = The observed frequencies fe = The expected frequencies if the null hypothesis is true
The logic of the chi-square test statistic is as follows:
• If the observed frequencies are close to the expected frequencies, the term 1fo - fe22 in Equation 12.1 will be small. This will result in a smaller chi- square test statistic, which increases the likelihood that there is support for the null hypothesis.
• If the observed frequencies are far apart from the expected frequencies, the term 1fo - fe22 in Equation 12.1 will be large. This will result in a larger chi-square test statistic, which increases the likelihood of our rejecting the null hypothesis.
Table 12.4 assists us with these calculations. Columns 1 and 2 are the ob- served and expected frequencies from Table 12.1, 12.2, and 12.3. The remain- ing columns were determined as follows:
Column 3 = Column 1 minus Column 2 Column 4 = Column 3 squared Column 5 = Column 4 divided by Column 2
The null hypothesis states that the proportion of “up” days is the same for each day of the week.
Formula 12.1 for the chi-square test statistic
x2 = a 1fo - fe2 2
fe
{ table 12.4 | Calculating the Chi-Square Test Statistic
day
(1)
fo
(2)
fe
(3)
1fo − fe2
(4)
1fo − fe22
(5) 1fo − fe22
fe
Monday–up 20 15.6 4.4 19.36 1.24
Monday–down 5 9.4 - 4.4 19.36 2.06
Tuesday–up 15 16.22 - 1.22 1.49 0.09
Tuesday–down 11 9.78 1.22 1.49 0.15
Wednesday–up 17 16.22 0.78 0.61 0.04
Wednesday–down 9 9.78 - 0.78 0.61 0.06
Thursday–up 14 15.6 - 1.6 2.56 0.16
Thursday–down 11 9.4 1.6 2.56 0.27
Friday–up 12 14.35 - 2.35 5.52 0.38
Friday–down 11 8.65 2.35 5.52 0.64
Total x2 = a 1fo - fe2 2
fe = 5.09
www.freebookslides.com
580 C h a p t e r 12 | Chi-Square Tests
If the null hypothesis is true ( np is close to the same value for each day of the week), we would expect the chi-square test statistic to be close to zero. Think about it: Un- der these conditions, the values for fo and fe would be very close, making the dif- ference between these values almost zero. On the other hand, if our test statistic is very large, we have evidence that the null hypothesis is not true. Stay tuned!
Step 4: Determine the chi-square critical value, X2A.
The test statistic shown in Equation 12.1 follows a new distribution—the chi-square distribution shown in Figure 12.2. As you can see, this distribution is right-skewed, and the rejection region lies in the right tail. The chi-square test for proportions is always a one-tail (upper) hypothesis test as shown in Figure 12.2. This is because the chi-square statistic in Equation 12.1 will increase (move toward the right tail) under either of the following scenarios:
• When observed frequencies are less than expected frequencies
• When observed frequencies are more than expected frequencies
This is a result of the squared difference of observed and expected frequencies, 1fo - fe22, in the numerator of Equation 12.1. The chi-square distribution has degrees of freedom (df) equal to
df = k - 1
where k equals the number of categories. In the S&P 500 example, the categories are the weekdays, so k = 5.
{ figure 12.2 The Chi-Square Distribution
Critical Score
a
c 2a
Do Not Reject H0 1 – a Reject H0
The critical value for the chi-square distribution, x2a, can be found in Table 8 in Appendix A. An excerpt from this table is shown in Table 12.5.
The rejection region for a chi- square test for two or more proportions is always in the right tail of the distribution.
{ table 12.5 | Excerpt of Chi-Square Critical Values
area in right tail of distribution
df 0.995 0.99 0.975 0.95 0.90 0.10 0.05 0.025 0.01 0.005
1 0.001 0.004 0.016 2.706 3.841 5.024 6.635 7.879
2 0.010 0.020 0.051 0.103 0.211 4.605 5.991 7.378 9.210 10.597
3 0.072 0.115 0.216 0.352 0.584 6.251 7.815 9.348 11.345 12.838
4 0.207 0.297 0.484 0.711 1.064 7.779 9.488 11.143 13.277 14.860
5 0.412 0.554 0.831 1.145 1.610 9.236 11.070 12.833 15.086 16.750
6 0.676 0.872 1.237 1.635 2.204 10.645 12.592 14.449 16.812 18.548
For our S&P 500 example, we have k - 1 = 5 - 1 = 4 degrees of freedom. Using the a = 0.05 column, Table 12.5 indicates that our critical value is x2a = x
2 0.05 = 9.488
(highlighted in red).
www.freebookslides.com
C h a p t e r 12 | 12.1 Comparing Two or More Population Proportions 581
Another way to determine the critical chi-square score is with Excel’s CHISQ.INV. RT function, which has the following characteristics:
= CHISQ.INV.RT 1alpha, degrees_of_freedom2 where
alpha = The significance level, a degrees_of_freedom = k - 1
k = The number of categories For our S&P 500 example, we have
= CHISQ.INV.RT10.05, 42 = 9.488 which matches the value from Table 12.5.
Step 5: Compare the test statistic 1X2 2 with the critical value 1X2A2. This comparison is used to decide whether to reject or fail to reject the null hypoth- esis. To do so, we use the decision rules shown in Table 12.6.
{ table 12.6 | Decision Rules for the Chi-Square Test
condition conclusion
x2 … x2a ¡ Do not reject H0 x2 7 x2a ¡ Reject H0
Because x2 = 5.09, which is less than x2a = 9.488, we fail to reject the null hy- pothesis according to Table 12.6. We can see this graphically in Figure 12.3. The test statistic, x2, is clearly in the white “Do Not Reject” region.
{ figure 12.3 Comparing the Chi-Square Test
Statistic with the Chi-Square Critical Score for the S&P 500 Example
= 5.09 = 9.488c 22 a c
Do Not Reject H0 1 – a Reject H0
a = 0.05
Step 6: State your conclusions.
Recall that our hypothesis statement was as follows:
H0 : p1 = p2 = p3 = p4 = p5 H1 : Not all ps are equal
By failing to reject the null hypothesis, we do not have enough evidence to con- clude the population proportions are different. Notice that this is not consistent with the claim by the BusinessWeek article that “Monday is the best day of the week” for the S&P 500 index. I hope that you agree with me that this statement has little sta- tistical merit but sounds convincing coming from a well-known publication such as BusinessWeek. After all, if it’s in print, it must be true!
As tempting as it is to believe BusinessWeek and alter our investment strategy, we just don’t have enough evidence to confirm the publication’s claim because we failed to reject the null hypothesis. This BusinessWeek article is guilty of using a sample to make an erroneous conclusion about a population. This is a great ex- ample of the benefits of statistics in the business world. Now aren’t you glad you’re reading this chapter?
Be careful here not to make the common mistake of accepting the null hypothesis and claiming that the proportions of “up” days for each day of the week are equal. Because our conclusions are based only on a sample from the population, we do not have enough evidence to claim the population proportions are equal.
www.freebookslides.com
582 C h a p t e r 12 | Chi-Square Tests
Using phStat to Compare two or More proportions You can also use PHStat for Windows to compare two or more proportions by taking the fol- lowing steps. Excel for Mac users can go the the textbook’s Web site for these instructions. (www.pearsonhighered.com/donnelly)
1. Go to Add-Ins + PHStat + Multiple-Sample Tests + Chi-Square Test, as shown in Figure 12.4A.
{ figure 12.4a Using PHStat to Compare Two
or More Proportions (Step 1)
2. Fill in the values in the Chi-Square Test dialog box as shown in Figure 12.4B. Notice that in PHStat, the columns are assigned to the categories being tested. Because we are comparing five populations in the S&P example, the Number of Rows = 5 in the dia- log box. The Number of Columns = 2 for the “up” and “down” days. Click OK.
{ figure 12.4b Using PHStat to Compare Two
or More Proportions (Step 2)
3. You will be presented with a spreadsheet that contains a PHStat User Note in a text box. After reading the note, hit the Delete key to remove it.
4. Enter the observed frequencies and labels from Table 12.1 into the top blue-shaded table (circled in red) as shown in Figure 12.4C.
www.freebookslides.com
C h a p t e r 12 | 12.1 Comparing Two or More Population Proportions 583
The results of the chi-square analysis are shown in the yellow-shaded table in Figure 12.4C. Notice that the chi-square test statistic in Cell B31 (5.10647) is slightly differ- ent from the 5.09 value that we previously calculated. This discrepancy is due to rounding differences because Excel uses many more decimal places than we did when performing this analysis. Cell B32 shows our old friend the p-value, which represents the probability of observing a value for our test statistic, x2, greater than 5.10647 if the null hypothesis is true. This is shown graphically in Figure 12.5.
{ figure 12.4c Using PHStat to Compare Two
or More Proportions (Final Result)
{ figure 12.5 The p-Value for the S&P 500
Example
0.2765
= 5.09 = 9.48822 a
p-value
c c
Because our p-value = 0.2765, which is greater than a = 0.05, we fail to reject the null hypothesis.
We can use Excel’s CHISQ.DIST.RT function to determine the p-value for our chi- square test statistic, which has the following characteristics:
= CHISQ.DIST.RT1x, degrees_of_freedom2 When we set x to our test statistic 1x22, this function provides the area to the right of
x2 = 5.09, which equals the p-value as follows:
= CHISQ.DIST.RT15.09, 42 = 0.2782 The slight difference between this value and the one shown in Figure 12.5 (0.2765) is
due to rounding. While I’ve got you excited about the chi-square test for proportions, take a few minutes
to work on this Your Turn problem.
www.freebookslides.com
584 C h a p t e r 12 | Chi-Square Tests
12.1 Section Problems Basic Skills 12.1 Consider the following observed frequencies:
Population Yes No
A 20 18
B 10 12
Calculate the expected frequency for each observed frequency.
12.2 Using the data from Problem 12.1, perform a chi-square test using a = 0.05 to determine if the proportion of “Yes” observations differs between Populations A and B.
12.3 Consider the following observed frequencies:
Population Yes No
A 10 22
B 16 26
C 17 9
Calculate the expected frequency for each observed frequency.
12.4 Using the data from Problem 12.3, perform a chi-square test using a = 0.05 to determine if the proportion of “Yes” observations differs among Populations A, B, and C.
applications 12.5 An important statistic that the Bureau of Labor Statistics
(BLS) tracks is the percentage of Americans between the ages of 25 and 54 who are currently working. Suppose a random sample of 100 men in this age group as selected and it was found that 83 were currently working. A simi- lar sample of 100 women was selected and it was discov- ered that 70 were working.
a. Using a = 0.05, can we conclude that the proportion of men in this age group who are working differs from the proportion of women who are working?
b. Determine the p-value for the chi-square test statistic using Excel and interpret its meaning.
c. Confirm your results using PHStat.
12.6 The federal government would like to determine if the proportion of households without health insurance cov- erage differs with household income. Suppose the fol- lowing data were collected from 700 randomly selected households.
A Wall Street Journal article titled “When Icing the Kicker Can Backfire2” discussed the strategy of calling time-out just before a kicker in the NFL is about to try a field goal in the last 2 minutes of a game. The theory is that making the kicker wait the extra time will make him more nervous and increase the chances of him missing the field goal. This strategy is known as “icing the kicker.” The Wall Street Journal article relied on field goal data collected from games since 2000. The following table shows this data for field goal attempts from 51 yards and longer:
Time-Out Called Field Goals
Made Field Goals
Missed Total Proportion Made
No 23 31 54 23>54 = 0.426 Yes (icing) 14 11 25 14>25 = 0.560 Total 37 42 79
From this sample, notice that a higher proportion of field goals are made when the “icing the kicker” strategy is employed. The Wall Street Journal article concludes by implying that icing the kicker may have the opposite effect and actually improve the kicker’s chances of making the field goal.
a. Using a = 0.05, comment on the validity of this article’s conclusion. b. Determine the p-value using Excel and interpret its meaning. c. Verify your results with PHStat.
Y o U r t U r N # 1N
Answers can be found on u pages 619–620
2“When Icing the Kicker Can Backfire,” Wall Street Journal, September 22, 2010; http://online.wsj.com
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 585
Health Insurance
Household Income Yes No
Less than $25,000 57 21
$25,000 to $49,999 142 41
$50,000 to $74,999 205 36
$75,000 or more 180 18
a. Using a = 0.01, perform a chi-square test to deter- mine if the proportion of households without health insurance differs by income bracket.
b. Confirm your results with PHStat. c. Interpret the meaning of the p-value from PHStat. d. How does income appear to impact the likelihood that
a household has insurance coverage?
12.7 A survey asked Democrats, Republicans, and Indepen- dent voters what the most important message is to send to Congress. One of the most popular responses for all three groups was to “focus on the economy.” The number of respondents, the messages they want sent, and their party affiliations are shown in the following table:
Message Democrat Republican Independent
Focus on economy
55 61 59
Other 95 114 61
Total 150 175 120
a. Using a = 0.05, perform a chi-square test to deter- mine if the proportion of voters who responded “focus on the economy” differs among the three groups of voters.
b. Determine the p-value using Excel and interpret its meaning.
c. Confirm your results with PHStat. d. How does party affiliation appear to affect the likeli-
hood that a voter will choose the “focus on the econ- omy” message to send to Congress?
12.8 An increase in the number of skin cancer cases has raised the awareness of the importance on wearing sunscreen for protection. Suppose the Skin Cancer Foundation surveyed 75 men and found that 35 had not applied sunscreen in the past 12 months. A random sample of 80 women found that 23 had not applied sunscreen during the past year.
a. Using a = 0.01, can we conclude that the proportion of men who have not applied sunscreen during the past year is different than the proportion of women?
b. Determine the p-value for the chi-square test statistic using Excel and interpret its meaning.
c. Confirm your results using PHStat.
12.2 Determining If Observed Frequencies Follow a Known Probability Distribution
The next chi-square technique we’ll discuss is known as a goodness-of-fit test. The test helps us to decide if the observed frequencies follow a known probability distribution. In the following sections, we will test for a general discrete distribution as well as binomial, Poisson, and normal distributions. (Yes, I know. These distributions seem like the creatures in the movie Zombieland: They just keep coming back. However, unlike zombies, I promise you they are quite useful.)
testing for a Discrete probability Distribution We’ll start off our discussion of the goodness-of-fit test by using the chi-square distribution to test if a set of observed frequencies follows a predetermined discrete frequency distribu- tion. For example, a local Bank of America branch has a drive-through window for teller transactions. The bank’s managers believe that the weekly demand for services through this window follows the probability distribution shown in Table 12.7. For instance, it is thought that 20% of the weekly volume occurs on Monday. This table also shows the number of daily customers using this window during a randomly selected week, which represents the observed frequencies, fo.
The chi-square goodness-of-fit test is used to decide if observed frequencies follow a known probability distribution.
www.freebookslides.com
586 C h a p t e r 12 | Chi-Square Tests
We would like to perform a chi-square test to determine if the observed frequencies shown in Table 12.7 provide enough evidence to conclude, using a = 0.10, that the overall demand pattern follows the stated probabilities. This information is useful in assisting management with planning and staffing decisions. I’ll do so with the following steps:
Step 1: Identify the null and alternative hypotheses.
The null hypothesis for this test is that weekly demand does follow the stated prob- ability distribution. The hypothesis statement is therefore as follows:
H0 : Weekly demand follows the stated probability distribution
H1 : Weekly demand does not follow the stated probability distribution
Step 2: Calculate the expected frequencies.
For the Bank of America example, the expected frequencies represent the daily de- mand that will occur if the stated probabilities describe the demand pattern. We calcu- late the expected frequencies, fe, by multiplying the total weekly demand (240) by the probability for each day of the week. These calculations are shown in Table 12.8.
The null hypothesis for a chi-square goodness-of-fit test always states that the stated distribution is followed.
If you do the math correctly, the total expected frequency should equal the total demand. In this example, the values for both are 240.
{ table 12.7 | The Probability Distribution and Demand for Drive-Through Service
weekday probability daily demand, fo Monday 0.20 58
Tuesday 0.10 21
Wednesday 0.10 27
Thursday 0.15 20
Friday 0.25 71
Saturday 0.20 43
Total 1.00 240
{ table 12.8 | Calculating the Expected Frequencies Demanded for Drive-Through Service
day probability
total demand
expected frequencies demanded, fe
Monday 0.20 240 48
Tuesday 0.10 240 24
Wednesday 0.10 240 24
Thursday 0.15 240 36
Friday 0.25 240 60
Saturday 0.20 240 48
Total 1.00 240
All of the chi-square tests in this section also require that each expected frequency be 5 or more. As you can see, this requirement is satisfied in Table 12.8.
Step 3: Calculate the chi-square test statistic, X2.
We’ll use Equation 12.1 again, with the help of Table 12.9, to calculate the chi- square test statistic.
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 587
A true null hypothesis would result in the observed and expected frequencies being very close to one another. This, in turn, would cause the test statistic, x2, to be close to zero. A large test statistic would increase the likelihood of rejecting the null hypothesis.
Step 4: Determine the chi-square critical value, X2A.
The chi-square goodness-of-fit test has the following degrees of freedom:
df = k - m - 1
where
m = The number of parameters estimated from the sample in the hypothesis statement
k = The number of categories For our Bank of America example, we are not estimating any population param- eters, such as the mean or standard deviation, with the sample. Therefore, m = 0. This example does have six categories (one for each day of the workweek), so k = 6. As a result, our chi-square critical value has k - m - 1 = 6 - 0 - 1 = 5 degrees of freedom. If we go to the a = 0.10 column in Table 12.5, we’ll find that x2a = 9.236.
Step 5: Compare the test statistic 1X2 2 with the critical value 1X2A.2 Because x2 = 12.49 and this is more than x2a = 9.236, we reject the null hypothe- sis according to Table 12.6. We can see this graphically in Figure 12.6 which shows the test statistic, x2, in the shaded rejection region.
The next section provides an example of when you will need to calculate the sample mean in order to determine the expected frequencies.
{ table 12.9 | Calculating the Chi-Square Test Statistic
day fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe Monday 58 48 10 100 2.08
Tuesday 21 24 - 3 9 0.38
Wednesday 27 24 3 9 0.38
Thursday 20 36 - 16 256 7.11
Friday 71 60 11 121 2.02
Saturday 43 48 - 5 25 0.52
Total x2 = a 1fo - fe2 2
fe = 12.49
{ figure 12.6 Comparing the Chi-Square Test
Statistic with the Chi-Square Critical Score for the Drive- Through Service Example
= 12.49= 9.2362 2a
Do Not Reject H0 1 – a
Reject H0 a = 0.10
c c
Step 6: Determine the p-value.
We can use Excel’s CHISQ.DIST.RT function to determine the p-value for this chi- square test statistic:
= CHISQ.DIST.RT 112.49, 52 = 0.0287
2
www.freebookslides.com
588 C h a p t e r 12 | Chi-Square Tests
Because the p-value = 0.0287 and is less than a = 0.05, we can reject the null hypothesis.
Step 7: State your conclusions.
By rejecting the null hypothesis, we conclude that the true probability distribution for weekly demand does not follow the stated distribution shown in Table 12.7. For instance, it appears that the observed demand for Thursday was much lower than the distribution predicted.
The following Your Turn problem will give you a chance to try your hand at a goodness- of-fit test.
A college professor claims that her intended grade distribution is shown in the following table. The table also shows the actual grade distribution from the most recent semester for the 120 students in her classes.
Grade Intended
Percentage Actual Number
of Students
A 20 36
B 25 27
C 40 42
D 10 9
F 5 6
Total 100 120
Using a = 0.05, use this semester’s data to test the faculty member’s claim.
Y o U r t U r N # 2N
Answer can be found on u page 620
testing for a poisson Distribution We can also perform a chi-square hypothesis test to determine if observed data follow a Poisson distribution. Recall from Chapter 5 that a Poisson process has the following characteristics:
• The experiment consists of counting the number of occurrences of an event over a period of time, area, distance, or any other type of measurement.
• The mean of the Poisson distribution has to be the same for each equal interval of measurement.
• The number of occurrences during each equal interval has to be independent of the number of occurrences in the other intervals.
• The intervals that are defined in the Poisson process cannot be overlapping.
I’ll use the following example to demonstrate this procedure. Suppose there are five sta- tistics classes being taught this semester at Averett University. The classes meet three times a week, and the student attendance is recorded. Table 12.10 shows the frequency of the num- ber of absent students per class meeting.
For instance, of the 150 class meetings, there were 22 in which no students were absent.
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 589
Suppose the Registrar’s Office would like to perform a hypothesis test to determine if the number of absent students per class follows the Poisson distribution using a = 0.05. Knowing the probability that a certain number of students will be absent could be used to implement attendance policies.
Recall from Chapter 5 that there is no limit to the number of occurrences for a Poisson process. In other words, the value for x in Table 12.10 has no upper limit. Obviously, we have a finite number of students in these classes (fortunately for the instructor); but the class size is so much larger than the typical number of absent students (fortunately for the instruc- tor again); we can assume this process could follow the Poisson distribution.
I’ll demonstrate this technique using the following steps:
Step 1: Identify the null and alternative hypotheses.
The null hypothesis for this test is that the number of students absent per class meeting follows the Poisson probability distribution. The hypothesis statement is therefore as follows:
H0 : The number of absent students follows the Poisson distribution
H1 : The number of absent students does not follow the Poisson distribution
Step 2: Calculate the expected frequencies.
To calculate the expected frequencies, we need to find the Poisson probabilities for each number of absent students in Table 12.10. Recall from Chapter 5 that the Poisson probabilities can be calculated using Equation 12.2.
The hypothesis for this absent- student example is testing only to determine that the data follow a Poisson distribution. This is opposed to testing for a Poisson distribution with a specific mean. There’s a big difference between the two as you will later see.
testing for a poisson Distribution We can also perform a chi-square hypothesis test to determine if observed data follow a Poisson distribution. Recall from Chapter 5 that a Poisson process has the following characteristics:
• The experiment consists of counting the number of occurrences of an event over a period of time, area, distance, or any other type of measurement.
• The mean of the Poisson distribution has to be the same for each equal interval of measurement.
• The number of occurrences during each equal interval has to be independent of the number of occurrences in the other intervals.
• The intervals that are defined in the Poisson process cannot be overlapping.
I’ll use the following example to demonstrate this procedure. Suppose there are five sta- tistics classes being taught this semester at Averett University. The classes meet three times a week, and the student attendance is recorded. Table 12.10 shows the frequency of the num- ber of absent students per class meeting.
For instance, of the 150 class meetings, there were 22 in which no students were absent.
{ table 12.10 | Frequency of the Number of Absent Students per Class
number of absent students per class meeting, x frequency, fo
0 22
1 38
2 39
3 29
4 15
5 5
6 2
Total 150
Formula 12.2 for the poisson probability Distribution
P1x2 = l xe -l
x!
where
x = The number of occurrences of interest over the interval l = The mean number of occurrences over the interval e = The mathematical constant 2.71828
P1x2 = The probability of exactly x occurrences over the interval In this example, the interval is a class meeting, and the random variable x represents the
number of absent students for each class meeting.
www.freebookslides.com
590 C h a p t e r 12 | Chi-Square Tests
We also need l, the mean of the Poisson distribution, to calculate our probabilities. No- tice that the mean of the distribution was not specified in the hypothesis statement. Because of this, we need to calculate the mean for the data in Table 12.10 and use it to estimate the mean for the Poisson distribution. In Chapter 3, you learned how to calculate the mean of a frequency distribution. The formula is repeated in Equation 12.3.
Formula 12.3 for the Mean of a Frequency Distribution
l = a
k
i = 1 1xi fi2
a k
i = 1 fi
Using the values from Table 12.10, we have the following:
l = a
k
i = 1 1xi fi2
a k
i = 1 fi
= 1021222 + 1121382 + 1221392 + 1321292 + 1421152 + 152152 + 162122
22 + 38 + 39 + 29 + 15 + 5 + 2
l = 300
150 = 2.0 students per class meeting
We now have enough information to generate our Poisson probabilities for each value of x, the number of absent students. We can do so using one of four methods:
1. Equation 12.2
2. Excel’s POISSON.DIST(x, l, False) function
3. The Poisson probability table found in Table 2 in Appendix A
4. Guess and hope for the best (not recommended)
Table 12.11 shows an excerpt from Appendix A with the appropriate column highlighted in yellow.
Based on our sample, the average number of students absent per class meeting is 2.0
{ table 12.11 | Excerpt from Table 2 in Appendix A (Poisson Probabilities)
x 1.10 1.20 1.30 1.40 1.50 1.60 1.70 1.80 1.90 2.00
0 0.3329 0.3012 0.2725 0.2466 0.2231 0.2019 0.1827 0.1653 0.1496 0.1353
1 0.3662 0.3614 0.3543 0.3452 0.3347 0.3230 0.3106 0.2975 0.2842 0.2707
2 0.2014 0.2169 0.2303 0.2417 0.2510 0.2584 0.2640 0.2678 0.2700 0.2707
3 0.0738 0.0867 0.0998 0.1128 0.1255 0.1378 0.1496 0.1607 0.1710 0.1804
4 0.0203 0.0260 0.0324 0.0395 0.0471 0.0551 0.0636 0.0723 0.0812 0.0902
5 0.0045 0.0062 0.0084 0.0111 0.0141 0.0176 0.0216 0.0260 0.0309 0.0361
6 0.0008 0.0012 0.0018 0.0026 0.0035 0.0047 0.0061 0.0078 0.0098 0.0120
7 0.0001 0.0002 0.0003 0.0005 0.0008 0.0011 0.0015 0.0020 0.0027 0.0034
8 0.0000 0.0000 0.0001 0.0001 0.0001 0.0002 0.0003 0.0005 0.0006 0.0009
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0002
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 591
To calculate the expected frequencies for each number of absent students, we need to multiply each highlighted probability by the total number of class meetings recorded (150). Table 12.12 shows these calculations.
{ table 12.12 | Calculating the Expected Frequencies of Absent Students
number of absent students, x poisson probabilities classes
total expected frequencies
0 0.1353 150 20.30
1 0.2707 150 40.61
2 0.2707 150 40.61
3 0.1804 150 27.06
4 0.0902 150 13.53
5 0.0361 150 5.42
6 or more 0.0165 150 2.48
Because we never had more than six students absent per class meeting, I combined the probabilities of six, seven, eight, and nine students from Table 12.11, as follows:
P16 or more students absent2 = 0.0120 + 0.0034 + 0.0009 + 0.0002 = 0.0165 Also, notice that the expected frequency of six or more students being absent is only 2.48 instances, which is less than 5. Remember that the chi-square test requires each expected fre- quency to be 5 or more. To accommodate this requirement, we need to combine “5” and “6 or more” events to “5 or more,” as shown in Table 12.13.
Remember, there is no upper limit to the number of occurrences with an interval using the Poisson distribution. Theoretically, we can have an infinite number of students absent from class on a given day. I don’t like the sound of that!
{ table 12.13 | Combining the Events “5” and “6 or More”
number of absent students, x
observed frequencies, fo
expected frequencies, fe
0 22 20.30
1 38 40.61
2 39 40.61
3 29 27.06
4 15 13.53
5 or more 7 7.90
Every expected frequency in Table 12.13 is now at least 5.
Step 3: Calculate the chi-square test statistic, X2.
We’ll use Equation 12.1, with the help of Table 12.14, again to calculate the chi- square test statistic.
www.freebookslides.com
592 C h a p t e r 12 | Chi-Square Tests
{ table 12.14 | Calculating the Chi-Square Test Statistic
students absent
fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
0 22 20.30 1.70 2.89 0.14
1 38 40.61 - 2.61 6.81 0.17
2 39 40.61 - 1.61 2.59 0.06
3 29 27.06 1.94 3.76 0.14
4 15 13.53 1.47 2.16 0.16
5 or more 7 7.90 - 0.90 0.81 0.10
Total x2 = a 1fo - fe2 2
fe = 0.77
2
Step 4: Determine the chi-square critical value, XA 2 .
Recall from the previous section that the chi-square goodness-of-fit test has k - m - 1 degrees of freedom. Table 12.14 has six categories (0, 1, 2, 3, 4, 5 or more), so k = 6. In this example, m = 1 because we have to estimate the mean number of students absent in the population (the number absent in all of the statistics classes at Averett University) using the mean number of students absent in our sample. Again, this is because the hypothesis statement did not specify a population mean, l, to be tested. Instead, with this test, we are simply trying to see if the observed data follow a Poisson distribution without l being specified. Therefore, we have k - m - 1 = 6 - 1 - 1 = 4 degrees of freedom for our chi-square distribution. Essentially, having to estimate the mean from our sample has cost us 1 degree of freedom.
When we go to the a = 0.05 column in Table 12.5 with 4 degrees of freedom, we find that x2a = 9.488.
Step 5: Compare the test statistic 1X2 2 with the critical value 1X2A2. Because x2 = 0.77 and this is less than x2a = 9.488, we fail to reject the null hy- pothesis according to Table 12.6.
Step 6: Determine the p-value.
p@value = CHISQ.DIST.RT 10.77, 42 = 0.9424 Because the p@value = 0.9424 and is greater than a = 0.05, we fail to reject the null hypothesis.
Step 7: State your conclusions.
By failing to reject the null hypothesis, the assumption that the number of absent students per class meeting follows the Poisson distribution cannot be rejected. This leads to an interesting point (at least for me). I have been harping for quite some time now on the dangers of accepting the null hypothesis. When I put on my stat- istician’s hat, I cannot state that the number of absent students follows the Poisson distribution (cannot accept the null hypothesis). However, Averett University has a business decision to make here, which is to (a) use the Poisson distribution to as- sist in developing an attendance policy or (b) not to use the Poisson distribution. When I put on my businessperson’s hat, the results of this hypothesis test lead me to choose option a, which is to use the Poisson distribution in this case. I know this might seem like a contradiction, but choosing to use the Poisson distribution in this example is the appropriate business decision. I say this because there is more evi- dence supporting the use of the Poisson distribution than there is to not use it.
Use this Your Turn opportunity to sharpen your Poisson skills.
The closer fo is to fe , the smaller the chi-square test statistic will be. This reduces the chance of rejecting the null hypothesis.
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 593
Each chapter that I write for this textbook is sent to my Development Editor, Amy Ray, who has the unfor- tunate task of trying to make sense of what I’m trying to say and fixing it so that it appears I know what I am talking about. I assure you, folks, this is no easy task. One issue that Amy deals with is all my typos. (I am guilty of using the two-finger hunt and peck method of typing.) Suppose the following table shows the frequencies of typos per page for a 120-page manuscript chapter that I just finished:
Typos per Page Frequency
0 59
1 28
2 23
3 6
4 4
In other words, the chapter had 28 pages that had one typo. Setting a = 0.10, use this chapter as your sample to test the hypothesis that the number of typos per page in my entire manuscript follows a Poisson distribution.
Y o U r t U r N # 3N
Answer can be found on u page 621
Redo Your Turn #3 using the following hypothesis statement:
H0: The number of typos per page follows the Poisson distribution with l = 1.5 per page H1: The number of typos per page does not follow the Poisson distribution with l = 1.5 per page
Helpful hints: Having the mean specified in the hypothesis statement affects the procedure in three ways:
1. There is no need to calculate the mean from the sample data. 2. The probabilities used to calculate expected frequencies are based on the mean in the hypothesis
statement, l = 1.5. 3. We set m = 0 for the degrees of freedom because we are not relying on the sample mean as an
estimate for the population mean.
Other than these changes, the chi-square procedure is the same for both cases. Setting a = 0.10, use the sample chapter to test the hypothesis that the number of typos per page in my manuscript follows the stated Poisson distribution.
Y o U r t U r N # 4N
Answer can be found on u pages 621–622
You may be wondering how to proceed with the chi-square technique when the popula- tion mean is specified in the hypothesis statement. This is such a great question that I set up another Your Turn problem for you to work on. Don’t worry—I give you some helpful hints along the way.
testing for a Binomial Distribution We can also perform a chi-square hypothesis test to determine if observed data follow a binomial distribution. Recall from Chapter 5 that a binomial experiment has the following characteristics:
• The experiment consists of a fixed number of trials, denoted by n.
• Each trial has only two possible outcomes, a success or a failure.
• The probability of a success (denoted by p) and the probability of a failure (denoted by q) are constant throughout the experiment.
• Each trial is independent of the other trials in the experiment.
www.freebookslides.com
594 C h a p t e r 12 | Chi-Square Tests
I’ll demonstrate this particular hypothesis test with the following example. Southwest Airlines operates four flights a day from Philadelphia to Orlando and would like to develop a model to predict the number of late flights per day between these cities. Table 12.15 shows the frequency of late flights per day for 200 randomly selected days. Historically, 20% of Southwest’s flights nationwide have been late.
For instance, there were 70 days that none of the four flights from Philadelphia to Orlando was late.
{ table 12.15 | Late Flights per Day for Southwest Airlines
number of late flights per day frequency
0 70
1 78
2 40
3 11
4 1
Total 200
In this section, I would like to investigate if the frequency of late flights follows the bi- nomial distribution with n = 4 and p = 0.20. In other words, each day consists of four trials (flights) with each trial having a probability of success (late) equal to 20%. I’ll use a = 0.10 to perform this hypothesis test with the following steps.
Step 1: Identify the null and alternative hypotheses.
The hypothesis statement for this chi-square test is as follows:
H0: The number of late flights per day follows the binomial distribution with n = 4 and p = 0.2
H1: The number of late flights per day does not follow the binomial distribution with n = 4 and p = 0.2
Back in Chapter 5, we learned that the mean of a binomial distribution is equal to np. The mean for this binomial distribution is therefore 14210.22 = 0.8. Notice that this mean is specified in the hypothesis statement, which will affect the test in a later step.
Step 2: Calculate the expected frequencies.
To calculate the expected frequencies, we need to find the binomial probabilities for each number of late flights in Table 12.15. The formula for calculating a binomial probability distribution is shown in Equation 12.4. (Recall that you first encoun- tered this equation in Chapter 5.)
Formula 12.4 for the Binomial probability Distribution
P1x, n2 = n!1n - x2!x! p xq n - x
where
P1x, n2 = The probability of observing x successes in n trials n = The number of trials x = The number of successes p = The probability of a success q = The probability of a failure
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 595
As with our Poisson example, we can generate the binomial probabilities using one of three methods:
1. Equation 12.4
2. Excel’s BINOM.DIST(x, n, p, False) function
3. The binomial probability table found in Table 1 in Appendix A
Table 12.16 shows an excerpt from Table 1 in Appendix A with the appropriate column highlighted in yellow.
{ table 12.17 | Calculating the Expected Frequencies of Late Flights
number of late flights, x
binomial probabilities
total days
expected frequencies
0 0.4096 200 81.92
1 0.4096 200 81.92
2 0.1536 200 30.72
3 0.0256 200 5.12
4 0.0016 200 0.32
{ table 12.16 | Excerpt from Table 1 in Appendix A (Binomial Probabilities)
n x 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
4 0 0.6561 0.5220 0.4096 0.3164 0.2401 0.1785 0.1296 0.0915 0.0625
1 0.2916 0.3685 0.4096 0.4219 0.4116 0.3845 0.3456 0.2995 0.2500
2 0.0486 0.0975 0.1536 0.2109 0.2646 0.3105 0.3456 0.3675 0.3750
3 0.0036 0.0115 0.0256 0.0469 0.0756 0.1115 0.1536 0.2005 0.2500
4 0.0001 0.0005 0.0016 0.0039 0.0081 0.0150 0.0256 0.0410 0.0625
To calculate the expected frequencies for each number of late flights, we need to mul- tiply each highlighted probability by the total number of days recorded (200). Table 12.17 shows these calculations.
If the null hypothesis is true, we would expect to see about 82 days where none of the four daily flights were late from a random sample of 200 days.
Note that the expected frequency of four late flights is only 0.32 instances, which is less than 5. We therefore need to combine the “3” and “4” late-flight events, as shown in Table 12.18.
{ table 12.18 | Combining the “3” and “4” Late-Flight Events
number of late flights, x
observed frequencies, fo
expected frequencies, fe
0 70 81.92
1 78 81.92
2 40 30.72
3–4 12 5.44
Every expected frequency in Table 12.18 is now at least 5.
www.freebookslides.com
596 C h a p t e r 12 | Chi-Square Tests
Step 3: Calculate the chi-square test statistic, X2.
We’ll use Equation 12.1 again, with the help of Table 12.19, to calculate the chi- square test statistic.
{ table 12.19 | Calculating the Chi-Square Test Statistic
late flights fo fe 1fo − fe 2 1fo − fe 2 2
1fo − fe 2 fe
0 70 81.92 - 11.92 142.09 1.73
1 78 81.92 - 3.92 15.37 0.19
2 40 30.72 9.28 86.12 2.80
3–4 12 5.44 6.56 43.03 7.91
Total x2 = a 1fo - fe2 2
fe = 12.63
Step 4: Determine the chi-square critical value, X2A.
Table 12.19 has four categories 10, 1, 2, 3942, so k = 4. The mean of the distribution (0.8) was included in the null hypothesis, so we don’t need to calculate it using the sample data. As a result, m = 0. Therefore, we have k - m - 1, or 4 - 0 - 1 = 3 degrees of freedom for our chi-square distribution. If we go to the a = 0.10 column in Table 12.5 with 3 degrees of freedom, we’ll find that x2a = 6.251.
Step 5: Compare the test statistic 1X2 2 with the critical value 1X2A2. Because x2 = 12.63 and this is greater than x2a = 6.251, we reject the null hypoth- esis according to Table 12.6.
Step 6: Determine the p-value.
p@value = CHISQ.DIST.RT 112.63, 32 = 0.0055 Because the p-value = 0.0055 and is less than a = 0.10, we reject the null hypothesis.
Step 7: State your conclusions.
By rejecting the null hypothesis, we have no evidence to conclude that the number of late flights per day from Philadelphia to Orlando follows the binomial distribu- tion with n = 4 and p = 0.2. It appears that Southwest Air needs to develop an- other model to predict late flights between these locations.
Try your hand at testing for a binomial distribution with this next Your Turn problem.
If the hypothesis statement back in step 1 had not specified a value for p, we would have to calculate p from our sample. In that case, m = 1 and we would have 4 - 1 - 1 = 2 degrees of freedom.
Aramis Ramirez is a Major League Baseball player for the Milwaukee Brewers who had a 0.300 batting average during the 2012 season. In other words, 30% of Ramirez’s at-bat appearances resulted in base hits that year. During the 2012 season, Ramirez made exactly four plate appearances in each of 84 games. The following table records the frequency of the number of hits during these games:
Number of Hits per Game (Four at Bats) Frequency
0 21
1 35
2 23
3 5
4 0
Total 84
Y o U r t U r N # 5N
2
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 597
For instance, there were 21 games during the season in which Ramirez batted 4 times but did not get a hit. Using a = 0.01, perform a hypothesis test to determine if Ramirez’s number of hits per game fol- lows the binomial distribution when n = 4 and p = 0.30.
Answers can be found on u pages 622–623
testing for a Normal Distribution Many times in this textbook I have made the assumption that a population is normally dis- tributed. I have also promised to show you how to test that assumption. In this section, I keep that promise. The following example will show you how a chi-square distribution can be used to test if a population follows the normal distribution.
Suppose Texas Christian University (TCU) uses the math SAT scores of incoming fresh- man to place them in math courses. Table 12.20 shows the math SAT scores for a random sample of 40 incoming freshmen this year. These data can also be found in the Excel file math SAT scores normal.xlsx.
{ table 12.20 | Math SAT Scores
549 656 582 635 606 619 730
570 686 628 627 596 593 647
647 643 731 623 527 649 566
561 537 562 536 663 468 444
620 640 625 624 569 623 548
569 593 590 603 707
TCU would like to know if the SAT scores follow the normal probability distribution. The information would help the school plan the types of math classes and the number of them to offer the freshmen. I’ll demonstrate this procedure using a = 0.05.
Step 1: Identify the null and alternative hypotheses.
The null hypothesis for this test is that math SAT scores follow the normal prob- ability distribution. The hypothesis statement is therefore as follows:
H0: The math SAT scores follow the normal distribution
H1: The math SAT scores do not follow the normal distribution
Step 2: Calculate the expected frequencies.
Because the mean and standard deviation of the population are not specified in the hypothesis statement, we need to calculate the mean and standard deviation of our sample. Using Excel’s = AVERAGE(data values) and = STDEV.S(data values) functions, we have the following:
x = 604.8 s = 60.6
Calculating the expected frequencies for a normal distribution is a little more com- plicated than the procedure we used for the previous discrete distributions. But don’t panic—it’s not that bad. Because the normal distribution is a continuous distribution rather than a discrete distribution, we need to establish uniform intervals for the con- tinuous data. We then count the frequency of data values within each interval. We are essentially converting the continuous data into a discrete frequency distribution and then proceeding with the same chi-square test with which you are already familiar.
We first need to decide how many intervals we will use for the conversion from continuous to discrete data. I’ll start by arbitrarily using six intervals of uniform width across the distribution, as shown in Figure 12.7. This is analogous to the number of categories from the previous examples. I’ll discuss this choice later in the section.
www.freebookslides.com
598 C h a p t e r 12 | Chi-Square Tests
As you can see in Figure 12.7, the six intervals are as follows:
z … - 2.0 - 2.0 6 z … - 1.0 - 1.0 6 z … 0 0 6 z … 1.0 1.0 6 z … 2.0 z 7 2.0
Recall from Chapter 6, the z-scores represent the number of standard deviations from the mean. The width of these intervals is identical, but the areas within the in- tervals are not. We need to use Tables 3 and Table 4 in Appendix A to find the area of each interval. Table 12.21 shows an excerpt from Table 3 in Appendix A.
{ figure 12.7 Dividing the Normal
Distribution into Six Intervals
0.0228
0 μ
1.0 2.0−2.0 −1.0
0.3413 0.3413
0.1359 0.1359
0.1587
0.0228
z scale
{ table 12.21 | Excerpt from Table 3 in Appendix A (Normal Distribution)
first digit of z second digit of z
z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
- 3.0 0.0013 0.0013 0.0013 0.0012 0.0012 0.0011 0.0011 0.0011 0.0010 0.0010
- 2.9 0.0019 0.0018 0.0018 0.0017 0.0016 0.0016 0.0015 0.0015 0.0014 0.0014
- 2.8 0.0026 0.0025 0.0024 0.0023 0.0023 0.0022 0.0021 0.0021 0.0020 0.0019
- 2.7 0.0035 0.0034 0.0033 0.0032 0.0031 0.0030 0.0029 0.0028 0.0027 0.0026
- 2.6 0.0047 0.0045 0.0044 0.0043 0.0041 0.0040 0.0039 0.0038 0.0037 0.0036
- 2.5 0.0062 0.0060 0.0059 0.0057 0.0055 0.0054 0.0052 0.0051 0.0049 0.0048
- 2.4 0.0082 0.0080 0.0078 0.0075 0.0073 0.0071 0.0069 0.0068 0.0066 0.0064
- 2.3 0.0107 0.0104 0.0102 0.0099 0.0096 0.0094 0.0091 0.0089 0.0087 0.0084
- 2.2 0.0139 0.0136 0.0132 0.0129 0.0125 0.0122 0.0119 0.0116 0.0113 0.0110
- 2.1 0.0179 0.0174 0.0170 0.0166 0.0162 0.0158 0.0154 0.0150 0.0146 0.0143
- 2.0 0.0228 0.0222 0.0217 0.0212 0.0207 0.0202 0.0197 0.0192 0.0188 0.0183
- 1.9 0.0287 0.0281 0.0274 0.0268 0.0262 0.0256 0.0250 0.0244 0.0239 0.0233
- 1.8 0.0359 0.0351 0.0344 0.0336 0.0329 0.0322 0.0314 0.0307 0.0301 0.0294
- 1.7 0.0446 0.0436 0.0427 0.0418 0.0409 0.0401 0.0392 0.0384 0.0375 0.0367
- 1.68 0.054 0.0537 0.0526 0.0516 0.0505 0.0495 0.0485 0.0475 0.0465 0.0455
- 1.5 0.0668 0.0655 0.0643 0.0630 0.0618 0.0606 0.0594 0.0582 0.0571 0.0559
- 1.4 0.0808 0.0793 0.0778 0.0764 0.0749 0.0735 0.0721 0.0708 0.0694 0.0681
- 1.3 0.0968 0.0951 0.0934 0.0918 0.0901 0.0885 0.0869 0.0853 0.0838 0.0823
- 1.2 0.1151 0.1131 0.1112 0.1093 0.1075 0.1056 0.1038 0.1020 0.1003 0.0985
- 1.1 0.1357 0.1335 0.1314 0.1292 0.1271 0.1251 0.1230 0.1210 0.1190 0.1170
- 1.0 0.1587 0.1562 0.1539 0.1515 0.1492 0.1469 0.1446 0.1423 0.1401 0.1379
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 599
For example, to find the area between - 2.0 6 z … - 1.0, we plug the values we found in Table 12.21 into the following equations:
P1 - 2.0 6 z … - 1.02 = P1z … - 1.02 - P1z … - 2.02 P1z … - 1.02 = 0.1587 P1z … - 2.02 = 0.0228 P1 - 2.0 6 z … - 1.02 = 0.1587 - 0.0228 = 0.1359
Excel lovers (which includes me) can use the NORM.S.DIST function introduced in Chapter 6 to determine the area to the left of a z-score as follows:
= NORM.S.DIST1 - 1.0, TRUE2 = 0.1587 We repeat these calculations for the remaining intervals. We are now ready to calcu- late the expected frequencies for each of these intervals by multiplying the probabili- ties by the total number of SAT scores (40). Table 12.22 shows these calculations.
Having intervals with expected frequencies less than 5 violates a requirement of the chi-square goodness-of-fit test.
{ table 12.22 | Expected Frequencies for the Six Intervals
interval probability
total scores
expected frequencies
z … - 2.0 0.0228 40 0.91
- 2.0 6 z … - 1.0 0.1359 40 5.44
- 1.0 6 z … 0 0.3413 40 13.65
0 6 z … 1.0 0.3413 40 13.65
1.0 6 z … 2.0 0.1359 40 5.44
z 7 2.0 0.0228 40 0.91
For instance, if the TCU SAT scores follow the normal distribution, we would ex- pect less than one score (0.91) out of the 40 scores to be in the interval more than 2.0 standard deviations from the mean 1z 7 2.02, which is the highest interval of the distribution.
The first and last intervals (highest and lowest intervals) have expected fre- quencies of less than 5, which occurs because the total number of scores is only 40. To achieve the minimum expected frequencies of 5 for each of the six intervals, we need at least 220 scores, as shown by the following calculation:
220 * 0.0228 = 5.02
Because we have only 40 scores, let’s reduce the number of intervals to five, as shown in Figure 12.8. As you can see, the five intervals are as follows:
z … - 1.5 - 1.5 6 z … - 0.5 - 0.5 6 z … 0.5 0.5 6 z … 1.5 z 7 1.5
{ figure 12.8 Dividing the Normal
Distribution into Five Intervals
0 1.5−1.5 −0.5
0.3830
0.2417
0.5
0.2417
0.3085
0.0668 0.0668
μ z scale
www.freebookslides.com
600 C h a p t e r 12 | Chi-Square Tests
For example, to find the area between - 1.5 6 z … - 0.5, we use the following cal- culations and Table 3 in Appendix A:
P1 - 1.5 6 z … - 0.52 = P1z … - 0.52 - P1z … - 1.52 P1 - 1.5 6 z … - 0.52 = 0.3085 - 0.0668 = 0.2417
The expected frequencies for these five intervals are found in Table 12.23.
{ table 12.23 | Expected Frequencies for the Five Intervals
interval probability
total scores
expected frequencies
z … - 1.5 0.0668 40 2.67
- 1.5 6 z … - 0.5 0.2417 40 9.67
- 0.5 6 z … 0.5 0.3830 40 15.32
0.5 6 z … 1.5 0.2417 40 9.67
z 7 1.5 0.0668 40 2.67
Using five intervals, we still have two intervals with expected frequencies of less than 5. To achieve the minimum expected frequencies of 5 using five intervals, we need at least 75 scores, as shown by the following calculation:
75 * 0.0668 = 5.01
Let’s reduce the number of intervals to four, as shown in Figure 12.9.
{ figure 12.9 Dividing the Normal
Distribution into Four Intervals
0
μ
1.0−1.0
0.3413 0.3413
0.1587 0.1587
604.8 665.4544.2 z scale x scale
Figure 12.9 also shows the SAT scores that correspond to the z-scores calculated with the following equations:
x = m + zs x = 604.8 + 11.02160.62 = 665.4 x = 604.8 - 11.02160.62 = 544.2
The expected frequencies for these four intervals are found in Table 12.24.
{ table 12.24 | Expected Frequencies for the Four Intervals
interval probability
total scores
expected frequencies
z … - 1.0 0.1587 40 6.35
- 1.0 6 z … 0 0.3413 40 13.65
0 6 z … 1.0 0.3413 40 13.65
z 7 1.0 0.1587 40 6.35
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 601
Bingo! According to Table 12.24, we’ve finally achieved our goal of having ex- pected frequencies of at least 5 for each category. It’s about time! To achieve the minimum expected frequencies of 5 using four intervals, we need at least 32 scores, as shown by the following calculation:
32 * 0.1587 = 5.08
To summarize, Table 12.25 shows the number of data values needed for each inter- val size. You can use this table for future reference when trying to decide how many intervals to use for your normal distribution hypothesis test (you’re welcome).
{ table 12.26 | Observed Frequencies of the SAT Scores
interval observed frequency
544.2 or less 5
7 544.2 to 604.8 14
7 604.8 to 665.4 17
More than 665.4 4
Total 40
{ table 12.25 | Number of Data Values Required to Achieve Expected Frequencies of at Least 5 per Interval
intervals per distribution required number of data values
Four intervals Between 32 and 75
Five intervals Between 75 and 220
Six intervals More than 220
Step 3: Count the observed frequencies for each interval.
This step is pretty straightforward—simply count the number of SAT scores in each of the four intervals from Figure 12.9. Sorting the Excel file math SAT scores normal.xlsx from low to high scores makes this process easier. Table 12.26 shows these results.There were 14 SAT scores from
Table 12.20 between 544.2 and 604.8.
The chi-square test has no minimum requirement for the number of observed fre- quencies for each category. Only the expected frequencies are required to have a minimum of five observations per category.
Step 4: Calculate the chi-square test statistic, X2.
We’ll use Equation 12.1 again, with the help of Table 12.27, to calculate the chi- square test statistic. The expected frequencies were calculated in Table 12.24.
{ table 12.27 | Calculating the Chi-Square Test Statistic
interval fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
544.2 or less 5 6.35 - 1.35 1.82 0.29
7 544.2 to 604.8 14 13.65 0.35 0.12 0.01
7 604.8 to 665.4 17 13.65 3.35 11.22 0.82
More than 665.4 4 6.35 - 2.35 5.52 0.87
Total 40 40 x2 = a 1fo - fe2 2
fe = 1.99
2
www.freebookslides.com
602 C h a p t e r 12 | Chi-Square Tests
Step 5: Determine the chi-square critical value, XA 2 .
Table 12.27 has four categories, so k = 4. Recall that the mean and standard deviation of the population were not specified in the hypothesis statement. Be- cause we have to estimate both using our sample, m = 2. Therefore, we have k - m - 1 = 4 - 2 - 1 = 1 degree of freedom for our chi-square distribution. Four intervals is the lowest number of k we can use to test normal distributions because this leaves us with only 1 degree of freedom for the chi-square distribu- tion, which is the minimum allowed. In other words, we can’t reduce the number of intervals to three for this test because it would result in 0 degree of freedom (a very bad thing). If we go to the a = 0.05 column in Table 12.5 with 1 degree of free- dom, we’ll find that xa
2 = 3.841. Step 6: Compare the test statistic 1X2 2 with the critical value 1XA2 2.
Because x2 = 1.99 and this is less than xa 2 = 3.841, we fail to reject the null hy-
pothesis according to Table 12.6.
Step 7: Determine the p-value.
p@value = CHISQ.DIST.RT 11.99, 12 = 0.1583 Because the p-value = 0.1583 and is greater than a = 0.05, we fail to reject the null hypothesis.
Step 8: State your conclusions.
By failing to reject the null hypothesis, the assumption that the math SAT score follows the normal distribution cannot be rejected. As I mentioned earlier in the chapter, from a statistician’s perspective, we cannot accept the null hypothesis and conclude the SAT scores follow the normal distribution. However, from a business perspective we need to choose between (a) using the normal distribution for plan- ning purposes and (b) not using the normal distribution for planning purposes. As a businessperson, the results of this hypothesis test lead me to choose option (a), which is to use the normal distribution in this case. Again, I know this might seem like a contradiction, but choosing to use the normal distribution in this example is the appropriate business decision.
While this procedure is still fresh in your mind, spend a few minutes on this next “normal” Your Turn.
Because we are estimating both the mean and standard deviation using sample data (two parameters), we set m = 2
A credit score measures a person’s creditworthiness. The following data show the credit scores of 36 randomly selected adults. The scores are sorted from low to high for your convenience. These data can also be found in the Excel file credit scores normal.xlsx.
480 522 549 555 571 576
590 593 596 599 609 618
625 650 651 657 657 658
663 664 677 690 694 705
705 728 740 753 755 762
768 769 769 772 773 787
Use these data to perform a hypothesis test to determine if credit scores follow the normal distribution using a = 0.10.
Y o U r t U r N # 6N
Answer can be found on u page 623
www.freebookslides.com
C h a p t e r 12 | 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution 603
12.2 Section Problems Basic Skills 12.9 Consider the following discrete probability distribution
along with observed frequencies for each day of the week:
Weekday Probability Observed
Frequency, fo Monday 0.10 12
Tuesday 0.20 27
Wednesday 0.05 7
Thursday 0.30 40
Friday 0.35 34
Total 1.00 120
a. Perform a chi-square test using a = 0.05 to determine if the observed frequencies follow a discrete probabil- ity distribution.
b. Determine the p-value using Excel and interpret its meaning.
12.10 Consider the observed frequency distribution for the following set of random variables:
Random Variable, x Frequency, fo 0 17
1 35
2 30
3 15
4 and more 3
Total 100
Perform a chi-square test using a = 0.05 to determine if the observed frequencies follow the Poisson probability distribution when l = 1.5.
12.11 Consider the observed frequency distribution for the fol- lowing set of random variables:
Random Variable, x Frequency, fo 0 23
1 60
2 122
3 83
4 12
Total 300
a. Perform a chi-square test using a = 0.05 to determine if the observed frequencies follow the binomial prob- ability distribution when p = 0.50 and n = 4.
b. Determine the p-value using Excel and interpret its meaning.
12.12 Consider the observed frequency distribution for the fol- lowing set of grouped random variables:
Random Variable, x Frequency, fo Less than 80 10
80 to under 100 14
100 to under 120 19
120 and more 7
Total 50
Perform a chi-square test using a = 0.05 to determine if the observed frequencies follow the normal probability distribution with m = 100 and s = 20.
applications 12.13 In 1991, the Consumer Bankruptcy Project conducted a
study to determine the education levels of people who declare bankruptcy. The percentages are shown in the fol- lowing table. Also shown in the table is the observed fre- quency for these education levels from a random sample of individuals who filed for bankruptcy in 2014.
Education Level Probability 1991 (%)
Observed Frequency
2014
No high school diploma 21.8 11
High school diploma 31.7 38
Some college 35.1 56
College diploma 8.6 15
Advanced degree 2.8 5
Total 100 125
a. Using a = 0.05, perform a chi-square test to deter- mine if the probability distribution for the education levels of individuals who filed for bankruptcy changed between 1991 and 2014.
b. Determine the p-value using Excel and interpret its meaning.
c. What conclusions can be drawn about the type of indi- vidual who filed for bankruptcy in 2014 vs. the type of individual who filed for bankruptcy in 1991?
12.14 The following table shows the U.S. market share for auto- motive manufacturers in 2013 according to Autodata. Also shown is the frequency of car purchases by manufacturer from a random sample of 220 customers during 2014.
Manufacturer Market Share
2013 (%) Frequency
2014
General Motors 18.5 35
Ford Motor 16.5 37
Toyota 13.7 24
Chrysler 12.2 20
Honda 10.2 17
Other 28.9 87
Total 220
www.freebookslides.com
604 C h a p t e r 12 | Chi-Square Tests
a. Using a = 0.10, perform a chi-square test to deter- mine if the U.S. market share in the automotive indus- try has changed between 2013 and 2014.
b. Determine the p-value for the chi-square test statistic using Excel and interpret its meaning.
12.15 In an effort to predict customer arrivals better, the Avalon grocery store counted the number of customers who arrived at the store during randomly selected 10-minute intervals. The following table shows these data. For example, there were 12 10-minute intervals in which no customers arrived, and 27 10-minute intervals in which one customer arrived.
Number of Customers Arriving in a 10-Minute Interval Frequency
0 12
1 27
2 29
3 22
4 12
5 5
6 3
Total 110
a. Using a = 0.05, perform a chi-square test to de- termine if the number of customers arriving over a 10-minute interval follows the Poisson probability distribution.
b. Determine the p-value using Excel and interpret its meaning.
12.16 The following data show the number of touchdown passes thrown by quarterback Aaron Rodgers during 40 games in which he played with the Green Bay Packers. These data can also be found in the Excel file Rodgers.xlsx.
1 3 0 2 3 2 1 1 0 2 2 3 2 1 2 3 1 1 2 2 2 3 3 2 1 2 3 3 0 3 1 1 2 2 1 3 1 1 2 0
Using a = 0.05, perform a chi-square test to determine if the number of touchdown passes thrown per game by Aaron Rodgers follows the Poisson probability distribu- tion when l = 1.7.
12.17 Suppose that candidates for a job opening at Citibank interview with four different managers. Each manager in- dependently evaluates each candidate with a “yes” or “no” hiring decision. The following table shows the number of “yes” decisions given the last 90 candidates:
Number of “Yes” Decisions per
Candidate Frequency
0 22
1 36
2 23
3 8
4 1
Total 90
a. Using a = 0.05, perform a chi-square test to deter- mine if the number of “yes” decisions per candidate follows the binomial probability distribution when the probability of a candidate receiving a “yes” vote is 30%.
b. Determine the p-value using Excel and interpret its meaning.
12.18 Suppose I gave my statistics class a four-question, multiple-choice quiz at the beginning of the semester to measure how well prepared they were for the class. The following table shows the number of students who had 0, 1, 2, 3, and 4 questions correct:
Number of Correct Answers per Student Frequency
0 4
1 5
2 12
3 9
4 10
Total 40
Using a = 0.05, perform a chi-square test to determine if the number of correct answers per student follows the binomial probability distribution.
12.19 In Chapter 8 we examined confidence intervals. Recall that to construct a confidence interval for the mean when the population standard deviation is unknown, the popu- lation must follow the normal probability distribution. To test this condition, the following data show a random sample of weekly visits by patients to Dr. Gregg’s chiro- practic office. The data can also be found in the Excel file Dr. Gregg’s office.xlsx.
110 117 78 114 131 67 105 105 93 118 114 93 91 96 109 114 127 116 112 82 92 100 98 67 100 129 107 105 72 65 131 78 103 81
a. Using a = 0.05, perform a chi-square test to deter- mine if the number of patient visits per week fol- lows the normal probability distribution. Note that x = 100.6 and s = 18.7.
b. Determine the p-value using Excel and interpret its meaning.
12.20 The following data shows the weekly purchases of print- ers at a particular electronic store. The data can also be found in the Excel file weekly printer demand.xlsx.
8 15 12 17 19 12 14 5 8 3 3 15 6 16 15 10 12 17 12 12 6 10 9 10 9 17 8 8 16 6 19 11 3 9 12 7 15 10 14 14 13 10 11 7 17
Using a = 0.05, perform a chi-square test to determine if the number of printers sold per week follows the normal probability distribution. Note that x = 11.2 and s = 4.3.
www.freebookslides.com
C h a p t e r 12 | 12.3 Testing the Independence of Two Variables 605
12.3 Testing the Independence of Two Variables
You can also use a chi-square distribution test to determine if two categorical variables are independent of one another. This procedure is known as the chi-square test of independence. Two variables are independent of one another if changes in the levels of one variable do not affect the levels of the other variable.
Consider the following example. Suppose Best Buy would like to know if the age of a customer affects the brand of digital camera he or she purchases. This information would be used to help design a new promotional campaign. To investigate this relationship, Best Buy collected the data shown in Table 12.28. The data show the frequency with which 150 people, categorized by their age groups, purchased various camera brands. Recall from Chapter 2 that this type of table is known as a contingency table and each observation is known as a cell.
The chi-square test of independence is used to determine if two categorical variables are independent of one another.
{ table 12.28 | Best Buy’s Contingency Table
camera brand
age group canon nikon sony total
18–34 30 16 8 54
35–51 22 25 19 66
52 and older 8 9 13 30
Total 60 50 40 150
In this example we have two categorical variables: camera brand and age group. Table 12.28 tells us that 30 customers aged 18–34 purchased Canon cameras. Using the chi- square independence test, we can find out if a pattern exists between the age of customer and the camera brand he or she chooses. We will use a = 0.05 for this test.
Step 1: Identify the null and alternative hypotheses.
The null hypothesis for this test is that the two categorical variables are independent of one another. In other words, the age of a customer has no effect on the camera brand he or she purchases. Consequently, there is no relationship between the two variables. The hypothesis statement is therefore as follows:
H0: The camera brand and age of customer are independent of one another
H1: The camera brand and age of customer are not independent of one another
Step 2: Calculate the expected frequencies.
Again, the expected frequencies are calculated under the assumption that there is no relationship between the two categories (the null hypothesis). As Equation 12.5 shows, we calculate the expected frequencies, fe, for each cell in the contingency table by multiplying the row total by the column total. This result is then divided by the total number of observations.
The null hypothesis for a chi- square test of independence always states that the two variables are independent of one another (there is no relationship between the two variables).
Formula 12.5 for the Expected Frequencies for a Contingency Table
fe = 1Row total21Column total2 Total number of observations
For example, to calculate the expected number of customers who purchased a Canon in the 18–34 age group, we need to go back to Table 12.28. The table shows that there were 54 customers in the 18–34 age group and that a total of
www.freebookslides.com
606 C h a p t e r 12 | Chi-Square Tests
60 customers purchased a Canon. Assuming the null hypothesis is true, the expected frequency for this cell is as follows:
fe = 1Row total21Column total2
Total number of observations =
118934 total21Canon total2 150
= 15421602
150 = 21.6
The expected frequency calculations for the remaining cells are shown in Table 12.29.
{ table 12.29 | Expected Frequencies for the Best Buy Example
camera brand
age group canon nikon sony
18–34 15421602
150 = 21.6
15421502 150
= 18.0 15421402
150 = 14.4
35–51 16621602
150 = 26.4
16621502 150
= 22.0 16621402
150 = 17.6
52 and older 13021602
150 = 12.0
13021502 150
= 10.0 13021402
150 = 8.0
Once again, we need to ensure that the expected frequency for each cell is at least 5 in order to proceed with the chi-square test. If needed, we can combine either rows or columns like we did in previous examples. Fortunately, this is not necessary for this example.
Step 3: Calculate the chi-square test statistic, X2.
We’ll use Equation 12.1 again, with the help of Table 12.30, to calculate the chi- square test statistic. The expected frequencies are pulled from Table 12.29.
The chi-square test of independence requires that every value in this column of expected frequencies be at least five.
Step 4: Determine the chi-square critical value, X2A.
The chi-square test of independence has the following degrees of freedom:
1r - 121c - 12 where
r = The number of rows in the contingency table c = The number of columns in the contingency table
2
{ table 12.30 | Calculating the Chi-Square Test Statistic for the Best Buy Example
cell fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
18934 Canon 30 21.6 8.4 70.56 3.27
18934 Nikon 16 18.0 - 2.0 4.00 0.22
18934 Sony 8 14.4 - 6.4 40.96 2.84
35951 Canon 22 26.4 - 4.4 19.36 0.73
35951 Nikon 25 22.0 3.0 9.00 0.41
35951 Sony 19 17.6 1.4 1.96 0.11
52 + Canon 8 12.0 - 4.0 16.00 1.33
52 + Nikon 9 10.0 - 1.0 1.00 0.10
52 + Sony 13 8.0 5.0 25.00 3.13
Total x 2 = a 1fo - fe2
2
fe = 12.14
www.freebookslides.com
C h a p t e r 12 | 12.3 Testing the Independence of Two Variables 607
For our Best Buy example, we have three age groups, so r = 3. We also have three camera brands, so c = 3. This means our chi-square critical value has 1r - 121c - 12, or 13 - 1213 - 12 = 4 degrees of freedom. If we go to the a = 0.05 column in Table 12.5, we’ll find that x2a = 9.488.
Step 5: Compare the test statistic 1X22 with the critical value 1X2A2. Because x2 = 12.14 and this is greater than x2a = 9.488, we reject the null hypoth-
esis according to Table 12.6.
Step 6: Determine the p-value.
p@value = CHISQ.DIST.RT 112.14, 42 = 0.0163 Because the p-value = 0.0163 and is less than a = 0.05, we reject the null
hypothesis.
Step 7: State your conclusions.
By rejecting the null hypothesis, we have found support that there is a relationship between the age groups of customers and the camera brands they purchase. So, these categorical variables do not appear to be independent of one another. Compar- ing the observed and expected frequencies in Table 12.30, it seems that younger customers favor Canon cameras. I make this statement based on the fact that Table 12.30 showed 30 customers in this cell when I expected only 21.6 had there been no relationship. (Recall that 21.6 was the expected frequency we calculated.) Using the same logic, older customers appear to be partial to Sony cameras. This information could help Best Buy and the camera manufacturers target different kinds of customers with different kinds of promotional campaigns.
We need to exercise caution when stating the conclusions for a chi-square test of independence. Rejecting the null hypothesis does not allow us to state that one vari- able causes the other variable to change. We have no proof for that kind of statement. In other words, we can’t go so far as to say that the ages of customers cause them to choose different camera brands. The chi-square test of independence simply identi- fied that there was a pattern between the age groups and camera brands chosen.
Using phStat to Conduct a Chi-Square test of Independence We can use PHStat to perform a chi-square test of independence by taking the following steps. Excel for Mac users can go the textbook’s Web site for these instructions.
1. Go to Add-Ins + PHStat + Multiple-Sample Tests + Chi-Square Test, which was shown in Figure 12.4A.
2. Fill in the values in the Chi-Square Test dialog box as shown in Figure 12.10A. Click OK.
The chi-square test of independence does not allow us to state that one variable causes a change in another variable when the null hypothesis is rejected. The test simply identifies that a pattern exists between the two variables.
{ figure 12.10a Using PHStat to Conduct a
Chi-Square Test of Independence
3. Hit the Delete key to remove the text box with instructions after you have read them.
4. Enter the observed frequencies and labels from Table 12.29 into the top blue-shaded table as shown in Figure 12.10B.
www.freebookslides.com
608 C h a p t e r 12 | Chi-Square Tests
The results of the chi-square analysis are shown in the yellow-shaded table in Figure 12.10B. Notice that the results are consistent with our manual calculations. In addi- tion, Cell B28 shows the p-value, which represents the probability of observing a value for our test statistic, x2, greater than 12.14545 if the null hypothesis is true. Because our p-value is less than a = 0.05, we reject the null hypothesis and conclude that a relationship does exist between camera brand and the age group of the customer.
{ figure 12.10b Using PHStat to Conduct a Chi-
Square Test of Independence (Final Result)
When discussing conditional probabilities in Chapter 5, I used a tennis example involving my wife, Deb. Recall that Deb is an avid tennis player, and we enjoy playing matches against each other. We do, how- ever, have one difference of opinion on the court. Deb likes to have a nice long warm-up session before the game begins, but I want to start keeping score right away. Deb claims that when we rush through the warm-up, she doesn’t play as well. After examining the conditional probabilities in Chapter 5, I had to admit there is some evidence supporting Deb’s claim. However, I’m not one to take this result sitting down. I demand further evidence. What do you say we just conduct a chi-square test of independence, instead?
Unbeknownst to Deb, I have meticulously collected data from our 50 previous matches. The following table shows the number of wins for each of us categorized by the length of the warm-up period.
0–10 Minutes
11–20 Minutes
More Than 20 Minutes Total
Deb wins 5 12 10 27
Bob wins 13 7 3 23
Total 18 19 13 50
a. Using a = 0.05 and the chi-square test of independence, determine if warm-up time has an effect on who wins the tennis match.
b. Verify your results with PHStat.
Y o U r t U r n # 7N
Answers can be found on u page 624
www.freebookslides.com
C h a p t e r 12 | 12.3 Testing the Independence of Two Variables 609
Stats in practice: Using the Chi-Square test in health Care
Health Care Associates (HCA) is an organization that employs doctors who, in turn, are contracted to work in hospitals. HCA pro- vides these physicians, known as hospitalists, with their salaries, benefits, and insurance. University Hospital has a contract with HCA to provide physician services for its patients. The following ta- ble shows the number of patients seen by six HCA physicians who worked at University Hospital for a particular month. The data are organized by the type of admission, which relates to the complexity of a patient’s condition. Level 1 is a relatively simple condition to treat, whereas Level 3 is a very complex condition to treat.
Under normal conditions, HCA expects the allocation of patients according to the admission type to be assigned randomly to the physicians. In other words, the admission type and physician should be independent of one another. We can perform a chi- square test of independence to determine if this is, in fact, the case. The following PHStat output (Figure 12.11) provides the results for this hypothesis test using a = 0.05.
Because the p-value in Cell B28 equals 0.0003, which is less than a = 0.05, we reject the null hypothesis. By rejecting the
null hypothesis, it appears that the admission type and physi- cian are not independent, which is a cause of concern for HCA management. For example, Physician 1 seems to see many more Level 3 patients (45 vs. 33) and fewer Level 1 patients (3 vs. 10) than are expected if the null hypothesis were true. Insurance companies that are reimbursing HCA for these visits monitor the proportions of the three admission levels to detect if physicians are “upcoding.” This term refers to the practice of classifying a Level 1 admission as a Level 2 or 3 in order to increase a medical organization’s revenue.3
Physicians
Admission Phy 1 Phy 2 Phy 3 Phy 4 Phy 5 Phy 6
Level 1 3 4 9 9 13 8
Level 2 15 8 21 16 13 19
Level 3 45 27 13 16 19 32
3Special thanks to Kemal Erkan, FACHE, and John Donnelly (Yes, this is my son!) for providing this material.
{ figure 12.11
www.freebookslides.com
610 C h a p t e r 12 | Chi-Square Tests
12.3 Section Problems Basic Skills 12.21 Consider a contingency table of observed frequencies
with three rows and four columns:
a. How many chi-square degrees of freedom are associ- ated with this table?
b. What is the chi-square critical value when a = 0.05? c. What is the chi-square critical value when a = 0.10?
12.22 Consider the following contingency table of observed frequencies:
Column Variable
Row Variable C1 C2 C3
R1 9 7 10
R2 10 7 7
a. Identify the null and alternative hypotheses for a chi- square test of independence based on the information in the table.
b. Calculate the expected frequencies for each cell in the contingency table.
c. Calculate the chi-square test statistic. d. Using a = 0.05, state your conclusions.
12.23 Consider the following contingency table of observed frequencies:
Column Variable
Row Variable C1 C2 C3
R1 20 6 18
R2 7 8 11
R3 10 15 5
a. Identify the null and alternative hypotheses for a chi- square test of independence based on the information in the table.
b. Calculate the expected frequencies for each cell in the contingency table.
c. Calculate the chi-square test statistic. d. Using a = 0.01, state your conclusions. e. Determine the p-value using Excel and interpret its
meaning.
applications 12.24 The following contingency table shows the distribution
of grades earned by students taking a midterm exam in an MBA class, categorized by the number of hours the stu- dents spent studying for the exam:
Grade
Time Spent Studying A B C
Less than 3 hours 4 18 8
3–5 hours 15 14 6
More than 5 hours 18 12 5
a. Using a = 0.05, perform a chi-square test to determine if a student’s grade on the exam and the hours spent studying for it are independent of one another.
b. What conclusions can be made based on these results? c. Verify your results using PHStat.
12.25 Suppose Capital One would like to determine if the type of credit card influences the payment status of a customer’s account. The following table indicates the card type for 200 randomly selected customers, along with the number of days their payments were overdue:
Card Type
Days Overdue Standard Gold Platinum
30 days or less 76 40 30
31–60 days 12 10 7
61 days or more 12 8 5
a. Using a = 0.05, perform a chi-square test to deter- mine if the credit card type and payment status are independent of one another.
b. What conclusions can be made based on these results? c. Determine the p-value using Excel and interpret its
meaning. d. Verify your results using PHStat.
12.26 The following table shows the medal count for the United States, Germany, and Great Britain following the 2012 Summer Olympics in London.
Medal
Country Gold Silver Bronze
United States 46 29 29
Germany 11 19 14
Great Britain 29 17 19
a. Using a = 0.05, perform a chi-square test to deter- mine if the type of medal and country that earned it are independent of one another.
b. What conclusions can be made based on these results?
c. Determine the p-value for the chi-square test statistic using Excel and interpret its meaning.
d. Verify your results using PHStat.
www.freebookslides.com
C h a p t e r 12 | 12.3 Testing the Independence of Two Variables 611
12.27 Suppose the marketing research firm comScore would like to examine if the social networking site that a person pri- marily uses is influenced by his or her age. In a randomly drawn sample, 355 social network users were asked which site they primarily visited. These data are presented in the following table along with each person’s age group:
Age Group Facebook Twitter LinkedIn
2–17 25 14 3
18–34 100 30 11
35–54 98 18 19
55 and older 27 3 7
a. Using a = 0.05, perform a chi-square test to deter- mine if the age group of a social network user and the site he or she primarily visits are independent.
b. What conclusions can be made based on these results? c. Determine the p-value using Excel and interpret its
meaning. d. Verify your results using PHStat.
www.freebookslides.com
612
■ When comparing two or more proportions, the null hypothesis for the chi-square test states that all population proportions are equal.
■ The observed frequencies, fo, refer to the sample data collected from a population of interest.
• Observed frequencies must be integers, because they are countable items.
■ The expected frequencies, fe, refer to the frequencies that are most likely to occur if the null hypothesis is true.
• Expected frequencies do not have to be integers because they represent only theoretical values.
■ The chi-square test requires that each expected frequency be 5 or more.
■ If the null hypothesis is true, we would expect the chi-square test statistic to be close to zero.
■ The test statistic follows the chi-square probability distribution with k - 1 degrees of freedom where k equals the number of categories.
■ The rejection region for a chi-square test for two or more proportions is always in the right tail of the distribution.
■ If the chi-square statistic is greater than the critical value, we reject the null hypothesis.
■ The chi-square goodness-of-fit test allows us to determine if our data follow a specific probability distribution. In this chapter, we tested for the following distributions:
• Discrete
• Poisson
• Binomial
• Normal
■ In the goodness-of-fit test, the null hypothesis states that the data follow the stated probability distribution.
• By contrast, the alternative hypothesis states that the data do not follow the stated probability distribution.
■ The chi-square goodness-of-fit test has k - m - 1 degrees of freedom where m = the number of parameters estimated from the sample in the hypothesis statement.
• If a parameter is not specified in the hypothesis statement, the sample statistic must be calculated and used as an estimate for the population parameter.
■ A chi-square test can also be used to determine if two categorical variables are independent of one another.
■ Two variables are independent of one another if changes in the levels of one variable do not affect the levels of the other variable.
■ The null hypothesis for this test is that the two categorical variables are independent of one another.
■ The chi-square test of independence has 1r - 121c - 12 degrees of freedom where r = the number of rows in the contingency table and c = the number of columns in the contingency table.
Chapter 12 Summary
www.freebookslides.com
613
Chi-square distribution. Used to compare two or more popula- tion proportions, perform a goodness-of-fit test, and test two categorical variables for independence.
Chi-square test of independence. A test used to determine if two categorical variables are independent of one another.
Expected frequencies. The frequencies that are most likely to occur if the null hypothesis is true.
Goodness-of-fit test. A chi-square test used to decide if the ob- served frequencies in a set of data follow a known probability distribution.
Observed frequencies. The sample data collected from a popula- tion of interest.
Chapter 12 Key Terms
12.1 Comparing Two or More Population Proportions (pp 577–585)
Formula 12.1 for the Chi-Square Test Statistic x2 = a 1fo - fe2 2
fe
12.2 Determining If Observed Frequencies Follow a Known Probability Distribution (pp 585–604)
Formula 12.2 for the Poisson Probability Distribution P1x2 = l xe -l
x!
Formula 12.3 for the Mean of a Frequency Distribution l = a
k
i = 1 1xi fi2
a k
i = 1 fi
Formula 12.4 for the Binomial Probability Distribution P1x, n2 = n!1n - x2!x! p xq n - x
12.3 Testing the Independence of Two Variables (pp 605–611)
Formula 12.5 for the Expected Frequencies for a Contingency Table fe = 1Row total21Column total2
Total number of observations
Chapter 12 Equations
www.freebookslides.com
12.28 The percentage of students from for-profit institutions who have defaulted on their student loans has received much at- tention recently. Suppose the following data were collected from a random sample of students who graduated three years ago from various types of institutions with student loans:
Defaulted on Loan?
Institution Yes No
Public 9 111
Private 7 143
For-profit 13 67
a. Using a = 0.05, perform a chi-square test to determine if the proportion of students who default on their student loans differs by the type of institution.
b. Confirm your results using PHStat. c. Interpret the meaning of the p-value from PHStat2. d. How does the type of institution appear to relate to the
likelihood of students defaulting on their loans?
12.29 A survey was conducted to determine by age group the number of registered voters who cast ballots during the recent elections. The following data were recorded:
Did You Vote?
Age Group Yes No
18–24 18 62
25–34 39 76
35–44 64 76
45–54 54 46
55 and older 82 43
a. Using a = 0.01, perform a chi-square test to determine if the proportion of voters who cast ballots during the elections differs among the five age groups of voters.
b. Determine the p-value using Excel and interpret its meaning. c. Confirm your results using PHStat. d. How does age appear to relate to the likelihood that a
voter will cast a ballot during the elections?
12.30 Major League Baseball (MLB) records a pitcher’s contact percentage by dividing the number of times batters make contact with the pitches by the number of times they swing at them. The following data represent a sample of this in- formation for three MLB pitchers during the recent season:
Number of Pitches
Pitcher Contacts Made
Contacts Missed
Stephen Strasburg, Nationals 134 76
Clayton Kershaw, Dodgers 129 51
Tim Lincecum, Giants 138 52
a. Using a = 0.05, perform a chi-square test to determine if the contact percentage differs among these three pitchers.
b. Confirm your results using PHStat. c. Interpret the meaning of the p-value from PHStat.
12.31 Union membership, as a percentage of the working population, varies from country to country. A number of workers from dif- ferent countries were randomly surveyed and asked whether they belonged to a union. The data from the survey are as follows:
Member of Union?
Country Yes No
France 6 54
United States 6 39
Japan 9 41
Germany 11 44
a. Using a = 0.05, perform a chi-square test to determine if the proportion of workers who belong to unions differs among these four countries.
b. Determine the p-value using Excel and interpret its meaning. c. Confirm your results using PHStat.
12.32 The U.S. Centers for Disease Control and Prevention (CDC) recommends people consume five servings of fruits and vegetables daily. A random sample of adults from vari- ous states was asked if they follow these guidelines. The results are as follows:
Follow the CDC Guidelines?
State Yes No
Delaware 10 30
Maryland 10 22
New Jersey 13 37
Pennsylvania 8 27
a. Using a = 0.05, perform a chi-square test to determine if the proportion of adults who follow the CDC’s guide- lines differs among the four states.
b. Confirm your results using PHStat. c. Interpret the meaning of the p-value from PHStat.
12.33 The following table shows the U.S. market share for smartphone manufacturers in 2013 according to the research firm comScore. The table also shows the frequency of purchases of smartphones by brand for a random sample of customers during 2014.
Brand Market Share 2013 (%)
Observed Frequency 2014
Apple 36.3 20
Samsung 21.0 14
HTC 10.2 4
Motorola 9.1 3
Other 23.4 9
Total 100 50
Chapter 12 Problems
614 www.freebookslides.com
615
a. Using a = 0.05, perform a chi-square test to determine if the observed frequencies in the table are consistent with the comScore report.
b. Determine the p-value for the chi-square test statistic us- ing Excel and interpret its meaning.
12.34 The following table shows the distribution of the ages of Ohio voters in a 2008 exit poll conducted by Quinnipiac University. The table also shows the observed frequencies from a random sample of Ohio voters by age group in the 2014 midterm elections.
Age Group Percentage
2008 Observed Frequency
2014
18–29 17 14
30–44 27 18
45–64 39 73
65 and older 17 35
Total 100 140
a. Using a = 0.05, perform a chi-square test to determine if the ages of voters in Ohio changed from 2008 to 2014.
b. What conclusions about an Ohio voter’s age can be made based on this sample?
12.35 A survey conducted by Wakefield Research asked adults what their favorite night to order takeout for dinner was. The results are shown in the following table. Suppose a second survey was conducted asking restaurants about the actual observed frequencies for each night’s takeout business. Those numbers are reported in the “Observed Frequency” column.
Night
Wakefield Percentage
Observed Frequency
Monday 7 12
Tuesday 5 12
Wednesday 12 4
Thursday 7 6
Friday 38 59
Saturday 21 20
Sunday 10 12
Total 100 125
a. Using a = 0.05, perform a chi-square test to determine if the observed frequencies confirm the results obtained by Wakefield Research.
b. Determine the p-value using Excel and interpret its meaning.
12.36 In a Wall Street Journal article titled “Where to Shoot in the Shootout”,4 data were presented about the direction in which penalty shots were kicked toward soccer goals during all of
the World Cups since 1998. The following figure shows these data. For example, a total of 37 penalty shots were directed toward the left corner of the soccer goal, and 25 of them were successful.
25 of 37 12 of 20 30 of 41
a. Using a = 0.05, perform a chi-square test to determine if the number of attempted shots differs across all three segments of the soccer goal.
b. Using a = 0.05, perform a chi-square test to determine if the proportion of successful shots differs across all three segments of the soccer goal.
c. What conclusions can be made about the strategy for at- tempted penalty shots in soccer?
12.37 The following table shows the frequency distribution for the number of spam e-mails I’ve received over the last 75 days:
Number of Spam E-Mails Per Day
Frequency
0 12
1 24
2 19
3 12
4 5
5 2
6 1
Total 75
a. Using a = 0.10, perform a chi-square test to determine if the number of spam e-mails per day follows the Poisson probability distribution when l = 1.8.
b. Determine the p-value using Excel and interpret its meaning.
12.38 The following data show the number of employees who called in sick to a chemical plant during the last 50 days. This data can be found in the Excel file sick days.xlsx.
2 1 2 3 2 3 0 3 5 2
4 3 1 0 2 0 5 3 1 1
0 2 4 3 2 4 0 0 0 3
3 2 2 1 3 2 3 2 5 3
2 0 1 2 3 0 2 1 0 2
Using a = 0.01, perform a chi-square test to determine if the number of employees calling in sick per day follows the Poisson probability distribution.
4“Where to Shoot in the Shootout,” Wall Street Journal, July 5, 2010.
www.freebookslides.com
616
12.39 Chris is a salesperson who makes five sales calls each day to potential customers. Either the customers make a pur- chase from Chris or they do not. The following table shows the number of days over the past 400 that Chris had 0, 1, 2, 3, 4, or 5 purchases per day.
Number of Purchases Per Day
Frequency
0 98
1 157
2 106
3 36
4 3
5 0
Total 400
a. Using a = 0.05, perform a chi-square test to determine if the number of purchases per day follows the binomial probability distribution, with the probability of a cus- tomer making a purchase being equal to 25%.
b. Determine the p-value using Excel and interpret its meaning.
12.40 A foursome of golfers plays together routinely. One of the golfers happens to be a statistician who enjoys keeping track of the number of fairways the players hit while teeing off. The following table shows these data for the last 250 holes the golfers have played together:
Number of Fairways Hit Per Hole
Frequency
0 32
1 86
2 88
3 38
4 6
Total 250
Using a = 0.05, perform a chi-square test to determine if the number of fairways hit per hole follows a binomial probability distribution.
12.41 A particular weight-loss company claims that the average weight a person lost after two weeks on its program is 5 lbs. The following data represent the weight loss of 36 randomly selected adults who have been on the program for two weeks. Negative values represent weight gains (oops!). These data can also be found in the Excel file normal weight loss.xlsx.
9 11 6 8 2 - 4 7 0 8 10 11 2 4 5 5 7 11 3 4 10 5 5 9 7 7 - 1 0 4 1 9 - 2 1 7 0 7 3
a. Using a = 0.05, perform a chi-square test to determine if the weight loss after two weeks on this program fol- lows a normal probability distribution when m = 5.0 and s = 4.0.
b. Determine the p-value using Excel and interpret its meaning.
12.42 In Chapter 6, I used annual snowfall amounts in Minnea- polis from 1884 until 2012 to describe a normal probability distribution. This data can be found in the Excel file snowfall.xlsx.
a. Using a = 0.01, perform a chi-square test to determine if the data follow a normal probability distribution.
b. Determine the p-value for the chi-square test statistic us- ing Excel and interpret its meaning.
12.43 Suppose the Federal Aviation Administration would like to compare the on-time performances of different airlines on domestic, nonstop flights. The following table shows three different airlines and the frequency of flights that arrived early, on time, and late for each:
Status Southwest United Airlines Delta
Early 20 24 22
On time 60 55 50
Late 25 30 14
a. Using a = 0.05, perform a chi-square test to determine if on-time performance and airline are independent of one another.
b. What conclusions can be made based on your results? c. Determine the p-value using Excel and interpret its
meaning. d. Verify your results using PHStat.
12.44 A political poll asked potential voters if they felt the economy was going to get worse, stay the same, or get bet- ter during the next 12 months. The party affiliations of the respondents were also noted. The results are shown in the following table:
Party Affiliation
Response Democrat Republican Independent
Get worse 34 30 19
Stay the same 17 22 7
Get better 5 7 9
a. Using a = 0.01, perform a chi-square test to determine if voters’ responses about the economy and their party affiliations are independent of one another.
b. What conclusions can be made based on your results? c. Verify your results using PHStat.
www.freebookslides.com
617
12.45 A random sample of 150 new car buyers who purchased Ford, General Motors (GM), and Chrysler models was selected, and their ages were recorded. The following table shows these data:
Age Ford GM Chrysler
20–29 5 11 11
30–39 8 23 7
40–49 16 15 5
50–59 24 15 10
a. Using a = 0.05, perform a chi-square test to determine if the age of the buyer and the car brand he or she pur- chased are independent of one another.
b. What conclusions can be made based on your results? c. Determine the p-value using Excel and interpret its
meaning. d. Verify your results using PHStat.
12.46 Suppose that General Motors gathers from its dealers infor- mation about the percentage of new cars that require war- ranty work during the first year following their sale. Based on these data, GM then compares the dealerships to monitor any unusual patterns. The following table shows the number of randomly selected cars at five dealerships that required warranty work during the first year following their sale:
Warranty Work Required
Dealership Yes No
Aston 7 50
Dover 11 80
Springfield 7 86
Media 8 81
Newark 5 47
a. Using a = 0.05, determine if the proportion of new cars requiring warranty work differs across these dealerships.
b. Confirm your results using PHStat. c. Interpret the meaning of the p-value from PHStat.
12.47 Suppose that Air France would like to determine if the number of lost bags per flight follows the Poisson probabil- ity distribution with a mean of 0.7 bags. To test this hypoth- esis, the following data were collected from 200 randomly selected flights:
Number of Lost Bags per Flight
Frequency
0 106
1 63
2 22
3 4
4 3
5 or more 2
a. Using a = 0.05, determine if the number of lost bags per Air France flight follows the Poisson probability dis- tribution when l = 0.7.
b. Determine the p-value using Excel and interpret its meaning.
12.48 Suppose that Princess Cruise Lines would like to determine if the satisfaction rating of a customer is related to the num- ber of cruises the person has taken with the company. The following table shows the number of customers who rated their cruises with Princess as Excellent, Good, Average, Fair, or Poor, along with the number of cruises the custom- ers have taken with the company:
Number of Cruises
Rating 1–3 4–6 7 or More
Excellent 20 26 25
Good 42 20 20
Average 18 15 12
Fair 10 6 8
Poor 4 7 7
a. Using a = 0.05, perform a chi-square test to determine if the number of cruises and a customer’s satisfaction rating are independent of one another.
b. What conclusions can be made based on your results? c. Verify your results using PHStat.
12.49 A Gallup poll conducted in 2011 asked respondents why they would not consider buying a hybrid car for their next purchase. The results are shown in the following table. Suppose Toyota would like to confirm these results with its own survey, so the company asked 300 people the same question. The results of Toyota’s survey are also shown in the following table:
Reason Gallup Poll (%) Toyota
Too expensive 39 104
Technology not proven
19 50
Inconvenient to use 9 33
Poor performance 8 33
Something else 21 56
No opinion 4 24
Total 100 300
a. Using a = 0.05, determine if the observed frequencies in the Toyota survey are consistent with the results from the Gallup poll.
b. Determine the p-value using Excel and interpret its meaning.
www.freebookslides.com
618
12.50 There has been recent interest in a legislative initiative for laws that ensure paid time off for workers who take sick days. Suppose the Bureau of Labor Statistics (BLS) would like to test if the proportion of workers with paid sick days is influenced by the size of the organization, measured by number of employees. The following table summarizes a random sample of 245 employees by indi- cating the size of their organization and if they have paid sick days.
Paid Sick Days
Number of Employees Yes No
99 or less 47 43
100–499 53 27
500 or more 59 16
a. Using a = 0.05, perform a chi-square test to determine if the size of the employee’s organization and his or her paid sick days category are independent.
b. Determine the p-value for the chi-square test statistic us- ing Excel and interpret its meaning.
c. Verify your results using PHStat.
12.51. Suppose the Federal Communications Commission would like to compare the percentage of the population with ac- cess to broadband Internet between Alaska, California, Virginia, and New Mexico. A random sample of 270 adults from these four states was selected and their Internet avail- ability was recorded. These results are shown in the follow- ing table.
Access to Internet
State Yes No
Alaska 48 12
California 87 3
Virginia 44 6
New Mexico 60 10
a. Using a = 0.05, perform a chi-square test to determine if the percentage of the population without access to broadband Internet between Alaska, California, Virginia, and New Mexico differs.
b. Determine the p-value for the chi-square test statistic us- ing Excel and interpret its meaning.
c. Verify your results using PHStat.
12.52 A survey conducted by Intermedia reported the percent- age of work-related emails sent each day of the work week. To verify Intermedia’s findings, a random sample of work-related emails was selected and the weekday that it was sent was noted. The following table displays these results.
Weekday Intermedia Percentage Sample Frequency
Monday 15 33
Tuesday 23 51
Wednesday 22 48
Thursday 21 42
Friday 19 26
Total 100 200
a. Using a = 0.05, perform a chi-square test to determine if the sample frequencies in the table are consistent with the Intermedia report.
b. Determine the p-value for the chi-square test statistic us- ing Excel and interpret its meaning.
12.53 A particular university includes a capstone course in its MBA program which all graduating students take and cov- ers an overview of topics for their degree. The following contingency table shows the number of students from three different concentrations along with the grade they received in the capstone course.
Grade
Concentration A B C
Management 10 20 10
Marketing 30 40 30
Finance 20 40 0
a. Perform a hypothesis test to determine if the concentra- tion of the students and the grade they received in the cap- stone course are independent variables using a = 0.01.
b. Determine the p-value for the chi-square test statistic us- ing Excel and interpret its meaning.
c. Verify your results using PHStat.
12.54 Diller & Fisher is a real estate company that rents vacation properties in an ocean-side community in New Jersey. They believe that the following table represents the probability dis- tribution for the number of bedrooms for rental properties.
Bedrooms 2 3 4 5 6
Probability 0.12 0.28 0.35 0.15 0.10
The number of bedrooms from a random sample of rental properties that Diller & Fisher collected is shown here.
Bedrooms 2 3 4 5 6
Frequency 4 10 27 8 1
a. Using a = 0.10, does this sample provide enough evi- dence to support Diller & Fisher’s belief about the prob- ability distribution?
b. Determine the p-value for the chi-square test statistic us- ing Excel and interpret its meaning.
www.freebookslides.com
619
12.55 Sara is a salesperson for Camera’s Etc. which is a retailer for high-end digital cameras. Historically, Sara has sold an average of 2.1 extended warranties per day. Data in the Excel file camera warranty.xlsx display the number of extended warranties that Sara has sold per day over the past 100 business days.
a. Using a = 0.10, perform a chi-square test to determine if the data follow a Poisson probability distribution with l = 2.1.
b. Determine the p-value for the chi-square test statistic us- ing Excel and interpret its meaning.
12.56 Spencer is the owner of Island Art, a retail establishment in the beach community of Stone Harbor, New Jersey. He would like to develop a probability model to predict the num- ber of customers who visit his establishment each day during the summer season. The Excel file Island Art 1.xlsx shows the number of customers who entered his store over 240 business days during past summer seasons. Using a = 0.05, determine if the number of customers per day visiting Island Art follows the normal probability distribution.
12.57 At the beginning of this chapter, the term quadrophobia was defined as the apparent aversion that many firms seem to have of arriving at earnings-per-share calculations that end with the digit “4.” Here’s your chance to investigate the presence of the quadrophobia phenomenon. Suppose you reviewed 1,000 earnings statements from randomly selected companies and found the following frequency distribution for the final digits for earnings per share:
Final Digit Frequency Final Digit Frequency
0 116 5 106
1 100 6 105
2 81 7 106
3 80 8 110
4 80 9 116
a. Using a = 0.05, determine if the presence of quadro- phobia is evident.
b. Determine the p-value using Excel and interpret its meaning.
Y O u r T u r n # 1
Chapter 12 Solutions to Your Turn
a) H0 : p1 = p2 H1 : Not all ps are equal
pn = 37
79 = 0.468
Time-Out pn Total
Attempts
Expected Frequencies
Made, fe
Expected Frequencies Missed, fe
No 0.468 54 25.27 28.73
Yes 0.468 25 11.70 13.30
Time-Out fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
No—made 23 25.27 - 2.27 5.15 0.20 No—missed 31 28.73 2.27 5.15 0.18
Yes—made 14 11.7 2.3 5.29 0.45
Yes—missed 11 13.3 - 2.3 5.29 0.40
Total x2 = a 1fo - fe2 2
fe = 1.23
We have k - 1 = 2 - 1 = 1 degree of freedom. Using the a = 0.05 column, Table 12.5 indicates that our critical value is x2a = x
2 0.05 = 3.841.
Because x2 = 1.23 is less than x2a = 3.841, we fail to reject the null hypothesis. We have no evidence to conclude that there is a difference in the proportion of field goals made when the kicker is iced vs. not iced. The claim made by the Wall Street Journal that icing the kicker backfires is not sup- ported by the statistics.
b) p-value = CHISQ.DIST.RT11.23, 12 = 0.2674. Because this value is greater than alpha, we fail to reject the null hypothesis.
2
(Continued on next page)
www.freebookslides.com
620
c) Number of rows = 2, Number of columns = 2
Y O u r T u r n # 2 Step 1: Identify the null and alternative hypotheses.
H0: This faculty’s grade distribution follows the stated probability distribution H1: This faculty’s grade distribution does not follow the stated probability
distribution
Step 2: Calculate the expected frequencies.
We calculate the expected frequencies, fe, by multiplying the total number of students (120) by the probability of each grade being awarded. These calculations are as follows:
Grade
Probability
Total Students
Expected Frequencies Students, fe
A 0.20 120 24
B 0.25 120 30
C 0.40 120 48
D 0.10 120 12
F 0.05 120 6
Total 1.00 120
Step 3: Calculate the chi-square test statistic, X2.
(1) (2) (3) (4) (5)
Grade fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
A 36 24 12 144 6.00 B 27 30 - 3 9 0.30 C 42 48 - 6 36 0.75 D 9 12 - 3 9 0.75 F 6 6 0 0 0
Total x2 = a 1fo - fe2 2
fe = 7.80
Step 4: Determine the chi-square critical value, X2A.
For our grade distribution example, we have five categories (one for each letter grade), so k = 5. That means our chi-square critical value has k - 1 = 5 - 1 = 4 degrees of freedom. If we go to the a = 0.05 column in Table 12.5, we’ll find that x2a = 9.488.
Step 5: Compare the test statistic 1X22 with the critical value 1X2A2. Because x2 = 7.80 and this is less than x2a = 9.488, we fail to reject the null hypothesis according to Table 12.6.
Step 6: Determine the p-value.
p@value = CHISQ.DIST.RT 17.80, 42 = 0.0992 Because the p-value = 0.0992 and is greater than a = 0.05, we fail to reject the null hypothesis.
Step 7: State your conclusions.
Because we failed to reject the null hypothesis, we do not have enough evidence to conclude that the grade distribution is not being followed. However, we cannot conclude that the distribution is being followed be- cause that statement would be equivalent to accepting the null hypothesis.
2
www.freebookslides.com
621
Y O u r T u r n # 4 Step 1: Identify the null and alternative hypotheses.
H0: Number of typos per page follows the Poission distribution with l = 1.5 typos per page
H1: Number of typos per page does not follow the Poission distribution with l = 1.5 typos per page
Step 2: Calculate the expected frequencies.
Because the population mean is specified in the hypothesis statement, we’ll use the Poisson probabilities for l = 1.5 from Table 2 in Appendix A to calculate expected frequencies.
Number of Typos, x
Poisson Probabilities
Total Pages
Expected Frequencies
0 0.2231 120 26.77
1 0.3347 120 40.16
2 0.2510 120 30.12
3 0.1255 120 15.06
4 or more 0.0656 120 7.87
Y O u r T u r n # 3 Step 1: Identify the null and alternative hypotheses.
H0: Number of typos per page follows the Poission distribution H1: Number of typos per page does not follow the Poission distribution
Step 2: Calculate the expected frequencies.
l = a
k
i = 1 1xifi2
a k
i = 1 fi
= 1021592 + 1121282 + 1221232 + 132162 + 142142
59 + 28 + 23 + 6 + 4
l = 108
120 = 0.9 typo per page
Number of Typos, x
Poisson Probabilities
Total Pages
Expected Frequencies
0 0.4066 120 48.79
1 0.3659 120 43.91
2 0.1647 120 19.76
3 0.0494 120 5.93
4 or more 0.0134 120 1.61
Because we never had more than four typos per page, I combined the prob- abilities of four, five, six, and seven typos from Table 2 in Appendix A, as follows:
P14 or more typos2 = 0.0111 + 0.0020 + 0.0003 + 0.0000 = 0.0134
Also, notice that the expected frequency of four or more typos occurring is only 1.61, which is less than 5. To accommodate the 5 or more requirement, we need to combine the “3” and “4 or more” events into a “3 or more” cat- egory, as the following table shows:
Number of Typos, x
Observed Frequencies, fo
Expected Frequencies, fe
0 59 48.79
1 28 43.91
2 23 19.76
3 or more 10 7.54
Step 3: Calculate the chi-square test statistic, X2.
Typos fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
0 59 48.79 10.21 104.24 2.14
1 28 43.91 - 15.91 253.13 5.76 2 23 19.76 3.24 10.50 0.53
3 or more 10 7.54 2.46 6.05 0.80
Total x2 = a 1fo - fe2 2
fe = 9.23
Step 4: Determine the chi-square critical value, X2A.
This example has four categories (0, 1, 2, and 3 or more), so k = 4. In this example, m = 1 because we have to estimate the mean of the pop- ulation (every manuscript page) using the mean number of typos from our sample. Therefore, we have k - m - 1 = 4 - 1 - 1 = 2 degrees of freedom for our chi-square distribution.
If we go to the a = 0.10 column in Table 12.5 with 2 degrees of free- dom, we’ll find that x2a = 4.605.
Step 5: Compare the test statistic 1X22 with the critical value 1X2A2. Because x2 = 9.23 and this is greater than x2a = 4.605, we reject the null hypothesis according to Table 12.6.
Step 6: Determine the p-value.
p@value = CHISQ.DIST.RT 19.23, 22 = 0.0099 Because the p-value = 0.0099 and is less than a = 0.10, we reject the null hypothesis.
Step 7: State your conclusions.
By rejecting the null hypothesis, we cannot support the assumption that the number of typos per page follows the Poisson distribution.
2
www.freebookslides.com
622
Y O u r T u r n # 5 Step 1: Identify the null and alternative hypotheses.
H0: Number of hits per game follows the binomial distribution with n = 4 and p = 0.3
H1: Number of hits per game does not follow the binomial distribution with n = 4 and p = 0.3
Step 2: Calculate the expected frequencies.
Because the population mean is specified in the hypothesis statement, we’ll use the binomial probabilities for n = 4 and p = 0.30 from Table 1 in Appendix A to calculate the expected frequencies.
Number of Hits, x
Binomial Probabilities
Total Games
Expected Frequencies
0 0.2401 84 20.17
1 0.4116 84 34.57
2 0.2646 84 22.23
3 0.0756 84 6.35
4 0.0081 84 0.68
Note that the expected frequency of four hits per game is only 0.68 instances, which is less than 5. To accommodate the 5 or more requirement, we need to combine the “3” and “4” hits categories to “3–4” as shown in the following table.
Number of Hits, x
Observed Frequencies, fo
Expected Frequencies, fe
0 21 20.17
1 35 34.57
2 23 22.23
3–4 5 7.03
Step 3: Calculate the chi-square test statistic, X2.
Hits fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
0 21 20.17 0.83 0.69 0.034
1 35 34.57 0.43 0.18 0.005
2 23 22.23 0.77 0.59 0.027
3–4 5 7.03 - 2.03 4.12 0.586
Total x2 = a 1fo - fe2 2
fe = 0.652
Because we never had more than four typos per page, I combined the probabilities in Table 2 from Appendix A that correspond to the values 4, 5, 6, 7, and 8 in our typos column:
P14 or more typos2 = 0.0471 + 0.0141 + 0.0035 + 0.0008 + 0.0001 = 0.0656
Step 3: Calculate the chi-square test statistic, X2.
Typos fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
0 59 26.77 32.23 1,038.77 38.80
1 28 40.16 - 12.16 147.87 3.68 2 23 30.12 - 7.12 50.69 1.68 3 6 15.06 - 9.06 82.08 5.45
4 or more 4 7.87 - 3.87 14.98 1.90 Total
x2 = a 1fo - fe2 2
fe = 51.51
Step 4: Determine the chi-square critical value, X2A.
This example has five categories (0, 1, 2, 3, 4 or more), so k = 5. In this example, m = 0 because we did not estimate the mean of the population
using the mean number of typos from our sample. Therefore, we have k - m - 1 = 5 - 0 - 1 = 4 degrees of freedom for our chi- square distribution.
If we go to the a = 0.10 column in Table 12.5 with 4 degrees of free- dom, we’ll find that x2a = 7.779.
Step 5: Compare the test statistic 1X22 with the critical value 1X2A2. Because x2 = 51.51, and this is greater than x2a = 7.779, we reject the null hypothesis according to Table 12.6.
Step 6: Determine the p-value.
p@value = CHISQ.DIST.RT 151.51, 42 = 0.0000 Because the p-value = 0.0000 and is less than a = 0.10, we reject the null hypothesis.
Step 7: State your conclusions.
By rejecting the null hypothesis, we conclude that the assumption that the number of typos per page follows the Poisson distribution when l = 1.5 does not have support.
2
2
www.freebookslides.com
623
Y O u r T u r n # 6 Step 1: Identify the null and alternative hypotheses.
H0: Credit scores follow the normal distribution H1: Credit scores do not follow the normal distribution
Step 2: Calculate the expected frequencies.
Using Excel’s AVERAGE (data values) and STDEV.S (data values) functions, we have the following:
x = 664.7 s = 81.8
According to Table 12.25, with 36 data values we should use four inter- vals to calculate the expected frequencies for this distribution.
Interval Probability Total
Scores Expected
Frequencies
z … - 1.0 0.1587 36 5.71 - 1.0 6 z … 0 0.3413 36 12.29 0 6 z … 1.0 0.3413 36 12.29 z 7 1.0 0.1587 36 5.71
The credit scores that correspond to these intervals are as follows:
x = m + zs x = 664.7 + 11.02181.82 = 746.5 x = 664.7 - 11.02181.82 = 582.9
Step 3: Count the observed frequencies for each interval.
Interval Frequency
Less than 582.9 6
582.9 to 664.7 14
664.7 to 746.5 7
More than 746.5 9
Total 36
Step 4: Calculate the chi-square test statistic, X2.
Interval fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
6 582.9 6 5.71 0.29 0.08 0.01 582.9 - 664.7 14 12.29 1.71 2.92 0.24 664.7 - 746.5 7 12.29 - 5.29 27.98 2.28 7 746.5 9 5.71 3.29 10.82 1.89
Total x2 = a 1fo - fe2 2
fe = 4.42
Step 5: Determine the chi-square critical value, X2A.
Table 12.27 has four categories, so k = 4. In this example, m = 2 because we have to estimate both the mean and the standard de- viation of the population using our sample. Therefore, we have k - m - 1 = 4 - 2 - 1 = 1 degree of freedom for our chi-square distribution. If we go to the a = 0.10 column in Table 12.5 with 1 degree of freedom, we’ll find that x2a = 2.706.
Step 6: Compare the test statistic 1X22 with the critical value 1X2A2. Because x2 = 4.42 and this is more than x2a = 2.706, we reject the null hypothesis according to Table 12.6.
Step 7: Determine the p-value.
p@value = CHISQ.DIST.RT 14.42, 12 = 0.0355 Because the p-value = 0.0355 and is less than a = 0.10, we reject the null hypothesis.
Step 8: State your conclusions.
By rejecting the null hypothesis, we have no evidence that the population of credit scores follows the normal distribution.
Step 4: Determine the chi-square critical value, X2A.
This example has four categories (0, 1, 2, 3–4), so k = 4. In this example, m = 0 because we did not have to estimate the mean of the population from our sample. Therefore, we have k - m - 1 = 4 - 0 - 1 = 3 degrees of freedom for our chi- square distribution. If we go to the a = 0.01 column in Table 12.5 with 3 degrees of freedom, we’ll find that x2a = 11.345.
Step 5: Compare the test statistic 1X22 to the critical value 1X2A2. Because x2 = 0.652, and this is less than x2a = 11.345, we fail to reject the null hypothesis according to Table 12.6.
Step 6: Determine the p-value.
p@value = CHISQ.DIST.RT 10.652, 32 = 0.8844 Because the p-value = 0.8844 and is less than a = 0.10, we fail to reject the null hypothesis.
Step 7: State your conclusions.
By failing to reject the null hypothesis, the assumption that the number of hits per game follows the binomial distribution when n = 4 and p = 0.30 cannot be rejected.
2
www.freebookslides.com
624
Y O u r T u r n # 7 a) Step 1: Identify the null and alternative hypotheses.
H0: There is no relationship between warm-up time and winner of match H1: There is a relationship between warm-up time and winner of match
Step 2: Calculate the expected frequencies.
0–10 Minutes
11–20 Minutes
More Than 20 Minutes
Deb wins 12721182 50
= 9.72 12721192
50 = 10.26
12721132 50
= 7.02
Bob wins 12321182 50
= 8.28 12321192
50 = 8.74
12321132 50
= 5.98
Step 3: Calculate the chi-square test statistic, X2.
Cell fo fe 1fo − fe 2 1fo − fe 2 2 1fo − fe 2
fe
Deb 0–10 5 9.72 - 4.72 22.28 2.29 Deb 11–20 12 10.26 1.74 3.03 0.30
Deb 20+ 10 7.02 2.98 8.88 1.26 Bob 0–10 13 8.28 4.72 22.28 2.69
Bob 11–20 7 8.74 - 1.74 3.03 0.35
Bob 20+ 3 5.98 - 2.98 8.88 1.48
Total x2 = a 1fo - fe2 2
fe = 8.37
Step 4: Determine the chi-square critical value, X2A
We have two players, so r = 2. We have three warm-up times, so c = 3. This means our chi-square critical value has 1r - 121c - 12 = 12 - 1213 - 12 = 2 degrees of freedom. If we go to the a = 0.05 column in Table 12.5, we’ll find that x2a = 5.991.
Step 5: Compare the test statistic 1X22 with the critical value 1X2A2. Because x2 = 8.37 and this is greater than x2a = 5.991, we reject the null hypothesis according to Table 12.6.
Step 6: Determine the p-value.
p@value = CHISQ.DIST.RT 18.37, 22 = 0.0152 Because the p-value = 0.0152 and is less than a = 0.05, we reject the null hypothesis.
Step 7: State your conclusions.
By rejecting the null hypothesis, we have found support for a relation- ship between the warm-up time and the winner of the match, so these categorical variables do not appear to be independent of one another. Comparing the observed and expected frequencies, you can see that Deb won 10 matches after warm-ups that exceeded 20 minutes. If the null hy- pothesis were true, we would expect her to win only 7.02 matches. After short warm-up times, I won 13 matches, but I was expected to win only
8.28. Therefore, there indeed appears to be a relationship between warm- up time and performance when Deb and I play tennis. Darn it! Once again, Deb is right. Boy, does this story have a familiar ring to it.
b)
2
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Use the chi-square distribution to test the variance of a single population.
■ Use the F-distribution to compare the variances of two populations.
Hypothesis Tests for the Population Variance
C h a p t e r 1 3 M a p
13.1 Testing the Variance of a Single Population | 626
13.2 Comparing the Variances of Two Populations | 634
13
www.freebookslides.com
626 C h a p t e r 13 | Hypothesis Tests for the Population Variance
The previous four chapters have focused on a variety of hypothesis tests for population means and proportions. In this chapter, we turn our attention to hypothesis testing for the population variance 1s22. As we have learned, most businesses try to achieve a certain degree of quality control by maintaining acceptable levels of variability. For example, let’s consider the temperature inside the refrigerator in your kitchen. Today’s refrigerators are designed to maintain an average temperature around 37°F. However, this temperature will vary as the compressor periodically cycles on and off to keep the refrigerator cool. Most refrigerator owners would probably find it acceptable if the inside temperature of their re- frigerators averaged 37°F but ranged from 32°F to 42°F. However, many of these same own- ers would not find it acceptable if the temperature of their refrigerators ranged from 22°F to 52°F. My salad-loving wife, Deb, tends to get very irritated when her lettuce goes through several freeze–thaw cycles and ends up in the trash. If Amana, a major refrigerator manufac- turer, performed a hypothesis test to determine only the mean, or average, temperature of its units, the lettuce-freezing scenario could go undetected. Performing a hypothesis test for the temperature variance, as well, would save the day (and Deb’s lettuce).
The following are other business scenarios in which a hypothesis test for a population variance could be useful:
• Kellogg’s would like to ensure that the amount of Frosted Flakes being added to the cereal boxes is within an acceptable range. Too much variability could result in unhappy customers if their boxes aren’t a consistent weight, and overfilling the boxes would hurt the profitability of Kellogg’s.
• United Medical would like to measure the standard deviation of the time doctors spend with patients. Too much variability results in long wait times for other pa- tients waiting to see the doctor.
• US Airways would like to reduce the variability of its flight times between Paris and Philadelphia. Reducing the variability will allow the company to improve its on-time performance for these flights and other connecting flights.
The lesson here is that testing for the population mean in many business settings tells only half the story. Testing for both the mean and variance can provide a more complete picture of what is happening with a business process so that problems with it can be detected and fixed.
Notice that we have not mentioned the population standard deviation at this point in the chapter. That’s because there is no hypothesis test to measure the standard deviation directly. However, as we will see, we can convert a hypothesis statement about a standard deviation into a variance before performing the required procedure.
In this chapter, we will begin with a hypothesis test for a single population variance. After mastering this procedure, you will learn a procedure that will allow you to compare the variances for two populations.
13.1 Testing the Variance of a Single Population
In Chapter 12, we introduced the chi-square distribution to conduct a variety of hypotheses tests that involved comparing proportions, performing goodness-of-fit tests, and testing for independence. We will once again rely on the chi-square distribution to perform a hypothesis test for a single population variance. We’ll consider both one-tail and two-tail tests.
One-tail hypothesis test for a Single population Variance I’ll start this section by referring back to Chapter 9 and my horrific experience with the new self-serve checkout system being tested at my local grocery store. Suppose the store’s manag- ers have decided that if the standard deviation for the time required by self-serve customers to check out is less than 2 minutes, additional self-serve systems should be installed at other loca- tions. A standard deviation of at least 2 minutes would be one indication that some customers (such as your author) struggle with the self-serve system and take much longer to check out
Recall from Chapter 3 that the variance of a data set is a measure of variability around the mean of the data.
Recall that the standard deviation is simply the square root of the variance.
www.freebookslides.com
C h a p t e r 13 | 13.1 Testing the Variance of a Single Population 627
than other (normal) customers. To test if new systems should be installed in other stores, the checkout times, in minutes, of 24 randomly selected self-serve shoppers were recorded and are shown in Table 13.1. These data can also be found in the Excel file checkout times.xlsx.
{ table 13.1 | Checkout Times for 24 Self-Serve Customers (Minutes)
4.4 3.9 4.2 4.5 2.3 2.7
4.2 6.0 6.2 6.0 5.0 5.1
1.9 1.8 5.6 4.3 3.6 5.3
4.0 6.1 6.1 3.4 1.3 5.0
A standard deviation of less than 2.0 minutes converts to a variance that is less than 4.0 minutes squared.
This hypothesis is a one-tail (lower) test because the store would like to prove that the population variance is less than 4.0.
Using this sample data, I will conduct a hypothesis test to see if the population standard deviation for the checkout time of customers is less than 2 minutes.
Step 1: Identify the null and alternative hypotheses.
The store’s goal is to achieve a standard deviation of less than 2.0 minutes. Because we do not have a procedure to test for the standard deviation directly, we need to convert the standard deviation of 2.0 minutes into a variance by squaring it 12.02 = 4.0 minutes squared.2 This results in the following hypotheses:
H0: s 2 Ú 4.0
H1: s 2 6 4.0 1The goal that the store would like to achieve2
Step 2: Set a value for the significance level, A.
The significance level has the same interpretation for this test as it has had for previous hypotheses tests regarding the mean and proportion. The value of a. represents the probability of a Type I error, which occurs when we reject a null hypothesis that is true. For our self-serve example, a Type I error occurs when we conclude that the population variance is less than 4.0 minutes squared when, in reality, it is 4.0 minutes squared or more. Let’s conduct our hypothesis test using a = 0.05.
Step 3: Calculate the chi-square test statistic, X2.
The test statistic for a one-sample variance test, x2, is shown in Equation 13.1.
where
x2 = The test statistic s2 = The sample variance
s2 = The population variance expressed in the null hypothesis n = The sample size
We first need to calculate the sample variance, which can be done in one of two ways. Recall that I introduced the sample variance way back in Chapter 3. The equation for calculating it is repeated here as Equation 13.2.
Formula 13.2 for the sample Variance
s2 = a
n
i = 1 x 2i -
a a n
i = 1 xib
2
n
n - 1
Formula 13.1 for the test statistic for a one-sample Variance test
x2 = 1n - 12s2
s2
www.freebookslides.com
628 C h a p t e r 13 | Hypothesis Tests for the Population Variance
To use this equation we need to sum up the values 1a xi2 and sum up the square of the values 1a x i2 2 from Table 13.1. These results are as follows:
a xi = 4.4 + 3.9 + 4.2 + g+ 3.4 + 1.3 + 5.0 = 102.9 a x 2i = 14.422 + 13.922 + 14.222 + g+ 13.422 + 11.322 + 15.022 = 490.55
Recognizing that we have 24 observations in our sample 1n = 242, our sample variance, s2, is as follows:
s2 = a
n
i = 1 x 2i -
a a n
i = 1 xib
2
n
n - 1 =
490.55 - 1102.922
24
24 - 1 =
490.55 - 441.184 23
= 2.146
We can also rely on the Excel function = VAR.S(data values) to provide us with this same result.
Now that we have our sample variance, we plug the remaining values into Equation 13.1 to get the following test statistic:
x2 = 1n - 12s2
s2 =
124 - 1212.1462 4
= 12.34
Step 4: Determine the chi-square critical value, X2A.
The test statistic shown in Equation 13.1 follows the chi-square distribution that we introduced in Chapter 12 with n - 1 degrees of freedom (df). Table 13.2 shows an excerpt from Table 8 in Appendix A, which shows the chi-square critical values.
Rows 1 through 22 in this table have been hidden to conserve space.
{ table 13.2 | Excerpt of Chi-Square Critical Values
area in right tail of distribution
df 0.995 0.99 0.975 0.95 0.90 0.10 0.05 0.025 0.01 0.005
(rows 1 through 22 have been hidden)
23 9.260 10.196 11.689 13.091 14.848 32.007 35.172 38.076 41.638 44.181
24 9.886 10.856 12.401 13.848 15.659 33.196 36.415 39.364 42.980 45.559
25 10.520 11.524 13.120 14.611 16.473 34.382 37.652 40.646 44.314 46.928
26 11.160 12.198 13.844 15.379 17.292 35.563 38.885 41.923 45.642 48.290
27 11.808 12.879 14.573 16.151 18.114 36.741 40.113 43.195 46.963 49.645
28 12.461 13.565 15.308 16.928 18.939 37.916 41.337 44.461 48.278 50.993
29 13.121 14.256 16.047 17.708 19.768 39.087 42.557 45.722 49.588 52.336
This is a lower (left) tail test because the alternative hypothesis, H1, is expressed as “less than 4.0.” This puts the rejection region with area a = 0.05 on the left side of the distribution, and leaves 95% of the distribution to the right of the critical value (also known as the right tail). The columns in Table 13.2 are based on the area in the right tail of the distribution, so we look for the column labeled “0.95.” We also have n - 1 = 24 - 1 = 23 degrees for freedom for this example. According to the Table 13.2, the critical value is x2a = x
2 0.95 = 13.091 (the appropriate row,
column, and critical value are highlighted).
www.freebookslides.com
C h a p t e r 13 | 13.1 Testing the Variance of a Single Population 629
We can also use Excel’s CHISQ.INV.RT function to determine the chi-square criti- cal value, which has the following characteristics:
= CHISQ.INV.RT1right_tail_area, degrees_of_freedom2 For our checkout time example, we have
= CHISQ.INV.RT10.95, 232 = 13.091 Step 5: Compare the test statistic 1X2 2 with the critical value 1X2A2. Figure 13.1 shows the rejection region for the self-serve checkout example along
with the critical value and test statistic.
{ figure 13.1 Comparing the Chi-Square Test
Statistic with the Chi-Square Critical Value for the Self-Serve Checkout Example
0.95 = 12.34 = 13.09122
Do Not Reject H0 1 – α 0.95
Reject H0 α = 0.05
We reject the null hypothesis according to Figure 13.1 because our test statistic, x2 = 12.34, is less than x20.95 = 13.091 and lies in the shaded rejection region.
Step 6: State your conclusions.
By rejecting the null hypothesis, we have evidence that the population variance for the checkout times is less than 4.0, which translates into a standard deviation of less than 2.0 minutes. Because we have rejected the null hypothesis, the decision should be made to install additional systems in other locations.
The chi-square test for a variance does have an important requirement. The popula- tion from which the sample is drawn needs to be normally distributed in order to get valid results. This requirement holds true for any sample size and is fairly rigid. In other words, moderate deviations from a normal population can result in unreli- able conclusions about the population variance. Chapter 12 demonstrated a method to test if a population follows the normal probability distribution.
Using phStat to test the Variance of a population You can use PHStat to perform the chi-square test for a single population variance by taking the following steps. Excel for Mac users can go to the textbook’s Web site for these instruc- tions (www.pearsonhighered.com/donnelly).
1. Go to Add-Ins 7 PHStat 7 One-Sample Tests 7 Chi-Square Test for the Variance, as shown in Figure 13.2A.
www.freebookslides.com
630 C h a p t e r 13 | Hypothesis Tests for the Population Variance
{ figure 13.2b Using PHStat to Test the
Variance of a Population (Step 2)
2. Fill in the values in the Chi-Square Test for the Variance dialog box as shown in Figure 13.2B. Note that the null hypothesis is stated as a variance and that the program asks for the sample standard deviation rather than the sample variance. For this exam-
ple, s = 22.146 = 1.465. Click OK. Be sure to state the null hypothesis as the variance rather than the standard deviation.
Be sure to use the sample standard deviation rather than the sample variance for this input.
Figure 13.2C shows the final results for our variance test.
These results are consistent with our manual calculations. Also, note that the p-value shown in Cell B16 equals 0.0351. This value represents the probability of seeing a chi- square test statistic less than 12.34 if the null hypothesis is true. Because the p-value is less than a = 0.05, we reject the null hypothesis.
Take a break from watching me do all the work and try your hand at a variance test in this next Your Turn problem.
{ figure 13.2a Using PHStat to Test the
Variance of a Population (Step 1)
{ figure 13.2c Using PHStat to Test the
Variance of a Population (Final Result)
www.freebookslides.com
C h a p t e r 13 | 13.1 Testing the Variance of a Single Population 631
two-tail hypothesis test for a Single population Variance Now that you have mastered the one-tail variance test, let’s move on and examine the two- tail procedure with the following example. As we learned in the beginning of the chapter, refrigerator manufacturers design their units to maintain temperatures within a certain range. Too much temperature variation can result in food freezing or spoiling prematurely. Too little temperature variation can lead to higher energy costs because the refrigerator’s compressor cycles on and off more often than necessary. Suppose Amana, a major refrigerator manufac- turer, has been trying to achieve a standard deviation equal to 4.0°F for a particular model.
To test for this variation under normal operating conditions, the refrigerator was filled to 75% capacity with food and was opened 30 times during an 8-hour day for 10 seconds’ duration. Table 13.3 shows the temperature readings recorded during this experiment. These data can also be found in the Excel file refrigerator.xlsx.
{ table 13.3 | Temperature Readings 1°F2
38.2 37.5 29.7 42.5 43.4 41.5
41.0 41.2 40.0 41.4 39.5 39.8
44.6 42.2 34.9 28.5 38.5 34.7
36.6 37.0 32.0 34.9 36.9 36.6
34.9 35.6 45.6 34.1 45.2 33.5
Remember, equalities are always expressed in the null hypothesis.
Canon Business Solutions (CBS) is a division of Canon that sells and services Canon copiers to corpo- rate customers (lots of c words in this sentence). The length of time a customer waits for a service call when a copier requires maintenance is monitored very closely. Suppose CBS measures, in addition to the average wait time, the standard deviation of the wait times in an effort to provide consistent service. Let’s say that CBS has decided that if the standard deviation exceeds 30 minutes, additional service personnel should be hired to reduce the longer wait times.
Suppose CBS collected the wait times for a random sample of 20 service calls and found the sample standard deviation to be 32.4 minutes. (I sense you are grateful I didn’t make you calculate the sample standard deviation. Just trying to help you out.)
a. Using a = 0.10, determine if CBS needs to hire additional service personnel. b. Verify your results using PHStat. c. Interpret the p-value.
Hint: Set this up as an upper-tail test.
Y O U r t U r n # 1N
Answers can be found on u page 648
Using these data and a = 0.05, Amana would like to perform a hypothesis test to deter- mine if the standard deviation of the temperature for this particular model is equal to 4.0°F.
Step 1: Identify the null and alternative hypotheses.
Amana’s goal is to achieve a standard deviation equal to 4.0°F. This translates into a variance of 4.02 = 16.0 degrees squared. Because we are testing for equality, this is a two-tail test.
H0: s 2 = 16.0 1This is the goal that Amana would like to achieve2
H1: s 2 ≠ 16.0
Step 2: Set a value for the significance level, A.
Amana set a = 0.05 for this hypothesis test.
www.freebookslides.com
632 C h a p t e r 13 | Hypothesis Tests for the Population Variance
Step 3: Calculate the chi-square test statistic, X2.
For this example, I’m going to take the easy way out and use Excel to calculate the sample variance. (I hope you don’t mind.) Using the VAR.S function on the data set, I get the following:
s2 = 19.151
Using Equation 13.1, our test statistic is as follows:
x2 = 1n - 12s2
s2 =
130 - 12119.1512 16.0
= 34.71
Step 4: Determine the chi-square critical value, X2A.
Because we have a two-tail test, there are two critical values, one in each tail of the chi-square distribution. The area that corresponds to a = 0.05 is split evenly 1a>2 = 0.0252 between the two tails of the distribution.
The left (lower) critical value has an area equal to 0.025 to its left and 0.975 to its right. Look back at Table 13.2 under the “Area in Right Tail of Distribution” = 0.975 column and in the degrees of freedom (df) row n - 1 = 30 - 1 = 29.
Here you will find that the left critical value is x2a = x 2 0.975 = 16.047.
The right (upper) critical value has an area equal to 0.025 to its right. In Table 13.2, look for the “Area in Right Tail of Distribution” = 0.025 column and the degrees of freedom (df) row 29. Here you will find the right critical value is x2a = x
2 0.025 = 45.722. Both of these critical values are shown in Figure 13.3.
Using Excel’s CHISQ.INV.RT function, we can confirm the chi-square critical val- ues for our refrigerator example:
= CHISQ.INV.RT10.975, 292 = 16.047 = CHISQ.INV.RT10.025, 292 = 45.722
Step 5: Compare the test statistic 1X22 with the critical value 1X2A2. Figure 13.3 graphically illustrates the test statistic and the rejection regions for the
refrigerator example.
The area to the right of the lower critical value is 0.95 + 0.25 = 0.975. Go to the “0.975” column and df = “29” row in Table 13.2 to find the critical value equal to 16.047.
{ figure 13.3 Comparing the Chi-Square Test
Statistic with the Chi-Square Critical Value for Refrigerator Temperature Example
Reject H0 α/2 = 0.025
0.025 0.975
= 45.7222
Do Not Reject H0 1 – α 0.95
Reject H0 α/2 = 0.025
0.975 = 34.71= 16.047 2 2
Because x2 = 34.71 is between x20.975 = 16.047 and x 2 0.025 = 45.722, we fail to
reject the null hypothesis according to Figure 13.3.
Step 6: State your conclusions.
By failing to reject the null hypothesis, we do not have evidence that the population standard deviation is not equal to 4.0°F. Because we can never accept the null hy- pothesis, we cannot conclude that the standard deviation for this population equals 4.0°F. However, we have a business decision to make here, which is to (a) decide that the population standard deviation is acceptable (that is, equal to 4.0°F) or (b) decide that the population standard deviation is unacceptable (that is, not equal
www.freebookslides.com
C h a p t e r 13 | 13.1 Testing the Variance of a Single Population 633
to 4.0°F). When I put on my businessperson’s hat, the results of this hypothesis test lead me to choose option (a) and conclude that the refrigerator design is working properly for this particular model. I know this might seem like a contradiction, but choosing to find support for the null hypothesis in this example is the appropriate business decision.
As I mentioned earlier in the chapter, the people who conduct quality control pro- grams are very interested in the variance of a process because it is a measure of consistency. Generally speaking, more consistency (low variance) is more effective than less consistency (high variance) when dealing with a business process. How- ever, variances that are much lower than expected can be an indication that some- thing has gone wrong, which merits further investigation. One explanation may be that the measuring device has malfunctioned. The following Your Turn problem provides such an example.
Consider the process at Kellogg’s that fills boxes of Frosted Flakes. The target weight of sugary corn flakes per box is set at 18 ounces (makes my mouth water as I write this). Due to the nature of this process, we expect some slight variation in the weights of the boxes. Suppose that historically, when the process was performing as designed, the standard deviation of the weights was 0.15 ounces. To verify that the filling process is currently operating with this variation, 18 randomly selected boxes were weighed on a precision scale and were found to have the following weights. These data can also be found in the Excel file FF weights.xlsx.
18.0 18.1 18.0 17.8 18.1 18.1
18.0 18.0 18.0 18.0 17.9 18.0
18.1 17.8 17.8 18.0 17.9 18.0
a. Using a = 0.10, determine if the filling process still has a standard deviation equal to 0.15 ounces.
b. Verify your results using PHStat. c. Interpret the p-value.
Hint: a xi = 323.6, a xi2 = 5,817.78
Y O U r t U r n # 2N
Answers can be found on u page 649
13.1 Section Problems Basic Skills 13.1 Consider the following hypothesis statement:
H0: s 2 Ú 5.0
H1: s 2 6 5.0
State your conclusion given that s = 1.6, n = 32, and a = 0.05.
13.2 Consider the following hypothesis statement:
H0: s 2 … 9.0
H1: s 2 7 9.0
State your conclusion given that s = 3.4, n = 25, and a = 0.10.
13.3 Consider the following hypothesis statement:
H0: s 2 = 12.0
H1: s 2 ≠ 12.0
State your conclusion given that s = 4.6, n = 36, and a = 0.05.
13.4 Consider the following hypothesis statement:
H0: s 2 = 39.0
H1: s 2 ≠ 39.0
State your conclusion given that s = 6.5, n = 40, and a = 0.05.
applications 13.5 Suppose that on a 100-point test, my goal is for my stu-
dents’ exam scores to have a standard deviation of less than 10 points. A recent sample of 22 exams has a sample standard deviation of 12.1.
a. Test whether my goal was achieved using a = 0.05. b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
www.freebookslides.com
634 C h a p t e r 13 | Hypothesis Tests for the Population Variance
13.6 Recently, Seasons Pizza was receiving customer com- plaints about erratic pizza delivery times. To address this issue, Seasons made some operational changes in its restaurant and added more delivery people to its staff. To study the effectiveness of these changes, Seasons would like to test the hypothesis that the standard deviation for the delivery times of its pizzas is less than 12 minutes. The following data represent a random sample of delivery times (in minutes). These data can also be found in the Excel file pizza delivery times.xlsx.
23 24 23 36 30 40 34 24 28 29 15 27 17 22 33 30 15 10 12 21 38 35 18 20
a. Using a = 0.05, test whether Seasons Pizza’s goal was achieved.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.7 Utz Pretzels produces hard pretzels and packages them in 16-ounce bags. However, the size of each pretzel makes it challenging to fill each bag to precisely 16 ounces. When the filling process is working normally, the standard de- viation of the bag weights equals 0.25 ounces. To test if this standard deviation is being achieved, the following random sample of pretzel-bag weights was recorded. These data can also be found in the Excel file Utz pretzel weights.xlsx.
15.9 15.7 16.4 16.3 15.8 16.0 15.9 16.1 16.2 16.2 16.2 16.4 16.0 16.3 16.3 16.6 16.3 15.8 15.7 16.0 16.5 15.7 15.9 15.7 16.1
a. Using a = 0.05, determine if the filling process is per- forming normally.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.8 Refrigerator manufacturers design their freezer units to maintain temperatures within a certain range. Too much temperature variation can result in food spoiling due to thawing. Too little temperature variation can cause higher energy costs as the refrigerator’s compressor cycles on and off more often than necessary. Suppose Amana, a ma- jor refrigerator manufacturer, wants the freezer of a par- ticular model to have a standard deviation equal to 4°F. To test for this variation under normal operating conditions, the freezer was filled to 75% capacity with food and was opened periodically during an 8-hour day for 10 seconds’ duration. The following table shows the freezer tempera- ture readings in degrees Fahrenheit that were recorded during this experiment. These data can also be found in the Excel file freezer temperatures.xlsx.
6.4 - 8.6 - 3.8 - 1.1 1.1 0.2 1.1 0.7 - 0.5 1.0 1.9 1.4 5.9 - 7.2 6.9 6.6 6.9 8.1 5.5 6.1 8.2 8.9 6.1 7.0 - 0.4 - 1.4 - 2.6 0.8 0.6 0.2 - 2.8 - 5.5 6.8 7.3 7.5 2.5 0.2 2.4 - 2.9 - 3.1 a. Using a = 0.05, test to determine if Amana has
achieved its goal. b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.2 Comparing the Variances of Two Populations
Back in Chapter 10, we learned about hypothesis tests that compare two population means or two population proportions. One of the t-tests made the assumption that the two population variances were equal. The ANOVA procedure that was covered in Chapter 11 also assumed the two population variances were equal. In this final section of the chapter, we’ll examine a technique to validate these variance assumptions while covering both a one-tail case and a two-tail case. As with the single population variance test already discussed, this technique requires that both populations be normally distributed.
testing the Variances of two populations (One-tail test) I’ll use the following example to demonstrate a one-tail hypothesis test that compares two population variances. Suppose Ron owns a Taco Bell restaurant that has a single drive- through window. Ron would like to reduce the variability of the service time that customers who use the drive-through experience. To accomplish this, he would like to test a new sys- tem that outsources the drive-through orders to a third-party call center. Customers placing orders in the drive-through would be actually talking to a centralized call center that would transfer the order information directly to the restaurant. This would free up employees in the Taco Bell restaurant who normally take the orders. The data in Table 13.4 show the service times, in seconds, for customers using the on-site and outsourced systems. These data can also be found in the Excel file Taco Bell.xlsx.
www.freebookslides.com
C h a p t e r 13 | 13.2 Comparing the Variances of Two Populations 635
{ table 13.4 | Taco Bell Drive-Through Service Times (Seconds)
on-site system
105 125 60 184 189 126 211
176 149 79 122 175
outsourced system
163 158 153 174 138 140 195
138 189 142 182 138 175 91
This is a one-tail hypothesis test because we are testing to see if the Population 1 variance is greater than the Population 2 variance.
Using these data and a = 0.05, Ron would like to perform a hypothesis test to deter- mine if the standard deviation of the service times for the outsourced system is less than that of the on-site system.
Step 1: Calculate the variance for each sample.
We can use either Equation 13.2 or Excel’s VAR.S function to provide the variance for each sample. For this example, let’s use Excel, which gives us the following:
s2on@site = 2,184.93 s2outsource = 744.42
Step 2: Identify the null and alternative hypotheses.
When comparing two population variances, always assign the larger sample vari- ance to Population 1 and the smaller sample variance to Population 2.
Population 1 = On@site system Population 2 = Outsourced system
Ron would like to see if the outsourced system times have a lower variance than the on-site system times. The hypothesis statement would then be as follows:
H0: s1 2 … s22
H1: s1 2 7 s22 1Outsource system has lower variance than on@site system2
Step 3: Set a value for the significance level, A.
Ron set a = 0.05 for this hypothesis test.
Step 4: Calculate the F-test statistic.
The test statistic for a two-sample variance test, F, is shown in Equation 13.3.
Formula 13.3 for the test statistic for a two-sample Variance test
F = s1
2
s2 2
where
F = The test statistic s21 = The sample variance from Population 1 s22 = The sample variance from Population 2
Plugging our sample variances into Equation 13.3 results in the following:
F = s1
2
s2 2
= 2,184.93
744.42 = 2.935
Because Population 1 will always have the larger sample variance (because we as- signed the variances that way at the outset of the problem), the test statistic from Equation 13.3 will always be greater than 1.0.
Always place the larger variance in the numerator in Equation 13.3.
www.freebookslides.com
636 C h a p t e r 13 | Hypothesis Tests for the Population Variance
{ figure 13.4 Comparing the F-Test Statistic
with the Critical Value for the Taco Bell Example
Fα = 2.635
Do Not Reject H0 1 – α Reject H0
α = 0.05
F = 2.935
Step 5: Determine the critical value, FA.
The test statistic shown in Equation 13.3 follows the F-distribution, which was first introduced in Chapter 11. Recall that this distribution is skewed to the right and has the following degrees of freedom:
D1 = n1 - 1 D2 = n2 - 1
where n1 and n2 are the sample sizes from Populations 1 and 2, respectively. Recall there were 12 observations for the on-site system and 14 observations for the out- sourced system.
So, for our Taco Bell example, we have the following degrees of freedom:
D1 = n1 - 1 = 12 - 1 = 11 D2 = n2 - 1 = 14 - 1 = 13
The critical value, Fa, can be found in Table 6 in Appendix A. An excerpt from this table is shown in Table 13.5. Select the portion of Table 6 in Appendix A la- beled “Area in the Right Tail of Distribution = 0.05” (because we set a = 0.05 for this hypothesis test). Go to the D1 = 11 column and D2 = 13 row to find Fa = F0.05 = 2.635. This value is highlighted in Table 13.5.
Always set up a one-tail, two- population variance test as a right-tail test by setting the alternative hypothesis as “ 7 .” This results in a right-tail region.
{ table 13.5 | Excerpt of F-Distribution Critical Values
area in the right tail of distribution = 0.05
D1
D2 11 12 13 14 15 16 17 18 19 20
rows 1 through 11 have been hidden
12 2.717 2.687 2.660 2.637 2.617 2.599 2.583 2.568 2.555 2.544
13 2.635 2.604 2.577 2.554 2.533 2.515 2.499 2.484 2.471 2.459
14 2.565 2.534 2.507 2.484 2.463 2.445 2.428 2.413 2.400 2.388
We can also obtain the critical F-score for our two-population variance test using Excel’s F.INV.RT function, which has the following characteristics:
= F.INV.RT 1a, D1, D22 = F.INV.RT 10.05, 11, 132 = 2.635
Step 6: Compare the test statistic 1 F 2 with the critical value 1FA2. Figure 13.4 graphically illustrates the test statistic and the rejection region for the Taco
Bell example. Be sure to always set up the hypothesis statement for a right-tail test as the figure shows. In other words, assign H1 the “ 7 ” sign as we did in this example. That way, the rejection region will always be in the right tail of the F-distribution.
Because F = 2.935 is more than Fa = 2.635, we reject the null hypothesis accord- ing to Figure 13.4.
www.freebookslides.com
C h a p t e r 13 | 13.2 Comparing the Variances of Two Populations 637
Step 7: State your conclusions.
By rejecting the null hypothesis, we have evidence that the variance for Population 2 is less than the variance for Population 1. Ron can conclude that the service times for the outsourced system have less variability than the service times for the on-site system.
A two-population variance test has the same normal distribution requirement as a one-population variance test. Specifically, both populations being compared must be normally distributed to achieve reliable results.
Using excel to Compare two population Variances We can use Excel’s Data Analysis (for Windows users) to conduct our two-population vari- ance test by taking the following steps. Excel for Mac users can go to the textbook’s Web site and find instructions for this procedure with PHStat.
1. Either open the Excel file Taco Bell.xlsx or enter the service time data values in Columns A and B as shown in Figure 13.5A.
2. Go to Data and click on Data Analysis on the right side of the ribbon. This opens the Data Analysis dialog box.
3. Select F-Test Two-Sample for Variances. Click OK.
Place the on-site sample in the “Variable 1 Range” because it has the higher variance of the two samples. You can use Excel’s VAR.S function to find the variable with the higher variance.
{ figure 13.5b Using Excel to Compare Two
Population Variances (Step 4)
4. Fill in the F-Test Two-Sample for Variances dialog box as shown in Figure 13.5B. Click OK.
{ figure 13.5a Using Excel to Compare Two
Population Variances (Steps 1-3)
www.freebookslides.com
638 C h a p t e r 13 | Hypothesis Tests for the Population Variance
Figure 13.5C shows the output for our Taco Bell example, which matches our results from the previous section.
Notice that the p-value shown in Cell E9 of Figure 13.5C equals 0.0343. This value repre- sents the probability of obtaining a test statistic of 2.935 or higher if the null hypothesis is true. Because the p-value is less than a = 0.05, we reject the null hypothesis and conclude that the variance of the outsourced service times is less than the variance of the on-site ser- vice times.
For some strange reason, Excel provides only the results for a one-tail hypothesis test for comparing two population variances. So, we’ll use PHStat in the following section to demonstrate the two-tail version of the test. Excel also requires unsummarized (raw) data for this procedure. If we only have summarized data, we’ll need to use PHStat to perform this analysis, which you will see in the next section.
Now see what you’ve learned so far by solving the following Your Turn problem.
As a teacher, I pay particular attention to the mean and standard deviation of exam scores for my classes. A large standard deviation in test scores concerns me because it is an indication that some stu- dents are being left behind during the semester. Suppose I want to investigate if having students work in groups reduces the grade variability when compared with a more traditional lecture format. So, in my 10:00 a.m. class, I rely primarily on lectures, whereas in my 11:00 a.m. class, the students spend more time solving problems in groups. I collected the following data after the first exam. The data can also be found in the Excel file exam scores.xlsx.
10:00 a.m. Class
86 83 86 89 89
85 96 99 75 79
11:00 a.m. Class
90 76 73 90 88
89 84 82 78 86
a. Using a = 0.01, determine if the 11:00 a.m. class experienced less variability in its exam scores than the 10:00 a.m. class did.
b. Verify your results using Excel. c. Interpret the p-value.
Y O U r t U r n # 3N
Answers can be found on u pages 649–650
{ figure 13.5c Using Excel to Compare
Two Population Variances (Final Result)
www.freebookslides.com
C h a p t e r 13 | 13.2 Comparing the Variances of Two Populations 639
testing the Variances of two populations (two-tail test) The last thing we will do in this chapter is conduct a two-tail hypothesis test to compare two population variances. We use this test only to investigate whether a difference exists between the two variances rather than to test if one variance is greater than the other. To demonstrate, I’ll use the following example.
In an effort to control costs, health care insurance companies pay close attention to the length of the hospital stays of their customers. Suppose the health care insurer Blue Cross Blue Shield (BCBS) is interested in studying the difference in the variation in the number of days patients stay at two different hospitals for a specific procedure. A significant difference in the variation of stays at the two hospitals might be something BCBS would want to inves- tigate. Data on the stays of 20 randomly selected patients hospitalized at Christiana Hospital and 20 randomly selected patients hospitalized at Bayhealth Hospital were collected for the same procedure. This information, along with the standard deviations (in days) for each of the two samples, is shown in Table 13.6.
Be very careful when identifying the problem’s standard deviation and variance. If I had a nickel for every time students confused them in their calculations, I would have retired long ago!
This is a two-tail test because we are only testing for a difference in population variances, as opposed to testing if one is greater than the other.
Using these data and a = 0.05, BCBS would like to perform a hypothesis test to deter- mine if the standard deviation of the hospital stays differs between Christiana and Bayhealth for this procedure:
Step 1: Calculate the variance for each sample.
Because I so generously provided you with the sample standard deviations in Table 13.6, the sample variances are a straightforward calculation:
s2Christiana = 10.9222 = 0.8464 s2Bayhealth = 10.7122 = 0.5041
Step 2: Identify the null and alternative hypotheses.
Once again, we assign the larger sample variance to Population 1 and the smaller to Population 2:
Population 1 = Christiana Population 2 = Bayhealth
Because BCBS is interested only in examining a difference in population variances, we have the following two-tail test:
H0: s1 2 = s2
2
H1: s1 2 ≠ s2
2 1Population variances are different2 Step 3: Set a value for the significance level, A.
BCBS set a = 0.05 for this hypothesis test. Step 4: Calculate the F-test statistic.
Plugging our sample variances into Equation 13.3 results in the following:
F = s1
2
s2 2
= 0.8464
0.5041 = 1.679
Remember, when comparing two population variances, always place the larger sample variance in the numerator when calculating the F-test statistic.
{ table 13.6 | Variation in Hospital Stays
christiana hospital
bayhealth hospital
Sample standard deviation 0.92 days 0.71 days
Sample size 20 20
www.freebookslides.com
640 C h a p t e r 13 | Hypothesis Tests for the Population Variance
Step 5: Determine the critical value, FA.
For our BCBS example,
D1 = n1 - 1 = 20 - 1 = 19 D2 = n2 - 1 = 20 - 1 = 19
Because we have a two-tail test, the area that corresponds to a = 0.05 is split evenly 1a>2 = 0.0252 between the two tails of the distribution. This means that the area in the right tail of the distribution is 0.025. Select the portion of Table 6 in Appendix A labeled “Area in the Right Tail of Distribution = 0.025” for this hypothesis test. Go to the D1 = 19 column and D2 = 19 row to find Fa>2 = F0.025 = 2.526.
We can also obtain the critical F-score for our two-population variance test using Excel’s F.INV.RT function as follows:
= F.INV.RT 10.025, 19, 192 = 2.526 Step 6: Compare the test statistic 1 F 2 with the critical value 1FA.2 Figure 13.6 graphically illustrates the test statistic and the rejection region for the
BCBS example. Even though this is a two-tail test, we consider only the rejection region on the right side of the distribution. This is because when comparing two population variances, we always assign the sample with the higher variance to the numerator of the test statistic calculation shown in Equation 13.3. Doing so ensures that the test statistic, F, will always be greater than 1.0.
{ figure 13.6 Comparing the F-Test Statistic
with the Critical Value for the Blue Cross Shield Example
Fa /2 = 2.526
Do Not Reject H0 1 – a Reject H0
a /2 = 0.025
F = 1.679
Because F = 1.679 and this is less than Fa>2 = 2.526, we fail to reject the null hypothesis.
Step 7: State your conclusions.
By failing to reject the null hypothesis, we do not have evidence that the population variances are different for the two hospitals. We are not, however, saying that the variances for patient stays between the two hospitals are equal. That would be ac- cepting the null hypothesis, which is a very bad thing to do. However, from a busi- ness perspective, there does not appear to be any reason to investigate the length of stays at these two hospitals further.
Using phStat to Compare two population Variances We can use PHStat to compare two population variances by taking the following steps. Excel for Mac users can go to the textbook’s Web site for these instructions.
1. Go to Add-Ins + PHStat + Two-Sample Tests (Summarized Data) + F Test for Differences in Two Variances, as shown in Figure 13.7A.
www.freebookslides.com
C h a p t e r 13 | 13.2 Comparing the Variances of Two Populations 641
2. Fill in the values in the F Test for Differences in Two Variances dialog box as shown in Figure 13.7B. Note that PHStat asks for the sample variance rather than the sample standard deviation for both populations. Click OK.
{ figure 13.7a Using PHStat to Compare Two
Population Variances (Step 1)
{ figure 13.7b Using PHStat to Compare Two
Population Variances (Step 2)
Figure 13.7C shows the final results for our variance test.
{ figure 13.7c Using PHStat to Compare
Two Population Variances (Final Result)
Be sure to assign the sample with the higher variance as “Population 1” in the dialog box.
www.freebookslides.com
642 C h a p t e r 13 | Hypothesis Tests for the Population Variance
13.2 Section Problems Basic Skills 13.9 Identify the appropriate critical F-score for the following
scenarios:
a. n1 = 16, n2 = 10, and a = 0.05. b. n1 = 28, n2 = 22, and a = 0.01. c. n1 = 15, n2 = 20, and a = 0.10.
13.10 Consider the following hypothesis statement:
H0: s1 2 … s22
H1: s1 2 7 s22
State your conclusion given that s1 = 18, s2 = 15, n1 = 25, n2 = 20, and a = 0.05.
13.11 Consider the following hypothesis statement:
H0: s1 2 = s2
2
H1: s1 2 ≠ s2
2
State your conclusion given that s1 = 35, s2 = 30, n1 = 22, n2 = 26, and a = 0.05.
13.12 Consider the following hypothesis statement:
H0: s1 2 = s2
2
H1: s1 2 ≠ s2
2
State your conclusion given that s1 = 63, s2 = 41, n1 = 25, n2 = 28, and a = 0.05.
applications 13.13 Suppose the Transportation Security Administration is in-
vestigating procedures at the Atlanta airport to reduce the variability in the amount of time it takes passengers to get through airport security. The following table summarizes sample data collected from two different terminals em- ploying different security procedures:
Terminal A Terminal B
Sample standard deviation 8.4 minutes 9.7 minutes
Sample size 15 13
a. Using a = 0.05, determine if the procedures at Terminal A more effectively reduce the variability than do the procedures at Terminal B.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.14 Suppose I have two different possible routes for my commute to school. Because I never want to be late for class, I want to choose the route that provides a more consistent commute time. Being a hopeless statistician,
These results match what we found with our manual calculations. Also, note that the p-value shown in Cell B19 equals 0.2676. Because the p-value is more than a = 0.05, we fail to re- ject the null hypothesis.
Back in Chapter 10, we compared the means of two populations given the condition that they had equal population variances. At the time, we just assumed the condition was true. However, now we can apply the technique we just learned to test this assumption. We’ll re- visit our rat brain example from Chapter 10 to address this assumption.
In Chapter 10, I used an example in which the average brain weights of two populations of rats were measured after they were given different amounts of environmental stimulation. The first population, called the “lucky rats,” was exposed to a country club–like atmosphere. The second population, called the “less-fortunate rats,” received very little stimulation. The following data were presented:
Population
Average Brain Weight in Grams
x
Sample Standard Deviation
s
Sample Size
n Lucky rats 2.6 0.6 20
Less-fortunate rats 2.1 0.8 25
We performed a two-sample hypothesis test comparing the population means and found that the aver- age brain weight for the lucky rats was more than the average brain weight for the less-fortunate rats. However, this test required the populations to have equal variances.
a. Using a = 0.10, determine if the equal variance assumption holds true. b. Verify your results using PHStat. c. Interpret the p-value.
Y O U r t U r n # 4N
Answers can be found on u page 650
www.freebookslides.com
C h a p t e r 13 | 13.2 Comparing the Variances of Two Populations 643
I meticulously drove the first route 21 times and the second route 24 times and calculated the standard deviations for each. The data are as follows:
Route 1 Route 2
Sample standard deviation 6.5 minutes 10.4 minutes
Sample size 21 24
a. Using a = 0.05, determine if Route 1 provides a more consistent commute time than Route 2.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.15 Suppose the Goodyear Tire Company developed two new brands of tires and would like to compare the variability of the tire life of the two. Both brands were driven under normal conditions, and random samples of the tires were collected. The following table shows the sample sizes and the standard deviations, in miles, calculated for each sample:
Brand 1 Brand 2
Sample standard deviation 5,300 miles 3,500 miles
Sample size 20 20
a. Using a = 0.10, determine if there is a difference in the variability of the two tire brands.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.16 The New Jersey teacher’s union would like to see if there is a difference in the variability of the salaries earned by high school teachers in Cape May County as compared with those in Camden County. A random sample of teacher salaries from each county was selected, and the standard deviation of each sample was calculated. The data are as follows:
Cape May Camden
Sample size 30 27
Sample standard deviation $6,300 $5,200
a. Using a = 0.05, determine if there is a difference in the variability of the salaries for the two populations.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
www.freebookslides.com
644
■ The chi-square distribution can be used to perform a hypothesis test for a population variance.
■ The test statistic follows the chi-square distribution with n - 1 degrees of freedom where n equals the sample size from the population of interest.
■ The population from which the sample is drawn needs to be normally distributed in order for the tester to get valid results.
■ The test statistic for comparing two population variances follows the F-distribution, with n1 - 1 degrees of freedom for the numerator and n2 - 1 degrees of freedom for the denominator.
■ To calculate the critical value, the sample size with the larger sample standard deviation should be designated n1, and the sample size with the smaller sample standard deviation should be designated n2.
■ Be sure to always set up the hypothesis statement for a right-tail test by assigning H1 the “ 7 ” sign.
• That way, the rejection region will always be on the right side of the F-distribution.
• This holds true for both one-tail and two-tail tests.
■ The populations from which the samples are drawn need to be normally distributed in order for the tester to get valid results.
chapter 13 Summary
chapter 13 Equations
13.1 Testing the Variance of a Single Population (pp 626–634)
Formula 13.2 for the Sample Variance s2 = a
n
i = 1 x i
2 - a a
n
i = 1 xib
2
n
n - 1
Formula 13.1 for the Test Statistic for a One-Sample Variance Test x2 = 1n - 12s2
s2
Formula 13.3 for the Test Statistic for a Two-Sample Variance Test F = s1
2
s2 2
13.2 Comparing the Variances of Two Populations (pp 634–643)
www.freebookslides.com
645
13.17 A high variation in the speed at which cars travel on the interstate can lead to unsafe driving conditions. When some cars are traveling at high speeds and others are traveling at low speeds on the same stretch of highway, the likeli- hood of an accident increases. Suppose the state of Virginia believes that a standard deviation of more than 7 miles per hour between cars results in an unsafe driving condition. The following speeds, in miles per hour, were clocked on an interstate in Virginia. The data can also be found in the Excel file interstate speeds.xlsx.
83 71 77 75 68 59 62 83 57 62 63 77 59 66 66 56 79 69 65 77 60 70 69 69
a. Using a = 0.05, test whether an unsafe driving condi- tion exists on this interstate.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.18 According to the Journal of the American Medical Association, a resident doctor worked an average of 59.3 hours per week during 2006–2008. In 2010, the Accredi- tation Council for Graduate Medical Education, which certifies residency programs in hospitals, developed a plan to reduce the long hours as well as to reduce the standard deviation of hours the doctors work to less than 8 hours per week. To investigate the plan’s effectiveness, a random sample of the hours 20 residents worked per week was se- lected in 2014. The data are shown in the following table, and can be found in the Excel file resident hours.xlsx.
53 57 52 65 70 51 55 61 49 61 54 64 44 57 55 60 53 61 51 56
a. Using a = 0.05, determine if the standard deviation of working hours per week is below 8 hours in 2014.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.19 Purina produces dog food sold in 40-lb. bags. When the fill- ing process is working properly, the standard deviation for the bag weights is 1.4 ounces. The following data represent a random sample of 30 bags from this process. The data can also be found in the Excel file Purina dog food.xlsx.
40 38 42 41 39 42 41 43 41 37 41 39 39 37 40 39 43 41 39 41 42 37 39 40 38 38 37 38 41 39
a. Using a = 0.05, determine if the filling process is per- forming satisfactorily.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.20 Low-profile tires are automobile tires that have a short sidewall height, which is the distance between the tire rim and the road. These tires provide better performance at the expense of gas mileage. The Ford Taurus was chosen to
measure the effect these tires have on the variability of the car’s gas mileage. Ten cars of this model were selected, and the gas mileage each obtained on one tank of gas was mea- sured using standard tires. Low-profile tires were installed on 10 other cars, and the gas mileage was again recorded. The results are shown in the following table and can be found in the Excel file low profile variance.xlsx.
Standard Low-Profile
21.5 26.5 22.4 19.0
22.3 25.5 20.1 19.7
25.6 19.5 24.0 16.2
19.3 23.9 19.5 21.4
22.3 22.9 21.7 22.4
a. Using a = 0.05, determine if there is a difference in the variability of the mileage the two types of tires get.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.21 In order that patients don’t experience excessive wait times, Aston Medical Center’s goal is for the standard deviation for the time doctors spend with their patients to be less than 6.0 minutes. To determine if this goal is being met, a ran- dom sample of times the center’s doctors spent with their patients was collected. These data can be found in the Excel file Aston.xlsx. The times are as follows:
9 11 18 16 18 20 16 15 12 16 23 12 21 19 12
a. Using a = 0.10, determine if the goal set by Aston Medical Center is being met.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.22 Pretzel Boys sells hand-rolled pretzels that are prepared by its employees on the premises. Management would like to ensure that the weight of the pretzels rolled by the employ- ees is consistent by ensuring that the standard deviation for the weight of pretzels is less than 0.04 ounces. The follow- ing data represent the weights, in ounces, of 12 randomly selected pretzels. These data can be found in the Excel file Pretzel Boys.xlsx.
0.38 0.36 0.36 0.38 0.36 0.39 0.32 0.33 0.30 0.33 0.37 0.40
a. Using a = 0.05, determine if the standard deviation of the pretzel weights is less than 0.04 ounces.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.23 Susan is shopping for a new golf club that will allow her to hit golf balls more consistently. She is considering
chapter 13 Problems
www.freebookslides.com
646
Callaway and Nike models. She used a simulator at the golf store to test each club, and the following data were col- lected. These data can be found in the Excel file Callaway. xlsx.
Callaway Nike
203 189 199 213
195 206 196 200
207 187 237 188
183 200 177 216
196 212 202 169
a. Using a = 0.05, determine if there is a difference in the variance of the driving distance between these two golf clubs.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software. d. Which driver would Susan prefer based on the consis-
tency of its driving distance?
13.24 As a customer-satisfaction consistency measure, Tony’s Bistro monitors the size of the tips its waiters receive for serving tables of two customers. The res- taurant’s manager believes if the standard deviation of these tips exceeds $3.00, there could be an issue with inconsistent service among the waitstaff. The tips from randomly selected tables with two customers at each table can be found in the Excel file tips.xlsx and are shown as follows:
$17 $11 $9 $12 $14 $14 $15 $11 $10 $9 $9 $13 $10 $17 $6 $13 $6 $16
a. Using a = 0.05, determine if there is any indication of inconsistent service at Tony’s.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.25 Herr Foods, a producer of a variety of salty snacks, per- forms taste tests to compare how consumers react to its products. A product such as horseradish cheddar chips is considered a polarizing product because it has a very strong taste. Consumers tend to rate the product very high or very low, which results in highly variable taste- test ratings for the product. A more standard product, such as regular tortilla chips, typically receives more consistent ratings. The following table shows how seven customers rated each product on a scale of 1–10. The mean and standard deviation for each type of chip are also shown in the table and can be found in the Excel file Herr.xlsx.
Horseradish Cheddar Chips Tortilla Chips
4 8
10 8
10 7
3 8
10 8
9 10
10 7
Mean 8.0 8.0
Standard deviation 3.11 1.00
Even though both products have the same average (mean) rating, the horseradish cheddar chip is viewed more posi- tively from a marketing perspective if it has a higher stan- dard deviation.
a. Using a = 0.05, determine if the horseradish cheddar chip has a higher variance than the tortilla chip.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.26 American Airlines and Air France both schedule non- stop flights from Paris to Philadelphia. Suppose you are choosing which airline to fly based on the one with more consistent flight times for the route. For each airline, the following table shows the flight times, in hours, of ran- domly selected flights for the route. These data can be found in the Excel file Air France.xlsx.
American Airlines Air France
8.4 8.5 6.6 8.0
7.2 8.0 9.3 9.6
7.7 9.5 7.7 9.8
6.6 8.1 7.7 7.5
7.9 6.8 6.9 7.9
8.4 8.4 7.9
a. Using a = 0.10, determine if there is a difference in the variability of the flight times for these two airlines for this route.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.27 To help visitors decide which trails are most appropriate for them to hike, the National Park Service (NPS) rates the dif- ficulty of the trails in the nation’s parks. Abrams Falls Trail is a 5-mile trek through Great Smoky Mountains National Park. Suppose the NPS has decided to give Abrams Falls Trail a “moderate” rating if the standard deviation for the time to hike the trail is longer than 30 minutes. The follow- ing data represent the hours it took 20 randomly selected
www.freebookslides.com
647
people to hike the trail. These data can be found in the Excel file NPS.xlsx.
1.4 3.2 2.7 3.4 3.0 3.3 3.5 2.9 2.4 3.9 2.9 3.5 3.2 4.1 4.1 3.4 3.7 3.5 4.0 1.7
a. Using a = 0.05, determine if the NPS should give the Abrams Falls Trail a “moderate” rating.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.28 Edalight is a manufacturer of compact fluorescent lights (CFL) bulbs which are fluorescent bulbs designed to be more efficient than traditional incandescent bulbs. In an effort to produce a consistent product, suppose Edalight has a goal that the standard deviation for the life of its CFL bulbs is less than 500 hours. The standard deviation for the life of a ran- dom sample of 28 CFL bulbs was found to be 378 hours.
a. Using a = 0.05, perform a hypothesis test to determine if Edalight’s goal has been achieved.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.29 As smartphones have become more sophisticated, their data usage has increased causing capacity issues with service providers. High variability in data usage among customers can result in slow connections with the cellphone network. Suppose Verizon Wireless would like to test if the standard deviation of monthly data usage for its customers has in- creased beyond 400 megabytes (MB). A random sample of 25 customers was found to have a standard deviation of 458 MB.
a. Using a = 0.10, perform a hypothesis test to determine if the standard deviation for the monthly data usage for Verizon Wireless customers has exceeded 400 MB.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.30 The pH scale measures the amount of alkalinity or acid- ity in a liquid and ranges from 0 to 14. The ideal pH for a swimming pool is 7.2. A pH that is too high or low can cause discomfort for the swimmers, especially in the eyes. Chemicals need to be added to the water to adjust the pH to the desired level. Fifteen pH readings were taken at the Wilson Community Pool from different locations at 10:00 a.m. this morning. The standard deviation for the pH reading from this sample was 0.45.
a. Using a = 0.05, perform a hypothesis test to deter- mine if the standard deviation for the pH readings at 10:00 a.m. equals 0.30.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.31 Suppose a student organization at the University of Illinois would like to test for a difference in class sizes between the business and engineering departments. A random sam- ple of 11 classes in the business department had an average size of 38.1 students with a sample standard deviation of
10.6 students. A random sample of 12 classes in the engi- neering department had an average size of 32.6 students with a sample standard deviation of 13.2 students.
a. Recall that testing for a difference between two popula- tion means requires an assumption about population variances. Perform a hypothesis test using a = 0.05 to determine if the population variance for class size is dif- ferent for these two departments.
b. Verify your results using PHStat. c. Identify the p-value from part b and interpret the result.
13.32 Traveler’s Insurance would like to investigate if the average number of miles driven per month by a male teenage driver exceeds the average number of miles driven per month by a female teenage driver. The following data summarizes the sample statistics for the miles driven per month by each gender.
Male Female
Sample mean 685 580
Sample size 23 27
Sample standard deviation 147 102
a. Recall that testing for a difference between two popula- tion means requires an assumption about population variances. Perform a hypothesis test using a = 0.10 to determine if the population variance for miles driven per month is different for teenage males and teenage females.
b. Verify your results using PHStat. c. Identify the p-value from part b and interpret the result.
13.33 Bank of New York would like to determine if the average checking account balance for younger customers (under 40 years) is different from the average checking account balance for older customers (40 or more years). These data can be found in the Excel file checking accounts.xlsx.
a. Recall that testing for a difference between two popula- tion means requires an assumption about population variances. Perform a hypothesis test using a = 0.05 to determine if the population variance for the checking ac- count balance of younger customers is greater than the variance of accounts for older customers.
b. Verify your results using Excel or PHStat. c. Identify the p-value from part b and interpret the result.
13.34 Suppose one of the products manufactured by Pittsburgh Plate and Glass (PPG) is a glass pane that is 3/8 in., thick. One of the quality control measurements is the variability in the thickness of the glass panes. If the standard devia- tion for the thickness of the glass exceeds 0.01 in., the process is considered out of control and needs to be cor- rected. The glass thickness, in inches, as measured from a random sample of 25 panes can be found in the Excel file PPG.xlsx.
www.freebookslides.com
648
a. Using a = 0.05, determine if the process variability is out of control.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.35 The Excel file golf scores.xlsx contains a random sample of golf scores for two highly competitive sons of a certain statistics author. Each son claims he is the more consistent golfer.
a. Perform a hypothesis test using a = 0.05 to determine if there is a difference in the variability of the two sons’ golf scores.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
13.36 Coke would like to perform a blind taste test between its cola and the cola produced by its biggest competitor, Pepsi. To conduct this test, 24 individuals were randomly selected and asked to taste the Coke product and rate it on a scale of 1–10. Another 24 individuals were asked to taste and rate the Pepsi product on the same scale. The results are shown in the Excel file taste test variance.xlsx.
a. Using a = 0.05, determine if the variability in the rat- ings for the Pepsi product is greater than the variability in the ratings for the Coke product.
b. Verify your results using PHStat. c. Interpret the p-value obtained from the software.
chapter 13 Solutions to Your Turn
Y o u r T u r n # 1 a. Step 1: Identify the null and alternative hypotheses.
Don’t forget to express the hypothesis statement as a variance 1302 = 9002.
H0: s 2 … 900
H1: s 2 7 900
Step 2: Set a value for the significance level, A. Set a = 0.10 for this hypothesis test.
Step 3: Calculate the chi-square test statistic, X2. Using Equation 13.1 along with s = 32.4 and n = 20, our test statistic is as follows:
x2 = 1n - 12s2
s2 =
120 - 12132.422 900
= 22.16
Step 4: Determine the chi-square critical value, XA 2 .
This is a right-tail test because the alternative hypothesis, H1, is expressed as “ 7 900.” This puts the rejection region with the area a = 0.10 in the right tail of the distribution. In Table 8 in Appendix A, we look for the column labeled “0.10” and the row labeled n - 1 = 20 - 1 = 19 degrees of freedom; the critical value is xa
2 = x0.10 2 = 27.204.
Step 5: Compare the test statistic 1X22 with the critical value 1XA2 2. The rejection region is to the right of xa
2 = x0.10 2 = 27.204. Because
x2 = 22.16 and this is less than xa 2 = x0.10
2 = 27.204, we fail to reject the null hypothesis.
Step 6: State your conclusions. By failing to reject the null hypothesis, we do not have evidence that the standard deviation of wait times exceeds 30 minutes. Therefore, CBS should not hire additional service personnel.
b.
c. The p-value equals 0.2763, which represents the probability of observing a test statistic greater than 22.16 if the null hypothesis is true. Because this value is greater than a = 0.10, we fail to reject the null hypothesis.
www.freebookslides.com
649
a. Step 1: Identify the null and alternative hypotheses.
We need to convert a standard deviation of 0.15 ounces to a variance by 10.1522 = 0.0225. Because we are testing for equality, this is a two-tail test.
H0: s 2 = 0.0225
H1: s 2 ≠ 0.0225
Step 2: Set a value for the significance level, A. Set a = 0.10 for this hypothesis test.
Step 3: Calculate the chi-square test statistic, X2. We have 18 observations in our sample 1n = 182, and our sample variance is found by using Equation 13.2:
s2 = a
n
i = 1 xi
2 - a a
n
i = 1 xib
2
n
n - 1 =
5,817.78 - 1323.622
18
18 - 1
= 5,817.78 - 5,817.61
17 = 0.010
Using Equation 13.1, our test statistic is as follows:
x2 = 1n - 12s2
s2 =
118 - 1210.0102 0.0225
= 7.56
Step 4: Determine the chi-square critical value, XA 2 .
The area that corresponds to a = 0.10 is split evenly 1a>2 = 0.052 between the two tails of the distribution.
The left (lower) critical value has an area equal to 0.05 to its left and 0.95 to its right. In Table 8 in Appendix A, we look for the column labeled “0.95” and the row labeled n - 1 = 18 - 1 = 17 degrees of freedom; the left critical value is xa
2 = x0.095 2 = 8.672.
The right (upper) critical value has an area equal to 0.05 to its right. In Table 8 in Appendix A, we look for the column labeled “0.05” and the row labeled 17 degrees of freedom; the right critical value is xa
2 = x0.05 2 = 27.587.
Step 5: Compare the test statistic 1X22 with the critical value 1XA2 2. Because x2 = 7.56 is lower than x0.95
2 = 8.672 (the left critical value), we reject the null hypothesis.
Step 6: State your conclusions. By rejecting the null hypothesis, we have evidence that the population standard deviation is not equal to 0.15 ounces. It appears that filling process is experiencing a lower variance than what it normally demonstrates. Either the process is working better than earlier reported or the measurement process is possibly flawed.
b.
c. Because the p-value = 0.0248 and is less than a = 0.10, we reject the null hypothesis.
Y o u r T u r n # 3 a. Step 1: Calculate the variance for each sample.
Using Excel’s VAR.S function, we have the following:
s10:00 2 = 51.34
s11:00 2 = 37.82
Step 2: Identify the null and alternative hypotheses. When dealing with the comparison of two population variances, assign the larger sample variance to Population 1 and the smaller sample variance to Population 2:
Population 1 = The scores from the 10:00 A.M. class Population 2 = The scores from the 11:00 A.M. class
H0: s1 2 … s22
H1: s1 2 7 s22
111:00 a.m. class has lower variance than 10:00 a.m. class2 Step 3: Set a value for the significance level, A.
Set a = 0.01 for this hypothesis test.
Step 4: Calculate the F-test statistic. Plugging our sample variances into Equation 13.3 results in the following:
F = s1
2
s2 2
= 51.34
37.82 = 1.357
Step 5: Determine the critical value, FA. For our exam score example, the degrees of freedom are as follows:
D1 = n1 - 1 = 10 - 1 = 9 D2 = n2 - 1 = 10 - 1 = 9
Select the section of Table 6 in Appendix A labeled “Area in the Right Tail of Distribution = 0.01” because we set a = 0.01 for this hypothesis test. Go to the D1 = 9 column and D2 = 9 row to find Fa = F0.01 = 5.351.
Step 6: Compare the test statistic (F) with the critical value 1FA2 . Because F = 1.357 is less than Fa = 5.351, we fail to reject the null hypothesis.
Y o u r T u r n # 2
www.freebookslides.com
650
a. Step 1: Calculate the variance for each sample.
slucky 2 = 10.622 = 0.36
sless fortunate 2 = 10.822 = 0.64
Step 2: Identify the null and alternative hypotheses. Once again, we assign the larger sample variance to Population 1 and the smaller sample variance to Population 2.
Population 1 = Less@fortunate rats Population 2 = Lucky rats
Because we are interested only in examining a difference in population variances, we have the following two-tail test:
H0: s1 2 = s2
2
H1: s1 2 ≠ s2
2 1population variances are different2 Step 3: Set a value for the significance level, A.
Set a = 0.10 for this hypothesis test.
Step 4: Calculate the F-test statistic. Plugging our sample variances into Equation 13.3 results in the following:
F = s1
2
s2 2
= 0.64
0.36 = 1.778
Step 5: Determine the critical value, FA. For our rat example, we have the following degrees of freedom:
D1 = n1 - 1 = 25 - 1 = 24 D2 = n2 - 1 = 20 - 1 = 19
Because we have a two-tail test, the area that corresponds to a = 0.10 is split evenly 1a>2 = 0.052 between the two tails of the distribution. This means that the area in the right tail of the distribution is 0.05. Select the portion of Table 6 in Appendix A labeled “Area in the Right Tail of Distribution = 0.05” for this hypothesis test. Go to the D1 = 24 column and D2 = 19 row to find Fa>2 = F0.05 = 2.114.
Step 6: Compare the test statistic (F ) with the critical value 1FA2. Because F = 1.778 is less than Fa>2 = 2.114, we fail to reject the null hypothesis.
Step 7: State your conclusions. By failing to reject the null hypothesis, we do not have evidence to conclude that the variances are different for the two rat populations. Even though we cannot accept the null hypothesis and state that the two populations have equal variances, this result provides enough evidence to satisfy the variance requirement for the original test comparing population means.
b. Be sure to assign the less fortunate rats to Population 1.
c. The p-value reported in Cell B19 equals 0.2041. Because this p-value is more than a = 0.10, we do not have evidence to conclude that the variances are different for the two rat populations.
Y o u r T u r n # 4
Step 7: State your conclusions. By failing to reject the null hypothesis, we do not have evidence that the variance for the 11:00 a.m. class is less than the variance for the 10:00 a.m. class. It does not appear that working in groups reduces the test-score variability.
b.
c. The p-value reported in Cell E9 equals 0.3281. This value represents the probability of obtaining a calculated F-score of 1.358 or higher if the null hypothesis is true. Because this p-value is more than a = 0.01, we fail to reject the null hypothesis and conclude that working in groups does not reduce test-score variability.
www.freebookslides.com
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Distinguish between a dependent and an independent variable.
■ Use correlation analysis to measure the strength and direction in a relation between two variables.
■ Use the least squares method to determine the slope and intercept of a linear equation that best fits a set of ordered pairs.
■ Partition the sum of squares for a dependent and an independent variable.
■ Calculate and interpret the coefficient of determination.
■ Test the significance of the slope of the regression equation.
■ Understand the underlying assumptions for regression analysis.
Correlation and Simple Linear Regression
C h a p t e r 1 4 M a p
14.1 Dependent and Independent Variables | 653
14.2 Correlation Analysis | 653
14.3 Simple Linear Regression Analysis | 660
14.4 Using a Regression to Make a Prediction | 672
14.5 Testing the Significance of the Slope of the Regression Equation | 679
14.6 Assumptions for Regression Analysis | 684
14.7 A Simple Regression Example with a Negative Correlation | 687
14.8 Some Final (but Very Important) Thoughts | 696
14 C h a p t e r
www.freebookslides.com
652 C h a p t e r 14 | Correlation and Simple Linear Regression
Stats in practice: Beware of positive Correlation with Your Investments
According to the Wall Street Journal article “Why the Math of Correlation Matters” by Jonnelle Marte, the concept of correla- tion should be a key part of your financial investment strategy. Correlation, in this setting, simply measures the degree to which investment values move together. For example, if the price of Stock A tends to increase whenever the price of Stock B increases, these two investment assets have a positive correla- tion. This also implies that if the price of Stock B decreased, the price of Stock A would also tend to decrease.
What does this mean if you are an investor? It means that if you own investments that are positively correlated with one another, your returns will tend to be very volatile. When the returns are good, they will be very, very good. But when they are bad, they will be horrid.
Generally speaking, investors don’t like volatility. It scares them to think they could lose a lot of money quickly. Instead, inves- tors would rather earn moderate, steady returns. According to Cassandra Toroian, president and chief investment officer of Bell Rock Capital LLC, an investment firm based in Rehoboth Beach, Delaware, investors rely on correlation to help smooth out volatility in their portfolio.
On the other end of the scale is negative correlation, which exists when the returns on assets tend to move in opposite directions from one another. For example, if the price of Stock A tends to rise when the price of Stock B falls, these assets exhibit negative correlation. Perfect negative correlation is measured with a value of - 1.0. By contrast, perfect positive correlation is measured with a value of + 1.0. Financial investments that move indepen- dently of one another are considered to be uncorrelated, which is represented with a value that is close to zero. This would be ob- served in financial portfolios that are properly diversified, which is a goal of many investors.
Figure 14.1 shows how various investment assets are corre- lated with the stock market as a whole (the S&P 500). You can see from this chart that the prices of stocks move in the same direction as the S&P 500. Treasury bills and bonds tend to move in an opposite direction, which is a pattern well known in the financial world.
The bottom line of Marte’s Wall Street Journal article is that you should rely on correlation to ensure your investment portfolio is properly diversified. What a great reason to master correlations—the topic of this chapter.
Based on: “Why the Math of Correlation Matters,” Wall Street Journal, October 4, 2010, http://online.wsj.com.
{ figure 14.1 Correlation between the S&P
500 Index and Various Invest- ments Using Excel
As a student, have you ever wondered how many hours you need to study to score a grade such as a 90 on your next exam? I know that I did as student back in the Dark Ages. What you are really looking for is the linear relationship between hours of study and exam score. The purpose of this chapter is to explain two techniques that describe such a linear relationship.
The first technique we will use is correlation analysis, which determines the strength and direction of the linear relationship between two variables. We will then perform a hy- pothesis test to determine if the strength of the linear relationship between hours of study and exam grade is strong enough to be useful.
The second technique we will explore is simple regression, which describes the linear relationship between the two variables using a linear equation. With this equation, we will be
www.freebookslides.com
C h a p t e r 14 | 14.2 Correlation Analysis 653
able to predict an exam score given a specific number of study hours. Again, we will need to perform hypothesis testing to determine if the results are accurate enough to be useful.
There are many useful applications for simple regression and correlation in the business world. Consider the following examples:
• Century 21 Realtors would like to establish the linear relationship between the living space in a house and its eventual selling price in a particular town.
• A manager at a certain Best Buy store would like to know what effect dropping the price of an HP printer by $10 will have on the demand for the printer the following week.
• The Coca-Cola Company would like to predict the extent to which running a 30-second Super Bowl commercial will improve the sales of Coke.
However, before we begin learning about these procedures, we need to discuss the concept of dependent and independent variables.
14.1 Dependent and Independent Variables
An independent variable, x, explains the variation (which is a fancy word for change) in another variable, which is called the dependent variable, y. This linear relationship between independent and dependent variables exists only in one direction and is as follows:
Independent variable 1x2 S Dependent variable 1y2 For example, in the used car market, the mileage of the car would be the independent vari- able, and the price of the car would be the dependent variable. As the miles on the car’s odometer increases, you would expect the price of the car to decrease.
This linear relationship between the independent and dependent variables does not work in reverse. For example, changing the price of the car will not cause a change in the odom- eter mileage.
Other examples of independent and dependent variables are shown in Table 14.1.
An independent variable, x, explains the variation (which is a fancy word for change) in another variable, which is called the dependent variable, y.
The sample correlation coefficient, r, indicates both the strength and direction of the linear relationship between the independent and dependent variables.
{ table 14.1 | Examples of Independent and Dependent Variables
independent variable dependent variable
The size of a television screen ¡ The selling price of the television
The number of visitors per day on a Web site
¡ The amount of sales per day from the Web site
The curb weight of a car ¡ The car’s gas mileage
14.2 Correlation Analysis As I mentioned in the start of this chapter, a correlation analysis allows us to measure both the strength and direction of the linear relationship between two variables by calculating the sample correlation coefficient, r. I first introduced the sample correlation coefficient in Chapter 3 when we used the covariance of two variables for our calculations. In this section, I will dem- onstrate a different procedure to determine the correlation coefficient. However, the Chapter 3 method can be used in place of the correlation coefficient calculations shown in this section. After r is calculated, you will learn how to perform a hypothesis test to decide if the linear rela- tionship between the two variables is strong enough to be considered statistically significant.
Suppose I would like to investigate the linear relationship between the number of hours students study for a statistics exam and the grades they get for that exam. Table 14.2 shows sample data from six students who were randomly chosen. These data can also be found in the Excel file exam grades.xlsx.
Exercise caution when deciding which variable is independent and which is dependent. Examine the relationship from both directions to see which one makes the most sense.
A relationship is linear if the scatter plot of the independent and dependent variables has a straight-line pattern. See Figure 14.2 for an example.
www.freebookslides.com
654 C h a p t e r 14 | Correlation and Simple Linear Regression
Call me old fashioned, but I would expect the number of hours studying to affect the grade. Since I envision having your rapt attention at this moment, I’m hoping you agree. The Hours of Study variable is considered the independent variable 1x2 because we expect that it affects the change in the Exam Grade, which is considered to be the dependent variable 1y2. Using the data from the previous table, we can create ordered pairs 1x, y2 of values, such as (3,86) and (6,95).
Figure 14.2 shows the scatter plot for the six sets of ordered pairs. Our job in this chap- ter is to measure the linear relationship between these two variables in terms of both the direction and strength.
{ table 14.2 | Statistics Exam Data
student hours of study exam grade
1 3 86
2 6 95
3 4 92
4 4 83
5 3 78
6 2 79
{ table 14.3 | A Summary of the Calculations for the Exam Example
hours of study exam grade
x y xy x2 y2
3 86 258 9 7,396
6 95 570 36 9,025
4 92 368 16 8,464
4 83 332 16 6,889
3 78 234 9 6,084
2 79 158 4 6,241
a x = 22 a y = 513 a xy = 1,920 a x 2 = 90 a y 2 = 44,099
{ figure 14.2 The Scatter Plot of the
Exam Data
0
100
95
90
85
80
75
70 1 2 3
Hours of Study
E xa
m G
ra d
e
4 5 6 7
The next step in this process is to construct Table 14.3, which will provide you with the values you need for future calculations. The third column in this table is the product of x and y. The fourth and fifth columns are the squares of x and y, respectively.
It’s always a good idea to graph your data on an x–y scatter plot before doing your analysis. See Chapter 2 for a quick refresher on how to create scatter plots in Excel.
www.freebookslides.com
C h a p t e r 14 | 14.2 Correlation Analysis 655
Formula 14.1 for the sample correlation coefficient
r = n a xy - 1a x21a y2
B c n a x 2 - 1a x22 d c n a y 2 - 1a y22 d
Every calculation that will be performed in this chapter can be completed using the five summation values shown in Table 14.3 along with the value for n, which represents the number of ordered pairs in the table. For this example, n = 6. I call these values “The Six-Number Summary for Correlation and Simple Regression,” or SNSCSR for short. I sug- gest writing them down and putting them somewhere safe, as we will be referring to them throughout the rest of this chapter.
the Sample Correlation Coefficient We are now ready to calculate the sample correlation coefficient, r, for our exam-grade ex- ample using Equation 14.1.
With a x2, we first square each value of x and then add each squared term. With 1 a x2 2, we first add each value of x, and then square this result. The answers between the two are very different!
A correlation analysis requires that the data be either interval data or ratio data. See Chapter 1 for a review of these two data measurement levels.
I know from experience that many of my students get that glassy-eyed, deer-caught-in-the- headlights look when I first show them this equation. But there’s no need to panic. Pull out your handy-dandy SNSCSR values and simply plug them in, very carefully.
r = n a xy - 1a x2 1a y223n a x 2 - 1a x224 3n a y 2 - 1a y224
r = 16211,9202 - 122215132231621902 - 1222243162144,0992 - 1513224
r = 111,5202 - 111,28622315402 - 14842431264,5942 - 1263,16924
r = 2342356431,4254 = 234279,800 = 234282.5 = 0.828
What exactly does the r value mean? As I mentioned earlier, the correlation coefficient, r, provides us with both the strength and direction of the linear relationship between an indepen- dent variable and a dependent variable. The values of r range from - 1.0 to + 1.0. When r is positive, the linear relationship between x and y is positive. This means that as the value of x in- creases, the value of y tends to increase. By contrast, when r is negative, the linear relationship between x and y is negative. So, as the value of x increases, the value of y tends to decrease.
The strength of the linear relationship between x and y is measured by how close the sample correlation coefficient is to + 1.0 or - 1.0. Figure 14.3 illustrates the strengths of vari- ous correlation coefficients.
{ figure 14.3 The Strength and Direction
of Various Linear Relation- ships, along with Their Sample Correlation Coefficients
x
y
r = 1.0
x
y
r = –1.0
x
y
r = 0.6
x
y
r = 0
A B
C E x
y
r = –0.4
D
The correlation coefficient is not a measure of the slopes in Figure 14.3, although it may appear that way after looking at the graphs.
www.freebookslides.com
656 C h a p t e r 14 | Correlation and Simple Linear Regression
Graph A shows that there is a perfect positive correlation between x and y when r = + 1.0. We see that the value of y increases at a steady rate as the value of x increases.
Graph B shows a perfect negative correlation between x and y when r = - 1.0. This is just the opposite of Graph A. The value of y decreases at a constant rate as the value of x in- creases. This type of perfect correlation shown in Graphs A and B is rarely seen in business settings.
Graph C shows a weaker positive linear relationship between the variables. In this sce- nario, y tends to increase as x increases, but not necessarily at the steady rate we observed in Graph A. This type of linear relationship might be observed between the variables advertis- ing and sales. That is, there is a positive correlation between the amount an organization spends on advertising and the sales it makes.
Graph D shows a negative linear relationship between the variables that is slightly weaker than Graph C because the correlation coefficient is closer to zero. Also, you can observe more “scatter” in the data when you compare this with Graph C. In this scenario, y tends to decrease as x increases, but not necessarily at the steady rate we observed in Graph B. Conceivably, this type of linear relationship describes the pattern that variables such as price and demand for many consumer products tend to follow. In other words, when the price of a product rises, people want to buy less of it.
Finally, Graph E shows the case where r = 0, which means there is no linear relation- ship between x and y. As x increases, there appears to be no particular pattern for the values of y.
Because r = 0.828 in our example, we have discovered a fairly strong positive linear relationship between Hours of Study and Exam Grade. Those students who studied more tended to have better grades. Just what a teacher wants to hear!
Using excel to Calculate the Sample Correlation Coefficient You can use the CORREL Function in Excel to calculate the Sample correlation coefficient. It has the following characteristics:
= CORREL1array1, array22 where
array1 = The range of data for the first variable array2 = The range of data for the second variable Figure 14.4 shows how to calculate the correlation coefficient for the exam-grade
example. Cell C1 contains the Excel formula = CORREL (A2:A7,B2:B7), with the result being 0.828.
{ figure 14.4 Using Excel to Calculate the
Correlation Coefficient
It doesn’t matter which variable goes first or second. The result will be the same either way. Now it’s time to test what you’ve learned by tackling this next Your Turn problem.
www.freebookslides.com
C h a p t e r 14 | 14.2 Correlation Analysis 657
Conducting a hypothesis test to Determine the Significance of the population Correlation Coefficient The value r that we calculated in the previous section represents the correlation coefficient for a random sample of six students selected from a larger student population. By contrast, the population correlation coefficient 1R2 refers to the correlation between all of the stu- dents’ study hours and the grades they received. Because we have not gathered data on every student who took the exam, we do not know the value of the actual population correlation coefficient. We can, however, perform a hypothesis test to determine if the population cor- relation coefficient, r, is significantly different from zero based on the sample correlation coefficient, r. This test uses the following hypothesis statement:
H0: r … 0 H1: r 7 0
If we reject the null hypothesis, we have enough evidence from our sample to conclude that a linear relationship does exists between the hours studied and the exam scores earned by the student population. We are testing for the significance of the population correlation coef- ficient because we are determining if this value is significantly different from zero. For this test, we will use a = 0.05. I am using a one-tail (upper) hypothesis test for this example be- cause my hope is to conclude that the population correlation coefficient is positive (the more you study, the better your grade). The next Your Turn problem will look at the two-tail case of this test.
The test statistic for this hypothesis test uses the Student’s t-distribution as shown in Equation 14.2.
The population correlation coefficient 1R2 refers to the correlation between all values of two variables of interest in a population.
The Swiss Hiking Federation (SHF) is an organization that is responsible for promoting the safe use of the hiking trail system throughout Switzerland. Trails are clearly marked with signposts and the approxi- mate hiking time to assist individuals with their hiking agenda. Suppose the SHF would like to investi- gate the linear relationship between the amount of time to hike the Wengen-Kleine Scheidegg trail in the Jungfrau region and the age of the hiker. A random sample of seven hikers on this trail was selected and their age and hiking time, in hours, are shown here. These data can also be found in the Excel file Wengen.xlsx.
Age Time Age Time
24 2.7 26 2.2
32 4.2 53 2.9
47 5.0 38 3.0
40 3.8
Calculate the sample correlation coefficient for this sample.
Y o U r t U r n # 1N
Answer can be found on u page 704My wife and I had the pleasure of hiking this beautiful trail in 2012.
Remember, a correlation coefficient equal to zero means that there is no linear relationship between x and y.
Formula 14.2 for the test statistic for the correlation coefficient
t = rB 1 - r 2n - 2
www.freebookslides.com
658 C h a p t e r 14 | Correlation and Simple Linear Regression
where
r = The sample correlation coefficient n = The number of ordered pairs
Calculating the test statistics requires the following data from the previous section:
r = 0.828 n = 6
Plugging these values into Equation 14.2 results in the following test statistic:
t = rB 1 - r 2n - 2 = 0.828B 1 - 10.828226 - 2 = 0.828B 1 - 0.68564
t = 0.828B 0.31444 = 0.82830.0786 = 0.8280.2804 = 2.953
The critical t-score, ta, defines the rejection region for this one-tail test. We can find the criti- cal t-score for this test in Table 5 from Appendix A with n - 2 degrees of freedom. Because we have grades from six students, there are 6 - 2 = 4 degrees of freedom for our example. Using a = 0.05 for a one-tail test, the critical t-score is found to be ta = 2.132. We can also obtain our critical t-score for a one-tail test using Excel’s T.INV function, which was intro- duced in Chapter 9. We need the absolute value of this function’s result because it returns the left-tail area associated with a. For our exam-grade example, our critical t-score is
= � T.INV10.05, 42 � = � -2.132 � = 2.132 Because t = 2.953 is to the right of ta = 2.132, we reject the null hypothesis and conclude that the population correlation coefficient is greater than zero. Figure 14.5 illustrates this result. We can now conclude that there appears to be a linear relationship between the hours that the population of students studied and their exam scores. This author heaves a sigh of relief. I’m glad to know I didn’t write all of the Your Turn questions in this book for no reason!
Don’t confuse correlation with causation. Correlation simply measures how one variable moves with another. We cannot, however, assume that one variable causes movement in the other variable.
{ figure 14.5 Testing the Significance of the
Population Correlation Coefficient
0 µ
2.132 2.953 ta t
Do Not Reject H0 0.95
Reject H0 0.05
We can determine the p-value for this one-tail (upper) hypothesis test by using Excel’s T.DIST.RT function, which was introduced in Chapter 9.
p@value = T.DIST.RT12.953, 42 = 0.0209 Because this value is less than a = 0.05, we can reject the null hypothesis.
In the last example, we set up a one-tail hypothesis test to determine if the population correlation coefficient was greater than zero. We can also conduct a two-tail test to determine if the population correlation coefficient is not equal to zero. Try your hand at a two-tail test for the significance of the correlation coefficient in the following Your Turn problem.
Test to determine if the population correlation coefficient for the Swiss hiking data from Your Turn #1 is not equal to zero using a = 0.10.
Y o U r t U r n # 2N
Answer can be found on u page 705
www.freebookslides.com
C h a p t e r 14 | 14.2 Correlation Analysis 659
14.2 Section Problems Basic Skills 14.1 Consider the following ordered pairs:
x 4 7 2 6 6 y 6 9 5 5 7
Calculate the sample correlation coefficient.
14.2 Perform a hypothesis test with the data from Problem 14.1 to determine if the population correlation coefficient is not equal to zero using a = 0.05. What are your conclusions?
14.3 Consider the following ordered pairs:
x 7 6 2 3 y 6 8 9 6
Calculate the sample correlation coefficient.
14.4 Perform a hypothesis test with the data from Problem 14.3 to determine if the population correlation coefficient is less than zero using a = 0.05. What are your conclusions?
applications 14.5 Fair Isaac, the company that developed the credit score
model used by most lenders today, would like to examine the linear relationship between the age and credit score of an individual. The following table shows the credit scores and ages of 10 randomly selected people:
Age Credit Score Age Credit Score
36 675 47 790
24 655 35 720
54 760 59 760
28 615 40 685
31 660 42 610
Determine the sample correlation coefficient between a person’s age and credit score.
14.6 Using the data from Problem 14.5 and a = 0.02, test if the population correlation coefficient between a person’s age and credit score is different than zero. What conclu- sions can you draw?
14.7 Best Buy would like to investigate the linear relationship between the selling price of a Canon PowerShot digital camera and the demand for it. The following table shows the weekly demand for the camera in one particular mar- ket along with the corresponding price:
Demand Price ($) Demand Price ($)
16 300 11 340
19 310 12 350
14 320 8 360
13 330
Determine the sample correlation coefficient between the selling price and the demand for this camera.
14.8 Using a = 0.10 and the data from Problem 14.7, test if the population correlation coefficient between the sell- ing price and the demand for the camera is less than zero. What conclusions can you draw?
14.9 The University of Delaware would like to describe the linear relationship between the grade point average (GPA) and the starting monthly salary of a graduate who earned a business degree from the university. The following table shows the monthly starting salaries for eight graduates of the business school along with their corresponding GPAs:
Starting Salary ($) GPA
Starting Salary ($) GPA
2,600 3.2 3,000 3.7
2,900 3.4 2,900 4.0
2,500 2.6 2,200 2.5
2,600 3.5 2,400 3.3
Determine the sample correlation coefficient between the starting salary and the GPA of a University of Delaware business graduate.
14.10 Using a = 0.05 and the data from Problem 14.9, test if the population correlation coefficient between the starting salary and the GPA of a University of Delaware business graduate is greater than zero. What conclusions can you draw?
14.11 The following table shows the selling prices, in thousands of dollars, and the square footages of seven randomly se- lected houses recently sold by Century 21 Realtors.
Price ($) Square
Feet Price ($) Square
Feet
258 2,730 249 2,310
191 1,860 245 2,450
253 2,140 282 2,920
168 2,180
Determine the sample correlation coefficient between a house’s selling price and its square footage.
14.12 Using a = 0.10 and the data from Problem 14.11, test the significance of the population correlation coefficient between a house’s selling price and its square footage. What conclusions can you draw?
www.freebookslides.com
660 C h a p t e r 14 | Correlation and Simple Linear Regression
14.3 Simple Linear Regression Analysis We now know that the correlation coefficient provides us with a measurement describing the strength and direction of the linear relationship between two variables. The next procedure we’ll discuss, known as simple regression analysis, enables us to describe a straight line that best fits a series of ordered pairs 1x, y2. As you will see later in this section, having a straight line that describes the linear relationship between the independent 1x2 and the de- pendent 1y2 variable provides some advantages over the correlation coefficient.
We begin this procedure by collecting a random sample of ordered pairs from a popula- tion of interest. The equation that describes a straight line through our sample of ordered pairs, known as a linear equation, takes the form shown in Equation 14.3.
The technique of simple regression analysis enables us to describe a straight line that best fits a series of ordered pairs 1x, y2.
Formula 14.3 for the equation Describing a straight line through ordered pairs
yn = b0 + b1x This technique is known as simple regression because we are using only one independent variable. Chapter 15 will introduce the multiple regression technique, which includes more than one independent variable.
where
ny = The predicted value of y given a value of x x = The independent variable from the sample
b0 = The sample y-intercept of the straight line b1 = The sample slope of the straight line
Figure 14.6 illustrates this concept.
{ figure 14.6 The Equation for a Straight Line
Graphically Illustrated 7
6
5
4
3
2 2
1
1
0
b0 = 2
ˆ
76543210
b1 = = = 0.5 Rise Run
1 2
y
x
y = 2 + 0.5x
Figure 14.6 shows a line described by the equation yn = 2 + 0.5x. The y-intercept is the point where the line crosses the y-axis (that is, the value of y when x is zero). So in this case, b0 = 2. The slope of the line, b1, is the ratio of the rise of the line over the run of the line. In this case, b1 = 0.5. A positive slope like the one shown in the figure indicates that the line is rising from left to right. If the slope in Figure 14.6 were negative, the line would move lower as it moved from left to right. If the slope equaled zero, the line would be horizontal, which would mean there is no linear relationship between the independent and the dependent variable. In other words, a change in the value of x would have no discernable effect on the value of y.
So far in this section we have focused our attention on the sample of ordered pairs. However, our real interest lies in the population from which our sample was taken. The sim- ple linear regression model for a population can be described using Equation 14.4.
Formula 14.4 for the simple linear regression Model for a population
yi = b0 + b1xi + ei
An ordered pair is a set of x and y values that pertains to a specific observation.
www.freebookslides.com
C h a p t e r 14 | 14.3 Simple Linear Regression Analysis 661
where
yi = The ith observation for the dependent variable from the population b0 = The population y-intercept b1 = The population slope xi = The ith observation for the independent variable from the population ei = The residual for the ith observation from the population Our goal in this chapter is to estimate b0 and b1 based on our sample of ordered pairs.
The residual in Equation 14.4 can be considered an error term and is discussed in more de- tail with Equation 14.5.
My students sometimes struggle with the distinction between yn and y. Figure 14.7 shows six ordered pairs and a line that appears to fit the data described by the equation yn = 2 + 0.5x.
The difference between the actual data value and the predicted value is known as the residual, ei.
{ figure 14.7 The Difference between y and yn
Graphically Illustrated 7
6
5
4
3
2
1
0 0 1
(2, 4)
ŷ = 2 + 0.5x
2 3 4 5 6 7
x = 2 y = 4 ŷ = 3
y
x
Figure 14.7 shows a data point that corresponds to the ordered pair x = 2 and y = 4. Notice that the predicted value of y, which you can find by looking up the dotted line ris- ing from x = 2 and over to the left, is yn = 3. We can verify this using the Equation 14.3 as follows:
yn = 2 + 0.5x = 2 + 0.5122 = 3 The value of y represents an actual data point. By contrast, the value of yn is the predicted value of y using the linear equation, given a value for x. The difference between the actual data value and the predicted value is known as the residual, ei , which is shown in Equation 14.5.
Formula 14.5 for the residual
ei = yi - yni
where
ei = The residual of the ith observation in the sample yi = The actual value of the dependent variable for the ith data point yni = The predicted value of the dependent variable for the ith data point The residual for the data point that corresponds to the ordered pair x = 2 and y = 4 is
therefore as follows:
ei = yi - yni = 4 - 3 = 1
We will revisit the importance of the residual later in this chapter. Our next step is to find the linear equation that best fits a set of ordered pairs.
www.freebookslides.com
662 C h a p t e r 14 | Correlation and Simple Linear Regression
the Least Squares Method The least squares method is a mathematical procedure used to identify the linear equa- tion that best fits a set of ordered pairs. The line that best fits the ordered pairs is called the regression line. The procedure can be used to find the values for b0 (the y-intercept) and b1 (the slope of the line). The goal of the least squares method is to minimize the total squared error between the values of y and yn, which provides us with the best fitting line through our data points. The least squares method will minimize the sum of squares error (SSE), which is described in Equation 14.6.
The least squares method is a mathematical procedure used to identify the linear equation that best fits a set of ordered pairs.
The regression line is the line that best fits the data.
Formula 14.6 for the sum of squares error
SSE = a n
i = 1 1yi - yni22
where
n = The number of ordered pairs around the line that best fits the data This concept is illustrated in Figure 14.8.
{ figure 14.8 Minimizing the Sum of Squares
Error 7
6
5
4
3
2
1
0 0 1 2 3 4 5 6 7
y2 – ŷ2
y3 – ŷ3
y1 – ŷ1
y4 – ŷ4
y
x
According to Figure 14.8, the regression line that best fits the data will minimize the total squared error of the four data points.
As I mentioned earlier, the purpose of the least squares method is to determine the values for b0 (the y-intercept) and b1 (the slope) for the regression equation yn = b0 + b1x. These values can be obtained in one of three ways:
1. Your instructor has a brain lapse and simply gives you the values.
2. You calculate the values manually using equations.
3. Excel calculates the values.
Counting on the first option is an act of pure desperation known as the “Hail Mary pass” of statistics, which rarely works. (Unless, of course, your name is Doug Flutie. For those of you who are too young to know who Doug Flutie is, go to YouTube and type in “Flutie Hail Mary.” Play the video clip and you will see one of the greatest endings of a college football game ever—one in which a Hail Mary pass actually worked. For those of you not named Doug Flutie, I will demonstrate the last two techniques.)
Imagine moving the blue line in Figure 14.8 to a different position. This would cause some of the error terms to get smaller while others would become larger. The least squares method finds the one line position that minimizes the sum of squares error for all of the data points.
www.freebookslides.com
C h a p t e r 14 | 14.3 Simple Linear Regression Analysis 663
Formula 14.8 for the regression Intercept
b0 = a y
n - b1 a a xn b
Using the SNSCSR values with n = 6 for our exam-grade example, which I asked you to put in a safe place earlier in the chapter, we first calculate the slope of the regression equa- tion 1b12 using Equation 14.7:
a x = 22 a y = 513 a xy = 1,920 a x 2 = 90 a y 2 = 44,099 b1 =
n a xy - 1 a x2 1 a y2 n a x 2 - 1 a x22
b1 = 162119202 - 122215132
1621902 - 12222
b1 = 11520 - 11286
540 - 484 =
234
56 = 4.1786
Once the slope has been determined, use it to calculate the y-intercept using Equation 14.8:
b0 = a y
n - b1 a a xn b
b0 = 513
6 - 14.17862a 22
6 b
b0 = 85.5 - 14.1786213.66672 b0 = 85.5 - 15.3217 = 70.1783
The regression equation for the exam score data is therefore as follows:
yn = 70.1783 + 4.1786x
What does this regression equation mean for our exam-grade example? Because b1 = 4.1786, we can conclude that each additional hour spent studying is associated with an average increase of 4.1786 points in exam scores. Also, because the slope is positive, in- creasing the hours of study will result in an increase in the exam score. This result is consis- tent with the conclusions from the correlation coefficient.
The interpretation for the y-intercept requires a little more caution. Technically, the y-intercept represents the value of yn when x = 0. For our exam grade example, this repre- sents the grade for a student who studies zero hours, or
yn = 70.1783 + 4.1786102 = 70.1783 The problem with this interpretation is that we have no values from our sample where x = 0. This makes our conclusions that a student who does not study will receive an average grade of 70 unreliable. This issue will be discussed in more detail later in the chapter.
What is the predicted exam grade for a student who studies 3.0 hours? If we set x = 3.0 in the regression equation, we get the following:
yn = 70.1783 + 4.178613.02 yn = 70.1783 + 12.5358 = 82.7 ≈ 83
You’re probably thinking that carrying these calculations out to four decimal places seems excessive. However, doing so reduces the rounding errors, which is important because we will use these values for calculations later in the chapter. Check with your instructor concerning his or her expectations for rounding.
Formula 14.7 for the regression slope
b1 = n a xy - 1 a x2 1 a y2
n a x 2 - 1 a x22
Calculating the Slope and y-Intercept Manually Equations 14.7 and 14.8 can be used to calculate the slope and y-intercept, respectively.
www.freebookslides.com
664 C h a p t e r 14 | Correlation and Simple Linear Regression
The predicted exam score for a student who studies 3.0 hours is an 83. We call this a point estimate for the regression equation. A little later, we will investigate the accuracy of this estimate using confidence intervals.
Having a straight line describe the linear relationship between the two variables has some advantages over using the correlation coefficient. First, you can observe the effect that the independent variable has on the dependent variable. For example, if a car dealership has his- torical data tracking the selling prices of used 2007 Honda Civics with various mileages, the dealership could discover what will happen to the selling price of one of these cars given an increase in its odometer reading. Second, a straight line allows you to predict a specific value for the dependent variable, given a value for the independent variable. With the proper data, for instance, our dealership could predict the selling price for a 2007 Civic with 52,000 miles.
Spend a couple of minutes on the next Your Turn problem to convince yourself that you know what you are doing before moving on. You’ll thank me later for not having to throw that Hail Mary pass come exam time!
Determine the regression equation for the Swiss hiking data from Your Turn #1. Use your results to pre- dict the hiking time for a 36-year-old hiker on Wengen-Kleine Scheidegg trail.
Y o U r t U r n # 3N
Answers can be found on u page 705
Calculating the Slope and y-Intercept Using excel Now that I have tortured you with those nasty slope/intercept calculations, I’m going to show you an easy way to generate those values using Excel with the following steps. Mac users can go to the textbook’s Web site for instructions on how to use PHStat for this procedure (www.pearsonhighered.com/donnelly).
1. Open the Excel file exam grades.xlsx or list the two variables, with labels, as Figure 14.9A shows. It doesn’t matter which variable goes in which column.
2. Go to the Data tab and select Data Analysis, which opens the Data Analysis dialog box shown in Figure 14.9A.
3. Scroll down to Regression and click OK. This opens the Regression dialog box shown in Figure 14.9B.
{ figure 14.9a Using Excel to Calculate the
Slope and y-Intercept (Steps 1–3)
www.freebookslides.com
C h a p t e r 14 | 14.3 Simple Linear Regression Analysis 665
In the Regression dialog box in Figure 14.9B, do the following:
4. Click on the first text box, which is labeled Input Y Range.
5. Because our y (dependent) variable is Exam Grades, highlight cells B1 to B7, which in- cludes the label “Grade.”
6. Click on the second text box, which is labeled Input X Range.
7. Highlight cells A1 to A7.
8. Because labels are included in our data range, check the Labels box as Figure 14.9B shows.
9. Click on Output Range. Then click on the text box to the right, followed by cell D1 in the spreadsheet. This tells Excel where to put the report. Click OK.
{ figure 14.9b Using Excel to Calculate
the Slope and y-Intercept (Steps 4–9)
Right before your very eyes, every calculation you can possibly dream of (that is, for a regression analysis) magically appears in your spreadsheet, as Figure 14.9C shows. In the bottom left-hand corner, you will find the two values under the “Coefficients” heading circled in red. These are the y-intercept and slope values for our regression equation. Notice they are slightly different from what we calculated in the last section. Have no fear—this is simply due to rounding differences. Also, the correlation coefficient r that we determined earlier in the chapter is found next to the “Multiple R” label (0.828).
{ figure 14.9c Using Excel to Calculate the
Slope and y-Intercept (Final Result)
I just know your curious minds are asking, “What about all those other numbers? When are we going to have to learn about them?” Don’t panic—we will be revisiting Figure 14.9C throughout this chapter and explaining what they all mean.
I recommend including labels in your data range because Excel will then use those labels in the final regression report, which will make the report easier to read.
www.freebookslides.com
666 C h a p t e r 14 | Correlation and Simple Linear Regression
Before we move on, I have one more trick to show you. You can add a regression line and display its corresponding equation in an Excel scatter plot. Use the grade data from the Excel file we just used and construct the scatter plot shown in Figure 14.2. Follow the steps outlined in Chapter 2 on page 62 if you need a refresher.
Once the scatter plot is completed, take the following steps to add the regression line to the graph:
1. Left-click on any of the data points in the scatter plot. This will highlight all the data points in the plot.
2. Right-click on one of the highlighted data points.
3. Left-click on Add Trendline in the drop-down menu. This opens the Format Trendline dialog box as shown in Figure 14.10.
4. Check the box for Display Equation on chart.
{ figure 14.10 Inserting a Regression Line
through the Data in a Scatter Plot Using Excel
As you can see for yourself, Excel draws the regression line through the data and dis- plays the regression equation right on the scatter plot. Please hold your applause until the end of the chapter.
partitioning the Sum of Squares Notice that the exam scores in our example differ among students. This difference is known as variation and is measured by a term known as the total sum of squares (SST ), which is described by Equation 14.9. Recall that SST was first introduced in Chapter 11 and appears here in a slightly different form because we are applying it to a dependent variable. But, rest assured, it has the same meaning.
Formula 14.9 for the total sum of squares (SST)
SST = a 1y - y22
where
y = A value of the dependent variable from the sample y = The average value of the dependent variable from the sample Unfortunately, Equation 14.9 is rather tedious to calculate manually. But don’t fret.
Equation 14.10 shows a more calculator-friendly version of the SST we can use instead.
The total sum of squares (SST ) measures the total variation in the dependent variable.
www.freebookslides.com
C h a p t e r 14 | 14.3 Simple Linear Regression Analysis 667
Let’s put Equation 14.10 to work with our SNSCSR values from the exam-grade example:
a y = 513 a y 2 = 44,099 n = 6 SST = a y 2 - 1 a y2
2
n
SST = 44,099 - 151322
6
SST = 44,099 - 43,861.5 = 237.5
Simply put, this value measures the squared difference between each exam score and the average exam score for the six students. The bigger the difference is between the scores, the larger the SST will be. If all six grades were the same, there would be no variation in y, which means the SST would equal zero.
Our next step is to partition (or divide) our SST value into two portions, the sum of squares regression (SSR) and the sum of squares error (SSE). (Recall that we discussed the sum of squares error earlier in the chapter but have not yet calculated it.) The linear relation- ship between the three sums of squares is shown in Equation 14.11.
Formula 14.10 for the total sum of squares (SST), calculator-Friendly Version
SST = a y 2 - 1 a y2 2
n
Formula 14.11 for the relationship between the SSR and SSE
SST = SSR + SSE
To explain the difference between the sum of squares regression and the sum of squares error, let’s look at the data from our original exam-grade example, which is shown again in Table 14.4.
{ table 14.4 | Data for the Statistics Exam
student hours of study exam grade
1 3 86
2 6 95
3 4 92
4 4 83
5 3 78
6 2 79
Notice that Student 2’s grade (95) is higher than Student 1’s (86). One reason for this differ- ence might be due to the fact that Student 2 studied 6 hours for the exam, whereas Student 1 studied 3 hours. There could also be other reasons for the difference in the scores not ac- counted for in our example, such as Student 1 missing some classes or not getting enough sleep the night before the exam. (Sound familiar?)
The sum of squares error (SSE ) measures the variation in the dependent variable that is due to variables other than the independent variable. In our exam-grade example, class atten- dance could be an “other” variable. Equation 14.6 describes the SSE, but I recommend you use the friendlier version shown in Equation 14.12.
The sum of squares error (SSE) measures the variation in the dependent variable that is explained by variables other than the independent variable.
www.freebookslides.com
668 C h a p t e r 14 | Correlation and Simple Linear Regression
This equation requires us to use our SNSCSR values, along with the y-intercept 1b02 and the slope 1b12 from the regression equation yn = 70.1783 + 4.1786x that we calculated in the previous section:
a y = 513 a xy = 1,920 a y 2 = 44,099 SSE = a y 2 - b0 a y - b1 a xy SSE = 144,0992 - 170.1783215132 - 14.1786211,9202 SSE = 44,099 - 36,001.47 - 8,022.91 SSE = 74.62
We now turn our undivided attention to the sum of squares regression. The sum of squares regression (SSR ) measures the amount of variation in the depen-
dent variable (exam grades) that is explained by the independent variable (hours of study). Equation 14.13 describes the SSR, but I recommend using Equation 14.11 for a simpler calculation.
Formula 14.12 for the sum of squares error (SSE), calculator-Friendly Version
SSE = a y 2 - b0 a y - b1 a xy
Formula 14.13 for the sum of squares regression (SSR)
SSR = a 1yn - y22
We can rearrange Equation 14.11 as follows to find the SSR (remember the SST = 237.5):
SST = SSR + SSE SSR = SST - SSE SSR = 237.5 - 74.62 = 162.88
In summary, we have partitioned our SST in the following manner:
SSR = 162.88 SSE = 74.62 SST = 237.5
We will put the numbers to work in the following sections. However, I sense that you need to show off your newfound skills to partition the sum of squares in the next Your Turn problem. Don’t let me stop you!
The sample coefficient of determination, R 2, measures the percentage of the total variation of our dependent variable that is explained by our independent variable from a sample.
The sum of squares regression (SSR ) measures the amount of variation in the dependent variable (exam grade) that is explained by the independent variable (hours of study).
Partition the SST for the Swiss hiking data from Your Turn #1 into the SSR and the SSE.
Y o U r t U r n # 4N
Answer can be found on u page 705
Calculating the Sample Coefficient of Determination The sample coefficient of determination, R 2, measures the percentage of the total variation of our dependent variable (grade) that is explained by our independent variable (hours of study). We find the coefficient of determination for simple regression using Equation 14.14.
The values for all three sum of squares should never be negative. If you do calculate a negative number, stop and check for your mistake!
www.freebookslides.com
C h a p t e r 14 | 14.3 Simple Linear Regression Analysis 669
The value of R 2 ranges from 0% to 100%. Higher values of R2 are more desirable than lower ones because we would like to explain as much of the variation of the dependent vari- able by the independent variable as possible. As we will see in Chapter 15, low values of R 2 mean that we either are using the wrong independent variable or need additional independent variables to explain the variation in the dependent variable.
Using the results from partitioning the sum of squares for the exam-grade example, we have the following:
SSR = 162.88 SST = 237.5
R 2 = SSR
SST =
162.88
237.5 = 0.686
We can now conclude that 68.6% of the total variation in exam grades can be explained by the hours of study. The value of the coefficient of determination ranges from 0 to 1.0. The higher the value, the stronger the linear relationship between the dependent and independent variables.
I love showing my students shortcuts, so here’s one for you. The sample coefficient of determination can also be determined by squaring the sample correlation coefficient, r (which we calculated earlier in the chapter) as follows:
R 2 = r 2 = 10.82822 = 0.686
Conducting a hypothesis test to Determine the Significance of the population Coefficient of Determination The value for R 2 that we calculated in the previous section represents the coefficient of de- termination for a random sample of six students that was collected from a larger student pop- ulation. This population has a population coefficient of determination, R2, that is unknown because we have not gathered data on every student who took the exam. We can, however, perform a hypothesis test to determine if the population coefficient of determination, r2, is significantly different from zero based on the sample coefficient of determination, R 2. This test uses the following hypothesis statement:
H0: r 2 … 0
H1: r 2 7 0
A one-tail (upper) test is appropriate here because the coefficient of determination cannot be negative. If we reject the null hypothesis, we have enough evidence from our sample to con- clude that a linear relationship exists between the hours studied and the exam scores in the student population. For this test, we will use a = 0.05.
The F-test statistic, which was named after the British statistician Ronald Fisher, is the appropriate test statistic to use for the coefficient of determination. Equation 14.15 shows how to calculate the F-test statistic for this procedure.
The population coefficient of determination, R2, measures for an entire population the percentage of the total variation of a dependent variable that is explained by an independent variable.
Remember, a population coefficient of determination equal to zero means that none of the variation in exam grades is explained by hours of study, which indicates that there is no linear relationship between x and y.
Formula 14.14 for the sample coefficient of Determination
R 2 = SSR
SST
Formula 14.15 for the F-test statistic for the coefficient of Determination
F = SSR
a SSE n - 2
b
www.freebookslides.com
670 C h a p t e r 14 | Correlation and Simple Linear Regression
We need to plug in the partitioned sum of squares values from earlier in the chapter:
SSR = 162.88 SSE = 74.62
The calculated F-score for this test is as follows:
F = SSR
a SSE n - 2
b =
162.88
a 74.62 6 - 2
b =
162.88
18.66 = 8.73
The critical F-score, Fa, identifies the rejection region for the hypothesis test. The test statistic shown in Equation 14.15 follows the F-distribution, which was
introduced in Chapter 11 with ANOVA. The critical value, Fa, can be found in Table 6 in Appendix A. The F-distribution has two types of degrees of freedom, D1 and D2, which correspond to the degrees of freedom for the SSR and the SSE:
D1 = 1 D2 = n - 2 = 6 - 2 = 4
The degrees of freedom for SSR 1D12 always equal 1 because we have only one independent variable with a simple regression. In Chapter 15 (multiple regression), D1 will equal the number of independent variables and can be greater than 1.
Using a = 0.05, the critical F-score found in Table 6 in Appendix A is Fa = 7.709. We can also obtain the critical F-score using Excel’s F.INV.RT function, which we intro- duced in Chapter 11, as follows:
= F.INV.RT 10.05, 1, 42 = 7.709 Because F = 8.73 is higher than Fa = 7.709, as Figure 14.11 shows, we reject H0 and con- clude that the population coefficient of determination is greater than zero. There appears to be a linear relationship between students’ exam grades and their hours of study.
{ figure 14.11 Testing the Significance of
the Population Coefficient of Determination
7.709 Fα
8.73 F
Do Not Reject H0 0.95 Reject H0
0.05
I promised we would take a closer look at all of the numbers we saw in the Excel output in Figure 14.9C. Figure 14.12 shows these numbers again. The coefficient of determination, R 2, is shown next to the “R Square” label (0.686) under the “Regression Statistics” heading and is circled in red. The sum of squares values that we calculated earlier are shown under the “SS” column heading in the ANOVA table, which is also circled in red. Excel uses the term residual instead of error. The calculated F-score is shown under the “F” column, and the degrees of freedom, D1 and D2, can be found under the “df” column. The slight differ- ences between our calculations and the values seen in Figure 14.12 are due to rounding.
This is a conclusion we should expect because earlier in the chapter we rejected the null hypothesis for the significance test of the correlation coefficient.
www.freebookslides.com
C h a p t e r 14 | 14.3 Simple Linear Regression Analysis 671
Excel also gives us the p-value for this hypothesis test under the “Significance F” col- umn in the ANOVA table. Recall from Chapter 9 that the p-value represents the area under the distribution to the right and/or left of the calculated test statistic. The p-value for our exam-grade example is shown graphically in Figure 14.13.
{ figure 14.12 Regression Output in Excel
{ figure 14.13 The p-Value for the Exam-Grade
Example
8.73 F
p-value = 0.0417
We can also obtain the p-value using Excel’s F.DIST.RT function which we introduced in Chapter 11 as follows:
= F.DIST.RT (8.73, 1, 4) = 0.0418
Because our p-value equals 0.0418, which is less than a = 0.05, we can reject the null hypothesis, which stated that there was no linear relationship between hours of study and exam grade. By rejecting this hypothesis, we can conclude that there is evidence that a linear relationship exists between these two variables.
Let’s test your understanding of this material before we move on to bigger and better things.
Calculate the coefficient of determination for the Swiss hiking data from Your Turn #1 and test its significance using a = 0.10.
Y o U r t U r n # 5N
Answers can be found on u page 705
14.3 Section Problems Basic Skills 14.13 Consider the following set of ordered pairs:
x 4 7 2 6 6 y 6 9 5 5 7
a. Calculate the slope and y-intercept for these data. b. Calculate the total sum of squares (SST). c. Partition the sum of squares into the SSR and SSE.
14.14 Using the data from Problem 14.13, calculate the sample coefficient of determination and test the significance of the population coefficient of determination using a = 0.05.
www.freebookslides.com
672 C h a p t e r 14 | Correlation and Simple Linear Regression
The standard error of the estimate, se, measures the amount of dispersion of observed data around a regression line.
14.15 Consider the following set of ordered pairs:
x 2 5 3 1 y 5 7 4 2
a. Calculate the slope and y-intercept for these data. b. Calculate the SST. c. Partition the sum of squares into the SSR and SSE.
14.16 Using the data from Problem 14.15, calculate the sample coefficient of determination and test the significance of the population coefficient of determination using a = 0.05.
applications 14.17 The following table shows the hot dogs bought from a street
vendor over the course of eight days (“Demand”). Also shown is the temperature for each day in degrees Celsius.
Temperature (˚C) Demand
Temperature (˚C) Demand
20 48 7 18
11 30 12 23
23 36 18 42
18 40 21 33
a. Calculate the slope and y-intercept for the linear re- gression equation for these data.
b. Predict the demand for hot dogs on a day with a tem- perature of 15°C.
c. Verify your results using Excel.
14.18 Use the data from Problem 14.17 to answer the following questions:
a. Calculate the SST. b. Partition the total sum of squares into the SSR and SSE. c. Calculate the sample coefficient of determination. d. Test the significance of the population coefficient of
determination using a = 0.05.
14.19 Consider the following partially completed ANOVA sum- mary table:
Source df SS MS F
Regression 1 600
Residual
Total 9 1000
a. Complete the remaining entries in the table. b. How many ordered pairs are in this sample? c. Calculate the sample coefficient of determination. d. Using a = 0.05, what conclusions can be made about
the population coefficient of determination?
14.20 The following data set shows the entrance exam score (Verbal GMAT) for each of eight MBA students along with his or her grade point average (GPA) upon graduation.
GMAT GPA GMAT GPA
310 3.7 350 4.0
290 3.0 270 3.0
260 3.1 300 3.7
280 3.2 300 3.0
a. Calculate the slope and y-intercept for the linear regression equation for these data.
b. Verify your results using Excel.
14.21 Use the data from Problem 14.20 to answer the following questions:
a. Calculate the SST. b. Partition the SST into the SSR and SSE. c. Calculate the sample coefficient of determination. d. Test the significance of the population coefficient of
determination using a = 0.05.
14.4 Using a Regression to Make a Prediction
As mentioned earlier, we can use our regression equation to predict the grades we would ex- pect students to get based on the number of hours they spend studying. Earlier in the chapter we figured out that a student who studies 3 hours could expect the following grade:
yn = 70.1783 + 4.178613.02 yn = 70.1783 + 12.5358 = 82.7 ≈ 83
What we don’t know yet is how reliable our prediction is because we have information only on a sample of students—not the entire population. So, just how accurate is our estimate based on the information we have? To answer this, we need to construct a confidence inter- val around our predicted exam grade to get a feel for the accuracy of the regression line. Recall from Chapter 8 that confidence intervals provide an estimate of a population param- eter based on a sample statistic. In this application, our confidence interval will provide a range of grades students can be confident of achieving if they study for a particular number of hours.
To construct such an interval, we first need to determine the standard error of the estimate, se, using Equation 14.16.
www.freebookslides.com
C h a p t e r 14 | 14.4 Using a Regression to Make a Prediction 673
The standard error of the estimate measures the amount of dispersion of observed data around a regression line. If the data points are very close to the line, such as in the graph on the left in Figure 14.14, the standard error of the estimate is relatively low. The graph on the right in Figure 14.14 shows a larger standard error because the actual data points are farther from our regression line.
Formula 14.16 for the standard error of the estimate
se = A SSEn - 2
{ figure 14.14 Comparing Standard Errors
of the Estimate
Small se Large se y
x
y
x
I hope you agree with me when I claim that a smaller standard error of the estimate is more desirable than a larger one. If my regression line is used to estimate the dependent variable (exam grades) given a value for the independent variable (hours of study), it will be more accurate if the data points are close to the line. That’s why we call it the standard error of the estimate!
Using our exam-grade data from the previous section and Equation 14.16, the standard error of the estimate is calculated as follows:
SSE = 74.62 n = 6
se = B SSEn - 2 = B 74.626 - 2 = 218.66 = 4.32 Make a note of this value because we will be using it in future calculations in the chap-
ter. Our next step is to calculate the confidence interval for y (the grade) around an average value of x (the hours of study).
the Confidence Interval for an average Value of y Based on a Value of x Notice that the first student in our sample studied 3 hours and earned a grade of 86. Our re- gression line predicted this student’s grade would be an 83. Now, I hear your curious mind asking, “I wonder what the 95% confidence interval would be for the average exam score for students who studied 3 hours?” Well, you’ve come to the right place. The answer to your excellent question lies in Equation 14.17.
Formula 14.17 for the confidence Interval (CI) for an average Value of y
CI = yn { ta>2se R1n + 1x - x221 a x 22 - 1 a x22n
www.freebookslides.com
674 C h a p t e r 14 | Correlation and Simple Linear Regression
where
CI = The confidence interval for an average value of y yn = The predicted exam grade for a student who studies 3 hours
ta>2 = The critical t-score from the Student’s t-distribution se = The standard error of the estimate n = The number of ordered pairs x = The average value of x from the sample
Now, before you start regretting your question, let’s put this equation to work one step at a time. From previous sections, we have determined the following values:
yn = 82.7 se = 4.32 n = 6 a x = 22 a x 2 = 90 We need to calculate the average value of x (hours of study) as follows:
x = a x n
= 22
6 = 3.667
To find our critical t-score, ta>2, we look at Table 5 in Appendix A. This pro- cedure has n - 2 = 6 - 2 = 4 degrees of freedom. For a = 0.05 and a two-tail test, we find that ta>2 = 2.776. We can also identify this critical score using Excel’s T.INV.2T10.05, 42 = 2.776.
Using Equation 14.17, our confidence interval is calculated as follows:
CI = yn { ta>2se S1n + 1x - x221 a x 22 - 1 a x22n CI = 82.7 { 12.776214.322S16 + 13 - 3.6672290 - 122226 CI = 82.7 { 111.992S0.1667 + 1 - 0.6672290 - 148426 CI = 82.7 { 111.99220.1667 + 0.0477 CI = 82.7 { 5.55
We can describe this confidence interval with the upper confidence limit (UCL) and lower confidence limit (LCL), as follows:
UCL = 82.7 + 5.55 = 88.3 LCL = 82.7 - 5.55 = 77.2
What does this interval mean? Let’s define our population as all of the students who took the statistics exam. Our sample consists of only six of these students. Based on their grades, we predicted that studying 3 hours would result in an exam grade of 82.7. However, because we don’t have data on the entire class (population), we can’t guarantee that everyone who stud- ies for 3 hours will earn this grade. However, we can say that we are 95% confident that the average exam grade earned by all of the students who study 3 hours will be between a 77.2 and an 88.3. Pretty cool, huh? This interval is shown graphically in Figure 14.15.
www.freebookslides.com
C h a p t e r 14 | 14.4 Using a Regression to Make a Prediction 675
The width of the confidence interval, which is shown in red, changes depending on the value of x (hours of study) that we choose. The width at x = 3.0 is as follows:
88.3 - 77.2 = 11.1
The interval is narrowest at the average value of x in our sample, which is as follows:
x = a x n
= 22
6 = 3.67
As we construct intervals for larger and smaller values of x away from this mean, the interval widens, as Table 14.5 shows.
{ figure 14.15 A 95% Confidence Interval for
x = 3
0 68
70
72
74
76
78
80
82
84
86
88
90
92
94
96
1 2 3 4 5 6
y = 77.2
y = 88.3
7
E xa
m S
co re
s
Hours of Study
ŷ = 70.1783 + 4.1786x
{ table 14.5 | Confidence Intervals for Various Values of x (Exam-Grade Example)
x
upper limit ucl
lower limit lcl
interval
width
2.0 86.7 70.4 16.3
3.0 88.3 77.2 11.1
3.67 90.4 80.6 9.8
4.0 92.0 81.8 10.2
5.0 98.2 83.9 14.3
As a result of this effect, our estimate for the average grade is more precise the closer we are to x.
the prediction Interval for a Specific Value of y Based on a Value of x In the previous section, we constructed a confidence interval for the average grade of all stu- dents in the population who studied 3 hours. What if you would like to know what the inter- val of grades are if you study 3 hours? This is a different question than the one we answered in the previous section. Here we are looking for a prediction interval for an individual grade
The smallest interval is highlighted in yellow.
www.freebookslides.com
676 C h a p t e r 14 | Correlation and Simple Linear Regression
rather than a confidence interval for an average of grades. The prediction interval is shown in Equation 14.18.
Formula 14.18 for the prediction Interval (PI) for a specific Value of y
PI = yn { ta>2se S1 + 1n + 1x - x221 a x 22 - 1 a x22n Notice that this equation is identical to Equation 14.17 except that we add 1 in the
square root. Let’s use Equation 14.18 to determine our 95% prediction interval if you study for 3.0 hours.
PI = yn { ta>2se S1 + 1n + 1x - x221 a x 22 - 1 a x22n PI = 82.7 { 12.776214.322S1 + 16 + 13 - 3.6672290 - 122226 PI = 82.7 { 111.992S1 + 0.1667 + 1 - 0.6672290 - 148426 PI = 82.7 { 111.99221.1667 + 0.0477 PI = 82.7 { 13.21
We can also describe this prediction interval with the upper prediction limit (UPL) and lower prediction limit (LPL), as follows:
UPL = 82.7 + 13.21 = 95.9 LCL = 82.7 - 13.21 = 69.5
As you can see, our prediction interval is much wider (less precise) than our confidence interval from before. Recall from Chapter 7 that sample means have less variation than indi- vidual values from which the sample is drawn. Because our prediction interval is estimating a single value, the variation will be much greater than when we are estimating an average grade. If we want a more precise (narrower) estimate for our grade, a larger sample size would help achieve this.
Now that I have tortured you with all these nasty interval calculations, I’ll show you how to achieve the same results using PHStat.
Using phStat to Construct Confidence and prediction Intervals PHStat will construct a confidence interval and a prediction interval for our exam-grade ex- ample with the following steps. Mac users can go to the textbook’s Web site for instructions on this procedure.
1. Open the Excel file exam grades.xlsx or enter the grade data shown in Figure 14.16B.
2. Go to Add-Ins + PHStat + Regression + Simple Linear Regression, as shown in Figure 14.16A.
www.freebookslides.com
C h a p t e r 14 | 14.4 Using a Regression to Make a Prediction 677
3. Fill in the Data section of the Simple Linear Regression dialog box as shown in Figure 14.16B. Also fill in the Output Options that are circled in red. Click OK.
{ figure 14.16a Using PHStat to Construct
Confidence and Prediction Intervals (Steps 1 and 2)
{ figure 14.16b Using PHStat to Construct
Confidence and Prediction Intervals (Step 3)
4. Figure 14.16C shows both the confidence and prediction intervals, which are circled in red. This figure can be found in the CIEandPI worksheet created by PHStat. These val- ues match our results from the previous section.
www.freebookslides.com
678 C h a p t e r 14 | Correlation and Simple Linear Regression
14.4 Section Problems Basic Skills 14.22 Consider the following set of ordered pairs:
x 3 6 2 4 4 y 5 6 4 6 2
Assuming that the regression equation is yn = 3.045 + 0.409x and the SSE = 9.727, construct a 95% confidence interval for x = 5.
14.23 Using the data in Problem 14.22, construct a 95% predic- tion interval for x = 5.
14.24 Consider the following set of ordered pairs:
x 6 0 4 3 3 1 y 5 2 5 4 2 2
Assuming that the regression equation is yn = 1.679 + 0.584x and the SSE = 3.547, construct a 90% confidence interval for x = 3.
14.25 Using the data in Problem 14.24, construct a 90% predic- tion interval for x = 3.
applications 14.26 As part of a research program for a new cholesterol drug,
Johnson Pharmaceuticals would like to investigate the lin- ear relationship between the ages and LDL (low-density lipoprotein) cholesterol levels of men. The following data set shows the ages and LDL cholesterol levels of seven randomly selected men:
Age Cholesterol Age Cholesterol
23 140 42 160
37 177 31 144
26 155 41 210
32 195
a. Construct a 95% confidence interval to estimate the average LDL cholesterol level of a 30-year-old man.
b. Verify your results with PHStat.
Let’s see how well you have absorbed the material in this section. Try your hand at cal- culating confidence and prediction intervals in the next Your Turn problem.
{ figure 14.16c Using PHStat to Construct
Confidence and Prediction Intervals (Final Result)
1. Determine the 80% confidence interval for the average hiking time on the Wengen-Kleine Scheidegg trail for a 40-year-old hiker. Verify your results with PHStat.
2. Determine the 80% prediction interval for the hiking time on the Wengen-Kleine Scheidegg trail for Deb, who is a 40-year-old hiker. Verify your results with PHStat.
Y o U r t U r n # 6N
Answers can be found on u pages 705–706
www.freebookslides.com
C h a p t e r 14 | 14.5 Testing the Significance of the Slope of the Regression Equation 679
14.27 Use the data in Problem 14.26 to construct a 95% predic- tion interval to estimate the LDL cholesterol level of a 30-year-old man. Verify your results with PHStat.
14.28 Data in the Excel file points per game.xlsx show the number of wins eight teams had during a recent NFL season. Also in this file are the average points each team scored per game during the season.
a. Construct a 90% confidence interval to estimate the av- erage number of wins for teams that scored an average of 21 points a game.
b. Verify your results with PHStat.
14.29 Use the data in Problem 14.28 to construct a 90% predic- tion interval estimating the number of wins a team that scores an average of 21 points a game will have. Verify your results using PHStat.
14.30 Suppose the Department of Energy would like to investi- gate the linear relationship between the cost of heating a home during the month of February in the Northeast and
the home’s square footage. Data for a random sample of 10 homes are as follows:
Heating Cost ($)
Square Footage
Heating Cost ($)
Square Footage
330 2,400 450 2,600
290 2,400 330 2,200
300 2,000 390 3,100
260 2,200 330 2,500
310 2,300 370 2,900
a. Construct a 90% confidence interval to estimate the average cost in February to heat a Northeast home that is 2,400 square feet.
b. Verify your results with PHStat.
14.31 Use the data in Problem 14.30 to construct a 90% predic- tion interval to estimate the cost in February to heat a Northeast home that is 2,400 square feet. Verify your results using PHStat.
14.5 Testing the Significance of the Slope of the Regression Equation
The last set of procedures we’ll examine in this chapter is to test the significance of the slope of the regression equation. Figure 14.17 shows exam-grade data for another group of students, along with the regression line that best fits the data. Notice that this regression line is horizontal. A horizontal line has a slope that is equal to zero, as the figure shows. I’d be very surprised if interpreting the meaning of a slope of zero didn’t appear in your next exam (you can count on it in my classes), so let’s take a minute to examine what it means in our example.
Remember, the slope, b1, represents how much we expect exam grades to change (y) when we change the hours of study (x) by 1 hour.
When the slope of a population regression line b1, equals zero, we conclude that there is no linear relationship between the dependent and independent variables.
{ figure 14.17 Interpreting a Slope Equal to
Zero
0 1 2 3 4 5 6 7 0
82
84
86
88
90
ˆ
E xa
m S
co re
s
Hours of Study
b1 = 0
y = 84 + 0x
According to Figure 14.17, the regression equation is yn = 84 + 0x. This means that for any value of x, yn will always equal 84. No matter how much a student studies, the predicted exam grade is 84 because the slope equals zero. Under these circumstances, we can conclude there is no linear relationship between the dependent and independent variables. Increasing your hours of study will not increase your exam grade. This would be very unsettling for me as a teacher.
In our original exam-grade example, the value b1 = 4.1786 represents the regression slope for a random sample of six students that was collected from a larger student popula- tion. This population has a regression slope, b1, that is unknown because we have not gath- ered data on every student who took the exam. We can, however, perform a hypothesis test to determine if the population regression slope, b1, is significantly different from zero based on the sample regression slope, b1. This test uses the following hypothesis statement:
H0: b1 = 0 1There is no linear relationship between hours of study and exam score2 H1: b1 ≠ 0 1There is a linear relationship between hours of study and exam score2
www.freebookslides.com
680 C h a p t e r 14 | Correlation and Simple Linear Regression
If we have enough evidence from our sample to reject the null hypothesis, we can con- clude that there is a significant linear relationship between the dependent and the indepen- dent variables.
The test statistic for this hypothesis test uses the t-distribution and is shown in Equation 14.19.
where
b1 = The sample regression slope b1 = The population regression slope from the null hypothesis sb = The standard error of the slope If you are anything like my students, I imagine that you are getting sick of all these
standard errors, but bear with me one last time. The standard error of the slope, sb, mea- sures how consistent the slope of the regression equation, b1, would be if several sets of samples from the population were selected and the regression equation were derived for each of them. Each sample selected from the population will most likely have a different value for the slope, b1. The $64,000 question is how close will these slopes be to one another?
Figure 14.18 shows the effect of small and large standard errors of slopes. Each of the three regression lines shown in the two graphs represents a separate sample taken from the population. A smaller standard error of the slope increases the likelihood that we can estab- lish a significant linear relationship between our two variables.
Formula 14.19 for the t-Test Statistic for the Regression Slope
t = b1 - b1
sb
{ figure 14.18 Comparing Small and Large
Standard Errors of Slopes
Small sb Large sb y
x
y
x
Enough talk about this latest standard error—let’s calculate! The standard error of the slope, sb, can be found using Equation 14.20.
Formula 14.20 for the Standard Error of a Slope
sb = seA a x 2 - n1x22
To calculate sb, we need to use the following data from earlier in the chapter:
x = 3.667 a x 2 = 90 n = 6 se = 4.32 The calculations for the standard error of the slope are as follows:
sb = se2 a x 2 - n1x22 = 4.32290 - 16213.66722
sb = 4.32290 - 162113.4472 = 4.32290 - 80.682 = 4.323.053 = 1.42
www.freebookslides.com
C h a p t e r 14 | 14.5 Testing the Significance of the Slope of the Regression Equation 681
Now we can finally calculate our test statistic for the hypothesis test, using the following data:
b1 = 4.1786 b1 = 0
t = b1 - b1
sb =
4.1786 - 0 1.42
= 2.94
To find our critical t-score, ta>2, for this hypothesis test, we look at Table 5 in Appendix A. This test also has n - 2 = 6 - 2 = 4 degrees of freedom. For a = 0.05 and a two-tail test, the critical t-score is ta>2 = 2.776. Because t = 2.94 is higher than ta>2 = 2.776, we reject the null hypothesis and conclude that the population regression slope is not equal to zero. This result provides support that a linear relationship exists between the hours that stu- dents studied and their exam grades. Figure 14.19 illustrates this hypothesis test.
b1 is set to zero because the null hypothesis claims b1 = 0.
{ figure 14.19 Testing the Significance of
the Slope of the Regression Equation
0 µ
2.776–2.776 2.94 t
Do Not Reject H0 0.95 Reject H0
0.025 Reject H0
0.025
ta /2–ta /2
We can determine the p-value for this two-tail hypothesis test by using Excel’s T.DIST.2T function which was introduced in Chapter 9.
p@value = T.DIST.2T12.94, 42 = 0.0424 Because this value is less than a = 0.05, we can reject the null hypothesis.
OK, I realize I’m pushing my luck here, but I have one final topic to close out this ex- ample. Recall that b1 = 4.1786 is the slope for only the six students from our sample and that the actual population slope, b1, is unknown. We can develop a 95% confidence interval for b1 using our sample with Equation 14.21.
For this example, the population consists of all the students who took the exam.
The critical t-score, ta>2, for this 95% confidence interval uses n - 2 = 6 - 2 = 4 degrees of freedom. Looking at Table 5 in Appendix A, we find that this results in ta>2 = 2.776.
Recalling that sb = 1.41, the confidence interval calculation using Equation 14.21 is shown as follows:
CI = b1 { ta>2sb = 4.1786 { 12.776211.422 CI = 4.1786 { 3.942
We can describe this confidence interval with the upper confidence limit (UCL) and lower confidence limit (LCL) as follows:
UCL = 4.1786 + 3.942 = 8.121 LCL = 4.1786 - 3.942 = 0.237
Based on our sample of six students, we are 95% confident that the true population slope is between 0.237 and 8.121 exam points. In other words, we are 95% sure that every additional hour of study will increase your exam grade somewhere between 0.237 and 8.121 points.
Formula 14.21 for the Confidence Interval for the Population Slope
CI = b1 { ta>2sb
If this confidence interval included zero, we would have some evidence that b1 could be equal to zero, which would indicate that there may not be a linear relationship between our two variables. Fortunately, zero is not in our confidence interval, so be sure and study for that next exam!
www.freebookslides.com
682 C h a p t e r 14 | Correlation and Simple Linear Regression
Because this confidence interval does not include zero, we have supporting evidence to conclude that there is a linear relationship between the hours that students studied and their exam grades.
One last look at the regression output in Excel shown in Figure 14.20 shows that the standard error of the estimate 1se2 is 4.32. It is found under the “Regression Statistics” heading and is circled in red. In the very last row of the ANOVA table in this figure, we find the standard error of the slope 1sb2. It equals 1.41 and appears under the “Standard Error” column in the red box. The calculated t-score, 2.96, is located under the “t Stat” column, whereas the 95% confidence interval for the slope (0.256, 8.102) can be seen under the “Lower 95%” and “Upper 95% columns, respectively. The slight discrepancies from our manual calculations are due to rounding differences.
{ figure 14.20 The Excel Output for the Sig-
nificance of the Slope of the Regression Equation
Also, Excel provides the p-value for the significance test of the slope, which equals 0.0417. Because we have a two-tail hypothesis test, this value represents the area to the right of t = 2.96 plus the area to the left of t = - 2.96. We can determine the area to the right of t = 2.96 with Excel’s T.DIST.RT function which is shown graphically in Figure 14.21:
= T.DIST.RT12.96, 42 = 0.0208
{ figure 14.21 The p-Value for the Exam-Grade
Example
0 µ
area = 0.0208area = 0.0208
–2.96 t
2.96 t
p-value = 0.0208 + 0.0208 = 0.0416
Because our p-value equals 0.0416 and is less than a = 0.05, we can reject the null hypothesis.
Notice that the p-value for the F-test that we performed in Section 14.3 and the t-test are identical. This occurs because we have only one independent variable (hours of study) in our regression model. When we consider more than one independent variable in Chapter 15, this will no longer be the case.
My students sometimes tell me how easy it looks when they watch me solve a problem and then find themselves struggling when they’re on their own. Avoid any surprises during your next exam: Practice what you just learned by solving the following Your Turn problem.
www.freebookslides.com
C h a p t e r 14 | 14.5 Testing the Significance of the Slope of the Regression Equation 683
14.5 Section Problems Basic Skills 14.32 Consider the following set of ordered pairs:
x 3 6 2 4 4 y 5 8 4 6 5
Assuming that the regression equation is yn = 1.886 + 0.977x and that the SSE = 0.7955, test to determine if the slope is not equal to zero using a = 0.05.
14.33 Using the data in Problem 14.32, construct a 95% confi- dence interval for the slope.
14.34 Consider the following set of ordered pairs:
x 6 0 4 3 3 1 y 5 2 5 4 5 6
Assuming that the regression equation is yn = 3.693 + 0.285x and that the SSE = 7.650, test to determine if the slope is not equal to zero using a = 0.10.
14.35 Using the data in Problem 14.34, construct a 90% confi- dence interval for the slope.
applications 14.36 The Human Resource Department at Neumann University
would like to examine the linear relationship between a faculty member’s performance rating (measured on a scale of 1–20) and his or her annual salary increase. The following table shows these data for eight randomly se- lected faculty members and can also be found in the Excel file Neumann.xlsx.
Rating Increase ($) Rating Increase ($)
16 2,400 15 2,000
18 2,500 15 2,600
12 1,800 17 2,000
13 1,700 16 1,900
a. Construct a scatter plot for these data using Excel. b. Using a = 0.05, determine if the slope for the regres-
sion equation is statistically significant.
14.37 Using the data in Problem 14.36, construct a 95% confi- dence interval for the regression slope.
14.38 Wilmington University is concerned about the presence of grade inflation, which is defined as an increase in the aver- age GPA of the institution’s students over time without a comparable increase in academic standards. To investigate
this phenomenon, the average GPA for the student body was recorded over the past 11 years. The data are as follows and can also be found in the Excel file grade inflation.xlsx.
Year GPA Year GPA
1 3.08 7 3.08
2 2.87 8 3.00
3 2.96 9 3.19
4 2.85 10 3.15
5 2.99 11 3.15
6 3.04
a. Construct a scatter plot for these data using Excel. b. Using a = 0.05, determine if the slope for the regres-
sion equation is statistically significant. c. What conclusions can be drawn about grade inflation
over this time period?
14.39 Using the data in Problem 14.38, construct a 95% confi- dence interval for the regression slope.
14.40 Suppose the Internet retailer Buy.com would like to inves- tigate the linear relationship between the amount of time in minutes a purchaser spends on its Web site and the amount of money he or she spends on an order. The following table shows the data from a random sample of 12 custom- ers and can also be found in the Excel file Buy.com.xlsx.
Time Order Size ($) Time Order Size ($)
18 69 5 58
13 26 37 365
26 94 6 127
23 199 36 160
2 49 24 75
14 38 9 250
a. Construct a scatter plot for these data using Excel. b. Using a = 0.05, determine if the slope for the regres-
sion equation is statistically significant. c. What conclusions can be drawn about a purchaser’s
time on the Web site and his or her order size?
14.41 Using the data in Problem 14.40, construct a 95% confi- dence interval for the regression slope.
Using a = 0.10, test the significance of the slope for the Swiss hiking data from Your Turn #1. Provide a 90% confidence interval for the population slope and interprets its meaning.
Y o u r t u r n # 7N
Answers can be found on u page 706
www.freebookslides.com
684 C h a p t e r 14 | Correlation and Simple Linear Regression
14.6 Assumptions for Regression Analysis
In order for the results from regression analysis to be reliable, certain key assumptions need to hold true. As you can see from this chapter, Excel provides a very convenient way to construct a line that best fits the data and then describe that line with a linear equation. The convenience of Excel, however, can cause uninformed individuals to misuse it to generate a regression line without considering these assumptions which may lead to unreliable conclu- sions. (I am not referring to you, of course.) The purpose of this section is to discuss the fol- lowing four assumptions that linear regression analysis is based upon:
1. The relationship between the independent variable and the dependent variable is linear.
2. The residuals exhibit no patterns across values for the independent variable.
3. The variation of the dependent variable is the same across all values for the independent variable, which is known as homoscedasticity.
4. The residuals follow the normal probability distribution.
Each of these assumptions will be explained using the following example. Suppose Canon, a manufacturer of business copiers, would like to perform a regression analysis to identify the linear relationship between the year-to-date (YTD) maintenance costs and the age of a particular brand of copy machine. This information would be useful to Canon when it’s designing maintenance contracts for its customers. The Excel file Canon copier 1.xlsx contains the YTD maintenance costs along with the age of 30 Canon copiers up to four years old. The Excel file Canon copier 2.xlsx contains the data for the same 30 copiers along with 27 additional copiers up to seven years old. The scatter plots for both files are shown in Figure 14.22A and Figure 14.22B, respectively.
{ figure 14.22a Scatter Plots for the Year-
to-Date Maintenance Cost Example from Canon copier 1.xlsx Using Excel
{ figure 14.22b Scatter Plots for the Year-
to-Date Maintenance Cost Example from Canon copier 2.xlsx Using Excel
The first assumption of a regression analysis is that the relationship between the in- dependent and dependent variables is linear. The data in Graph A, which plots the costs of copiers up to four years of age, does appear somewhat linear. The data straddle the red re- gression line, and the points above and below the line are evenly dispersed. The same can’t
Graph A appears to meet the linear assumption for a regression analysis. Graph B does not meet this requirement.
www.freebookslides.com
C h a p t e r 14 | 14.6 Assumptions for Regression Analysis 685
be said for the scatter plot in Graph B, which also includes the older copiers. It appears that the maintenance costs increase at a faster rate for copiers that are six and seven years old when compared with newer copiers. Let’s see how this nonlinear pattern affects our regres- sion results.
The regression equations and the R 2 for both data sets are statistically significant at a = 0.05. Let’s calculate the predicted YTD maintenance costs for a one-year-old copier us- ing both regression equations:
Graph A: yn = - 28.286 + 211.63112 = $183.34 Graph B: yn = - 1,362.4 + 778.88112 = - $583.52
The predicted YTD maintenance costs from Graph A seem reasonable, but the costs from Graph B certainly do not. Notice that all of the data points in Graph B are above the red regression line for one-year-old copiers. The same pattern holds true for most copiers that are six to seven years old. Even though these regression results are statisti- cally significant, Graph B does a very poor job at predicting costs for copiers on either end of the scatter plot.
The next assumptions for regression analysis involve residuals, which I introduced earlier in the chapter with Equation 14.4. The residual for each ordered pair is the dif- ference between the actual and the predicted values of the dependent variable using the regression equation. Let’s calculate the residual for the first ordered pair in Graph A. I’ve circled this data point in Figure 14.22A, which shows that the YTD maintenance costs for a one-year-old copier are $100. We just determined that the predicted YTD maintenance costs for this copier is $183.34. Using Equation 14.4, the residual for this ordered pair is as follows:
ei = yi - yni = $100 - $183.34 = - $83.34
Excel will generate a residual plot for each ordered pair in the data set. I’ll demonstrate this procedure using the data from Graph A with the following steps:
1. Open the Excel file Canon copier 1.xlsx.
2. Go to Data + Data Analysis, as shown earlier in Figure 14.9A. 3. Select Regression from Data Analysis and click OK.
4. Fill in the Regression dialog box as shown in Figure 14.23 and click OK.
This residual is negative because the predicted costs are higher than the actual costs. Residuals will be positive when the predicted costs are lower than the actual.
{ figure 14.23 Residual Plots in the Regression
Dialog Box Using Excel
Graph A in Figure 14.24 shows us the residual plot for the data set with newer copiers. Repeat the previous steps with the second data set that includes older copiers to generate Graph B in this figure.
www.freebookslides.com
686 C h a p t e r 14 | Correlation and Simple Linear Regression
I’ve circled the residual for the first ordered pair that we just calculated to show you how this plot is generated. Notice that this residual matches what we just calculated 1- $83.352. All of the data points below the horizontal line represent negative residuals, whereas the points above the line are positive residuals.
The second assumption of a regression analysis is that the residuals exhibit no patterns across values for the independent (age) variable. Graph A in Figure 14.24 appears to meet this requirement, with the data points evenly dispersed around the horizontal axis. We can’t say the same for Graph B: Notice that the residuals in this graph are consistently positive for copiers one to two years old, negative for copiers two to six years old, and positive again for copiers six to seven years old. Not a pretty sight for a residual plot!
The third assumption a regression analysis depends on is known as homoscedasticity, which states that the variation of the dependent variable (costs) is the same across all val- ues for the independent variable (age). We can again rely on the residual plot to see if this condition is satisfied. A good residual plot shows data points having roughly the same varia- tion across the horizontal axis. Graph A in Figure 14.24 appears to meet this requirement. Once again, Graph B fails the test. For the newer copiers, the residuals are very close to one another, whereas the older copiers have residuals that are more dispersed. This pattern indi- cates that the Graph B regression equation will more accurately predict the costs for newer copiers and much less accurately predict the costs for older copiers.
The fourth assumption required by linear regression analysis is that the residuals from the ordered pairs follow the normal probability distribution. We can investigate if this as- sumption holds true by inspecting a normal probability plot, which graphs the residuals on the y-axis and the residuals’ z-score on the x-axis. If the residuals follow the normal proba- bility distribution, the data in this plot will fall approximately on a straight line. Figure 14.25 shows the normal probability plot for the Cannon Copier 1 data, which appears to follow a straight line. Based on this figure, we can confirm that the residuals follow a normal distri- bution for this set of ordered pairs.
The normal probability plot for the data from Cannon Copier 2 is not shown here but also has a straight line pattern. See the textbook’s Web site for instructions on how to con- struct a normal probability plot. Finally, if you inspect Figure 14.23, you will see an option in Excel’s regression procedure to generate a normal probability plot. However, this option, for some strange reason, generates a plot for the dependent variable rather than the residuals which tells us nothing about this fourth regression assumption.
Hopefully, you now understand the risk related to performing a regression analysis with- out examining the assumptions on which the method depends. Even though both regression
{ figure 14.24 Residual Plots for the Year-
to-Date Maintenance Cost Example Using Excel
Homoscedasticity is a regression assumption that states that the variation of the dependent variable is the same across all values for the independent variable.
A normal probability plot is used to verify if data follows the normal probability distribution by graphing the data on the y-axis and the z-scores for the data on the x-axis.
www.freebookslides.com
C h a p t e r 14 | 14.7 A Simple Regression Example with a Negative Correlation 687
equations that we examined were statistically significant, the data set from Graph B violated all three assumptions. As a result, the predicted maintenance costs from this regression equa- tion proved to be very unreliable. An important rule to follow when performing a regres- sion analysis is always to examine both the scatter and residual plots for violations of these assumptions.
14.7 A Simple Regression Example with a Negative Correlation
Both of the examples from the previous sections involved a positive linear relationship be- tween the dependent and independent variables. This section will provide a nice review of the material we have covered so far, but this time, there will be a negative linear relationship between the variables. Let’s now look at the following example and see what happens.
Before Circuit City declared bankruptcy in 2010, a product manager wanted to investi- gate the linear relationship between the price of a new HP DeskJet printer and the demand for it. Every two weeks the price was increased by $5, and the demand at a particular store was recorded.
Table 14.6 shows the results. These data can also be found in the Excel file printer demand.xlsx. (Because I am an electronic gadget freak, I mourned for days after finding out Circuit City was going out of business. My wife finally gave me a worried look and asked if I was all right. I wailed, not unlike Brandi in the movie Observe and Report, “Physically yes, but psychologically? No!” She looked at me with concern, as she often does.)
{ figure 14.25 Normal Probability Plot
Always examine both the scatter and residual plots for violations of the assumptions on which a regression analysis depends.
{ table 14.6 | Price of and Demand Data for an HP Printer
price ($) demand
70 18
75 23
80 10
85 16
90 17
95 15
100 5
Figure 14.26 shows the scatter plot for the data. As you would expect, there appears to be a general downward trend in the demand for the printer as its price increases, which indi- cates there’s a negative linear relationship between the two variables.
www.freebookslides.com
688 C h a p t e r 14 | Correlation and Simple Linear Regression
Next, let’s set up our calculations for the SNSCSR values from the data in Table 14.7. Because we expect the price to affect the demand, we’ll make the price the independent (x) variable and demand the dependent (y) variable.
{ figure 14.26 The Scatter Plot for the HP
Printer Example
0 65 75 85
Price ($) 95 105
5 10
D em
an d
15 20 25
{ table 14.7 | The SNSCSR Values for the Printer Example
price demand
x y xy x2 y2
70 18 1,260 4,900 324
75 23 1,725 5,625 529
80 10 800 6,400 100
85 16 1,360 7,225 256
90 17 1,530 8,100 289
95 15 1,425 9,025 225
100 5 500 10,000 25
a x = 595 a y = 104 a xy = 8,600 a x 2 = 51,275 a y 2 = 1,748
the Sample Correlation Coefficient Using the SNSCSR numbers from Table 14.7 along with n = 7, we can calculate the sample correlation coefficient using Equation 14.1:
r = n a xy - 1 a x2 1 a y233n a x 2 - 1 a x22 4 3n a y 2 - 1 a y22 4
r = 17218,6002 - 159521104223172151,2752 - 1595224317211,7482 - 1104224
r = - 1,680234,900431,4204 = - 1,68026,958,000 = - 1,6802,637.80 = - 0.637
Notice that the sample correlation coefficient, r, is negative due to the fact that the price of and the demand for the printer tend to move in opposite directions when we look at our sample data. As one goes up, the other tends to go down.
We’ll use the following hypothesis statement to test the significance of the population correlation coefficient. Let’s set a = 0.10 for this example:
H0: r = 0 H1: r ≠ 0
The test statistic for this hypothesis test is found using Equation 14.2:
t = rB 1 - r 2n - 2 = - 0.637C1 - 1- 0.637227 - 2 = - 0.637B 1 - 0.40585 = - 1.85
Using Table 5 in Appendix A with df = n - 2 = 7 - 2 = 5 and a = 0.10 for a two- tail test, we find that the critical t-score is ta>2 = 2.015. Because � t � = 1.85 and is less than
Both final terms in the denominator under the square root sign (4,900 and 1,420) must always be positive. If either value is negative, stop and find your mistake. Trying to take the square root of a negative number causes your calculator to freak out!
Remember, when you square - 0.637, the result is a positive 0.4058.
www.freebookslides.com
C h a p t e r 14 | 14.7 A Simple Regression Example with a Negative Correlation 689
� ta>2 � = 2.015, we do not reject the null hypothesis and cannot conclude that the population correlation coefficient is not equal to zero. Figure 14.27 illustrates the results of this hypothesis test. According to our sample, we do not have enough evidence to conclude that we have a linear relationship between the price of and the demand for this HP printer. One reason for this result may be the fact that we have only seven data points in this regression analysis. Performing this analysis again with a larger set of data could very well provide the statistically significant linear relationship that we would expect to see.
{ figure 14.27 Testing the Significance of the
Correlation Coefficient (HP Printer Example)
–1.85 t
0 µ
2.015–2.015
Do Not Reject H0 0.90
Reject H0 0.05
Reject H0 0.05
ta /2–ta /2
Even though we have discovered that there is no linear relationship between price and demand for this printer, we’ll continue with this example in the following sections for demonstra- tion purposes. Try your hand at the following Your Turn problem to test your newfound skills.
At the time of this writing, I have been in a long-term relationship of nearly 40 years that is just not working anymore. I have tried countless times to end it but to no avail. Every April for as long as I can remember, I have high hopes that things will be better this year. By May, disappointment starts to settle in. By July, I am completely depressed. By September, I don’t even care anymore.
Then comes the long off-season when I forget the pain and disappointment of the past year, and then the cycle repeats itself once again. I am of course talking about my love/hate relationship with those basement-dwelling Pittsburgh Pirates, a baseball team that has not had a winning season since 1992. I long for the glory days when, as a young boy, I watched Roberto Clemente throw out runners at home plate from deep in the outfield and Willie Stargell hit massive upper-deck home runs in Forbes Field. I guess I’m just an eternal optimist or a glutton for punishment as I endure one losing season after another with no end in sight. There must be something seriously wrong with me.
If an effort to wake up from this eternal nightmare, the Pittsburgh Pirates front office is investigating the linear relationship between the team’s wins and the average number of runs the pitchers give up per game (ERA, or earned run average) during the season. The following table shows these data for eight teams for a re- cent Major League Baseball season. Notice that Pittsburgh has the fewest wins and gave up the most runs per game. Once again, I rest my case. These data can also be found in the Excel file earned run average.xlsx.
Team Wins Era
Pittsburgh 57 5.0
Arizona 65 4.8
Washington 69 4.1
Los Angeles 80 4.0
Philadelphia 97 3.7
Chicago 75 4.2
Miami 80 4.1
Oakland 81 3.6
Calculate the correlation coefficient for the two variables in the table and test its significance using a = 0.01.
Y o u r t u r n # 8N
Answers can be found on u pages 706–707
www.freebookslides.com
690 C h a p t e r 14 | Correlation and Simple Linear Regression
Calculating the Slope and y-Intercept Manually Next, I am going to calculate the slope and y-intercept manually for the HP printer example using the SNSCSR values calculated in the previous section with n = 7. The slope is found using Equation 14.7:
a x = 595 a y = 104 a xy = 8,600 a x 2 = 51,275 a y 2 = 1,748 b1 =
n a xy - 1a x2 1 a y2 n a x 2 - 1a x22
b1 = 17218,6002 - 1595211042 172151,2752 - 159522 =
- 1,680 4,900
= - 0.3429
Once the slope has been determined, this value is used to calculate the y-intercept with Equation 14.8:
b0 = a y
n - b1 a a xn b
b0 = 104
7 - 1 - 0.34292a 595
7 b
b0 = 14.857 - 1 - 0.342921852 = 44.00 The regression equation for the HP printer data is as follows:
yn = 44 - 0.3429x
Because b1 = -0.3429, or is negative, we can conclude that every one-dollar increase in the price will decrease the demand by an average of 0.3429 printers. (Conversely, decreasing the price will result in an increase in the printers’ demand.) This result is consistent with the negative correlation coefficient.
What is the predicted demand for the printer when its price is $87? By setting x = 87 in the regression equation, we have the following:
yn = 44 - 0.34291872 yn = 44 - 29.83 = 14.17 ≈ 14 printers
The predicted demand for an $87 price is 14 printers over the two-week period. Now I’m going to turn it over to you to lend a hand to those poor Pittsburgh Pirates.
Remember, subtracting a negative number is the same as adding a positive number, as seen in the y-intercept equation.
Determine the regression equation for the Major League Baseball example from Your Turn #8. Use your results to predict the number of wins for the Pittsburgh Pirates if their pitchers give up an average of 4.2 runs per game next year.
Y o u r t u r n # 9N
Answers can be found on u page 707
partitioning the Sum of Squares for a negative Correlation Our next step in the HP printer example is to partition the sum of squares using our SNSCSR values starting with the SST, which I find using Equation 14.10:
a y = 104 a y 2 = 1,748 n = 7 SST = a y 2 - 1a y2
2
n
SST = 1,748 - 110422
7 = 202.857
www.freebookslides.com
C h a p t e r 14 | 14.7 A Simple Regression Example with a Negative Correlation 691
Now we calculate the SSE using Equation 14.12:
b0 = 44 b1 = - 0.3429 a xy = 8,600 SSE = a y 2 - b0 a y - b1 a xy SSE = 11,7482 - 144211042 - 1- 0.3429218,6002 SSE = 1,748 - 4,576 + 2,948.94 = 120.94
Lastly, we calculate the SSR using Equation 14.11:
SST = SSR + SSE SSR = SST - SSE SSR = 202.857 - 120.94 = 81.917
In summary, we have partitioned our SST in the following way:
SSR = 81.917 SSE = 120.94 SST = 202.857
OK, back to our (my) favorite baseball team.
Partition the SST for the Major League Baseball example from Your Turn #8 into the SSR and the SSE.
Y o u r t u r n # 1 0N
Answer can be found on u page 707
Calculating the Sample Coefficient of Determination To calculate the sample coefficient of determination for our HP printer example, we need the following data and Equation 14.14:
SSR = 81.917 SST = 202.857
R 2 = SSR
SST =
81.917
202.857 = 0.404
We have concluded that 40.4% of the total variation in demand for the printer can be explained by the price. The next question we tackle is to see if this percentage is statistically significant.
Let’s check if the 40.4% total variation is statistically significant using a = 0.10:
H0: r 2 = 0
H1: r 2 7 0
Using the necessary data and Equation 14.15, the calculated F-score for this test is as follows:
SSR = 81.917 SSE = 120.94
F = SSR
a SSE n - 2
b =
81.917
a 120.94 7 - 2
b =
81.917
24.19 = 3.39
The degrees of freedom for the critical F-score are as follows:
D1 = 1 D2 = n - 2 = 7 - 2 = 5
Using a = 0.10, the critical F-score in Table 6 in Appendix A is Fa = 4.060. Because F = 3.39 is lower than Fa = 4.060, we fail to reject H0 and find that there is not enough evidence to conclude the coefficient of determination is greater than zero. There does not
www.freebookslides.com
692 C h a p t e r 14 | Correlation and Simple Linear Regression
appear to be support that a linear relationship exists between the price of the HP printer and its demand. Figure 14.28 illustrates the results of this hypothesis test.
{ figure 14.28 Testing the Significance of the
Coefficient of Determination (HP Printer Example)
4.060 Fa
3.39 F
Do Not Reject H0 0.90 Reject H0
0.10
We’ll move on to the confidence interval for the regression line after a brief commer- cial break. (In case you didn’t catch on, this is your cue to solve the following Your Turn problem.)
Calculate the coefficient of determination for the Major League Baseball example from Your Turn #8 and test its significance using a = 0.01.
Y o u r t u r n # 1 1N
Answers can be found on u page 707
Calculating Confidence and prediction Intervals for a negative Correlation Suppose we are interested in calculating a 90% confidence interval for the demand of the HP printer when the price is $83. We first calculate the demand for the $83 price using our regression equation:
yn = 44 - 0.3429x yn = 44 - 0.34291832 = 15.5 printers
Next we need to calculate the standard error of the estimate, se, using the following data along with Equation 14.16:
SSE = 120.94 n = 7
se = B SSEn - 2 = B 120.947 - 2 = 224.188 = 4.92 We also need the average price from our sample, using the SNSCSR value a x = 595.
x = a x n
= 595
7 = $85
To find our critical t-score, ta>2, for a 90% confidence interval, we look at Table 5 in Appendix A. This procedure has n - 2 = 7 - 2 = 5 degrees of freedom, so for a two-tail and a = 0.10, ta>2 = 2.015.
We can finally determine our 90% confidence interval (thanks for your patience) for the demand of the printer when the price is $83 using the previous results, our SNSCSR value
a x 2 = 51,275, and Equation 14.17: CI = yn { ta>2se S1n + 1x - x221 a x 2 2 - 1 a x22n
Remember, 15.5 printers represent only the predicted demand using our sample of seven price levels. The demand for the “printer population” at $83 is unknown and will be estimated with our soon-to- be-found confidence interval. Patience!
www.freebookslides.com
C h a p t e r 14 | 14.7 A Simple Regression Example with a Negative Correlation 693
CI = 15.5 { 12.015214.922S17 + 183 - 852251,275 - 1595227 CI = 15.5 { 19.912S0.1429 + 1 - 22251,275 - 1354,02527 CI = 15.5 { 19.91220.1429 + 0.0057 CI = 15.5 { 3.8
UCL = 15.5 + 3.8 = 19.3 LCL = 15.5 - 3.8 = 11.7
We are 90% confident that the average weekly demand for the printer when its price is $83 is between 12 and 19 printers.
The 90% prediction interval for printer demand with an $83 price is found using Equation 14.18:
PI = yn { ta>2se S1 + 1n + 1x - x221a x 2 2 - 1a x22n PI = 15.5 { 12.015214.922S1 + 17 + 183 - 852251,275 - 1595227 PI = 15.5 { 19.912S1 + 0.1429 + 1 - 22251,275 - 1354,02527 PI = 15.5 { 19.91221.1429 + 0.0057 PI = 15.5 { 10.6
UPL = 15.5 + 10.6 = 26.1 LPL = 15.5 - 10.6 = 4.9
We have learned that if we set our HP printer price to $83, we are 90% confident that the demand for it during the two-week period will be between 5 and 26 printers.
Enough of watching me do all the work. Here’s your chance to show off your skills with this next Your Turn problem.
testing the Significance of the regression of a Slope with a negative Correlation Since your instructor could very well ask you to test the significance of the regression slope in your next exam (I certainly would), let’s go through this procedure for our HP printer ex- ample using a = 0.10. The hypothesis statement for this test is as follows:
H0: b1 = 0 1There is no linear relationship between price and demand2 H1: b1 ≠ 0 1There is a linear relationship between price and demand2
Using the data from Your Turn #8, determine the 90% confidence and prediction intervals for the number of games that a Major League Baseball team will win if it gives up 4.7 runs per game during the year.
Y o u r t u r n # 1 2N
Answer can be found on u page 708
Remember, the slope for our HP printer sample is b1 = - 0.3429. If the true population slope, b1, were actually equal to zero, we would conclude that there is no linear relationship between the price of and the demand for the printer.
www.freebookslides.com
694 C h a p t e r 14 | Correlation and Simple Linear Regression
To kick this test off, we first need to calculate the standard error of the slope, sb, using Equation 14.20 along with the following values:
x = $85 a x 2 = 51,275 n = 7 se = 4.92 sb =
se2 a x 2 - n1x22 = 4.92251,275 - 17218522 = 0.186 Now we can calculate our test statistic for the hypothesis test using Equation 14.19 and
the following data:
b1 = - 0.3429 b1 = 0
t = b1 - b1
sb =
- 0.3429 - 0 0.186
= - 1.84
Using Table 5 in Appendix A with df = n - 2 = 7 - 2 = 5 and a = 0.10 for a two- tail test, the critical t-score is found to be ta>2 = 2.015. Because � t � = 1.84 and is less than � ta>2 � = 2.015, we fail to reject the null hypothesis and cannot conclude that the population regression slope is not equal to zero. There does not appear to be a significant linear relation- ship between the price of and the demand for the HP printer. Figure 14.29 illustrates this hypothesis test.
Remember, b1 is set to zero because the null hypothesis claims that b1 = 0.
{ figure 14.29 Testing the Significance of
the Regression of the Slope (HP Printer Example)
–1.84 t
0 µ
2.015–2.015
Do Not Reject H0 0.90
Reject H0 0.05
Reject H0 0.05
ta /2–ta /2
Finally, let’s use a 90% confidence interval around the sample slope of b1 = - 0.3429 to estimate the true population slope. Again, our critical t-score for a 90% confidence interval and 5 degrees of freedom is ta>2 = 2.015. We calculate the confidence interval using Equation 14.21:
CI = b1 { ta>2sb = - 0.3429 { 12.015210.1862 CI = b1 { ta>2sb = - 0.3429 { 0.3748
UCL = - 0.3429 + 0.3748 = 0.0319 LCL = - 0.3429 - 0.3748 = - 0.7177
Based on our sample of prices and the demand for the printer, we are 90% confident that the true population slope is between - 0.7177 and 0.0319. In other words, we are 90% sure that every additional dollar in the price could affect the demand by increasing it by 0.0319 printers or decreasing it by 0.7177 printers or anything in between.
I know that you’re tired (come to think of it, so am I), but let’s solve one more problem for my Pirates. They really need your help.
Because this confidence interval does include zero, we have supporting evidence to conclude that there is no linear relationship between the price of and the demand for this HP printer.
Using a = 0.01, test the significance of the slope for the Major League Baseball example from Your Turn #8. Provide a 99% confidence interval for the population slope.
Y o u r t u r n # 1 3N
Answers can be found on u page 708
www.freebookslides.com
C h a p t e r 14 | 14.7 A Simple Regression Example with a Negative Correlation 695
14.7 Section Problems Basic Skills 14.42 Consider the following set of ordered pairs:
x 5 2 3 3 7 5
y 4 8 6 5 1 6
a. Calculate the correlation coefficient. b. Using a = 0.05, perform a hypothesis test to deter-
mine if the population correlation coefficient is less than zero.
14.43 Answer the following questions using the data from Problem 14.42:
a. Calculate the slope and the y-intercept for the regres- sion equation.
b. Calculate the SST. c. Partition the SST into the SSR and the SSE.
14.44 Answer the following questions using the data from Problem 14.42:
a. Calculate the coefficient of determination. b. Using a = 0.05, test the significance of the population
coefficient of determination.
14.45 Answer the following questions using the data from Problem 14.42:
a. Construct a 95% confidence interval for an average value of y given that x = 4.
b. Construct a 95% prediction interval for y given that x = 4.
14.46 Answer the following questions using the data from Problem 14.42:
a. Using a = 0.05, test for the significance of the regres- sion slope.
b. Construct a 95% confidence interval for the population slope.
applications 14.47 Suppose the Environmental Protection Agency (EPA)
would like to investigate the linear relationship between the engine size of sedans and the miles per gallon (MPG) they get. Data from the Excel file engine size.xlsx show the engine size in cubic liters and rated miles per gallon for a selection of sedans.
a. Construct a scatter plot for these data. b. Calculate the slope and the y-intercept for the regres-
sion equation. c. Provide an interpretation for the value of the slope. d. Predict the MPG for a sedan with a 3.0-liter engine. e. Calculate the SST. f. Partition the SST into the SSR and the SSE.
14.48 Answer the following questions using the data from Problem 14.47:
a. Calculate the coefficient of determination. b. Using a = 0.05, test the significance of the population
coefficient of determination. c. Construct a 95% confidence interval for the average
MPG of a 2.5-cubic liter engine. d. Construct a 95% prediction interval for the MPG of a
2.5-cubic liter engine.
14.49 Answer the following questions using the data from Problem 14.47:
a. Using a = 0.05, test for the significance of the regres- sion slope.
b. Construct a 95% confidence interval for the population slope.
c. What conclusions about engine size and MPG can be drawn from these results?
14.50 Comcast’s customer service department asks its custom- ers to rate their over-the-phone service on a scale of 1–20 immediately after their service has been completed. The company then matches each customer’s rating with the number of minutes the person waited on hold. The fol- lowing table shows the ratings and number of minutes on hold for 10 randomly selected customers. These data can also be found in the Excel file hold.xlsx.
Minutes Rating Minutes Rating
4 15 2 16
8 13 10 14
0 18 3 20
5 10 8 14
6 14 4 13
a. Construct a scatter plot for these data. b. Calculate the slope and the y-intercept for the regres-
sion equation. c. Provide an interpretation for the value of the slope. d. Calculate the SST. e. Partition the SST into the SSR and SSE.
14.51 Answer the following questions using the data from Problem 14.50:
a. Calculate the coefficient of determination. b. Using a = 0.05, test the significance of the population
coefficient of determination. c. Construct a 90% confidence interval for the average
customer rating from customers who are on hold for 5 minutes.
d. Construct a 90% prediction interval for the customer rating from a customer who is on hold for 5 minutes.
www.freebookslides.com
696 C h a p t e r 14 | Correlation and Simple Linear Regression
14.52 Answer the following questions using the data from Problem 14.50:
a. Using a = 0.05, test for the significance of the regression slope.
b. Construct a 95% confidence interval for the population slope.
c. What conclusions about customer rating and time on hold can be drawn from these results?
14.53 Suppose Consumer Reports would like to investigate the linear relationship between the battery life, in hours, and the screen size, in diagonal inches, of a laptop computer. The following table shows a random sample of eight lap- tops and the battery life and corresponding screen size of each. These data can also be found in the Excel file battery life.xlsx.
Battery Life
Screen Size
Battery Life
Screen Size
3.6 15.6 3.1 14.0
3.7 17.3 4.1 13.3
4.2 14.5 4.5 11.6
4.0 12.1 3.9 13.1
a. Construct a scatter plot for these data. b. Calculate the slope and the y-intercept for the regres-
sion equation.
c. Provide an interpretation for the value of the slope. d. Predict the battery life for a laptop with a 14.5-in.
screen size. e. Calculate the SST. f. Partition the SST into the SSR and SSE.
14.54 Answer the following questions using the data from Problem 14.53:
a. Calculate the coefficient of determination. b. Using a = 0.05, test the significance of the population
coefficient of determination. c. Construct a 95% confidence interval for the average
battery life for a laptop with a 14-in. screen. d. Construct a 95% prediction interval for the battery life
for a laptop with a 14-in. screen.
14.55 Answer the following questions using the data from Prob- lem 14.53:
a. Using a = 0.05, test the significance of the regression slope.
b. Construct a 95% confidence interval for the population slope.
c. What conclusions about battery life and screen size can be drawn from these results?
14.8 Some Final (but Very Important) Thoughts
Now that you are prepared to go out and dazzle the world with your newfound regression skills, I need to impart some wisdom regarding the potential pitfalls you may encounter.
The first pitfall involves using the regression equation to predict values for the depen- dent variable beyond the range of the data. In the exam-grade example from earlier in the chapter, the number of hours that the six students studied ranged from two to six. What if we tried to use the regression equation that we derived from these data to predict the exam score for a student who studied 20 hours?
yn = 70.1783 + 4.17861202 = 154 1Wow!2 Assuming most exam scores are based on 100 points, this answer obviously doesn’t
make any sense unless you have a very generous teacher with a very generous exam curve. Because our data did not extend beyond 6 hours of studying, we really don’t know how exam scores will be affected beyond that range. As you can see, results under these circum- stances can be of questionable value.
The second pitfall involves the nature of the linear relationship between the independent and dependent variables. Just because the linear relationship between the variables is statisti- cally significant doesn’t prove that independent variable actually caused the change in the dependent variable. To prove causation, you need to have evidence that one variable is caus- ing the other to move, which regression and correlation alone do not provide. For example, if our ordered pairs were the left and right shoe sizes of people, we would expect a very high correlation. This is not the result of one foot causing the other foot to be a certain size. These two variables just tend to move together naturally—unless, of course, you are me, who has to suffer through life with a left foot that is bigger than the right. Oh well, we all have our burdens to bear.
www.freebookslides.com
697
■ An independent variable x explains the variation (the change) in a dependent variable y.
■ The relationship between independent and dependent variables exists only in one direction, x S y. ■ A correlation coefficient (r) indicates both the strength and direction of the linear relationship
between an independent and dependent variable.
• The values of r range from - 1.0, a strong negative linear relationship, to + 1.0, a strong positive linear relationship.
• When r = 0, there is no linear relationship between the variables x and y.
■ We can perform a hypothesis test to determine if the population correlation coefficient, r, is signifi- cantly different from zero based on the sample correlation coefficient, r.
• If we reject the null hypothesis, we have enough evidence from our sample to conclude that a linear relationship does exist between the two variables.
■ The least squares method is a mathematical procedure used to identify the linear equation that best fits a set of ordered pairs.
• The procedures involve finding values for b0, the y-intercept, and b1, the slope.
• The value of y represents an actual data point, whereas the value of yn is the predicted value of y using the linear equation, given a value for x.
■ The difference in the values of the dependent variable is known as variation and is measured by a term known as the total sum of squares (SST).
■ The sum of squares regression (SSR) measures the amount of variation in a dependent variable explained by an independent variable.
■ The sum of squares error (SSE) measures the variation in a dependent variable that is explained by variables other than the independent variable.
■ The coefficient of determination, R 2, measures the percentage of the total variation of a dependent variable explained by an independent variable.
• A coefficient of determination equal to zero means that there is no linear relationship between the variables.
• The coefficient of determination is the square of the correlation coefficient.
■ A regression equation provides a point estimate for a dependent variable, given the value of an independent variable.
■ The standard error of the estimate, se, measures the amount of dispersion of the observed data around the regression line.
• If the data points are very close to the line, the standard error of the estimate is relatively low.
■ We can construct a confidence interval for an average value of y based on a value of x or a predic- tion interval for an individual value of y based on a value of x.
■ We can perform a hypothesis test to determine if the population slope, b1, is equal to zero.
• If we fail to reject the null hypothesis, we can conclude that there is no linear relationship between the dependent and independent variables.
■ The standard error of the slope, sb, measures how consistent the slope of a regression equation, b1, would be if several sets of samples from the population were selected and the regression equation were derived for each of them.
■ We can construct a confidence interval for the regression slope to provide an estimate for the pos- sible values for b1.
• If the confidence interval includes zero, we have some evidence that b1 could be equal to zero, which indicates that there may not be a linear relationship between the independent and depen- dent variables.
chapter 14 Summary
www.freebookslides.com
698
■ The following assumptions must hold true for a regression analysis in order for it to provide reliable results.
• The relationship between the independent variable and the dependent variable is linear.
• The residuals exhibit no patterns across values for the independent variable.
• The variation of the dependent variable is the same across all values for the independent variable, which is known as homoscedasticity.
• The residuals follow the normal probability distribution.
■ Caution must be exercised when using the regression equation to predict values outside of the range of the sample data from which the equation was derived.
■ Also, just because the linear relationship between the variables is statistically significant doesn’t prove that independent variable actually caused the change in the dependent variable.
chapter 14 Key Terms Dependent variable, y. A variable that is explained by the inde-
pendent variable, x. Homoscedasticity. A regression assumption that states that the
variation of a dependent variable is the same across all values of an independent variable.
Independent variable, x. A variable that explains the variation in the dependent variable, y.
Least squares method. A mathematical procedure used to iden- tify the linear equation that best fits a set of ordered pairs. The procedure involves finding values for b0, the y-intercept, and b1, the slope.
Normal probability plot. Used to verify if data follow the nor- mal probability distribution by graphing the data on the y-axis and the z-scores for the data on the x-axis.
Population coefficient of determination, R2. Measures the percentage of total variation of the dependent variable that is explained by the independent variable from the population.
Population correlation coefficient, R. A coefficient that refers to the correlation between all values of two variables of interest in a population.
Regression line. The line created by a regression analysis that best fits the data.
Residual, ei. The difference between the actual data value and the predicted value.
Sample Coefficient of determination, R2. A coefficient that measures the percentage of the total variation of a dependent variable that is explained by an independent variable.
Sample Correlation coefficient, r. A coefficient that indicates both the strength and direction of a linear relationship between independent and dependent variables from a sample.
Simple regression analysis. A technique that allows us to de- scribe a straight line that best fits a series of ordered pairs 1x, y2.
Standard error of the estimate, se. A value that measures the amount of dispersion of observed data around a regression line.
Standard error of the slope, sb. A value that measures how con- sistent the slope of a regression equation, b, would be if sev- eral sets of samples from the population were selected and the regression equation were derived for each of them.
Sum of squares error (SSE). A value that measures the variation in a dependent variable that is explained by variables other than an independent variable.
Sum of squares regression (SSR). A value that measures the amount of variation in a dependent variable that is explained by an independent variable.
Total sum of squares (SST). A value that measures the variation in the values of a dependent variable.
www.freebookslides.com
699
14.2 Correlation Analysis (pp 653–659)
Formula 14.1 for the Sample Correlation Coefficient r = n a xy - a a xb a a ybA c n a x 2 - a a xb2 d c n a y 2 - a a yb2 d
Formula 14.2 for the Test Statistic for the Correlation Coefficient t = rB 1 - r 2n - 2
14.3 Simple Regression Analysis (pp 660–672)
Formula 14.3 for Equation Describing a Straight Line through Ordered Pairs yn = b0 + b1x
Formula 14.4 for the Simple Linear Regression Model for a Population yi = b0 + b1xi + ei
Formula 14.5 for the Residual ei = yi - yni
Formula 14.6 for the Sum of Squares Error SSE = a n
i = 1 1yi - yni22
Formula 14.7 for the Regression Slope b1 = n a xy - a a xb a a yb
n a x 2 - a a xb 2
Formula 14.8 for the Regression Intercept b0 = a y
n - b1 a a xn b
Formula 14.9 for the Total Sum of Squares (SST) SST = a 1y - y22
Formula 14.10 for the Total Sum of Squares (SST), Calculator-Friendly Version
SST = a y 2 - 1a y2
2
n
Formula 14.11 for the Relationship between the SSR and the SSE SST = SSR + SSE
Formula 14.12 for the Sum of Squares Error (SSE), Calculator-Friendly Version
SSE = a y 2 - b0 a y - b1 a xy
chapter 14 Equations
www.freebookslides.com
700
Formula 14.13 for the Sum of Squares Regression (SSR) SSR = a 1yn - y22
Formula 14.14 for the Sample Coefficient of Determination R 2 = SSR
SST
Formula 14.15 for the F-Test Statistic for the Coefficient of Determination
F = SSR
a SSE n - 2
b
14.4 Using a Regression to Make a Prediction (pp 672–679)
Formula 14.16 for the Standard Error of the Estimate se = A SSEn - 2 Formula 14.17 for the Confidence Interval (CI) for an Average Value of y CI = yn { ta>2se R1n + 1x - x221 a x 2 2 - 1 a x22n Formula 14.18 for the Prediction Interval (PI) for a Specific Value of y PI = yn { ta>2se R1 + 1n + 1x - x221 a x 2 2 - 1 a x22n 14.5 Testing the Significance of the Slope of the Regression Equation (pp 679–683)
Formula 14.19 for the t-Test Statistic for the Regression Slope t = b1 - b1
sb
Formula 14.20 for the Standard Error of a Slope sb = se2gx 2 - n1x22
Formula 14.21 for the Confidence Interval for the Population Slope CI = b1 { ta>2sb
www.freebookslides.com
701
chapter 14 Problems
14.56 As a measure of productivity, Verizon Wireless records the number of customers each of its retail employees activates weekly. An activation is defined as either a new customer signing a cell phone contract or an existing customer re- newing a contract. The following table shows the number of weekly activations for eight randomly selected employees along with their job-satisfaction levels rated on a scale of 1–10 110 = Most satisfied2. These data can also be found in the Excel file activations.xlsx.
Activations Satisfaction Activations Satisfaction
36 8.0 19 6.1
25 7.9 28 7.0
40 8.5 33 8.2
38 9.0 25 7.7
a. Construct a scatter plot for these data. b. Calculate the slope and the y-intercept for the regression
equation. c. Provide an interpretation for the value of the slope. d. Predict the number of activations next week for an
employee with a satisfaction level of 7.5. e. Calculate the SST. f. Partition the SST into the SSR and the SSE. g. Verify your results using Excel.
14.57 Answer the following questions using the data from Problem 14.56: a. Calculate the correlation coefficient for this sample. b. Using a = 0.01, test to determine if the population
correlation coefficient is not equal to zero. c. What conclusions can be made based on these results?
14.58 Answer the following questions using the data from Problem 14.56: a. Calculate the coefficient of determination. b. Using a = 0.01, test the significance of the population
coefficient of determination. c. Construct a 99% confidence interval for the average
number of activations made by an employee with a job-satisfaction score of 8.0.
d. Construct a 99% prediction interval for the number of activations made by an employee with a job-satisfaction score of 8.0.
e. Verify your results with PHStat.
14.59 Answer the following questions using the data from Problem 14.56: a. Using a = 0.01, test for the significance of the regres-
sion slope. b. Construct a 99% confidence interval for the population
slope. c. What conclusions about the number of weekly activa-
tions and job satisfaction can be drawn from these results?
d. Verify your results using Excel.
14.60 The American Board of Family Medicine would like to investigate the theory that a mother’s shoe size can be used to predict an infant’s birth weight in pounds. The following table records a random sample of the shoe sizes of 10 mothers and the birth weights of their infants. These data can also be found in the Excel file ABFM.xlsx.
Shoe Size Weight Shoe Size Weight
7.5 7.2 8.0 6.9
8.0 7.8 8.5 9.2
9.0 8.0 7.5 6.5
8.5 9.4 8.0 9.1
8.5 7.7 9.0 9.8
a. Construct a scatter plot for these data. b. Calculate the slope and the y-intercept for the regression
equation. c. Provide an interpretation for the value of the slope. d. Predict the infant weight for a mother with an 8.5 shoe
size. e. Calculate the SST. f. Partition the SST into the SSR and the SSE.
14.61 Answer the following questions using the data from Problem 14.60: a. Calculate the correlation coefficient for this sample. b. Using a = 0.10, test to determine if the population cor-
relation coefficient is greater than zero. c. What conclusions can be made based on these results?
14.62 Answer the following questions using the data from Problem 14.60: a. Calculate the coefficient of determination. b. Using a = 0.10, test the significance of the population
coefficient of determination. c. Construct a 90% confidence interval for the average
birth weight for a maternal shoe size of 8.5. d. Construct a 90% prediction interval for the birth weight
for a maternal shoe size of 8.5.
14.63 Answer the following questions using the data from Problem 14.60: a. Using a = 0.10, test for the significance of the regres-
sion slope. b. Construct a 90% confidence interval for the population
slope. c. What conclusions about the maternal shoe size and birth
weight can be drawn from these results? d. Verify your results using Excel.
14.64 Zagat surveys airline customers on a 30-point satisfaction scale measuring comfort, service, and food for both do- mestic and international flights. The Excel file Zagat.xlsx contains survey results that were recently collected showing the average scores for various airlines.
www.freebookslides.com
702
a. Calculate the correlation coefficient for this sample. b. Using a = 0.01, perform a hypothesis test to determine
if the correlation coefficient is greater than zero. c. What conclusions can be drawn based on these results?
14.65 A regional manager at Acme Markets would like to develop a model to predict weekly sales of pet food based on the shelf space. The following table shows the data collected from nine randomly selected stores and can also be found in the Excel file Acme.xlsx.
Shelf Space (Feet)
Sales ($100)
Shelf Space (Feet)
Sales ($100)
2 3 2 4
3 3 4 5
4 6 5 7
6 14 5 10
5 12
a. Construct a scatter plot for these data. b. Calculate the slope and the y-intercept for the regression
equation. c. Provide an interpretation for the value of the slope. d. Predict the weekly sales based on four feet of shelf
space. e. Calculate the SST. f. Partition the SST into the SSR and the SSE.
14.66 Answer the following questions using the data from Problem 14.65: a. Calculate the correlation coefficient for this sample. b. Using a = 0.05, perform a hypothesis test to determine
if the correlation coefficient is greater than zero. c. What conclusions can be drawn based on these results?
14.67 Answer the following questions using the data from Problem 14.65: a. Calculate the coefficient of determination. b. Using a = 0.05, test the significance of the population
coefficient of determination. c. Construct a 95% confidence interval for the average
sales from 4.0 feet of shelf space. d. Construct a 95% prediction interval for the sales from
4.0 feet of shelf space. e. Verify your results from parts c and d with PHStat.
14.68 Answer the following questions using the data from Problem 14.65: a. Using a = 0.05, test for the significance of the regres-
sion slope. b. Construct a 95% confidence interval for the population
slope. c. What conclusions about the shelf space and sales can be
drawn from these results? d. Verify your results using Excel.
14.69 Suppose I recorded the attendance of my students in a recent statistics class because I wanted to investigate the linear relationship between the number of classes they missed and their final grades. The following table shows these data for a random sample of nine students and can also be found in the Excel file missed classes.xlsx.
Missed Classes
Final Grade
Missed Classes
Final Grade
4 74 2 84
6 79 0 90
1 93 5 86
4 70 2 95
0 96
a. Construct a scatter plot for these data. b. Calculate the slope and the y-intercept for the regression
equation. c. Provide an interpretation for the value of the slope. d. Predict the final grade for a student who missed five
classes. e. Calculate the SST. f. Partition the SST into the SSR and the SSE. g. Verify your results using Excel.
14.70 Answer the following questions using the data from Problem 14.69: a. Calculate the correlation coefficient for this sample. b. Using a = 0.05, perform a hypothesis test to determine
if the correlation coefficient is less than zero. c. What conclusions can be drawn based on these results?
14.71 Answer the following questions using the data from Problem 14.69: a. Calculate the coefficient of determination. b. Using a = 0.05, test the significance of the population
coefficient of determination. c. Construct a 95% confidence interval for the average
grade of students who missed two classes. d. Construct a 95% prediction interval for the grade of a
student who missed two classes. e. Verify your results from parts c and d with PHStat.
14.72 Answer the following questions using the data from Problem 14.69: a. Using a = 0.05, test for the significance of the regres-
sion slope. b. Construct a 95% confidence interval for the population
slope. c. What conclusions about missed classes and final grade
can be drawn from these results? d. Verify your results using Excel.
14.73 Suppose GNC, a vitamin and supplement supplier, would like to investigate the relationship between the size of an
www.freebookslides.com
703
order and the age of the customer who ordered it. This information could allow GNC to target its promotions to specific age groups. The following table shows the ages for seven randomly selected customers along with their most recent order sizes in dollars. This data can also be found in the Excel file GNC.xlsx.
Age Order
Size ($) Age Order
Size ($)
41 54 29 15
26 30 49 25
34 22 38 85
54 63
a. Construct a scatter plot for these data. b. Calculate the correlation coefficient for this sample. c. Using a = 0.05, perform a hypothesis test to determine
if the population correlation coefficient is greater than zero?
d. What conclusions can be drawn based on these results?
14.74 Answer the following questions based on the data from Problem 14.73. a. Calculate the slope and the y-intercept for the regression
equation. b. Predict the order size of a 32-year-old customer. c. Provide an interpretation for the value of the slope. d. Calculate the total sum of squares. e. Partition the total sum of squares into the SSR and SSE. f. Verify your results using Excel.
14.75 Answer the following questions based on the data from Problem 14.73. a. Calculate the coefficient of determination. b. Test the significance of the population coefficient of
determination using a = 0.05. c. Construct a 95% confidence interval for the average
order size for a 40-year-old customer. d. Construct a 95% prediction interval for the order size for
Rick, who is a 40-year-old customer. e. Verify your results from parts c and d with PHStat.
14.76 Answer the following questions based on the data from Problem 14.73. a. Test for the significance of the regression slope using
a = 0.05. b. Construct a 95% confidence interval for the population
slope. c. What conclusions about the order size and customer’s
age can be drawn from these results? d. Verify your results using Excel.
14.77 A Buick dealership would like to develop a regression model that would predict the number of cars sold per month by a dealership employee based on the employee’s num- ber of years of sales experience. The following regression
output was developed based on a random sample of employees.
Anova
df SS
Regression 1 84.72068376
Residual 23 243.1193162
Total 24 327.84
Coefficients Standard Error
Intercept 7.069059829 1.507676628
Experience 0.601709402 0.212538635
a. Predict the sales next month for an employee with 3.5 years of sales experience.
b. Compute the coefficient of determination and interpret its meaning.
c. Do the sample data provide evidence that the model is useful for predicting average monthly sales for employees based on their sales experience using a = 0.05?
d. Construct a 95% confidence interval around the sample slope and interpret its meaning.
14.78 Mike Lynch manages a real estate firm in Myrtle Beach, South Carolina, and would like to construct a model to help him predict the selling price of beach properties for his customers based on the age of the house in years. Mike has collected a random sample of home sales from the area and generated a regression model using Excel, which is shown in the following table. Selling price for homes were recorded in thousands of dollars.
Anova
df SS
Regression 1 178208.8925
Residual 28 1797115.274
Total 29 1975324.167
Coefficients Standard Error
Intercept 859.5990541 142.9768355
Age - 10.2005605 6.121647288
a. Predict the selling price for a 16-year-old home. b. Compute the coefficient of determination and interpret
its meaning. c. Do the sample data provide evidence that the model is
useful for predicting average selling price based on the age of the home using a = 0.01?
d. Construct a 98% confidence interval around the sample slope and interpret its meaning.
14.79 Each week during the NCAA men’s college basketball sea- son, teams are ranked according to two polls—the AP Poll and the Coach’s Poll. Each team’s position is determined by
www.freebookslides.com
704
the number of points received by the polls. The Excel file NCAA basketball.xlsx lists the points 24 teams received for the week of March 11, 2013. a. Using Excel, calculate the correlation coefficient for this
sample. b. Using a = 0.05, perform a hypothesis test to determine
if the correlation coefficient is not equal to zero. c. What conclusions can be drawn about the consistency of
these two polls based on these results?
14.80 Suppose Cars.com would like to describe the linear rela- tionship between the odometer mileage of a used 2010 Ford Explorer and its asking price. The Excel file Explorer.xlsx contains data for these variables for 40 used 2010 Explorers currently on the market. Use Excel and PHStat to answer the following questions: a. Construct a scatter plot for these data. b. Identify the slope and the y-intercept for the regression
equation. c. Provide an interpretation for the value of the slope. d. Is the linear relationship between mileage and asking
price statistically significant using a = 0.05? e. Identify the 95% confidence interval for the slope and
interpret the results.
f. Construct a 95% confidence interval for the average asking price for Explorers with 36,000 miles on their odometers.
g. Construct a 95% prediction interval for the asking price for an Explorer with 36,000 miles on its odometer.
14.81 The Excel file MLB 2012 Payroll.xlsx contains the to- tal payroll in millions of dollars for each Major League Baseball team at the start of the 2012 season along with the total number of each team’s wins at the end of the season. Use Excel and PHStat to answer the following questions: a. Construct a scatter plot for these data. b. Identify the slope and the y-intercept for the regression
equation. c. Provide an interpretation for the value of the slope. d. Is the linear relationship between payroll and wins sta-
tistically significant using a = 0.05? e. Identify the 95% confidence interval for the slope and
interpret the results. f. Construct a 95% confidence interval for the aver-
age number of wins for teams that have $100 million payrolls.
g. Construct a 95% prediction interval for the number of wins for a team that has a $100 million payroll.
chapter 14 Solutions to Your Turn
Y o U R T U R n # 1
Age Hours
x y xy x2 y2
24 2.7 64.8 576 7.29
32 4.2 134.4 1,024 17.64
47 5.0 235.0 2,209 25.00
40 3.8 152.0 1,600 14.44
26 2.2 57.2 676 4.84
53 2.9 153.7 2,809 8.41
38 3.0 114.0 1,444 9.00
a x = 260 a y = 23.8 a xy = 911.1 a x 2 = 10,338 a y 2 = 86.62
r = n a xy - 1 a x2 1 a y223n a x 2 - 1 a x224 3n a y 2 - 1 a y224
r = 1721911.12 - 12602123.8223172110,3382 - 12602243172186.622 - 123.8224
r = 16,377.72 - 16,188223172,3662 - 167,6002431606.342 - 1566.4424
r = 189.7234,7664339.94 = 189.72190,163.4 = 189.7436.08 = 0.435
According to this sample, because the correlation coefficient is greater than zero, it appears that as the hiker’s age increases, the hiking time on this trail tend to increase.
www.freebookslides.com
705
Y o U R T U R n # 2 H0: r = 0
H1: r ≠ 0
t = rA 1 - r 2n - 2 = 0.435A 1 - 10.435227 - 2 = 0.435A 1 - 0.18925
t = 0.435A 0.81085 = 0.43520.1622 = 0.4350.4027 = 1.08
For a one-tail test with a = 0.10 and 7 - 2 = 5 degrees of freedom, ta = 1.476. Because t = 1.08 is less than ta = 1.476, we fail to reject the null hypothesis. Based on our sample, the correlation coefficient between the age of a hiker and the hiking time for this trail is not different than zero. In other words, there is no support that a linear relationship exists between the two.
Y o U R T U R n # 3
b1 = n a xy - 1 a x2 1 a y2
n a x 2 - 1 a x22 b1 =
1721911.12 - 12602123.82 172110,3382 - 126022
b1 = 6,377.7 - 6,188 72,366 - 67,600
= 189.7
4,766 = 0.0398
b0 = a y
n - b1a a xn b
b0 = 23.8
7 - 10.03982a 260
7 b
b0 = 3.40 - 1.4783 = 1.9217 yn = 1.9217 + 0.0398x yn = 1.9217 + 0.03981362 = 3.35 hours
As the hiker’s age increases by one year, his or her hiking time tends to increase by an average of 0.0398 hours (or 2.4 minutes) on this trail.
Y o U R T U R n # 4
SST = a y 2 - 1 a y2 2
n
SST = 86.62 - 123.822
7
SST = 86.62 - 80.92 = 5.70
SSE = a y 2 - b0 a y - b1 a xy SSE = 186.622 - 11.92172123.82 - 10.039821911.12 SSE = 86.62 - 45.736 - 36.262 = 4.622 SSR = SST - SSE SSR = 5.70 - 4.622 = 1.078
Y o U R T U R n # 5
R 2 = SSR
SST =
1.078
5.70 = 0.189
R 2 = r 2 = 10.43522 = 0.189
F = SSR
a SSE n - 2
b =
1.078
a 4.622 7 - 2
b =
1.078
0.9244 = 1.17
D1 = 1
D2 = n - 2 = 7 - 2 = 5 Fa = 4.060
F 6 Fa S 1.17 6 4.060 S Do not reject H0
A hiker’s age explains only about 18.9% of the variation in the hiking time on this trail. This percentage is too low to be considered statistically significant.
Y o U R T U R n # 6
se = A SSEn - 2 = A 4.6227 - 2 = 20.9244 = 0.961 yn = 1.9217 + 0.0398x yn = 1.9217 + 0.03981402 = 3.51 hours
x = a x n
= 260
7 = 37.14
df = n - 2 = 7 - 2 = 5 ta>2 = 1.476
www.freebookslides.com
706
1. Confidence interval:
CI = yn { ta>2se R1n + 1x - x221 a x 22 - 1 a x22n CI = 3.51 { 11.476210.9612R17 + 140 - 37.142210,338 - 1260227 CI = 3.51 { 11.4182R0.1429 + 12.862210,338 - 167,60027 CI = 3.51 { 11.418220.1429 + 0.0120 CI = 3.51 { 11.418220.1549 CI = 3.51 { 0.558
UCL = 3.51 + 0.558 = 4.07 hours LCL = 3.51 - 0.558 = 2.95 hours
We are 80% confident that the average hiking time for a 40-year-old hiker on the Wengen-Kleine Scheidegg trail is between 2.95 hours and 4.07 hours.
2. Prediction interval:
PI = yn { ta>2se R1 + 1n + 1x - x221 a x 22 - 1 a x22n PI = 3.51 { 11.476210.9612R1 + 17 + 140 - 37.142210,338 - 1260227 PI = 3.51 { 11.4182R1 + 0.1429 + 12.862210,338 - 167,60027 PI = 3.51 { 11.418221.1429 + 0.0120 PI = 3.51 { 11.418221.1549 PI = 3.51 { 1.52
UPL = 3.51 + 1.52 = 5.03 hours LPL = 3.51 - 1.52 = 1.99 hours
We are 80% confident that the hiking time for Deb, a 40-year-old hiker on the Wengen-Kleine Scheidegg trail, is between 1.99 hours and 5.03 hours.
Y o U R T U R n # 7 H0: b1 = 0
H1: b1 ≠ 0
se = 0.961 a x 2 = 10,338 n = 7 x = 37.14 sb =
se3 a x 2 - n1x22 = 0.961310,338 - 172137.1422 sb =
0.961210,338 - 9,655.657 = 0.96126.122 = 0.0368 b1 = 0.0398 b1 = 0
t = b1 - b1
sb =
0.0398 - 0 0.0368
= 1.08
ta>2 = 2.015
t 6 ta>2 S 1.08 6 2.015 S Do not reject H0 CI = b1 { ta>2sb = 0.0398 { 12.015210.03682 CI = b1 { ta>2sb = 0.0398 { 0.0742
UCL = 0.0398 + 0.0742 = 0.114 LCL = 0.0398 - 0.0742 = - 0.0344 Notice that this confidence interval for the slope includes zero. Since there is evidence that the population slope could be equal to zero, this is consistent with the conclusion that there is no relationship between a hiker’s age and the hiking time for the Wengen-Kleine Scheidegg trail.
Y o U R T U R n # 8
ERA Wins
x y xy x2 y2
5.0 57 285.0 25.00 3,249
4.8 65 312.0 23.04 4,225
4.1 69 282.9 16.81 4,761
4.0 80 320.0 16.00 6,400
3.7 97 358.9 13.69 9,409
4.2 75 315.0 17.64 5,625
4.1 80 328.0 16.81 6,400
3.6 81 291.6 12.96 6,561
a x = 33.5 a y = 604 a xy = 2,493.4 a x 2 = 141.95 a y 2 = 46,630
www.freebookslides.com
707
r = n a xy - 1 a x2 1 a y233n a x 2 - 1 a x224 3n a y 2 - 1 a y224
r = 18212,493.42 - 133.5216042231821141.952 - 133.52243182146,6302 - 1604224
r = 119,947.22 - 120,234.022311,135.62 - 11,122.252431373,0402 - 1364,81624
r = - 286.8 331.35
= - 0.866
H0: r = 0
H1: r ≠ 0
t = rB 1 - r 2n - 2 = - 0.866B 1 - 1 - 0.866228 - 2 = - 0.866B 1 - 0.7506 = - 0.8660.2042 = - 4.24
ta>2 = 3.707 for df = 6
Reject the null hypothesis. As expected, the more runs a team gives up, the fewer games it will win. This linear relationship is significant because we rejected the null hypothesis.
Y o U R T U R n # 9
b1 = n a xy - 1 a x21 a y2
n a x 2 - 1 a x22 b1 =
18212,493.42 - 133.5216042 1821141.952 - 133.522 =
- 286.8 13.35
= - 21.4831
b0 = a y
n - b1a a xn b
b0 = 604
8 - 1 - 21.48312a 33.5
8 b = 165.4605
yn = 165.4605 - 21.4831x yn = 165.4605 - 21.483114.22 = 75.232 ≈ 75 games
If the Pirates can reduce the average number of runs they give up per game by one (make x smaller), the team would expect to win 21.4831, or 21, additional games during the season (make yn larger). I am not holding my breath.
Y o U R T U R n # 1 1
R 2 = SSR
SST =
770.18
1,028 = 0.749
F = SSR
a SSE n - 2
b =
770.18
a 257.82 8 - 2
b =
770.18
42.97 = 17.92
D1 = 1
D2 = n - 2 = 8 - 2 = 6 Fa = 13.745
Reject the null hypothesis. According to our results, 74.9% of the variation in wins can be explained by the average number of runs a team gives up per game. This percentage is high enough to be statistically significant. It looks like in order to add some games to the win column, the Pirates need to find some better pitching next year.
Y o U R T U R n # 1 0
SST = a y 2 - 1 a y2 2
n
SST = 46,630 - 160422
8
SST = 46,630 - 45,602 = 1,028 SSE = a y 2 - b0 a y - b1 a xy
SSE = 146,6302 - 1165.4605216042 - 1 - 21.4831212,493.42 SSE = 46,630 - 99,938.142 + 53,565.962 SSE = 257.82
SSR = SST - SSE SSR = 1,028 - 257.82 = 770.18
www.freebookslides.com
708
Y o U R T U R n # 1 2
se = A SSEn - 2 = A 257.828 - 2 = 242.97 = 6.555 yn = 165.4605 - 21.4831x yn = 165.4605 - 21.483114.72 = 64.49
x = a x n
= 33.5
8 = 4.1875
df = n - 2 = 8 - 2 = 6 ta>2 = 1.943
The 90% confidence interval is calculated as follows:
CI = yn { ta>2se S1n + 1x - x221 a x 22 - 1 a x22n CI = 64.49 { 11.943216.5552S18 + 14.7 - 4.187522141.95 - 133.5228 CI = 64.49 { 112.742S0.125 + 10.512522141.95 - 11,122.2528 CI = 64.49 { 112.74220.125 + 0.1573 CI = 64.49 { 6.77
UCL = 64.49 + 6.77 = 71.26 LCL = 64.49 - 6.77 = 57.72 We are 90% confident that if a team gives up an average of 4.7 runs per game, it will win an average of between 58 and 71 games during the season.
The 90% prediction interval is calculated as follows:
PI = yn { ta>2se S1 + 1n + 1x - x221 a x 22 - 1 a x22n PI = 64.49 { 11.943216.5552S1 + 18 + 14.7 - 4.187522141.95 - 133.5228 PI = 64.49 { 112.742S1 + 0.125 + 10.512522141.95 - 11,122.2528
PI = 64.49 { 112.74221.125 + 0.1573 PI = 64.49 { 14.43
UPL = 64.49 + 14.43 = 78.92 LPL = 64.49 - 14.43 = 50.06
We are 90% confident that a team that gives up an average of 4.7 runs per game will win between 50 and 79 games. I have absolutely no recollection of when the Pirates last won 79 games in a season.
Y o U R T U R n # 1 3 H0: b1 = 0
H1: b1 ≠ 0
se = 6.555 a x 2 = 141.95 n = 8 x = 4.1875 sb =
se2a x 2 - n1x22 = 6.5552141.95 - 18214.187522 sb =
6.5552141.95 - 182117.53522 = 6.5552141.95 - 140.282 = 5.074 b1 = - 21.4831 b1 = 0
t = b1 - b1
sb =
- 21.4831 - 0 5.074
= - 4.23
ta>2 = 3.707
Reject the null hypothesis.
CI = b1 { ta>2sb = - 21.4831 { 13.707215.0742 CI = b1 { ta>2sb = - 21.4831 { 18.809
UCL = - 21.4831 + 18.809 = - 2.67 LCL = - 21.4831 - 18.809 = - 40.29
Notice that this confidence interval for the slope does not include zero. This is consistent with the conclusion that there is a linear relationship between wins and ERAs in Major League Baseball. According to our interval, we are 99% sure that giving up one extra run per game will result in a team losing between 2.67 and 40.29 games during the season. This interval is relatively wide because of the small sample size (8) and the very small value for alpha (0.01).
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Develop a multiple regression model using software.
■ Interpret the meaning of regression coefficients.
■ Interpret the meaning of the multiple coefficient of determination.
■ Test the significance of the overall regression model and the individual regression coefficients.
■ Use qualitative independent variables in the regression model.
■ Identify the presence of multicol- linearity in the regression model.
■ Develop a regression model using general stepwise method and best subset method.
Multiple Regression and Model Building
C h a p t e r 1 5 M a p
15.1 Developing the Multiple Regression Model | 710
15.2 Explaining the Variation of the Dependent Variable | 717
15.3 Inferences about the Independent Variables | 726
15.4 Using Qualitative Independent Variables | 732
15.5 Model Building | 739
15
www.freebookslides.com
710 C h a p t e r 15 | Multiple Regression and Model Building
In Chapter 14, we learned about simple regression analysis, where one independent vari- able is used to describe the variation in a dependent variable. We extend that concept in this chapter to the multiple regression technique, which uses more than one independent variable to explain the variation in the dependent variable of interest. The opening example in this chapter is a perfect application of the multiple regression technique.
In this chapter, we will use a multiple regression model to describe the relationship between independent variables (such as a car’s age and mileage) and a dependent variable (such as a car’s asking price). We can then use this relationship to help us choose an asking price for the used Toyota Camry.
Multiple regression techniques can be used to make many business decisions, including the following:
• Predicting the volume of natural gas used by a residence based on its size, the thermostat set- ting, and the temperature outdoors
• Estimating the creditworthiness of potential customers based on their incomes, ages, and education levels
• Predicting the weekly sales volume of a particular product based on its price, the amount of shelf space it’s allotted, and the amount of advertising it receives
I do have some good news for you. Because multiple regression calculations are very complex, we will be relying primarily on Excel to generate the output (very few nasty hand calculations). Our focus in this chapter will be to interpret the results of multiple regressions.
15.1 Developing the Multiple Regression Model
As explained at the beginning of the chapter, the multiple regression model is an extension of the simple regression model discussed in Chapter 14. Instead of a single independent variable, we now have the opportunity to incorporate k independent variables to explain the variation in our dependent variable of interest. Remember from Chapter 14 that an independent variable, x, explains the variation in the dependent variable, y. The equation that provides the relationship between the multiple variables for a sample is shown in Equation 15.1.
An independent variable, x, explains the variation (which is a fancy word for change) in the dependent variable, y.
Stats in practice: Using Statistics to Set Used Car prices
Congratulations! You have just been promoted to the job of used car sales manager for Brandywine Ford, a major car dealership in the Mid-Atlantic area. One of your primary responsibilities is to decide on the asking price for used cars, which have been
traded in by customers purchasing new cars. You have just learned that the dealership has acquired a six-year-old Toyota Camry with 76,320 miles in a recent trade-in. What asking price should you set for this used car?
Formula 15.1 for the Multiple linear regression Model for a sample
yn = b0 + b1x1 + b2x2 + g+ bkxk
where
yn = The predicted value of y given values of x1, x2, c , xk x1, x2, c, xk = The independent variables of interest
k = The number of independent variables in our regression model b0 = The y-intercept of the regression line
www.freebookslides.com
C h a p t e r 15 | 15.1 Developing the Multiple Regression Model 711
b1 = The average change in yn due to a one-unit change in x1 with x2, c, xk constant
b2 = The average change in yn due to a one-unit change in x2 with x1, x3, c, xk constant
bk = The average change in yn due to a one-unit change in xk with x1, x2, c, xk - 1 constant
We will be relying on the same least squares method that was introduced in Chapter 14 which identifies the linear equation that best fits a specific data set. As you can see, Equation 15.1 provides information about relationships between the dependent variable and independent variable for our sample. However, our real interest lies in the population from which our sample was taken. The multiple linear regression model for a population can be described using Equation 15.2.
A regression coefficient predicts the change in a dependent variable due to a one-unit increase in an independent variable while other variables are held constant.
Although Excel can perform multiple regression, PHStat provides more functionality for this procedure.
Formula 15.2 for the Multiple linear regression Model for a population
y = b0 + b1x1 + b2x2 + g+ bkxk + e
where
y = The dependent variable from the population b0 = The population y-intercept
b1, b2, c, bk = The population slope for the k independent variables x1 = The first independent variable from the population x2 = The second independent variable from the population xk = The kth independent variable from the population e = The residual for the dependent variable from the population
Our goal in this chapter is to estimate the values for b0, b1, b2, c , bk based on our sample which will allow us to make conclusions about our population of interest. In this chapter, I’ll rely on PHStat to provide the regression coefficients for each independent variable shown in Equation 15.1 in the following section (as opposed to calculating them manually like we did in Chapter 14—be thankful for small favors). Mac users can find these instructions on the textbook’s Web site (www.pearsonhighered.com/donnelly).
Identifying regression Coefficients The procedure for developing a multiple regression model is very similar to the simple regression case discussed in Chapter 14. A regression coefficient predicts the change in a dependent variable due to a one-unit increase in an independent variable while other vari- ables are held constant. For example, how much will an extra year’s age affect the price of a Toyota Camry? To determine what a regression’s coefficients are, let’s begin by first col- lecting sample data related to 20 used Toyota Camrys currently on the market. The data are shown in Table 15.1 and can be found in the Excel file Used Camrys.xlsx.
www.freebookslides.com
712 C h a p t e r 15 | Multiple Regression and Model Building
As you can see from Table 15.1, we have two independent variables in this example, mileage and age, so k = 2. This results in the following regression equation:
yn = b0 + b1x1 + b2x2 We will predict the value for our used Camry by identifying the values for b0, b1, and b2 in this equation by using PHStat:
1. Open the Excel file Used Camrys.xlsx.
2. Go to Add-Ins + PHStat + Regression + Multiple Regression, as shown in Figure 15.1A.
Be sure you understand the difference between y and yn. The variable y represents the value of the dependent variable such as $27,995 for the first car. The variable yn represents the predicted value for the dependent variable that results from Equation 15.1.
{ table 15.1 | Asking Prices for 20 Used Toyota Camrys
car
price ($)
mileage (miles)
age (yrs) car
price ($)
mileage (miles)
age (yrs)
1 27,995 52,438 2 11 13,899 62,330 4
2 22,500 30,815 7 12 13,500 86,137 4
3 21,490 18,260 5 13 12,999 53,969 5
4 20,400 36,504 3 14 12,500 54,718 9
5 19,495 23,781 3 15 11,600 50,366 5
6 18,700 33,796 7 16 11,400 64,567 7
7 15,995 51,706 3 17 11,295 69,953 4
8 15,000 78,251 5 18 9,995 92,367 6
9 13,990 44,692 4 19 9,995 78,880 8
10 13,900 59,060 5 20 9,600 55,512 8
{ figure 15.1a Using PHStat for a Multiple
Regression (Steps 1 and 2)
In the Multiple Regression dialog box, shown in Figure 15.1B, do the following:
3. Click on the first text box, which is labeled Y Variable Cell Range.
4. Because our y (dependent) variable is Price, highlight Cells B1 to B21, which includes the label “Price.”
5. Click on the second text box, which is labeled X Variables Cell Range.
www.freebookslides.com
C h a p t e r 15 | 15.1 Developing the Multiple Regression Model 713
6. Highlight Cells C1 to D21.
7. Because labels were included in our data range, check the First cells in both ranges contain label, as Figure 15.1B shows.
8. Check the boxes in the Regression Tool Output Options and Output Options sections as shown in Figure 15.1B.
9. In the Confidence level for interval estimates text box, enter 95. Click OK.
PHStat and Excel both require that the independent variables be located in adjacent columns in the spreadsheet as shown in Figure 15.1B.
{ figure 15.1b Using PHStat for a Multiple
Regression (Steps 3–9)
10. PHStat creates several worksheets for the multiple regression output. The current sheet will be labeled “COMPUTE” and contains the multiple regression results shown in Figure 15.1C.
The coefficients for our regression equation are circled in red in Figure 15.1C. The equation to predict the asking price for used Camrys is therefore as follows:
yn = 28,253.0486 - 0.1422x1 - 986.6639x2 where
x1 = The mileage x2 = The age in years of the used car
Recording these coefficients to four decimal places may seem like overkill, but doing so will reduce rounding errors later in the chapter.
{ figure 15.1c Using PHStat for a Multiple
Regression (Final Result)
www.freebookslides.com
714 C h a p t e r 15 | Multiple Regression and Model Building
Let’s look at how to interpret the meaning of these regression coefficients. The mile- age coefficient 1b1 = - 0.14222 tells us that an additional mile on a used car’s odometer will reduce the asking price by an average of $0.1422. The negative sign for this coefficient means that increasing the mileage will reduce the asking price, which is to be expected. This change assumes that the age of the car stays constant.
The age coefficient 1b2 = - 986.66392 tells us that an additional year on the age of a used car will reduce the asking price by an average of $987. The negative sign for this coef- ficient means that increasing the age of the car will reduce the asking price, which is also to be expected. This change assumes that the mileage of the car stays constant.
Finally, the y-intercept 1b0 = 28,2532 provides an estimate for the price of a Camry with zero miles and zero years, or essentially a new vehicle. However, because we do not have any observations in our sample with these values of x1 and x2, predicting that a new Camry will cost $28,253 is not a reliable estimate.
The coefficients for the age and the mileage are the result of the software using the least squares method to find the values that minimize a 1y - yn22, which is essentially minimiz- ing the squared error (difference) between the actual and predicted dependent variable.
Using the regression Model to Make predictions We’re now ready to answer the question posed at the start of this chapter: What should your asking price for the six-year-old Toyota Camry with 76,320 miles be? We need to set x1 = 76,320 and x2 = 6 into our used Camry regression equation:
yn = 28,253.0486 - 0.1422x1 - 986.6639x2 yn = 28,253.0486 - 0.1422176,3202 - 986.6639162 = $11,480
Based on our regression results, the asking price of the recently acquired Camry should be set to $11,480. I can only imagine how impressed your new boss will be to see this analysis!
We can construct a confidence interval around this asking price to get a sense of the range of asking prices in the market for vehicles with similar ages and mileages. The PHStat output provides this information in the “CIEandPI” worksheet (found by scrolling left to the first worksheet) which we generated in the previous section. The worksheet is shown in Fig- ure 15.2 after using the Delete key to remove the PHStat User Note.
Using the multiple regression equation to predict the dependent variable using values of independent variables outside of the range of the original sample can lead to unreliable results.
{ figure 15.2 Confidence and Prediction
Intervals Using PHStat
www.freebookslides.com
C h a p t e r 15 | 15.1 Developing the Multiple Regression Model 715
We first need to provide the mileage and age of our vehicle in Cells B6 and B7, which are circled in blue at the top of the worksheet. PHStat then provides us with the predicted asking price 1yn2 in Cell B21 (circled in green). This value ($11,476.90) is slightly different from our manual calculation ($11,480) because of rounding in the calculations.
Your boss will probably want to know how confident you are that you set the right asking price for the used Camry. Fortunately for you, the answer lies in Figure 15.2. Back in Chapter 14, we learned about confidence and prediction intervals for the dependent variable in a simple regression. We can apply the same concept here. According to Figure 15.2, the 95% confidence interval for the average asking price of a six-year-old car with 76,320 miles is $9,002 to $13,952. This interval can be found in Cells B25 and B26 and is circled in red. The 95% prediction interval for the asking price of a specific six-year-old car with 76,320 miles is $3,711 to $19,243. This interval can be found in Cells B30 and B31 and is circled in purple. One way to make these intervals smaller (more precise) is to collect a larger sample of used Camrys and to repeat the analysis.
As you can see, our prediction interval is much wider (less precise) than our confidence interval. This is because a sample mean is an average of the variables in the sample; as a result, it’s going to vary less than the individual values in the sample. Because our prediction interval is estimating a single value, the variation will be much greater than when we esti- mate an average asking price. If we want a more precise (narrower) estimate for our asking price, we could gather a larger sample size.
Let’s see how much you’ve learned so far by trying your hand at this Your Turn problem before moving on to the next section.
The Excel file MLB 2012 Wins 1.xlsx lists the number of games each Major League Baseball team won during the 2012 season. The file also provides the average number of runs scored per game (RPG) and the average number of runs given up per game (ERA) for each team.
a. Develop a regression equation to predict the number of games won by a Major League Baseball team based on its RPG and ERA.
b. Interpret the meaning of the regression coefficients. c. Predict the number of games won for a team that scores an average of 4.0 runs per game and
gives up an average of 3.5 runs per game. d. Construct a 95% confidence interval to estimate the average number of games won by teams
described in part c. e. Construct a 95% prediction interval to estimate the number of games won by a specific team
described in part c.
Y o U r t U r n # 1N
Answers can be found on u page 761
15.1 Section Problems Basic Skills 15.1 Consider the following set of dependent and independent
variables. These data can also be found in the Excel file Prob 151.xlsx.
y 10 11 15 15 20 24 27 32
x1 2 5 5 9 7 11 16 20
x2 16 10 13 10 2 8 7 4
a. Using PHStat, construct a multiple regression model with these data.
b. Interpret the meaning of the values for b1 and b2. c. Provide an estimate for y when x1 = 10 and x2 = 12.
15.2 Consider the following set of dependent and independent variables. These data can also be found in the Excel file Prob 152.xlsx.
y 47 42 40 40 31 26 23 18 10
x1 74 63 78 52 44 47 35 17 15
x2 22 29 20 17 13 17 8 15 10
a. Using PHStat, construct a multiple regression model with these data.
Recall from Chapter 14 that confidence intervals estimate the range of an average value of the dependent variable (asking price). Prediction intervals estimate the range of one specific value of the dependent variable.
www.freebookslides.com
716 C h a p t e r 15 | Multiple Regression and Model Building
b. Interpret the meaning of the values for b1 and b2. c. Provide an estimate for y when x1 = 50 and x2 = 15.
15.3 Use the sample data from Problem 15.1 to answer the fol- lowing questions:
a. Construct a 95% confidence interval for the dependent variable when x1 = 7 and x2 = 14.
b. Interpret the meaning of the interval constructed in part a. c. Construct a 95% prediction interval for the dependent
variable when x1 = 7 and x2 = 14. d. Interpret the meaning of the interval constructed in
part c.
15.4 Use the sample data from Problem 15.2 to answer the fol- lowing questions:
a. Construct a 90% confidence interval for the dependent variable when x1 = 30 and x2 = 20.
b. Interpret the meaning of the interval constructed in part a. c. Construct a 90% prediction interval for the dependent
variable when x1 = 30 and x2 = 20. d. Interpret the meaning of the interval constructed in part c.
applications 15.5 Jersey Shore Realtors would like to develop a regres-
sion model to help it set weekly rental rates for beach properties during the summer season in New Jersey. The independent variables for this model are the number of bedrooms a property has, its age in years, and the number of blocks away from the ocean the property is. The data for randomly selected rental properties can be found in the Excel file Jersey Shore Realtors 1.xlsx.
a. Construct a regression model using all three indepen- dent variables.
b. Interpret the meaning of the regression coefficients. c. Predict the average weekly rental rate for a four-
bedroom house that is 15 years old and three blocks from the ocean.
d. Construct a 95% confidence interval for the average weekly rental rate for a house described in part c. Inter- pret the meaning of the interval.
e. Construct a 95% prediction interval for the weekly rental rate for a house described in part c. Interpret the meaning of the interval.
15.6 City Hospital would like to develop a regression model to predict the total hospital bill for a patient based on his or her length of stay, the number of days in the hospital’s intensive care unit (ICU), and the age of the patient. Data for these variables can be found in the Excel file City Hospital.xlsx.
a. Construct a regression model using all three indepen- dent variables.
b. Interpret the meaning of the regression coefficients. c. Predict the average hospital bill for a 53-year-old per-
son hospitalized for three days with no days spent in the ICU.
d. Construct a 95% confidence interval for the aver- age hospital bill for the patient in part c. Interpret the meaning of the interval.
e. Construct a 95% prediction interval for the hospital bill for the patient in part c. Interpret the meaning of the interval.
15.7 A business statistics professor at State College would like to develop a regression model to predict the final exam scores for students based on their current grade point av- erages (GPAs), the number of hours they studied for the exam, and the number of times they were absent during the semester. The data for these variables can be found in the Excel file final exam scores 1.xlsx.
a. Construct a regression model using all three indepen- dent variables.
b. Interpret the meaning of the regression coefficients. c. Predict the average exam score for a student who stud-
ied 4.0 hours for the exam, missed two classes during the semester, and has a current GPA of 2.95.
d. Construct a 90% confidence interval for the average exam score for a student who studied 3.0 hours, missed four classes, and has a GPA equal to 3.10.
e. Construct a 90% prediction interval for the exam score for a particular student who studied 3.0 hours, missed four classes, and has a GPA equal to 3.10.
f. Explain the reason for the different intervals in parts d and e.
15.8 A finance executive would like to determine if a relation- ship exists between the current earnings per share (EPS) of a bank and the following independent variables:
• Total assets ($ billions) • Previous period’s EPS • Previous period’s return on average assets (ROAA) • Previous period’s return on average equity (ROAE)
ROAA measures how effectively assets are utilized, and ROAE measures a firm’s profitability. The Excel file Bank EPS.xlsx contains these data for several banks.
a. Construct a regression model using all four indepen- dent variables.
b. Interpret the meaning of the regression coefficients. c. Predict the average EPS for a bank that
has $2.6 billion in total assets and the fol- lowing results from the previous period: ROAA = 1.5%, EPS = $1.80, ROAE = 8%.
d. Construct a 95% confidence interval for the average EPS for a bank described in part c. Interpret the mean- ing of the interval.
e. Construct a 95% prediction interval for the EPS for a bank described in part c. Interpret the meaning of the interval.
15.9 Suppose the athletic director at Villanova University would like to develop a regression model to predict the point differential for games played by the college’s men’s basketball team. A point differential is the difference between the final points scored by two competing teams.
www.freebookslides.com
C h a p t e r 15 | 15.2 Explaining the Variation of the Dependent Variable 717
A positive differential is a win for Villanova, and a nega- tive differential is a loss. For a random sample of games, shown in the Excel file Villanova basketball 1.xlsx, the point differential was calculated for Villanova, along with the number of assists, rebounds, turnovers, and personal fouls.
a. Construct a regression model using all four indepen- dent variables.
b. Interpret the meaning of the regression coefficients. c. Predict the average point differential for a game in
which Villanova had 12 assists, 32 rebounds, 15 turn- overs, and 20 personal fouls.
d. Construct a 95% confidence interval for the average point differential for the game described in part c. In- terpret the meaning of the interval.
e. Construct a 95% prediction interval for the point dif- ferential for the game described in part c. Interpret the meaning of the interval.
f. Explain the reason for the different intervals in parts d and e.
15.10 Delmarva Power is a utility company that would like to predict the monthly heating bill for a household in Kent County during the month of January. A random sample of households in the county was selected and their January heating bill recorded along with the following variables:
SF: the square footage of the house
Age: the age of the current heating system in years
Temp: the thermostat setting, in degrees Fahrenheit, dur- ing the day
The following figure shows the regression output from Excel.
a. Interpret the meaning of all three regression coefficients.
b. Predict the average January heating bill for a house- hold with 2,850 square feet, with a heating system that is nine years old, and a thermostat set to 72 degrees during the day.
15.11 Comcast would like to develop the ability to predict the monthly cable bill for a customer. A multiple regression model was developed using a random sample of custom- ers using the following independent variables:
TV: the number of televisions in the household
People: the number of people living in the household
Years: the number of years that the household has been a Comcast customer
The following figure shows the regression output from Excel.
a. Interpret the meaning of all three regression coefficients.
b. Predict the average cable bill for a household with three televisions, with five people in residence, and six years of being a customer.
In our example, the SST measures the amount of variation of actual used car prices around their mean.
15.2 Explaining the Variation of the Dependent Variable
When you examine the asking prices of used Camrys shown in Table 15.1, you will notice that they range from $9,600 to $27,995. This variation from car to car could be due to sev- eral factors, such as a car’s age, mileage, condition, and upgrades such as leather seats. In this section, we will determine how much of this variation is due to the independent vari- ables age and mileage.
the Multiple Coefficient of Determination When we discussed the simple regression model back in Chapter 14, you learned about three sums of squares. All three have come back to visit us in this chapter, except now we have multiple independent variables:
• The total sum of squares (SST) measures the variation in the dependent variable.
• The sum of squares regression (SSR) measures the amount of variation in a depen- dent variable that is explained by a set of independent variables.
www.freebookslides.com
718 C h a p t e r 15 | Multiple Regression and Model Building
• The sum of squares error (SSE) measures the variation in a dependent variable that is explained by variables other than a set of independent variables.
We can determine these sums of squares with the following three equations: In our example, the SSR measures the amount of variation of predicted used car prices around the mean.
Formula 15.3 for the total sum of squares (SST)
SST = a 1y - y22
Formula 15.4 for the sum of squares regression (SSR)
SSR = a 1yn - y22
Formula 15.5 for the sum of squares error (SSE)
SSE = a 1y - yn22
where
y = A value of the dependent variable from the sample yn = The predicted value of the dependent variable from the regression model y = The average value of the dependent variable from the sample Rather than calculate these sums of squares manually, I’m going to cut you a huge break
and use PHStat to provide them for us. The SST can be partitioned as we did in Chapter 14 according to Equation 15.6.
Formula 15.6 for partitioning the total sum of squares
SST = SSR + SSE
We can identify these sums of squares for our used Camry example in the PHStat output that we have already generated. They are found in Cells C12, C13, and C14 (circled in red) in the ANOVA (analysis of variance) section of the “COMPUTE” worksheet, as shown in Figure 15.3.
{ figure 15.3 The Sums of Squares from the
Camry Regression Output Using PHStat
www.freebookslides.com
C h a p t e r 15 | 15.2 Explaining the Variation of the Dependent Variable 719
According to Figure 15.3, the sums of squares are as follows:
SSR = 255,828,307.3 SSE = 206,958,369.5 SST = 462,786,676.8
We are now ready to calculate the multiple coefficient of determination, R 2—which is the percentage of the variation in the dependent variable (such as a car’s asking price) that is explained by all of the independent variables (such as the car’s age and mileage)—using Equation 15.7.
The terms b1 and b2 represent the effects that age and mileage have on the price of every used Camry in the population.
The multiple coefficient of determination, R 2, is the percentage of variation in the dependent variable that is explained by all of the independent variables.
If all 20 used Camrys in our sample had the same asking price, the SST would equal zero.
Formula 15.7 for the Multiple coefficient of Determination
R 2 = SSR
SST
Applying Equation 15.7 to our used Camry example, we have the following:
R 2 = SSR
SST =
255,828,307.3
462,786,676.8 = 0.5528
In other words, 55.28% of the variation in the asking price for the used Camrys in our sam- ple can be explained by the age and mileage of the car. Figure 15.3 shows this result circled in green in Cell B5. The remaining variation is probably due to other factors that we have not considered, such as the condition of the car or its upgrades. We’ll look at how introduc- ing additional variables affects our model later in the chapter.
testing the Significance of the overall regression Model In this section, we’ll use the sums of squares data to decide if the relationship between the independent and dependent variables is statistically significant. In other words, can we use our regression equation yn = 28,253.0486 - 0.1422x1 - 986.6639x2 to accurately deter- mine the appropriate asking price for the used Camry? Considering this is your first used car appraisal, this is a very good question to answer. Based on our sample of 20 used Camrys, Excel provides us with the following coefficients for the independent variables:
Mileage: b1 = - 0.1422 Age: b2 = - 986.6639
Remember, our model predicted that every additional mile on the used car’s odometer re- duced the asking price by an average of $0.1422, and every additional year reduced the average asking price by $987. These coefficients, however, are only estimates of the true population coefficients of all the used Camrys for sale in the market, b1 and b2. The terms b1 and b2 represent the effects that age and mileage have on the price of every used Camry on the market, which is our population. The terms b1 and b2 represent the effects that age and mileage have on the price of the 20 used Camrys in our sample.
If the population coefficients b1 and b2 are actually equal to zero, then mileage and age would have no effect on the asking price of the car. Therefore, to test the overall significance of our regression equation, we examine the following hypothesis statement:
H0: b1 = b2 = 0 1No relationship between dependent and independent variables2 H1: At least one bi ≠ 0 1Relationship exists between dependent and independent variables2 The null hypothesis assumes that no relationship exists between the dependent and indepen- dent variables, whereas the alternative hypothesis takes the opposite position. Rejecting the null hypothesis provides support that a relationship does exist between the variables, so it’s appropriate to use this model to determine the asking price. We’ll test our hypothesis using a = 0.05.
The terms b1 and b2 represent the effects that age and mileage have on the price of the 20 used Camrys in the sample.
www.freebookslides.com
720 C h a p t e r 15 | Multiple Regression and Model Building
We start by calculating the mean square regression (MSR) and mean square error (MSE) from our sums of squares using Equations 15.8 and 15.9.
The mean square regression (MSR) is found by dividing the sum of squares regression (SSR ) by the number of independent variables (k).
The mean square error (MSE) is found by dividing the sum of squares error (SSE ) by n - k - 1.
Formula 15.8 for the Mean square regression (MSR)
MSR = SSR
k
where
SSR = The sum of squares regression SSE = The sum of squares error
n = The number of observations in the sample k = The number of independent variables
The denominators in both of the mean square equations represent the degrees of free- dom (df ) in our model. Adding them together represents the total degrees of freedom for our example, which is always n - 1. For example, the MSR has two degrees of freedom 1k = 22. The MSE has n - k - 1 = 20 - 2 - 1 = 17 degrees of freedom (remember we have 20 cars in our sample, so n = 20). Adding these together results in 2 + 17 = 19 total degrees of freedom, which is the same result as n - 1 120 - 12.
The mean squares for our used Camry example are as follows:
MSR = SSR
k =
255,828,307.3
2 = 127,914,153.6
MSE = SSE
n - k - 1 =
206,958,369.5
20 - 2 - 1 = 12,174,021.7
We use the F-test to determine the significance of the overall regression model. The F-test statistic is shown in Equation 15.10.
Formula 15.10 for the F-test statistic for the overall regression Model
F = MSR
MSE
Applying Equation 15.10 to our used Camry example, we have the following:
F = MSR
MSE =
127,914,153.6
12,174,021.7 = 10.51
This test statistic follows the F-distribution with the degrees of freedom we discussed before:
D1 = k = 2 D2 = n - k - 1 = 17
The critical F-score, Fa, identifies the rejection region for the hypothesis test. Using a = 0.05, the critical F-score found in Table 6 in Appendix A is Fa = 3.592.
Formula 15.9 for the Mean square error (MSE)
MSE = SSE
n - k - 1
www.freebookslides.com
C h a p t e r 15 | 15.2 Explaining the Variation of the Dependent Variable 721
Excel also provides the critical F-score with the F.INV.RT function as follows:
= F.INV.RT1a, D1, D22 This function is useful when the value of D2 exceeds 30, which is the highest value found in Table 6. Using this function for our Camry example, we have = F.INV.RT10.05, 2, 172 = 3.592.
Because F = 10.51 is higher than Fa = 3.592, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero. In other words, you can indeed use this regression model to determine the asking price for the used Camry. Figure 15.4 illustrates the results of this hypothesis test.
The F-test does not tell us which of the independent variables in our used-car example are statistically significant. We’ll examine another procedure later in the chapter that will test the significance of each independent variable.
{ figure 15.4 Testing the Significance of the
Used Camry Example Using PHStat
10.513.592 F F
Do Not Reject H0 0.95
Reject H0 0.05
{ figure 15.5 The Mean Sums of Squares
from the Regression Output: Used Camry Example
These results can also be identified in the PHStat output that we have already gener- ated. They are circled in red in the ANOVA section in the “COMPUTE” worksheet shown in Figure 15.5.
Cell F12 in Figure 15.5 reports the p-value for this hypothesis test, which is labeled “Significance F.” Because this p-value = 0.0011 and is less than a = 0.05, we reject the null hypothesis. This result is illustrated in Figure 15.6.
{ figure 15.6 The p-Value for the Used Camry
Example
10.51
p-value = 0.0011
F
Remember, the p-value represents the probability of obtaining an F-test statistic greater than 10.51 if the null hypothesis were indeed true.
www.freebookslides.com
722 C h a p t e r 15 | Multiple Regression and Model Building
Table 15.2 summarizes the ANOVA calculations that underlie the Excel regression out- put in Figure 15.5.
the adjusted Multiple Coefficient of Determination Another useful measurement of the effectiveness of the regression model is the adjusted multiple coefficient of determination, R 2A. This measurement modifies, or adjusts, the mul- tiple coefficient of determination by accounting for the number of independent variables and the sample size used to develop the model and is found using Equation 15.11.
The adjusted multiple coefficient of determination, R A
2 , modifies, or adjusts, the multiple coefficient of determination by accounting for the number of independent variables and the sample size used to develop a multiple regression model.
Formula 15.11 for the adjusted Multiple coefficient of Determination
R 2A = 1 - c 11 - R 22a n - 1
n - k - 1 b d
Let’s find the adjusted R 2 for our used-car example. Using the data from Figure 15.5, we have the following:
R 2A = 1 - c 11 - R 22a n - 1
n - k - 1 b d
R 2A = 1 - c 11 - 0.55282a 20 - 1
20 - 2 - 1 b d
R 2A = 1 - 310.4472211.117624 = 1 - 0.4998 = 0.5002 This value is reported in Cell B6 in Figure 15.5.
I’m sure your curious mind is already wondering why we need another R 2 value. Well, in most cases, one of our goals when using a multiple regression is to explain as much of the variation in the dependent variable as possible. Adding additional independent variables to the regression equation will always increase the value of R2. However, as we will see later in this chapter, not all independent variables are worth including in the regression model.
To illustrate this concept, I’ve modified our used Camry example by including a third independent variable—the age of people selling their Camrys. These data can be found in the Excel file Used Camrys with Seller Age.xlsx. Open this file and go to the Multiple Regression dialog box in PHStat, as we did earlier in the chapter. Figure 15.7A shows this file and a dialog box with all three independent variables selected.
{ table 15.2 | ANOVA Summary Calculations for Excel’s Regression Output
source df ss ms f
Regression k SSR MSR = SSR
k F =
MSR
MSE
Residual n - k - 1 SSE MSE = SSE
n - k - 1
Total n - 1 SST
www.freebookslides.com
C h a p t e r 15 | 15.2 Explaining the Variation of the Dependent Variable 723
The PHStat regression output is shown in Figure 15.7B.
{ figure 15.7a Using PHStat to Find the
Multiple Coefficients of Determination: Used Camrys with Sellers’ Ages Example (Step 1)
{ figure 15.7b Using PHStat to Find the
Multiple Coefficients of Determination: Used Camrys with Sellers’ Ages Example (Final Result)
Table 15.3 summarizes the multiple coefficients of determination for each example.
{ table 15.3 | Comparing R 2 for Two Different Regression Models
models
without sellers’ ages with sellers’ ages
Independent variables 2 3
R2 0.5528 0.5551
Adjusted R2 0.5002 0.4716
SSR 255,828,307 256,877,170
df 2 3
MSR 127,914,154 85,625,723
Adding the sellers’ ages as an independent variable in this example drastically reduces the MSR, which makes it more difficult to reject the null hypothesis.
A smaller MSR results in a smaller F-test statistic. This, in turn, reduces the chance of rejecting the null hypothesis.
www.freebookslides.com
724 C h a p t e r 15 | Multiple Regression and Model Building
The first column in Table 15.3 displays the R 2 data from our original used Camry ex- ample. The second column shows the same data for the modified example with the third independent variable. Adding the seller’s age increases R2 from 55.3% to 55.5%. However, the adjusted R2 decreases from 50% to 47%. Let’s examine why these two R 2 values move in opposite directions.
Adding the seller’s age as a third independent variable increases the SSR from 255,828,307 to 256,877,170, which causes the increase in R 2. However, because we now have three degrees of freedom, the MSR decreases from 127,914,154 to 85,625,723 (remem- ber, MSR = SSR>k). This reduction in the MSR can make it more challenging to reject the null hypothesis when we test for the significance for the overall regression model.
Adding a new independent variable to the model will always increase the R 2 value. If, however, this additional variable causes a reduction in the adjusted R2, we have evidence that the new variable might not be worth keeping in the model. In other words, the “benefit” of increasing the SSR with this new variable is more than offset with the increased “cost” of having an additional degree of freedom in the final model. The adjusted R 2 allows us to identify when this type of condition exists in our regression model.
In this example, it appears that the cost of adding the seller’s age to the model (increas- ing the degrees of freedom from 2 to 3) exceeds the benefit of the increase in the SSR. Essentially, we are saying that the seller’s age variable is not carrying its weight in the regression model. Therefore, our model would be better served by not including the seller’s age variable. We will further examine this issue of whether to include independent variables later in the chapter.
In summary, the adjusted R 2 will always be less than or equal to R 2. If R 2 is very small and there are a relatively large number of independent variables, the adjusted R 2 could be negative. In these cases, simply report the value as zero. The adjusted R 2 value is particu- larly useful when comparing regression models using the same dependent variable and dif- ferent numbers of independent variables.
Enough of me doing all the work. It’s time to test your newly found regression skills on the following Your Turn problem. By the way, you’ll notice that some of the Your Turn and chapter problems appear to repeat themselves. Don’t worry—I haven’t had a brain lapse. These problems use the same data and build on your skills as you learn new concepts.
If adding an independent variable results in a reduction in the adjusted R2, we have evidence that the new variable might not be contributing enough to the explanation of the dependent variable to remain in the model.
The model confirms what we would logically conclude—that the age of the seller does not affect the selling price of the Camry.
The Excel file MLB 2012 Wins 1.xlsx lists the number of games each Major League Baseball team won during the 2012 season. This file also provides the average number of runs scored per game (RPG) and the average number of runs given up per game (ERA) for each team.
a. Identify the SSR, SSE, and SST from the Excel output. b. Calculate the multiple coefficient of determination and interpret its meaning. c. Test the significance of the overall regression model using a = 0.01. d. Interpret the meaning of the p-value from the Excel output. e. Calculate the adjusted R 2.
Y o U r t U r n # 2N
Answers can be found on u page 762
15.2 Section Problems Basic Skills 15.12 Consider the following set of dependent and independent
variables. These data can also be found in the Excel file Prob 151.xlsx.
y 10 11 15 15 20 24 27 32
x1 2 5 5 9 7 11 16 20
x2 16 10 13 10 2 8 7 4
a. Using PHStat, identify the SST, SSR, and SSE. b. Calculate the multiple coefficient of determination. c. Test the significance of the overall regression model
using a = 0.05. d. Interpret the p-value for the overall regression model. e. Calculate the adjusted multiple coefficient of
determination.
www.freebookslides.com
C h a p t e r 15 | 15.2 Explaining the Variation of the Dependent Variable 725
15.13 Consider the following set of dependent and independent variables. These data can also be found in the Excel file Prob 153.xlsx.
y 47 42 40 40 31 26 23 18 10
x1 74 63 78 52 44 47 35 17 15
x2 22 29 20 17 13 17 8 15 10
a. Using PHStat, identify the SST, SSR, and SSE. b. Calculate the multiple coefficient of determination. c. Test the significance of the overall regression model
using a = 0.10. d. Interpret the p-value for the overall regression model. e. Calculate the adjusted multiple coefficient of
determination.
15.14 Consider the following ANOVA table for a multiple re- gression model:
Source df SS MS F
Regression 4 1,600 400 10
Residual 30 1,200 40
Total 34 2,800
a. What is the size of this sample? b. How many independent variables are in this model? c. Calculate the multiple coefficient of determination. d. Test the significance of the overall regression model
using a = 0.05. e. Calculate the adjusted multiple coefficient of
determination.
15.15 Consider the following ANOVA table for a multiple regression model:
Source df SS MS F
Regression 3
Residual 7,000
Total 53 9,100
a. Complete the remaining entries in the table. b. What is the size of this sample? c. How many independent variables are in this model? d. Calculate the multiple coefficient of determination. e. Test the significance of the overall regression model
using a = 0.05. f. Calculate the adjusted multiple coefficient of
determination.
applications 15.16 Squirt Squad is a cleaning service that sends crews to
residential homes on either a once-a-month or a twice-a- month schedule, depending on the customer’s preference. The owner would like to predict the amount of time, in minutes, required to clean a house based on the square footage of the house, the total number of rooms in the house, the number of bathrooms it has, and the size of the cleaning crew. Data from randomly selected homes can be found in the Excel file Squirt Squad 1.xlsx.
a. Construct a regression model using all the independent variables.
b. Calculate the multiple coefficient of determination. c. Test the significance of the overall regression model
using a = 0.05. d. Calculate the adjusted multiple coefficient of
determination.
15.17 A finance executive would like to determine if a relation- ship exists between the current earnings per share (EPS) of a bank and the following independent variables:
• Total assets ($ billions) • Previous period’s EPS • Previous period’s return on average assets (ROAA) • Previous period’s return on average equity (ROAE)
ROAA measures how effectively assets are utilized, and ROAE measures a firm’s profitability. The Excel file Bank EPS.xlsx contains these data for several banks.
a. Construct a regression model using all three indepen- dent variables.
b. Calculate the multiple coefficient of determination. c. Test the significance of the overall regression model
using a = 0.05. d. Calculate the adjusted multiple coefficient of
determination.
15.18 Jersey Shore Realtors would like to develop a regres- sion model to help it set weekly rental rates for beach properties during the summer season in New Jersey. The independent variables for this model are the number of bedrooms a property has, its age in years, and the number of blocks away from the ocean it is. The data for ran- domly selected rental properties can be found in the Excel file Jersey Shore Realtors 1.xlsx.
a. Construct a regression model using all three indepen- dent variables.
b. Calculate the multiple coefficient of determination. c. Test the significance of the overall regression model
using a = 0.05. d. Calculate the adjusted multiple coefficient of
determination.
15.19 A business statistics professor at State College would like to develop a regression model to predict the final exam scores for students based on their current GPAs, the num- ber of hours they studied for the exam, and the number of times they were absent during the semester. The data for these variables can be found in the Excel file final exam scores 1.xlsx.
a. Construct a regression model using all three indepen- dent variables.
b. Calculate the multiple coefficient of determination. c. Test the significance of the overall regression model
using a = 0.10. d. Calculate the adjusted multiple coefficient of
determination.
www.freebookslides.com
726 C h a p t e r 15 | Multiple Regression and Model Building
15.20 City Hospital would like to develop a regression model to predict the total hospital bill for a patient based on his or her length of stay, number of days in the hospital’s inten- sive care unit (ICU), and age of the patient. Data for these variables can be found in the Excel file City Hospital .xlsx.
a. Construct a regression model using all three indepen- dent variables.
b. Calculate the multiple coefficient of determination. c. Test the significance of the overall regression model
using a = 0.05. d. Calculate the adjusted multiple coefficient of
determination.
15.21 Comcast would like to develop the ability to predict the monthly cable bill for a customer. A multiple regression model was developed using a random sample of custom- ers using the following independent variables:
TV: the number of televisions in the household
People: the number of people living in the household
Years: the number of years that the household has been a Comcast customer
The following figure shows the regression output from Excel.
a. Calculate the multiple coefficient of determination. b. Test the significance of the overall regression model
using a = 0.05. c. Calculate the adjusted multiple coefficient of
determination.
15.22 Delmarva Power is a utility company that would like to predict the monthly heating bill for a household in Kent County during the month of January. A random sample of households in the county was selected and their January heating bill recorded along with the following variables:
SF: the square footage of the house
Age: the age of the current heating system in years
Temp: the thermostat setting, in degrees Fahrenheit, dur- ing the day
The following figure shows the regression output from Excel.
a. Calculate the multiple coefficient of determination. b. Test the significance of the overall regression model
using a = 0.05. c. Calculate the adjusted multiple coefficient of
determination.
15.3 Inferences about the Independent Variables
In the previous section, we focused on testing the significance of the overall regression model, that is, we included all of the independent variables in the hypothesis test together at one time. In this section, I’ll show you how to examine each independent variable separately to make sure that it belongs in the final regression model. We’ll also look at confidence in- tervals for the regression coefficients and interpret their meanings.
a Significance test for the regression Coefficients To demonstrate the technique of testing each independent variable, let’s refer to the modi- fied used Camry example from the previous section where I added the age of the seller to the data file. Figure 15.8 shows the regression output with the data of interest circled in red.
www.freebookslides.com
C h a p t e r 15 | 15.3 Inferences about the Independent Variables 727
The regression coefficients from our sample for this model are as follows:
Mileage: b1 = - 0.1434 Car’s age: b2 = - 1,020.9699
Seller’s age: b3 = 21.1137
We’ll start by testing the following hypothesis statement to see if the population mileage co- efficient, b1, is equal to zero:
H0: b1 = 0 1No relationship exists between asking price and mileage2 H1: b1 ≠ 0 1Relationship exists between asking price and mileage2
Rejecting the null hypothesis provides support that there is a significant relationship between a used Camry’s mileage and its asking price. I would like to reject the null hypothesis be- cause I have included independent variables in the model that I think belong there. We’ll test our hypothesis using a = 0.05.
We use the t-test to determine the significance of this relationship. The general t-test sta- tistic is shown in Equation 15.12.
The standard error of the regression coefficient, Sbj
, measures the variation in the regression coefficient, bj, among several samples.
{ figure 15.8 Using PHStat for the Regression
Output: Coefficients for the Used Camrys with Sellers’ Ages Example
Formula 15.12 for the t-test statistic for the regression coefficient
t = bj - bj
sbj
where
bj = The regression coefficient for the jth independent variable bj = The population regression coefficient for the jth independent variable from the
null hypothesis sbj = The standard error of the regression coefficient for the jth independent variable The standard error of the regression coefficient for mileage, sb1 = 0.0415, is the stan-
dard deviation for b1, the mileage coefficient (Cell C18 in Figure 15.8). For our sample of 20 used Camrys, b1 = - 0.1434. However, if we collected additional samples of 20 Camrys, we would expect each sample to have a different value for b1. The standard error of the re- gression coefficient, sb1, measures the variation in b1 among these samples. The larger this variation is, the larger the value of sb1 is.
The null hypothesis assumes that no relationship exists between the asking price and a used Camry’s mileage, whereas the alternative hypothesis takes the opposite position.
www.freebookslides.com
728 C h a p t e r 15 | Multiple Regression and Model Building
With mileage being our first independent variable 1j = 12, our t-test statistic from Equation 15.12 and Figure 15.8 is as follows:
t = b1 - b1
sb1 =
- 0.1434 - 0 0.0415
= - 3.46
The test statistic in Equation 15.12 follows the t-distribution with n - k - 1 degrees of freedom. The critical t-score, ta>2, identifies the rejection region for this two-tail hypothesis test. Using a = 0.05 and 20 - 3 - 1 = 16 degrees of freedom, the critical t-score found in Table 5 in Appendix A is ta>2 = 2.120.
Excel also provides the critical t-score for a two-tail test with the T.INV.2T function as follows:
= T.INV.2T1a, df2 Using this function for our Camry example, we have = T.INV.2T10.05, 162 = 2.120. To use this function with a one-tail test, double the value of a.
Because t = - 3.46 is lower than - ta>2 = - 2.120, we reject H0 and conclude that the mileage population coefficient is not equal to zero. In other words, the relationship between a used Camry’s mileage and asking price is statistically significant. Figure 15.9 illustrates the results of this hypothesis test.
As is always the case, we reach the same conclusion by looking at the p-value for this hypothesis test. According to Figure 15.8, the p-value in the Mileage row equals 0.00326. Because this value is less than a = 0.05, we reject the null hypothesis.
{ figure 15.9 Testing the Significance of the
Mileage Coefficient
–3.46 t
0 µ
2.120–2.120 t /2–t /2
Reject H0 0.025
Reject H0 0.025
Do Not Reject H0 0.95
When we examine the second independent variable, the age of the car, we come to the same conclusion. The p-value = 0.03611, which is also less than a = 0.05. We conclude that the age of a used Camry is also a good predictor of its asking price.
We get a different story when we look at the third independent variable, the seller’s age. Here, the p-value = 0.77894, which is greater than a = 0.05. We therefore fail to reject the null hypothesis in this case. Remember, rejecting the null hypothesis means that there is a relationship between the independent and dependent variable. So, not rejecting the null hypothesis means we conclude that there isn’t a relationship between the two. Because we didn’t reject the null hypotheses, we conclude that the seller’s age is not a good predictor of the car’s asking price. The proper decision would be to remove this independent variable from our regression model.
Some of my students struggle with the decision of when to use a t-test and when to use an F-test for multiple regression. The F-test is designed to determine if the overall regres- sion model, with all of the independent variables included, is statistically significant. For in- stance, the F-test in Figure 15.8 shows that the overall regression model for the used Camry example is significant with a p-value equal to 0.00398 (see Cell F12). However, all three independent variables are not statistically significant, as we just discovered. To examine the significance of the individual independent variables, we use the t-test.
b1 = 0 in this equation because the null hypothesis assumes there is no relationship between the independent and dependent variables.
By rejecting the null hypothesis, we conclude that mileage appears to be a good predictor of the asking price.
Use the F-test to determine if the overall regression model is significant and the t-test to examine the significance of the individual independent variables.
www.freebookslides.com
C h a p t e r 15 | 15.3 Inferences about the Independent Variables 729
Confidence Intervals for the regression Coefficients We can also estimate the population coefficients by constructing confidence intervals around the sample coefficients from our regression results. These intervals provide a range to give us a sense as to the values of the true regression slopes and can be found using Equation 15.13.
{ figure 15.10 Using PHStat for Confidence
Intervals for the Regression Coefficients: Used Camrys with Sellers’ Ages Example
Cells F19 and G19 in Figure 15.10 show the 95% confidence interval for the second in- dependent variable, the age of the car. Based on our sample of 20 used Camrys, we are 95% confident that adding an additional year to the car’s age will reduce the average asking price by $74.89 to $1,967.05. Because this confidence interval does not include zero, we have supporting evidence to conclude that there is a relationship between the age of the car and the asking price.
Finally, Cells F20 and G20 in Figure 15.10 show the 95% confidence interval for the third independent variable, the age of the seller. Based on our sample of 20 used Camrys, we are 95% confident that adding an additional year to the seller’s age will result in the average asking price changing from a reduction of $135.67 to an increase of $177.90. Notice that zero is included in this interval, which means the true population coefficient for the seller’s
If this confidence interval did include zero, we would have some evidence that b could be equal to zero, which indicates that there may not be a relationship between our two variables.
Because zero is included in this confidence interval, the population slope for a seller’s age could be equal to zero. We therefore fail to reject the null hypothesis.
Formula 15.13 for the confidence Interval for the regression coefficient
CI = bj { ta>2sbj
Let’s apply this equation to construct a 95% confidence interval to estimate the population mileage coefficient. The critical t-score, ta>2, for this interval uses n - k - 1 = 20 - 3 - 1 = 16 degrees of freedom, as shown in Table 5 in Appendix A, resulting in ta>2 = 2.120. Recalling that b1 = - 0.1434 and sb1 = 0.0415, the confidence in- terval calculation using Equation 15.12 is as follows:
CI = b { ta>2sb = - 0.1434 { 12.120210.04152 CI = b { ta>2sb = - 0.1434 { 0.0880 Upper confidence limit 1UCL2 = - 0.1434 + 0.0880 = - 0.0554 Lower confidence limit 1LCL2 = - 0.1434 - 0.0880 = - 0.2314
Based on our sample of 20 used Camrys, we are 95% confident that adding an additional mile on the car’s odometer will reduce the average asking price between $0.0554 and $0.2314. Because this confidence interval does not include zero, we have evidence to con- clude that there is a relationship between a used Camry’s asking price and the car’s mileage.
This confidence interval is also reported in the regression output, which is shown again in Figure 15.10 and is circled in red.
www.freebookslides.com
730 C h a p t e r 15 | Multiple Regression and Model Building
The Excel file MLB 2012 Wins 2.xlsx lists the number of games each Major League Baseball team won during the 2012 season. This file also shows the average number of runs scored per game (RPG), the average number of runs given up per game (ERA), and the number of errors committed in the field for the year (ERR) for each team. Using the output from PHStat, answer the following questions. (Hint: Be sure to change the “Confidence level for the regression coefficients” to 99% in the Multiple Regression dialog box.)
a. Using a = 0.01, perform a hypothesis test to determine if including the number of errors com- mitted during the season is a good predictor of games won.
b. Interpret the p-value for the ERR independent variable. c. Construct a 99% confidence interval to estimate the population coefficient for the number of errors
committed and interpret its meaning. d. Comment on the usefulness of including the RPG and ERA independent variables in the model to
predict the number of a team’s wins. e. Interpret the meaning of the 99% confidence intervals to estimate the population coefficient for the
RPG and ERA.
Y o U r t U r n # 3N
Answers can be found on u page 762
15.3 Section Problems Basic Skills 15.23 Consider the following set of dependent and independent
variables. These data can also be found in the Excel file Prob 151.xlsx.
y 10 11 15 15 20 24 27 32 x1 2 5 5 9 7 11 16 20 x2 16 10 13 10 2 8 7 4
a. Using PHStat, construct a regression model using both independent variables.
b. Test the significance of each independent variable using a = 0.05.
c. Interpret the p-value for each independent variable.
15.24 Consider the following set of dependent and independent variables. These data can also be found in the Excel file Prob 153.xlsx.
y 47 42 40 40 31 26 23 18 10 x1 74 63 78 52 44 47 35 17 15 x2 22 29 20 17 13 17 8 15 10
a. Using PHStat, construct a regression model using both independent variables.
b. Test the significance of each independent variable using a = 0.10.
c. Interpret the p-value for each independent variable.
15.25 Use the data from Problem 15.23 to answer the following questions:
a. Construct a 95% confidence interval for the regression coefficient for x1 and interpret its meaning.
b. Construct a 95% confidence interval for the regression coefficient for x2 and interpret its meaning.
15.26 Use the data from Problem 15.24 to answer the following questions:
a. Construct a 90% confidence interval for the regression coefficient for x1 and interpret its meaning.
b. Construct a 90% confidence interval for the regression coefficient for x2 and interpret its meaning.
applications 15.27 Jersey Shore Realtors would like to develop a regression
model to help it set weekly rental rates for beach properties during the summer season in New Jersey. The independent variables for this model are the number of bedrooms a prop- erty has, its age, and the number of blocks away from the ocean it is. The data for randomly selected rental properties can be found in the Excel file Jersey Shore Realtors 1.xlsx.
a. Using PHStat, construct a regression model using all three independent variables.
b. Test the significance of each independent variable using a = 0.05.
c. Using p-values, determine which independent variables are significant with a = 0.05.
d. Construct a 95% confidence interval for the regression coefficients for the Bedroom variable and interpret the meaning.
e. Using the results from part d, comment on the signifi- cance of the Bedroom variable.
15.28 Suppose the athletic director at Villanova University would like to develop a regression model to predict the point dif- ferential for games played by the college’s men’s basketball team. A point differential is the difference between the final points scored by two competing teams. A positive
age could be zero. Based on this result, we fail to reject the null hypothesis and conclude that the seller’s age is not a good predictor for asking price.
www.freebookslides.com
C h a p t e r 15 | 15.3 Inferences about the Independent Variables 731
differential is a win for Villanova, and a negative differen- tial is a loss. For a random sample of games, shown in the Excel file Villanova basketball 1.xlsx, the point differen- tial was calculated for Villanova, along with the number of assists, rebounds, turnovers, and personal fouls.
a. Using PHStat, construct a regression model using all four independent variables.
b. Test the significance of each independent variable us- ing a = 0.10.
c. Interpret the p-value for each independent variable. d. Construct a 90% confidence interval for the regression
coefficients for the Personal Fouls independent vari- able and interpret the meaning.
e. Using the results from part d, comment on the signifi- cance of the Personal Fouls variable.
15.29 City Hospital would like to develop a regression model to predict the total hospital bill for a patient based on his or her length of stay, number of days in the hospital’s inten- sive care unit (ICU), and age of the patient. Data for these variables can be found in the Excel file City Hospital.xlsx.
a. Using PHStat, construct a regression model using all three independent variables.
b. Test the significance of each independent variable using a = 0.05.
c. Interpret the p-value for each independent variable. d. Construct a 95% confidence interval for the regression co-
efficients for the ICU variable and interpret the meaning. e. Using the results from part d, comment on the signifi-
cance of the ICU variable.
15.30 A finance executive would like to determine if a relation- ship exists between the current earnings per share (EPS) of a bank and the following independent variables:
• Total assets ($ billions) • Previous period’s EPS • Previous period’s return on average assets (ROAA) • Previous period’s return on average equity (ROAE)
ROAA measures how effectively assets are utilized, and ROAE measures a firm’s profitability. The Excel file Bank EPS.xlsx contains these data for several banks.
a. Using PHStat, construct a regression model using all three independent variables.
b. Test the significance of each independent variable using a = 0.05.
c. Interpret the p-value for each independent variable. d. Construct a 95% confidence interval for the regression
coefficients for the Previous ROAA variable and inter- pret the meaning.
e. Using the results from part d, comment on the signifi- cance of the Previous ROAA variable.
15.31 Squirt Squad is a cleaning service that sends crews to residential homes on either a once-a-month or a twice-a- month schedule, depending on the customer’s preference. The owner would like to predict the amount of time, in minutes, required to clean a house based on the square footage of the house, the total number of rooms in the house, the number of bathrooms it has, and the size of the
cleaning crew. Data from randomly selected homes can be found in the Excel file Squirt Squad 1.xlsx.
a. Using PHStat, construct a regression model using all independent variables.
b. Test the significance of each independent variable us- ing a = 0.05.
c. Interpret the p-value for each independent variable. d. Construct a 95% confidence interval for the regression
coefficients for the Size of Crew variable and interpret the meaning.
e. Using the results from part d, comment on the signifi- cance of the Size of Crew variable.
15.32 Comcast would like to develop the ability to predict the monthly cable bill for a customer. A multiple regression model was developed using a random sample of custom- ers using the following independent variables:
TV: the number of televisions in the household
People: the number of people living in the household
Years: the number of years that the household has been a Comcast customer
The following figure shows the regression output from Excel.
a. Test the significance of each independent variable using a = 0.05.
b. Construct a 95% confidence interval for each regres- sion coefficient and interpret the meaning.
15.33 Delmarva Power is a utility company that would like to predict the monthly heating bill for a household in Kent County during the month of January. A random sample of households in the county was selected and their January heating bill recorded along with the following variables:
SF: the square footage of the house
Age: the age of the current heating system in years
Temp: the thermostat setting, in degrees Fahrenheit, during the day
The following figure shows the regression output from Excel.
a. Test the significance of each independent variable using a = 0.05.
b. Construct a 95% confidence interval for each regres- sion coefficient and interpret the meaning.
www.freebookslides.com
732 C h a p t e r 15 | Multiple Regression and Model Building
15.4 Using Qualitative Independent Variables
So far in this chapter, all of the independent variables have been quantitative data, such as age and mileage. However, there may be times when you are interested in using qualitative, or categorical, data in your regression model. Examples of such data would be the gender (male, female) or education level (high school, college) of a person in your data set. To han- dle such a scenario, we need to create dummy variables that take on the values of 0 or 1.
For example, if we would like to include the gender of a respondent in our model, there are only two mutually exclusive possibilities for each instance, male and female. We can cre- ate a dummy variable called GENDER that takes on the following values:
GENDER = 0 if the person is a male GENDER = 1 if the person is a female
The choice of assigning a 0 to a male and 1 to a female is completely arbitrary. We treat this dummy variable as a quantitative independent variable and proceed with the analysis as we have done with previous examples.
To demonstrate the use of dummy variables in our regression model, I’ll use the follow- ing example. Suppose David is a street vendor who sells hot dogs in the city and would like to develop a regression model to help him predict the daily demand for his product in order to improve inventory control. David believes that the three main factors affecting hot-dog demand for a particular day are his price per hot dog, the high temperature during busi- ness hours that day, and whether the day falls on a weekday or weekend (many of David’s customers are businesspeople). To develop his model, David recorded during 12 randomly selected days the data shown in Table 15.4.
Dummy variables are used to represent qualitative data in a multiple regression model and can take on only the values 0 and 1.
{ table 15.4 | Data for the Hot-Dog Demand Model
daily demand high temperature price ($) day
144 73 1.00 Weekday
90 64 1.00 Weekend
108 73 1.00 Weekday
120 82 1.00 Weekday
54 45 1.20 Weekend
69 54 1.20 Weekday
126 86 1.20 Weekday
99 70 1.20 Weekend
48 73 1.50 Weekend
33 66 1.50 Weekend
90 75 1.50 Weekday
81 61 1.50 Weekday
We first need to create a dummy variable, which I’ll call Day, to represent the qualita- tive categories “weekday” and “weekend.” I’ll use the following arbitrary assignment for this variable:
Day = 1 for a weekday Day = 0 for a weekend
Which value of the dummy variable that is assigned a 1 and which is assigned a 0 is arbitrary.
www.freebookslides.com
C h a p t e r 15 | 15.4 Using Qualitative Independent Variables 733
These data can be found in the Excel file hot dog demand.xlsx. Open this file and go the Multiple Regression dialog box in PHStat, as we did earlier in the chapter. Figure 15.11A shows this file and dialog box with all three independent variables selected.
{ figure 15.11a Using a Dummy Variable in a
Multiple Regression with PHStat (Step 1)
Figure 15.11B shows the regression results for our hot-dog demand model.
{ figure 15.11b Using a Dummy Variable in a
Multiple Regression with PHStat (Final Result)
According to Figure 15.11B, the regression equation for our hot-dog model is
yn = 98.7236 + 1.1641x1 - 84.3445x2 + 24.1025x3 where
x1 = High temperature in degrees Fahrenheit x2 = The price per hot dog x3 = 1 for a weekday and 0 for a weekend
The interpretations for the regression coefficients in this equation are as follows:
b1 = 1.1641: Every additional degree of the daily high temperature results in an average increase of 1.1641 hot dogs sold per day, assuming there is no change in the other two variables.
b2 = - 84.3445: Every additional dollar in price results in an average decrease in hot-dog demand of 84.3445, assuming there is no change in the other two variables. In other words, a $0.10 increase in the price reduces the demand by an average of 8.4 hot dogs per day.
www.freebookslides.com
734 C h a p t e r 15 | Multiple Regression and Model Building
b3 = 24.1025: On average, the weekday demand exceeds the weekend demand by 24.1025 hot dogs per day, assuming there is no change in the other two variables.
The interpretation of the dummy variable coefficient becomes more obvious when we exam- ine the regression equation under the following conditions:
• First, let’s determine the average daily demand for hot dogs at a $1.20 price on an 80°F weekday 1x3 = 12:
yn = 98.7236 + 1.1641x1 - 84.3445x2 + 24.1025x3 yn = 98.7236 + 1.16411802 - 84.344511.202 + 24.1025112 yn = 114.7 hot dogs
• Now, let’s determine the average daily demand for hot dogs at a $1.20 price on an 80°F weekend day 1x3 = 02:
yn = 98.7236 + 1.1641x1 - 84.3445x2 + 24.1025x3 yn = 98.7236 + 1.16411802 - 84.344511.202 + 24.1025102 yn = 90.6 hot dogs
The average difference in demand between a weekday and weekend day, given the same price and temperature, is as follows:
114.7 - 90.6 = 24.1 hot dogs
Notice that this difference matches the value for b3, which is no coincidence (hold your ap- plause until the end of the chapter).
Because there are only two possible outcomes for the qualitative variable in our hot-dog example, we needed only one dummy variable in our model. However, we do encounter situations in which the qualitative variable has more than two categories. How do we handle this? To answer this question, let’s return to our original used Camry example. In addition to the age and mileage of the car, I’m going to add the condition of the car as a variable, with the following three possibilities:
Excellent Good Poor
These data can be found in the Excel file Used Camrys with Condition.xlsx. For this ex- ample we need two dummy variables, Cond1 and Cond2, as Table 15.5 shows.
{ table 15.5 | Creating “Used-Car Condition” Dummy Variables
dummy variables
condition cond1 cond2
Excellent 0 0
Good 0 1
Poor 1 0
In other words, a used Camry in excellent condition would be assigned a value of zero for both Cond1 and Cond2 dummy variables. Again, the choice of assigning condition levels to a dummy variable set is arbitrary. I could have easily assigned a car in poor condition zeros for both dummy variables.
The pattern of values for qualitative variables with three categories should always be as follows:
10,02, 10,12, 11,02 The category that is assigned (0,0) is known as the base category, which in this example is the excellent condition. In general, the number of dummy variables used is always one less than the number of categories in the qualitative data.
www.freebookslides.com
C h a p t e r 15 | 15.4 Using Qualitative Independent Variables 735
Figure 15.12A shows our Excel file with the PHStat Multiple Regression dialog box.
{ figure 15.12a Using Two Dummy Variables
in a Multiple Regression with PHStat (Step 1)
Notice that I have included the qualitative variable, Condition, in this file in Column G and the two corresponding dummy variables, Cond1 and Cond2, in Columns E and F. The red circles illustrate that the qualitative variable is converted into the two dummy variables for each car. Also note that the “X Variable Cell Range” in the dialog box does not include the qualitative variable (Condition) but does include both dummy variables (Cond1 and Cond2). Figure 15.12B shows the regression results.
Remember, all of the independent variables need to be in adjacent columns in the Excel spreadsheet.
{ figure 15.12b Using Two Dummy Variables
in a Multiple Regression with PHStat (Final Result)
According to Figure 15.12B, the regression equation for our used Camry with the condi- tion model is as follows:
yn = 29,903.3768 - 0.0988x1 - 762.2102x2 - 7,695.6992x3 - 5,637.5586x4 where
x1 = The mileage of the used Camry x2 = The age in years of the used Camry x3 = The value of Cond1 for the used Camry x4 = The value of Cond2 for the used Camry
www.freebookslides.com
736 C h a p t e r 15 | Multiple Regression and Model Building
The interpretations for the regression coefficients in this equation are as follows:
b1 = - 0.0988: Every additional mile on the car’s odometer will reduce the asking price by an average of $0.0988, assuming there is no change in the age or condition of the car. We can extrapolate this to mean that every 1,000 miles on the car reduces the average asking price by $98.80.
b2 = - 762.2102: Every additional year on the car’s age will reduce the asking price by an average of $762.21, assuming there is no change in the mileage or condition of the car.
The interpretation of the coefficients for the dummy variables (b3 = - 7,695.6992 and b4 = - 5,637.5586) require a little more explanation. Let’s start with calculating the average asking price of a used Camry with 47,270 miles that is four years old and in excellent condi- tion 1x3 = 0, x4 = 02. Recall that this is our base category. yn = 29,903.3769 - 0.0988x1 - 762.2102x2 - 7,695.6992x3 - 5,637.5586x4 yn = 29,903.3769 - 0.09881472702 - 762.2102142 - 7,695.6992102 - 5,637.5586102 yn = $22,184
Now, we’ll determine the average asking price of a used Camry with 47,270 miles that is four years old and in good condition 1x3 = 0, x4 = 12: yn = 29,903.3769 - 0.0988x1 - 762.2102x2 - 7,695.6992x3 - 5,637.5586x4 yn = 29,903.3769 - 0.09881472702 - 762.2102142 - 7,695.6992102 - 5,637.5586112 yn = $16,547
The difference between the average asking price of a used Camry in excellent condition and one in good condition (with the same mileage and age) is as follows:
$22,184 - $16,547 = $5,637
Recall that this is also the value for b4, the coefficient for the dummy variable Cond2. Based on the manner in which we set up our dummy variables in Table 15.5, the value for b4 tells us that a used Camry in good condition is worth, on average, $5,637 less than the same car in excellent condition (the base category).
How do we interpret the other dummy variable coefficient, b3? Now we calculate the average asking price of a used Camry with 47,270 miles that is four years old and in poor condition 1x3 = 1, x4 = 02. yn = 29,903.3769 - 0.0988x1 - 762.2102x2 - 7,695.6992x3 - 5,637.5586x4 yn = 29,903.3769 - 0.09881472702 - 762.2102142 - 7,695.6992112 - 5,637.5586102 yn = $14,489
The difference between the average asking price of a used Camry in excellent condition and one in poor condition (with the same mileage and age) is as follows:
$22,184 - $14,489 = $7,695
As you can see, that is also the value for b3, the coefficient for the dummy variable Cond1. Based on the manner in which we set up our dummy variables in Table 15.5, the value for b3 tells us that a used Camry in poor condition is worth, on average, $7,695 less than the same car in excellent condition (base category). The lesson here (besides dummy variables) is to take care of your car, a message that I continue to preach to my adult chil- dren, with limited success.
The coefficients for the dummy variables reflect the change in the dependent variable when comparing one category of the qualitative variable to the base category (the one with all of zeros). This begs the obvious question, what happens when you have more than three categories in your quantitative variable? Table 15.6 shows a possible set of dummy variables for four car-condition categories.
www.freebookslides.com
C h a p t e r 15 | 15.4 Using Qualitative Independent Variables 737
Here, again, I’m electing to use the excellent condition to be my base category. The key to the pattern is that no more than one dummy variable can be assigned a 1 for each condi- tion. In other words, the number 1 cannot appear more than once in any row or column in Table 15.6.
To avoid feeling like a “dummy” on your next exam, test your dummy variable skills on this next Your Turn problem.
{ table 15.6 | Creating Dummy Variables for Four Categories
dummy variables
condition cond1 cond2 cond3
Excellent 0 0 0
Good 0 0 1
Fair 0 1 0
Poor 1 0 0
The Excel file MLB 2012 Wins 3.xlsx lists the number of games each Major League Baseball team won during the 2012 season. This file also provides the average number of runs scored per game (RPG) by each team, the average number of runs it gave up per game (ERA), and whether its stadium had a retractable roof/dome (ROOF).
Perform a regression analysis with PHStat and interpret the effect that a retractable roof or dome had on the number of games a team won during the season.
Y o u r t u r n # 4N
Answer can be found on u page 763
15.4 Section Problems Basic Skills 15.34 Consider the following set of dependent and independent
variables. The variable x3 is qualitative with M = Male and F = Female. The quantitative data for this problem can be found in the Excel file Prob 1534.xlsx.
y 10 11 15 15 20 24 27 32
x1 2 5 5 9 7 11 16 20
x2 16 10 13 10 2 8 7 4
x3 M M F F F M F F
a. Using PHStat, construct a regression model using all three independent variables.
b. Interpret the meaning of each of the regression coefficients.
15.35 Consider the following set of dependent and inde- pendent variables. The variable x3 is qualitative with H = High, M = Medium, and L = Low. The quantita- tive data for this problem can be found in the Excel file Prob 1535.xlsx.
y 47 42 40 40 31 26 23 18 10
x1 74 63 78 52 44 47 35 17 15
x2 22 29 20 17 13 17 8 15 10
x3 M H H L M H M L L
a. Using PHStat, construct a regression model using all three independent variables.
b. Interpret the meaning of each of the regression coefficients.
applications 15.36 A business statistics professor at State College would
like to develop a regression model to predict the final exam scores for students based on their current GPAs, the number of hours they studied for the exam, the number of times they were absent during the semester, and their genders. The data for these variables can be found in the Excel file final exam scores 2.xlsx.
a. Using PHStat, construct a regression model using all of the independent variables.
www.freebookslides.com
738 C h a p t e r 15 | Multiple Regression and Model Building
b. Test the significance of the overall regression model using a = 0.10.
c. Interpret the meaning of the regression coefficient for the dummy variable.
d. Using the p-values, identify which independent vari- ables are significant with a = 0.10.
e. Construct a regression model using only the significant variables found in part d and predict the average exam score for a student who studied 4.0 hours for the exam, missed two classes during the semester, has a current GPA of 3.45, and is male.
15.37 Squirt Squad is a cleaning service that sends crews to residential homes on either a once-a-month or a twice-a- month schedule, depending on the customer’s preference. The owner would like to predict the amount of time re- quired to clean a house based on the square footage of the house, the total number of rooms in the house, the number of bathrooms it has, the size of the cleaning crew, the fre- quency of the cleaning schedule, and whether the house- hold has children. Data from randomly selected homes can be found in the Excel file Squirt Squad 2.xlsx.
a. Using PHStat, construct a regression model using all of the independent variables.
b. Test the significance of the overall regression model using a = 0.05.
c. Interpret the meaning of the regression coefficient for the Rooms, Crew, Children, and Frequency variables.
d. Using the p-values, identify which independent vari- ables are significant with a = 0.05.
e. Construct a regression model using only the significant variables found in part d and predict the average time to clean a house that has 2,250 square feet, 11 total rooms, 3.5 bathrooms, and no children. This house is cleaned once a month with a crew of four employees.
15.38 Suppose the athletic director at Villanova University would like to develop a regression model to predict the point differential for games played by the college’s men’s basketball team. A point differential is the difference be- tween the final points scored by two competing teams. A positive differential is a win for Villanova, and a negative differential is a loss. For a random sample of home and away games, the point differential was calculated for Villanova, along with the number of assists, rebounds, turnovers, and personal fouls. The data can be found in the Excel file Villanova Basketball 2.xlsx.
a. Using PHStat, construct a regression model using all of the independent variables.
b. Test the significance of the overall regression model using a = 0.10.
c. Interpret the meaning of the regression coefficient for the dummy variable.
d. Using the p-values, identify which independent vari- ables are significant with a = 0.10.
e. Construct a regression model using only the significant variables found in part d and predict the average point differential for a home game in which Villanova has 8 assists, 37 rebounds, 15 turnovers, and 22 personal fouls.
15.39 Suppose the Bank of Delaware would like to develop a regression model to predict a person’s credit score based on his or her age, weekly income, education level (high school, bachelor’s degree, graduate degree), and whether he or she owns or rents his or her primary residence. The Excel file Bank of Delaware 1.xlsx provides these data for a random sample of customers.
a. Using PHStat, construct a regression model using all of the independent variables.
b. Test the significance of the overall regression model using a = 0.01.
c. Interpret the meaning of each of the regression coefficients.
d. Using the p-values, identify which independent vari- ables are significant with a = 0.01.
e. Construct a regression model using only the significant variables found in part d and predict the average credit score for a 42-year-old person who earns $1,200 per month, has a bachelor’s degree, and owns his or her residence.
15.40 Jersey Shore Realtors would like to develop a regres- sion model to help it set weekly rental rates for beach properties during the summer season in New Jersey. The independent variables for this model are the number of bedrooms a property has, its age, the number of blocks away from the ocean it is, and the rental month (June, July, or August). These data can be found in the Excel file Jersey Shore Realtors 2.xlsx for randomly selected rental properties.
a. Using PHStat, construct a regression model using all of the independent variables.
b. Test the significance of the overall regression model using a = 0.05.
c. Interpret the meaning of each of the regression coef- ficients for the dummy variables.
d. Using the p-values, identify which independent vari- ables are significant with a = 0.05.
e. Construct a regression model using only the signifi- cant variables found in part d and predict the average weekly rental rate during the month of August for a three-bedroom house that is 12 years old and two blocks from the ocean.
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 739
15.5 Model Building In each of the examples in this chapter, the regression models were shown with all the in- dependent variables together. As we will see in this section, it’s best to consider the effect of each independent variable on the regression model to decide which combination is most effective. The process of deciding which independent variables should be part of the final regression model is known as model building.
Multicollinearity Independent variables that are highly correlated with each other can cause problems for the multiple regression model. This condition has a special name in statistics—multicollinearity. The best way to explain this issue is through a simple example. Table 15.7 shows the weight in pounds of eight men along with their right and left shoe sizes. These data can also be found in the Excel file shoe size.xlsx.
Model building is the process of deciding which independent variables should be part of a final regression model.
Remember that correlation was discussed in Chapter 14 as measuring both the strength and direction of the linear relationship between two variables.
Multicollinearity is present in the regression model when independent variables within the model are highly correlated.
{ table 15.7 | Weight vs. Shoe Size
shoe size
weight right left
160 9 9
168 8 8
172 10.5 10.5
185 10 10
188 11 11.5
196 11 11
200 12 12
204 12 12
First, I’ll use PHStat to develop a regression model that predicts a man’s weight based on the size of his right shoe. These results are shown in Figure 15.13.
{ figure 15.13 Predicting a Man’s Weight Based
on the Size of His Right Shoe Using PHStat
As you can see, based on the circled p-value (Cell E18), which equals 0.0042, the regression model is significant using a = 0.05. The regression equation is as follows:
yn = 79.4647 + 10.0273x1 According to our model, each additional shoe size on the right foot will result in an av-
erage increase of 10 lbs in weight. This seems reasonable to me.
www.freebookslides.com
740 C h a p t e r 15 | Multiple Regression and Model Building
Now, watch what happens when I include both the right and left shoe-size independent variables together in our regression model, which is shown in Figure 15.14.
{ figure 15.14 Predicting a Man’s Weight Based
on the Sizes of Both His Shoes Using PHStat
In this model, as you can tell from the circled p-values (Cells E18 and E19), neither in- dependent variable is significant. We also have a rather curious regression equation:
yn = 78.8369 + 14.2567x1 - 4.1444x2 According to this model, each additional shoe size on the left foot will result in an average decrease of 4 lbs in weight. This makes no sense to me. What happened?
Looking at Table 15.7, we can see that the right and left shoe sizes tend to move to- gether because they are highly correlated (r = 0.99 using Excel). Using both of these variables in our regression model is redundant. Adding the left shoe size as an independent variable provides very little new information to help us predict weight. In fact, this high cor- relation will often cause some independent variables that should be significant to appear as not being significant. Also, some regression coefficients in the model might appear with the wrong signs. For instance, I wouldn’t expect an increase in the left shoe size of a man to pre- dict a decrease in his weight. When our regression model behaves in this bizarre manner, we suspect the presence of multicollinearity.
Our shoe size example clearly (I hope) describes the problems that multicollinearity can cause in the model. When multicollinearity is present, detecting which independent variables are statistically significant may not be possible. It is also more difficult to interpret the re- gression coefficients. Later in this section, I’ll show you how to detect the presence of multi- collinearity and what to do about it.
However, if the purpose of the regression model is to provide a prediction for the depen- dent variable, the presence of multicollinearity is not necessarily a problem. Notice in Figure 15.14, the p-value for the significance of the overall regression model is 0.0250 (see Cell F12). Despite the head-scratching coefficients, because the p-value is less than a = 0.05 this model can effectively predict the average weight of a man given his right and left shoe sizes.
The presence of multicollinearity can be detected using the variance inflation factor (VIF ). The formula the VIF is shown in Equation 15.14.
We suspect the presence of multicollinearity in the model when regression coefficients have the opposite sign from what we would normally expect.
The presence of multicollinearity can be detected in a regression model using the variance inflation factor (VIF ).
Formula 15.14 for the Variance Inflation Factor
VIFj = 1
1 - R 2j
where
VIFj = The variance inflation factor for the jth independent variable R 2j = The coefficient of multiple determination using the jth independent variable as
the dependent variable against the remaining independent variables
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 741
The variable R 2j needs a little explanation. This is the same R 2 we discussed earlier in the
chapter, with one twist. We completely ignore the original dependent variable in the data set and focus solely on the independent variables. As an example, consider the following inde- pendent variables from earlier in the chapter:
Variable 1: Car’s mileage 1j = 12 Variable 2: Car’s age 1j = 22 Variable 3: Seller’s age 1j = 32
The variable R21 is calculated using the car’s mileage as the dependent variable and the car’s age and seller’s age as the independent variables. Likewise, the variable R 22 is calcu- lated using the car’s age as the dependent variable and the car’s mileage and seller’s age as the independent variables. The same pattern holds true for R 23.
Suppose we have three independent variables, x1, x2, and x3, in our regression model and we want to determine VIF1, the factor for the first independent variable, x1. This requires us- ing x1 as the dependent variable and performing a regression analysis with x2 and x3 as the independent variables. The original dependent variable is ignored for this analysis.
If there is no correlation between the three independent variables in the previous sce- nario, then R 21 = 0. Plugging this value into Equation 15.14, we have the following:
VIF1 = 1
1 - R 21 =
1
1 - 0 = 1.0
With the presence of correlation in the previous scenario, R 21 would approach 1.0, which in turn will cause VIF1 to increase. This process would be continued to determine VIF2 and VIF3. If any value of VIFj exceeds 5.0, enough correlation exists between the independent variables to claim that multicollinearity is present in the regression model.
The good news is that PHStat will provide us with the values for VIFj, which I will dem- onstrate with the following example. Verizon Wireless records as a measure of productivity the number of weekly cell phone activations each of its retail employees achieves. An activation is defined as either a new customer signing a cell phone contract or an existing customer renew- ing a contract. Excel file activations 1.xlsx provides the number of activations last week for 25 employees, which is our dependent variable; the following are the independent variables:
Exp 1x12: The employee’s number of years of experience on the job Gend 1x22: The gender of the employee, 0 = Male, 1 = Female Perf 1x32: The performance rating of the employee on a scale of 1–100 Age 1x42: The age of the employee Salary 1x52: The weekly salary of the employee
PHStat’s Multiple Regression dialog box is shown for the Excel file in Figure 15.15A. Notice that the Variance Inflationary Factor (VIF) box is checked.
{ figure 15.15a Determining the Variance
Inflationary Factors for the Cell Phone Activation Example Using PHStat (Step 1)
www.freebookslides.com
742 C h a p t e r 15 | Multiple Regression and Model Building
{ figure 15.15b Determining the Variance
Inflationary Factors for the Cell Phone Activation Example Using PHStat (Final Result)
After we click OK, PHStat creates a worksheet for each independent variable, labeling them X1, X2, and so forth. Figure 15.15B shows the value for VIF1, the Exp independent variable.
We can verify the value of VIF1 using the data in Figure 15.15B and Equation 15.14:
VIF1 = 1
1 - R 21 =
1
1 - 0.2914 = 1.41
Table 15.8 summarizes the remaining VIF values for the activation example.
{ table 15.8 | Variance Inflationary Factor Values for the Cell Phone Activation Example
independent variable vifj multicollinearity?
Exp 1.41 No
Gend 1.65 No
Perf 5.30 Yes
Age 1.15 No
Salary 6.07 Yes
Because we have VIF values greater than 5.0 in Table 15.8, multicollinearity is present in our model if we use all five independent variables. It appears that the variables Salary and Perf are highly correlated, which makes sense—employees with the higher performance rat- ings could conceivably have the higher salaries. If you take the time to use Excel’s CORREL function with these two variables, you could confirm that r = 0.889.
To eliminate the presence of multicollinearity from our activation example, we need to eliminate one or both of the offending independent variables from our model. The analogy I like to use is two misbehaving children who cannot be left in the same room together (some- thing most parents can relate to). I’ll start by removing the variable Salary because it has the highest VIF in Table 15.8.
Next, I’ll repeat the VIF procedure with the remaining four independent variables. These results are shown in Table 15.9.
The fact that all four remaining variables in the model have VIFs less than 5.0 is evidence that multicollinearity is not present in the regression model.
{ table 15.9 | Variance Inflationary Factor Values for the Cell Phone Activation Example
independent variable vifj multicollinearity?
Exp 1.38 No
Gend 1.43 No
Perf 1.49 No
Age 1.13 No
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 743
Because each of these VIF values is less than 5.0, it seems I have found a group of “well-be- haved” independent variables that get along with one another. Had the VIF value for the Perf variable remained over 5.0, I would also remove it from the model and repeat the process again to verify the remaining VIF values were acceptable.
Now that we have eliminated multicollinearity by removing unwanted independent variables, we’re ready to start building our final model with general stepwise regression. But first, see how well the independent variables in this next Your Turn problem get along together.
Suppose Arizona State University would like to develop a regression model to identify the factors that contribute to the GPA of MBA students (MBAGPA). The Excel file MBA GPA.xlsx provides data for 24 randomly selected MBA students who have recently graduated. The independent variables in this file are as follows:
MGMAT 1x12: The student’s math GMAT (entrance exam) score VGMAT 1x22: The student’s verbal GMAT (entrance exam) score UGGPA 1x32: The student’s undergraduate GPA DEGREE 1x42: A dummy variable that equals 0 for students with business undergraduate de- grees and 1 for students with non-business undergraduate degrees
Determine if multicollinearity is present among these independent variables. If it is, take the necessary steps to eliminate it.
Y o u r t u r n # 5N
Answers can be found on u page 763
General Stepwise regression Now that we have eliminated the presence of multicollinearity from our independent vari- ables in the cell phone activation example, it’s now time to decide which of the remaining independent variables to include in our final regression model. The remaining variables are as follows:
Exp 1x12: The employee’s number of years of experience on the job Gend 1x22: The gender of the employee, 0 = Male, 1 = Female Perf 1x32: The employee’s performance rating on a scale of 1–100 Age 1x42: The age of the employee There are several methods to achieve this goal, all of which require the use of a software
program such as PHStat. The first selection method we’ll examine is known as a general stepwise regression, which brings independent variables into the model one at a time using the following steps:
1. Select the independent variable that has the highest correlation with the dependent variable.
2. If this variable is statistically significant, it enters the model.
3. The next variable chosen is the one that explains the largest portion of the unexplained variation in the dependent variable.
4. If this variable is statistically significant, it enters the model.
5. Occasionally, adding a new independent variable will cause the p-values of an indepen- dent variable already in the model to exceed the value of a. In this case, the independent variable that is no longer statistically significant is removed from the model.
6. This process continues until no remaining independent variables are statistically significant.
General stepwise regression brings one independent variable at a time into a regression model based on its p-value. The “p-value to enter” and “p-value to remove” values determine the threshold for independent variables joining and leaving the regression model, respectively.
www.freebookslides.com
744 C h a p t e r 15 | Multiple Regression and Model Building
General stepwise regression can be performed with our cell phone activation example using PHStat as follows:
1. Open the Excel file activations 2.xlsx. This file contains the four independent variables shown in Table 15.9 along with our dependent variable, Activations.
2. Go to Add-Ins + PHStat + Regression + Stepwise Regression, as seen in Figure 15.1A.
3. Fill in the Stepwise Regression dialog box as shown in Figure 15.16A. The p value to enter and p value to remove values determine the threshold for independent variables joining and leaving the regression model, respectively.
4. Click OK.
{ figure 15.16a Using PHStat for a Stepwise
Regression (Steps 1–4)
PHStat creates a new worksheet labeled “Stepwise,” which displays the results of the stepwise regression. Figure 15.16B shows the first independent variable to be chosen to enter the model, Perf.
{ figure 15.16b The First Variable in the
Stepwise Regression Model with PHStat
As you can see, because it has a p-value equal to 0.0002, the variable Perf is statistically significant. Figure 15.16C shows the second independent variable to be chosen to enter the model, Exp.
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 745
Both independent variables have p-values less than 0.05 and therefore stay in the model. The last two independent variables, Gend and Age, were not selected to join the model because their p-values would exceed 0.05 had they been included. Our final regression model is as follows:
yn = - 9.5712 + 1.0960x1 + 0.4010x3 where
x1 = The employee’s number of years of experience on the job x3 = The employee’s performance rating on a scale of 1–100
The interpretations for the regression coefficients in this equation are as follows:
b1 = 1.096: Every additional year of job experience will result in an average increase of 1.096 activations per week, assuming there is no change in the performance rating of the employee.
b3 = 0.401: Every additional point in the employee’s performance rating will result in an average increase of 0.401 activations per week, assuming there is no change in the experience of the employee.
Using general stepwise regression will always result in a model in which all of the inde- pendent variables are statistically significant. The drawback of using this technique is that by considering only one independent variable at a time, all possible combinations of variables might not be considered when choosing a final model.
In the next section, we’ll examine another selection method that does consider all pos- sible combinations. But before we move on, please spend a few minutes with this next Your Turn exercise.
{ figure 15.16c The Second Variable in the
Stepwise Regression Model with PHStat
Perform a general stepwise regression using the remaining variables (without multicollinearity) and data from the Arizona State University MBA GPA.xlsx file in Your Turn #5. Use 0.05 as the p-values to enter and remove. Interpret the meaning of the regression coefficients for the final model.
Y o u r t u r n # 6N
Answers can be found on u pages 763–764
Best Subsets regression Another technique for selecting the appropriate independent variables for the final model is known as a best subsets regression. Rather than selecting variables one at a time, this method will examine all of the combinations of the independent variables as possible candi- dates for the final regression model. For example, suppose we have three independent vari- ables to consider, x1, x2, and x3. A best subsets regression will consider all combinations of the variables. These combinations are shown in Table 15.10.
A best subsets regression examines all combinations of independent variables as possible candidates for the final regression model.
www.freebookslides.com
746 C h a p t e r 15 | Multiple Regression and Model Building
Because it allows only one variable at a time to enter the model, a general stepwise regression might not examine all these particular combinations, which can be a drawback. However, a best subsets regression limits the number of independent variables that can be considered. For k independent variables, there are 2k - 1 total combinations of regression models to consider. With three independent variables, we have 23 - 1 = 8 - 1 = 7 total combinations to examine. Therefore, as the number of independent variables increases, the number of combinations expands rather drastically. For example, the best subsets regression procedure in PHStat is limited to examining seven independent variables. If more indepen- dent variables need to be considered, a general stepwise regression needs to be used.
To see how a best subsets regression works, let’s use the previous cell phone activation data that are free of multicollinearity, and then take the following steps:
1. Open the Excel file activations 2.xlsx.
2. Go to Add-Ins + PHStat + Regression + Best Subsets, as seen in Figure 15.1A. 3. Fill in the Best Subsets dialog box as shown in Figure 15.17A and click OK.
{ table 15.10 | Best-Subset-Regression Combinations for Three Independent Variables
x1 x1 and x2 x1, x2, and x3
x2 x1 and x3
x3 x2 and x3
{ figure 15.17a Using PHStat for a Best Subsets
Regression (Steps 1–3)
4. PHStat creates several worksheets in the Excel file, one of which is labeled “Best Subsets.” Selecting this sheet will display the data shown in Figure 15.17B.
{ figure 15.17b The Best Subsets Analysis Data
with PHStat
Figure 15.17B shows that four independent variables provide 15 possible combinations to be considered 124 - 1 = 152. This figure also shows the adjusted R 2 and the standard
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 747
error for each of these regression models. Ideally, we’re looking for the subset with the high- est adjusted R 2 and lowest standard error. The two models highlighted in yellow are the best candidates based on these criteria.
The best subsets procedure in PHStat assigns the first independent variable in the Excel file as x1, the second as x2, and so forth. Based on this convention, we have the following as- signments for our activation example:
Exp 1x12: The employee’s number of years of experience on the job Gend 1x22: The gender of the employee, 0 = Male, 1 = Female Perf 1x32: The employee’s performance rating on a scale of 1–100 Age 1x42: The age of the employee
Notice that the adjusted R 2 for the model using only Age 1x42 in Figure 15.17B (circled in red) is negative. This can occur when the coefficient of determination 1R 22 is very low, as it is in Figure 15.17B, or when there are a large number of independent variables in the regression model. Below, I show Equation 15.11 again, which calculates the adjusted R 2. As you can see, the number of independent variables, k, is in the denominator. This makes the adjusted R 2 smaller as k is larger.
R 2A = 1 - c 11 - R 22a n - 1
n - k - 1 b d
Figure 15.17B also shows a value known as the Cp statistic, which measures the differ- ence between the true population model and the regression model derived from the sample data. The goal is for the Cp statistic to be less than or equal to k + 1, where k equals the num- ber of independent variables. Our highlighted subsets in Figure 15.17B also meet this crite- rion, which is summarized in Table 15.11
Recall that the adjusted R2 measures the proportion of variation in the dependent variable that is explained by the independent variables and is adjusted for the number of independent variables and the sample size in the model.
Recall that the standard error measures how well the regression equation fits the sample data.
When comparing models with similar adjusted R2 values, choose the one with the fewer number of independent variables.
{ table 15.11 | Best Subset Candidates for the Cell Phone Activation Example
model c p
k + 1 adj r 2
x1, x2, x3 3.99 4 0.6089
x1, x2, x3, x4 5.00 5 0.6087
Both of these models will provide roughly the same level of performance when predict- ing the number of weekly cell phone activations for an employee. When faced with such a choice, the more desirable model is the one with fewer independent variables. This results in a final model that requires less data and has a smaller chance of multicollinearity wreaking havoc on the regression. Therefore, using the best subset method, our preferred choice is the model that includes the independent variables x1, x2, and x3.
You can find the regression model for this subset in another worksheet labeled “3X” because this subset is the first one listed in the group of three independent variables in Figure 15.17B. These data are displayed in Figure 15.17C.
{ figure 15.17c The Final Best Subsets Regres-
sion Model with PHStat
www.freebookslides.com
748 C h a p t e r 15 | Multiple Regression and Model Building
According to Figure 15.17C, our final activations regression model is as follows:
yn = - 3.8522 + 0.8415x1 + 3.7355x2 + 0.3297x3 where
x1 = The employee’s number of years of experience on the job x2 = The gender of the employee, 0 = Male, 1 = Female x3 = The employee’s performance rating on a scale of 1–100
Suppose Verizon would like to use this model to predict the average number of weekly ac- tivations for a male employee who has a performance rating of 85 and four years of experi- ence on the job. Our best subset model predicts the following:
yn = - 3.8522 + 0.8415x1 + 3.7355x2 + 0.3297x3 yn = - 3.8522 + 0.8415142 + 3.7355102 + 0.32971852 = 27.5 activations per week
Notice that the best subsets regression method arrived at a different final model than the gen- eral stepwise regression that was discussed earlier. This can occur because the best subsets method will often find a combination of variables that the general stepwise method never examined.
There is also the possibility that the subset with the highest adjusted R2 might include independent variables that are not statically significant (with p-values greater than a). For in- stance, the Gend variable in 15.17C has a p-value equal to 0.0668. The model builder might need to decide which is more important—significant independent variables or the highest adjusted R 2. As we saw in Figure 15.17B, there is often more than one appropriate subset from which to choose.
Table 15.12 compares the best subset and general stepwise methods for our cell phone activation example. The adjusted R 2 for the general stepwise method can be found in Row 16 in Figure 15.17B.
{ table 15.12 | Comparing the Best Subset Regression with the General Stepwise Regression
model variables adj r 2
Best subset x1, x2, x3 0.6089
General stepwise x1, x3 0.5603
Now that you’re an expert on best subset regression, take this time to choose a model in the next Your Turn problem.
Perform a best subsets regression using the remaining variables (without multicollinearity) and data from the Arizona State University model in Your Turn #5.
a. Select the subset with the highest adjusted R 2. b. Compare this to the model using the general stepwise approach from Your Turn #6.
Y o u r t u r n # 7N
Answers can be found on u page 764
other Selection Methods Two additional stepwise regression techniques are available through PHStat that are similar to the general stepwise regression method. The first method is known as forward selection regression. This method follows the same steps as the general stepwise method in that it begins with no variables in the model. The forward selection method also uses the “p-value to enter” criterion to determine if an independent variable is eligible to be part of the model. The major difference in these two techniques is that once an independent variable enters the forward selection model, it can never leave (sort of like members of your family). As a
Forward selection regression brings one independent variable into the model at a time and does not allow any variables to leave once they have entered.
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 749
result, you may end up with independent variables in the final model that are not statistically significant. You can select this method in PHStat’s Stepwise Regression dialog box, which is shown in Figure 15.16A.
Another stepwise method is known as backward elimination regression. Here we be- gin the process with all of the independent variables in the model. Using the “p-value to remove” value provided by the user in the dialog box, independent variables are selected to leave the model one at a time. Once an independent variable has been banished from a backward elimination model, it can never come back in a later step (just like the contestants on the TV show American Idol). With backward elimination, you can be assured that all the remaining variables will be significantly significant. This method can also be found in PHStat’s Stepwise Regression dialog box shown in Figure 15.16A.
Because forward selection and backward elimination are stepwise models that look at the effect of one independent variable at a time, there is no guarantee that the final model will find the group of variables that provides the highest possible adjusted R 2. However, just as with the general stepwise procedure, both these methods can examine a large number of independent variables as possible candidates for the final regression model.
residual analysis The last step of the model building process is to conduct a procedure known as residual analysis. In order for the results from multiple regression analysis to be reliable, certain key assumptions need to hold true. Interpreting regression output without regard to these as- sumptions may lead to misleading conclusions. These important assumptions are as follows:
1. The residuals for the regression model have a constant variance.
2. The residuals follow the normal probability distribution.
3. The residuals are independent of one another.
4. The relationship between each independent variable and the dependent variable is linear.
As you can see, the majority of these assumptions focus on the residuals, which is just a fancy word statisticians use to describe the difference between the actual and predicted values of the dependent variable. In other words, we can describe the residual as a type of regression error. For example, the first employee in the activations 2.xlsx data file had 19 activations with a performance rating of 80, had one year of experience, and was male. Our best subset regression model predicts the following number of activations for this employee:
yn = - 3.8522 + 0.8415x1 + 3.7355x2 + 0.3297x3 yn1 = - 3.8522 + 0.8415112 + 3.7355102 + 0.32971802 = 23.4 activations per week
The difference between the actual and predicted activations can be found using Equation 15.15.
Backward elimination regression begins with all of the independent variables in the model. Variables that are not significant leave the model one at a time and are never allowed to return.
A residual describes the difference between the actual and predicted values of a dependent variable.
Formula 15.15 for the Residual
ei = yi - yni
where
ei = The residual of the ith observation in the sample yi = The actual value of the dependent variable for the ith data point yni = The predicted value of the dependent variable for the ith data point The residual for this first employee, using Equation 15.15, is as follows:
e1 = y1 - yn1 = 19 - 23.4 = - 4.4
In other words, the regression model predicts that the first employee will have 4.4 more acti- vations in a week than he actually had.
Using Excel’s Data Analysis ToolPak, we can find the residuals for each observation in our sample. Mac users can find these instructions using PHStat on the textbook’s Web site.
www.freebookslides.com
750 C h a p t e r 15 | Multiple Regression and Model Building
I’ll demonstrate this procedure using the Excel file activations 3.xlsx, which contains the independent variables from the best subset regression model:
1. Open the Excel file activations 3.xlsx.
2. Go to Data + Data Analysis, as shown in Figure 15.18A. 3. Select Regression in the Data Analysis dialog box, and click OK.
{ figure 15.18a Residual Analysis Using Excel’s
Data Analysis Function (Steps 1–3)
4. Fill in the Regression dialog box as shown in Figure 15.18B, and click OK.
{ figure 15.18b Residual Analysis Using Excel’s
Data Analysis Function (Step 4)
Because we checked Residuals in the dialog box, Excel provides a residual output table list- ing the residual for each observation in our sample. Figure 15.18C shows this output.
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 751
Negative residuals indicate that the predicted cell phone activations are more than the actual activations for each employee. Positive residuals reflect the opposite condition. The closer the residuals are to zero, the better the fit of the regression model.
Our first assumption for the multiple regression model is that the residuals have a constant variance, which is also known as homoscedasticity, a term we introduced in Chapter 14. Because we checked Residual Plots in the dialog box, the Excel regression out- put provides a residual plot for each independent variable so that we can examine if this con- dition is being met. Figure 15.19 shows the residual plot for the Exp variable.
{ figure 15.18c Residual Analysis Using Excel’s
Data Analysis Function (Final Result)
Homoscedasticity states that the variation of the dependent variable is the same across all values of the independent variables.
{ figure 15.19 Residual Plot for the Exp
Variable 10
5
0 2
First employee Exp
Exp Residual Plot
6 10 12
R es
id u
al s
–5
–10
4 8
This first employee had 19 activations and the regression model predicted he would have 23.4 activations. The difference is - 4.4 activations.
Each point in this plot represents the residual for each employee plotted against the number of years of experience on the job for that employee. Recall that the first employee in our sample has a residual of - 4.4 activations. This employee also had one year of experi- ence. The point shown in the red circle in Figure 15.19 corresponds to this employee.
The multiple regression model assumes that the variation in the residuals along the horizontal axis in Figure 15.19 is fairly constant. In other words, the error in the regression model for employees with little experience should not greatly differ from more experienced employees. This condition of constant residual variance across the Exp variable appears to be satisfied as we examine Figure 15.19. Notice that the data points are randomly scattered around the horizontal axis in the residual plot.
I’m sure some of you are wondering how the residual plot would appear if this con- stant variance condition was not met. Figure 15.20 shows a hypothetical case of such an instance.
www.freebookslides.com
752 C h a p t e r 15 | Multiple Regression and Model Building
Notice that the regression error is much larger for less experienced employees when compared with those with more experience. I draw this conclusion because the data in Figure 15.20 have residual values closer to zero as we move toward the right side of the hori- zontal (experience) axis. According to this figure, an employee with 10 years of experience has a residual very close to zero, meaning this model does a good job in predicting activa- tions for more experienced employees. Compare this with the residuals for an employee with two years of experience. As you can see, the prediction errors are farther from zero on this end of the plot. This pattern suggests that this model is more accurate when predicting the number of activations for experienced salespeople when compared with less experienced salespeople. Thus, this residual plot does not appear to satisfy the condition that the residuals have a constant variance.
Figures 15.21 and 15.22 show the residual plots for the other two remaining indepen- dent variables from our original example, Perf and Gend. Again, the residual for the first em- ployee 1 - 4.42 from our sample is circled in red in both figures, with a performance rating equal to 80 and a gender dummy variable equal to zero.
{ figure 15.20 Hypothetical Residual Plot for
the Exp Variable
2 4 6 8 10 12
Exp
Exp Residual Plot
R es
id u
al s
10
5
0
–5
–10
{ figure 15.21 Residual Plot for the Perf
Variable
Perf Residual Plot
60
First employee
Perf
70 80 90 100
R es
id u
al s
10
5
0
–5
–10
{ figure 15.22 Residual Plot for the Gend
Variable
Gend Residual Plot
Gend
0.2 0.4 0.6 0.8 1 1.2
First employee
R es
id u
al s
10
5
0
–5
–10
There does not appear to be a blatant violation of the constant variance requirement in either figure, although it does seem that the male employees have a little more error in the regression model than the female employees. You can tell this is so because the points are spread out farther from the x-axis for the men than they are for the women.
The second assumption for the multiple regression model is that the residuals follow the normal probability distribution. We can investigate if this assumption holds true by
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 753
inspecting a normal probability plot, which graphs the residuals on the y-axis and the residu- als’ z-score on the x-axis. If the residuals follow the normal probability distribution, the data in this plot will fall approximately on a straight line. Figure 15.23 shows the normal prob- ability plot for the activations data which appears to follow a straight line. Based on this fig- ure, we can confirm that the residuals follow a normal distribution for this data set.
A normal probability plot is used to verify if data follow the normal probability distribution by graphing the data on the y-axis and the z-scores for the data on the x-axis.
{ figure 15.23 Normal Probability Plot
See the textbook’s Web site (www.pearsonhighered.com/donnelly) for instructions on how to construct this normal probability plot using PHStat. Also, if you inspect Figure 15.18B, you will see an option in Excel’s regression procedure to generate a normal proba- bility plot. However, this option, for some strange reason, generates a plot for the dependent variable which tells us nothing about the distribution of the model’s residuals.
The third assumption for the multiple regression model is that the residuals are indepen- dent of one another. Essentially, this is saying that the size of the residual for one observa- tion will have no influence on the size of the residual from another observation. Because this phenomenon occurs more commonly using regression analysis as a forecasting technique, I address this assumption in Chapter 16 using the Durbin–Watson statistic.
The fourth assumption for the multiple regression model is that the relationship between each independent variable and the dependent variable is linear. Fortunately for you, testing for this assumption is rather complex and goes beyond the scope of this textbook. Therefore, we will assume that a linear relationship exists between the dependent and each of the inde- pendent variables in this chapter.
Model Building Summary We’ve covered quite a bit of material in this model building section, so I thought it would be helpful to summarize the procedure in the following steps:
1. If the presence of multicollinearity will cause problems with the regression model, de- termine the variance inflation factor (VIF) for each independent variable using PHStat. Otherwise, proceed to step 2.
a. If none of the variables have a VIF greater than 5.0, proceed to step 2. b. If one of the variables has a VIF greater than 5.0, remove it from the model and pro-
ceed to step 2. c. If more than two independent variables have a VIF greater than 5.0, remove the vari-
able with the highest VIF from the model and go back to step 1.
2. If you have more than seven independent variables remaining in your model, perform a stepwise regression to identify the appropriate regression equation. Otherwise, proceed to step 3.
3. If you have seven or fewer independent variables remaining in your model, perform a best subsets regression to identify all of the possible candidates for the final model.
4. Identify the subsets with the highest adjusted R 2 as possible candidates.
www.freebookslides.com
754 C h a p t e r 15 | Multiple Regression and Model Building
5. Also include as a possible candidate any subset with a Cp less than or equal to k + 1. 6. From the list of possible candidates, choose the most appropriate model that performs
adequately.
7. All else being equal, choose the model with the fewest number of independent variables.
8. Examine the residual plot for each independent variable included in the final model to ensure that the constant variance of residuals is not violated.
Be sure to stop and make sure you understand how to perform residual analysis with this last (hooray!) Your Turn problem.
Using the best subset model, perform a residual analysis using the information from the Arizona State University GPA example described in Your Turn #5. Is the constant variance requirement met for this model?
Y o u r t u r n # 8N
Answers can be found on u page 765
15.5 Section Problems Basic Skills 15.41 Consider the following set of dependent and independent
variables. These data can also be found in the Excel file Prob 1541.xlsx.
y 10 11 15 15 20 24 27 32 26 39
x1 2 5 5 9 7 11 16 20 39 21
x2 16 10 13 10 2 8 7 4 8 5
x3 7 15 9 12 18 17 23 20 27 30
Using PHStat, check for the presence of multicollinearity. If multicollinearity is present, take the necessary steps to eliminate it.
15.42 Consider the following set of dependent and independent variables. These data can also be found in the Excel file Prob 1542.xlsx.
y 47 42 40 40 31 26 23 18 10 14 6
x1 74 63 78 52 44 47 35 17 15 20 17
x2 22 29 20 17 13 17 8 15 10 10 7
x3 7 15 9 12 18 17 23 20 27 30 33
Using PHStat, check for the presence of multicollinearity. If multicollinearity is present, take the necessary steps to eliminate it.
15.43 Consider the following set of dependent and independent variables. These data can also be found in the Excel file Prob 1543.xlsx.
y 64 43 51 49 40 42 23 37 30 27 20
x1 74 63 78 52 44 47 35 17 15 20 17
x2 22 29 20 17 13 17 8 15 10 10 7
x3 24 15 9 38 18 17 5 40 27 30 33
a. Perform a general stepwise regression using a = 0.05 for the p-value to enter and to remove independent variables from the regression model.
b. Perform a residual analysis for the model developed in part a to verify that the regression conditions are met.
15.44 Consider the following set of dependent and independent variables. These data can also be found in the Excel file Prob 1544.xlsx.
y 64 43 51 49 40 42 23 37 30 27 20
x1 74 63 78 52 44 47 35 17 15 20 17
x2 22 29 20 17 13 17 8 15 10 10 7
x3 24 15 9 38 18 17 5 40 27 30 33
x4 17 30 25 29 38 30 33 39 44 41 49
a. Perform a best subsets regression and choose the most appropriate model for these data.
b. Perform a residual analysis to verify that the conditions for the model are met.
applications 15.45 A finance executive would like to determine if a relation-
ship exists between the current earnings per share (EPS) of a bank and the following independent variables:
• Total assets ($ billions) • Previous period’s EPS • Previous period’s return on average assets (ROAA) • Previous period’s return on average equity (ROAE)
ROAA measures how effectively assets are utilized, and ROAE measures a firm’s profitability. The Excel file Bank EPS.xlsx contains these data for several banks.
www.freebookslides.com
C h a p t e r 15 | 15.5 Model Building 755
a. Using PHStat, check for the presence of multicollinearity.
b. If multicollinearity is present, take the necessary steps to eliminate it.
c. Perform a general stepwise regression using a = 0.05 for the p-value to enter and to remove independent variables from the regression model.
d. Identify the regression equation for the model in part c. e. Perform a residual analysis with the model in part c to
verify that the conditions for the model are met.
15.46 A business statistics professor at State College would like to develop a regression model to predict the final exam scores for students based on their current GPAs, the number of hours they studied for the exam, the number of times they were absent during the semester, and their genders. The data for these variables can be found in the Excel file final exam scores 2.xlsx.
a. Using PHStat, check for the presence of multicollinearity.
b. If multicollinearity is present, take the necessary steps to eliminate it.
c. Perform a general stepwise regression using a = 0.10 for the p-value to enter and to remove independent variables from the regression model.
d. Identify the regression equation for the model in part c. e. Perform a residual analysis with the model in part c to
verify that the conditions for the model are met.
15.47 City Hospital would like to develop a regression model to predict the total hospital bill for a patient based on his or her length of stay, number of days in the hospital’s inten- sive care unit (ICU), and age of the patient. Data for these variables can be found in the Excel file City Hospital.xlsx.
a. Using PHStat, check for the presence of multicollinearity.
b. If multicollinearity is present, take the necessary steps to eliminate it.
c. Perform a general stepwise regression using a = 0.05 for the p-value to enter and to remove independent variables from the regression model.
d. Identify the regression equation for the model in part c. e. Perform a residual analysis with the model in part c to
verify that the conditions for the model are met.
15.48 Squirt Squad is a cleaning service that sends crews to resi- dential homes on either a once-a-month or a twice-a-month schedule, depending on the customer’s preference. The owner would like to predict the amount of time required to clean a house based on the square footage of the house, the total number of rooms in the house, the number of bath- rooms it has, the size of the cleaning crew, and whether the household has children. Data from randomly selected homes can be found in the Excel file Squirt Squad 3.xlsx.
a. Using PHStat, check for the presence of multicollinearity.
b. If multicollinearity is present, take the necessary steps to eliminate it.
c. Perform a best subsets regression and choose the most appropriate model for these data.
d. Perform a residual analysis with the model in part c to verify that the conditions for the model are met.
15.49 Suppose the athletic director at Villanova University would like to develop a regression model to predict the point differential for games played by the college’s men’s bas- ketball team. A point differential is the difference between the final points scored by two competing teams. A positive differential is a win for Villanova, and a negative differen- tial is a loss. For a random sample of games, shown in the Excel file Villanova basketball 1.xlsx, the point differen- tial was calculated for Villanova, along with the number of assists, rebounds, turnovers, and personal fouls.
a. Using PHStat, check for the presence of multicollinearity.
b. If multicollinearity is present, take the necessary steps to eliminate it.
c. Perform a best subsets regression and choose the most appropriate model for these data.
d. Identify the regression equation for the model in part c. e. Perform a residual analysis with the model in part c to
verify that the conditions for the model are met.
15.50 Suppose the Bank of Delaware would like to develop a re- gression model to predict a person’s credit score based on his or her age, weekly income, and education level (high school diploma, bachelor’s degree, graduate degree). The Excel file Bank of Delaware 2.xlsx provides these data for a random sample of customers.
a. Using PHStat, check for the presence of multicollinearity.
b. If multicollinearity is present, take the necessary steps to eliminate it.
c. Perform a best subsets regression and choose the most appropriate model for these data.
d. Identify the regression equation for the model in part c. e. Perform a residual analysis with the model in part c to
verify that the conditions for the model are met.
15.51 Jersey Shore Realtors would like to develop a regression model to help the firm set weekly rental rates for beach properties during the summer season in New Jersey. The independent variables for this model will be the size of the property in square feet, the number of bedrooms and bathrooms it has, and its age. These data can be found in the Excel file Jersey Shore Realtors 3.xlsx for randomly selected rental properties.
a. Using PHStat, check for the presence of multicollinearity.
b. If multicollinearity is present, take the necessary steps to eliminate it.
c. Perform a best subsets regression and choose the most appropriate model for these data.
d. Identify the regression equation for the model in part c. e. Perform a residual analysis with the model in part c to
verify that the conditions for the model are met.
www.freebookslides.com
chapter 15 Summary
■ The multiple regression model is an extension of the simple regression model discussed in Chapter 14.
• Instead of a single independent variable, we now have the opportunity to incorporate k indepen- dent variables to explain the variation in our dependent variable of interest.
■ A regression coefficient predicts the change in a dependent variable due to a one-unit change in an independent variable with all else being held constant.
■ Using the regression equation to predict the dependent variable with values of the independent vari- able that are outside the range of the original sample can provide unreliable results.
■ The difference in the values of the dependent variable is known as variation and is measured by a term known as the total sum of squares (SST).
■ The sum of squares regression (SSR) measures the amount of variation in the dependent variable that is explained by the independent variables.
■ The sum of squares error (SSE) measures the variation in the dependent variable that is explained by variables other than the independent variables.
■ The multiple coefficient of determination, R 2, is the percentage of variation in the dependent vari- able explained by all of the independent variables.
■ The F-test statistic is used to perform a hypothesis test to determine if the overall regression equa- tion is statistically significant.
■ The adjusted multiple coefficient of determination, R 2A, modifies, or adjusts, the multiple coefficient of determination by accounting for the number of independent variables and the sample size used to develop the regression model.
■ The t-test statistic is used to perform a hypothesis test to determine if each independent variable in the regression model is statistically significant.
■ The standard error of the regression coefficient measures the variation in the regression coefficient, bi, among several samples.
■ If the confidence interval for the regression coefficient includes zero, we have some evidence that b could be equal to zero, which indicates that there may not be a relationship between the dependent and independent variable.
■ Dummy variables are used to represent qualitative data in a multiple regression model and can take on only the values 0 and 1.
• We treat dummy variables as quantitative independent variables and proceed with the regression analysis as usual.
• In general, the number of dummy variables used is always one less than the number of categories in the qualitative data.
• The coefficient for a dummy variable reflects the change in the dependent variable when compar- ing one category of the qualitative variable to the base.
Model building is the process of deciding which independent variables should be part of the final regression model. Independent variables that are highly correlated with each other can cause problems for the multiple regression model. Multicollinearity is present in the regression model when indepen- dent variables within the model are highly correlated. However, if the purpose of the regression model is to predict the value of a dependent variable, the presence of multicollinearity is not necessarily a problem. The presence of multicollinearity can be detected using the variance inflation factor (VIF). If any value of VIFj exceeds 5.0, enough correlation exists between the independent variables to claim that multicollinearity is present in the regression model.
756 www.freebookslides.com
757
A general stepwise regression brings one independent variable at a time into the regression model based on its p-value. The “p-value to enter” and “p-value to remove” values determine the threshold for independent variables joining and leaving the regression model, respectively. A best subsets regression is another model-building method. It examines all combinations of independent variables as possible candidates for the final regression model. When comparing models with similar adjusted R 2 values, choose the one with the fewer number of independent variables. A forward selection regression brings one independent variable into the model at a time and does not allow any variables to leave once they have entered. A backward elimination regression begins with all of the independent variables in the model. Variables that are not sig- nificant are then removed from the model one at a time and are never allowed to return.
Residuals describe the difference between the actual and predicted values of a dependent variable. One of the assumptions of the multiple regression model is that the residuals have a constant variance.
Adjusted multiple coefficient of determination, R2A. A coef- ficient that modifies, or adjusts, the multiple coefficient of determination by accounting for the number of independent variables and the sample size used to develop the regression model.
Backward elimination regression. A regression method in which variables that are not significant leave the model one at a time and are never allowed to return.
Best subsets regression. A regression method that examines all combinations of independent variables as possible candidates for the final regression model.
Dependent variable. Assigned as the variable y, it is explained by the independent variables (denoted by x).
Dummy variables. Used to represent qualitative data in a mul- tiple regression model.
Forward selection regression. A regression method that brings one independent variable into the model at a time and does not allow any variables to leave once they have entered.
General stepwise regression. A regression method that brings one independent variable at a time into the regression model based on its p-value. Variables that enter the model may leave in a future step.
Homoscedasticity. A regression model assumption that states that the variation of the dependent variable is the same across all values of the independent variables.
Independent variable. Assigned the variable x, it explains the variation in the dependent variable y.
Mean square error (MSE). Value found by dividing the sum of squares error (SSE) by n - k - 1.
Mean square regression (MSR). Value found by dividing the sum of squares regression (SSR) by the number of indepen- dent variables (k).
Model building. The process of deciding which independent variables should be part of a final regression model.
Multicollinearity. A condition that occurs when independent variables within the regression model are highly correlated with one another.
Multiple coefficient of determination, R2. The percentage of variation in a dependent variable explained by a set of inde- pendent variables.
Normal probability plot. Used to verify if data follow the nor- mal probability distribution by graphing the data on the y-axis and the z-scores for the data on the x-axis.
Regression coefficient. Predicts the change in a dependent vari- able due to a one-unit change in an independent variable while holding other variables constant.
Residual. The difference between the actual and predicted values of a dependent variable.
Standard error of the regression coefficient, sbj. A measure of the variation in the regression coefficient, bj, among several samples.
Variance inflation factor (VIF). A factor used to detect the pres- ence of multicollinearity in a regression model.
chapter 15 Key Terms
www.freebookslides.com
15.1 Developing the Multiple Regression Model (pp 710–717)
Formula 15.1 for the Multiple Linear Regression Model for a Sample yn = b0 + b1x1 + b2x2 + g+ bkxk
Formula 15.2 for the Multiple Linear Regression Model for a Population yi = b0 + b1x1 + b2x2 + g + bkxk + e
15.2 Explaining the Variation of the Dependent Variable (pp 717–726)
Formula 15.3 for the Total Sum of Squares (SST) SST = a 1y - y22
Formula 15.4 for the Sum of Squares Regression (SSR) SSR = a 1yn - y22
Formula 15.5 for the Sum of Squares Error (SSE) SSE = a 1y - yn22
Formula 15.6 for Partitioning the Total Sum of Squares SST = SSR + SSE
Formula 15.7 for the Multiple Coefficient of Determination R 2 = SSR
SST
Formula 15.8 for the Mean Square Regression (MSR) MSR = SSR
k
Formula 15.9 for the Mean Square Error (MSE) MSE = SSE
n - k - 1
Formula 15.10 for the F-Test Statistic for the Overall Regression Model F = MSR
MSE
Formula 15.11 for the Adjusted Multiple Coefficient of Determination R 2A = 1 - c 11 - R 22a n - 1
n - k - 1 b d
15.3 Inferences about the Independent Variables (pp 726–731)
Formula 15.12 for the t-Test Statistic for the Regression Coefficient t = bj - bj
sbj
Formula 15.13 for the Confidence Interval for the Regression Coefficient CI = bj { ta>2sbj
chapter 15 Equations
758 www.freebookslides.com
759
15.5 Model Building (pp 739–755)
Formula 15.14 for the Variance Inflation Factor VIFj = 1
1 - R 2j
Formula 15.15 for the Residual ei = yi - yni
15.52 For one of its clients, a marketing research firm would like to predict the weekly food expenditures for households. The independent variables of interest are the number of in- dividuals living in a household, the number of teenagers in it, and the total household income. Data for these variables from randomly selected households can be found in the Excel file food expenditures.xlsx.
a. Construct a regression model using all three independent variables.
b. Interpret the meaning of the regression coefficients. c. Test the significance of the overall regression model
using a = 0.05. d. Predict the average weekly food expenditure for a
household with a weekly income of $1,200 and five people, one of whom is a teenager.
e. Construct a 95% confidence interval for the average weekly food expenditure for the household described in part d. Interpret the meaning of the interval.
f. Construct a 95% prediction interval for the weekly food expenditure for the household described in part d. Inter- pret the meaning of the interval.
g. Test the significance of each independent variable using a = 0.05.
h. Construct a 95% confidence interval for the regression coefficients for the teenager variable. Be sure to interpret the meaning of this confidence interval.
i. Construct a regression model using best subsets. Identify the most appropriate regression model for this problem.
15.53 Bob is a statistics textbook author and aspiring photogra- pher who sells his 13 * 19 prints on consignment at Island Art in Stone Harbor, New Jersey (stop in if you are in the area and ask for Spencer). To improve his inventory man- agement, Bob would like to develop a model to predict the number of prints he will sell in a week. The Excel file Island Art 2.xlsx provides the following data from a ran- dom selection of summer weeks over the past few years:
the number of prints sold per week, the price of the prints during the week, the number of prints in inventory at the start of the week, and the season (in-season or off-season).
a. Construct a regression model to predict the average de- mand for prints during the week using all three indepen- dent variables.
b. Interpret the meaning of the regression coefficients from part a.
c. Test the significance of the overall regression model from part a using a = 0.05.
d. Show the calculation for the adjusted multiple coeffi- cient of determination for part a.
e. Using p-values, identify which independent variables are significant from the model in part a with a = 0.05.
f. Using PHStat, check for the presence of multicollinear- ity for all three independent variables. If it is present, take the necessary steps to eliminate it.
g. Construct a regression model using a general stepwise regression using the independent variables from part f. Use a = 0.05 for the p-value to enter and remove inde- pendent variables.
h. Predict the average demand for an in-season week in which Bob has 65 prints in inventory priced at $59 per print using the model developed in part g.
i. Construct a 95% confidence interval for the regression coefficients for the Price variable from part g. Be sure to interpret the meaning of this confidence interval.
j. Perform a residual analysis to verify that the conditions for the regression model are met for the model devel- oped in part g.
15.54 The owner of Soffritto Italian Grill would like to predict the amount of the tip a server receives from dinner customers. From randomly selected tables, the owner has collected the data shown in the Excel file Sofrittos.xlsx. The data show the tip, the food bill for the table, the number of din- ers at the table, the number of minutes the diners were in
chapter 15 Problems
www.freebookslides.com
760
the restaurant, and whether the meal was on a weekday (Monday through Thursday) or a weekend (Friday through Sunday).
a. Check for the presence of multicollinearity between the independent variables. If it is present, take the necessary steps to eliminate it.
b. Construct a regression model using all the independent variables remaining after part a.
c. Interpret the meaning of the regression coefficients. d. Test the significance of the overall regression model us-
ing a = 0.02. e. Using the p-values, identify which independent variables
are significant with a = 0.02. f. Construct a 98% confidence interval for the regression
coefficients for the bill variable from part b. Be sure to interpret the meaning of this confidence interval.
g. Construct a regression model using a best subsets regres- sion that predicts the average tip from a table of diners using the independent variables from part b.
h. With the model from part g, predict the average tip for a table of four weekend diners with a total bill of $125 who spent 95 minutes at the table.
15.55 The general manager of a major league baseball team would like to develop a regression model to predict the number of wins during the season by a starting pitcher. The Excel file MLB pitchers.xlsx provides the following data on a random sample of starting pitchers from a recent season:
• Wins • Average walks and hits per innings pitched (WHIP) • Average strikeouts per nine innings (K/9) • Average strikeout-to-walk ratio (K/BB) • Earned run average (ERA)—the average number of
earned runs given up per game • Average pitches per plate appearance (P/PA) • Average pitches per inning (P/IP) • The ground-ball-to-fly-ball ratio (G/F)—pitchers who
have higher G/F ratios tend to cause batters to hit the ball on the ground rather than the air
• Run support average (RS)—the average number of runs scored by the pitcher’s team per start
• Right-handed or left-handed pitcher (R/L)
a. Check for the presence of multicollinearity between the independent variables. If it is present, take the necessary steps to eliminate it.
b. Construct a regression model using a best subsets re- gression that predicts the average number of wins for a pitcher using the independent variables from part a.
c. Interpret the meaning of the regression coefficients from part b.
d. Construct a 99% confidence interval for the regression coefficients for the run support variable from part b. Be sure to interpret the meaning of this confidence interval.
e. Predict the average number of wins for a left-handed pitcher who averages 1.2 walks and hits per inning, 7.1 strikeouts per game, 3.8 pitches per plate appearances, 15.2 pitches per inning, a ground-ball-to-fly-ball ratio of 0.8, a strikeout-to-walk ratio of 2.5, and an earned run average of 3.6 runs per game and whose team averages 5.3 runs per game during his starts.
f. Perform a residual analysis to verify that the conditions for the regression model are met for the model devel- oped in part b.
g. The general manager would like to add a new starting pitcher to his team’s roster. Using the results of this model, should he pursue a pitcher that has a high strikeout-to-walk ratio or a high ground-ball-to-fly-ball ratio? Explain your choice.
15.56 The provost at a major university would like to develop a model to examine the relationship between the salaries of full-time associate professors at the institution and the following independent variables: an associate professor’s performance rating on a scale of 1–20, his or her gender, student approval rating on a scale of 0–100%, age, years of teaching experience, and college (arts and sciences, or busi- ness). The provost has collected these data from a random sample of associate professors, which can be found in the Excel file faculty salaries.xlsx.
a. Check for the presence of multicollinearity between the independent variables. If it is present, take the necessary steps to eliminate it.
b. Construct a regression model using all the independent variables remaining after part a.
c. Interpret the meaning of each of the regression coefficients. d. Test the significance of the overall regression model us-
ing a = 0.01. e. Using the p-values, identify which independent variables
are significant with a = 0.01. f. Construct a regression model using a general stepwise
regression to predict an associate professor’s salary us- ing the independent variables from part b. Use a = 0.01 for the p-value to enter and remove independent variables.
g. Predict the salary of a female associate professor in the business college who is 41 years old with 11 years of teaching experience, a performance score of 17, and a student approval rating of 88.3%.
h. Use PHStat to construct a 99% confidence interval for the average salary of an associate professor described in part f using the general stepwise regression results and interpret its meaning.
i. Use PHStat to construct a 99% prediction interval for the salary of an associate professor described in part f using the general stepwise regression results and inter- pret its meaning.
j. Perform a residual analysis to verify that the conditions for the regression model are met for the model devel- oped in part f.
www.freebookslides.com
761
15.57 You have just completed your business statistics course and are shopping for a laptop computer at Best Buy. To help you with your decision, you decide to construct a regres- sion model to predict the selling price of the laptop. The Excel file laptops.xlsx provides the following data for a random sample of laptops on Best Buy’s Web site:
• Selling price • Brand • Screen size (in.) • Hard drive size (GB) • Amount of RAM memory (GB) • Number of USB ports • Weight (oz.)
a. Check for the presence of multicollinearity between the independent variables. If it is present, take the necessary steps to eliminate it.
b. Construct a regression model using all the independent variables remaining after part a.
c. Test the significance of the overall regression model from part a using a = 0.05.
d. Construct a regression model using best subsets regres- sion to predict the price of a laptop using the indepen- dent variables from part b.
e. Interpret the meaning of each of the regression coeffi- cients with the model from part d.
f. Construct a 95% confidence interval for the regression coefficients for the size variable from part d. Be sure to interpret the meaning of this confidence interval.
g. Predict the price of a Toshiba laptop with a 15.6-in. screen, 4 GB of RAM memory, a 500-GB hard drive, and three USB ports that weigh 5.2 ounces.
h. Use PHStat to construct a 95% prediction interval for the laptop described in part g and interpret its meaning.
15.58 Mike Lynch manages a real estate firm in Myrtle Beach, South Carolina, and would like to construct a model to help him predict the selling price of beach properties for his customers. Mike has collected the following data from a random sample of homes that have recently sold: a home’s selling price (in $000), asking price (in $000), days on the market, size in square feet, age, number of bedrooms, number of bathrooms, and property setting (golf course, or wooded). These data can be found in the Excel file Myrtle Beach Homes.xlsx. Develop a best subsets regression model to predict a home’s selling price using a = 0.01 for a home that is 18 years old, has been on the market for 57 days, has an asking price of $499,000, with 4 bedrooms, 3.5 bathrooms, 2,800 square feet, and is on a wooded lot. Provide a complete analysis of your findings.
chapter 15 Solutions to Your Turn
Y o u R T u R n # 1 Using PHStat: a. yn = 83.4034 + 17.1673x1 - 19.1125x2
where:
x1 = RPG
x2 = ERA
b. Increasing the average runs scored per game by 1.0 will result in a team winning an average of 17.2 more games per season. Increasing the average
runs per game given up by 1.0 will result in a team losing an average of 19.1 additional games per season.
c. yn = 80.4034 + 17.167314.02 - 19.112513.52 = 85.2 wins d. 83.0 to 87.4 wins e. 77.9 to 92.4 wins
www.freebookslides.com
762
Y o u R T u R n # 2 a. SSR = 3,822.2 SSE = 307.8 SST = 4,130.0
b. R 2 = SSR
SST =
3,822.2
4,130.0 = 0.9255
92.55% of the variation in a team’s wins can be explained by the average number of runs it scored per game and the average number of runs it gave up per game.
c. H0: b1 = b2 = 0 H1: At least one bi ≠ 0
MSR = SSR
k =
3,822.2
2 = 1,911.1
MSE = SSE
n - k - 1 =
307.8
30 - 2 - 1 = 11.4
F = MSR
MSE =
1,911.1
11.4 = 167.6
Using a = 0.01, the critical F-score found in Table 6 of Appendix A is Fa = 5.488. Because F = 167.6 is higher than Fa = 5.488, we reject H0 and conclude that at least one of the population coefficients for our in- dependent variables is not equal to zero. In other words, you can use this re- gression model to predict the number of wins based on the average number of runs scored and given up per game.
d. P1F 7 167.62 = 0.0000. Because this p-value is less than a = 0.01, we reject the null hypothesis.
e. R 2A = 1 - c 11 - R 22a n - 1
n - k - 1 b d
R 2A = 1 - c 11 - 0.92552a 30 - 1
30 - 2 - 1 b d
R 2A = 1 - 310.0745211.074124 = 1 - 0.0800 = 0.9200
Y o u R T u R n # 3 Note: PHStat provides a 95% confidence interval for the regression coefficients by default. To save space, these two columns have been removed from the following figure.
a. H0: b3 = 0 H1: b3 ≠ 0
t = b1 - b1
sb1 =
-0.0091 - 0 0.0509
= -0.178
Using a = 0.01 and 30 - 3 - 1 = 26 degrees of freedom, the critical t-score found in Table 5 in Appendix A is ta>2 = 2.779. Because t = -0.178 is to the right of - ta>2 = - 2.779, we fail to reject H0 and conclude that the errors population coefficient could be equal to zero. In other words, the relationship between the number of errors committed during the season and the number of wins is not statistically significant. The ERR independent variable should not be included in the final regression model.
b. The ERR p@value = 0.8601, which is greater than a = 0.01, so we fail to reject the null hypothesis. We conclude that the number of errors commit- ted during the season is not a good predictor of the number of wins.
c. CI = b { ta>2sb = -0.0091 { 12.779210.05092 UCL = -0.0091 + 0.1415 = 0.1324 LCL = -0.0091 - 0.1415 = -0.1506
We are 99% confident that committing an additional error during the season will result in changing the number of average wins per season from a reduc- tion of 0.1506 to an increase of 0.1324. Because this confidence interval includes zero, we have supporting evidence to conclude that there is no rela- tionship between errors and wins.
d. The RPG p@value = 0.000, which is less than a = 0.01, so we reject the null hypothesis. We conclude that the number of runs scored per game is a good predictor of the number of wins. The ERA p@value = 0.000, which is less than a = 0.01, so we again reject the null hypothesis. We conclude that the number of runs given up per game is a good predictor of the number of wins.
e. We are 99% confident that an additional run scored per game will increase the number of average wins per season by between 11.9 and 22.2 wins. Be- cause this confidence interval does not include zero, we have supporting evi- dence to conclude that there is a relationship between average runs scored per game and wins. We are 99% confident that giving up one additional run per game will decrease the average wins per season by between 15.4 and 22.7 wins. Because this confidence interval does not include zero, we have supporting evidence to conclude that there is a relationship between average runs given up per game and wins.
www.freebookslides.com
763
Y o u R T u R n # 4 Setting the dummy variable Dome equal to 1 for a team with a roof and zero for no roof, we have the following results:
Teams that have a roof average 3.3 fewer wins per year than teams that do not have a roof as long as the other variables stay constant. Note that with a p@value = 0.0235, this dummy variable is statistically significant.
Y o u R T u R n # 5 From PHStat, we have the following:
Independent Variable
VIFj
Multicollinearity?
MGMAT 8.61 Yes
VGMAT 5.95 Yes
UGGPA 2.73 No
DEGREE 1.37 No
Because the VIF value for MGMAT is greater than 5.0 and is the highest value in the table, remove it as an independent variable and repeat the process.
Independent Variable
VIFj
Multicollinearity?
VGMAT 1.21 No
UGGPA 1.42 No
DEGREE 1.21 No
This set of independent variables does not exhibit the presence of multicollinearity.
Y o u R T u R n # 6 Using the set of independent variables that does not exhibit the presence of multicollinearity from Your Turn #5, the first variable to enter the model is UGGPA, as the following figure shows:
www.freebookslides.com
764
The second and last variable to enter the model is DEGREE, as the following figure shows:
Our final regression model is as follows:
yn = 1.4546 + 0.6621x3 - 0.1959x4
where x3 = The undergraduate GPA of the student x4 = A dummy variable that equals 0 for students with undergraduate business degrees and 1 for students with non-business undergraduate degrees
The interpretations for the regression coefficients in this equation are as follows:
b3 = 0.6621: Every additional point in an undergraduate’s GPA will result in an average increase of 0.6621 points in his or her MBA GPA, assuming there is no change in the status of the student. b5 = -0.1959: The MBA GPAs for students with non-business undergraduate degrees are an average of 0.1959 points lower than the MBA GPAs of students with business degrees, assuming there is no change in the undergraduate GPA of a student.
Y o u R T u R n # 7
a. According to the previous figure, the best subset includes all three indepen- dent variables, which are highlighted in yellow.
b. The model constructed in Your Turn #6 using a general stepwise regression had only two independent variables, UGGPA 1x22 and DEGREE 1x32. The adjusted R 2 for this model is shown in the figure from part a and is equal to 0.6053 (see Row 16). This is lower than the adjusted R 2 from the best sub- sets model (0.6518). However, the best subsets model has an independent variable with a p-value greater than 0.05: VGMAT.
www.freebookslides.com
765
Y o u R T u R n # 8
0 10 20 30 40 50
R es
id u
al s
VGMAT
VGMAT Residual Plot 0.4
0.2
– 0.2 – 0.4 – 0.6
1.00 2.00 3.00 4.00 5.00 0
R es
id u
al s
0.4
0.2
– 0.2 – 0.4 – 0.6
UGGPA
UGGPA Residual Plot
DEGREE Residual Plot
DEGREE
0.2 0.4 0.6 0.8 1 1.2 0
R es
id u
al s
0.4
0.2
– 0.2 – 0.4 – 0.6
There does not appear to be a blatant violation of the constant variance for the residuals for these independent variables. It is worth noting, however, that the regression error for business degree students 1DEGREE = 02 is greater than it is for non-business degree students 1DEGREE = 12.
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Generate a forecast using various moving average techniques.
■ Generate a forecast using exponen- tial smoothing with and without a trend component.
■ Determine the accuracy of the fore- cast using mean absolute deviation.
■ Generate a forecast using regres- sion analysis.
■ Test for the presence of autocorre- lation in a time series.
■ Generate a forecast using multipli- cative decomposition.
■ Generate a forecast which uses dummy variables to represent seasonality.
Forecasting
C h a p t e r 1 6 M a p
16.1 Introduction to Forecasting | 768
16.2 Smoothing Forecasting Methods | 770
16.3 Forecasting with Regression Analysis | 783
16.4 Forecasting with Seasonality | 797
16
www.freebookslides.com
768 C h a p t e r 16 | Forecasting
For businesses to be successful in today’s competitive environment, they need the foresight to plan ahead for future events. Many business decisions, such as building new facilities or hiring and training new employees, require time to implement. Even near-term business decisions such as ordering inventory and scheduling employees require foresight. To help make these decisions, accurate forecasts are needed to predict future demand and other events. If these forecasts turn out to be inaccurate, the decisions on which they are based have little chance of being helpful to an organization.
Examples of organizations that rely heavily on accurate forecasts are as follows:
• Government agencies: Tax revenues need to be predicted in order to pay for the government spending.
• Utility companies: Because the cost of investing in new facilities is very high and they take time to build, utility companies spend a great deal of time and resources forecasting future energy requirements.
• Financial institutions: Economic data such as interest rates and stock prices play a major role in decision making and need to be predicted with as much accuracy as possible.
Forecasting techniques can be classified into two broad categories: qualitative and quan- titative methods. Qualitative forecasting is a subjective technique that relies primarily on a knowledgeable person’s intuition and judgment to predict future events. There are many structured techniques available to facilitate this process. By contrast, with quantitative fore- casting historical data and math are used to predict future events.
In this chapter, we’ll examine several different quantitative forecasting techniques avail- able to businesses. We will also learn how to compare the effectiveness of these various methods depending on our data. After all, you want to impress your boss with your statistical talents, don’t you?
16.1 Introduction to Forecasting I’m sure most of you have experienced the frustrations of poor forecasting. As it so happens, I’m writing this chapter on a cold January evening. My favorite weatherman predicted a ma- jor snowstorm that would ensure me a “snow day” tomorrow, so I don’t have to go to school. I must let you in on a well-kept secret: We faculty enjoy snow days as much as our students do. Much to my chagrin, the storm seems to be petering out this evening with barely an inch of snow on the ground. Oh well, I better start preparing for class tomorrow.
When it comes to business decisions, there is often much more at stake than mistakenly predicting a snow day. Poor decisions due to inaccurate forecasting can lead to careers being damaged and reputations being lost. Speaking of careers, let’s return to the original example at the start of the chapter, where you wanted to forecast new car sales for the next quarter. To do so, you will need car sales data from previous quarters, which I provide in Table 16.1. These data can also be found in the Excel file new car sales.xlsx.
Qualitative forecasting is a subjective technique that relies primarily on a knowledgeable person’s intuition and judgment to predict future events.
With quantitative forecasting historical data and math are used to predict future conditions.
Stats in practice: Forecasting Car Sales
Congratulations are in order again! Because of your remark- able performance using the multiple regression techniques discussed in Chapter 15, Brandywine Ford, a major car dealer- ship in the Mid-Atlantic area, has promoted you to the position of new car sales manager. One of the primary responsibilities in your new job is to predict, or forecast, the number of new cars
that will be sold in the upcoming quarter. This information will be used to decide the number of sales and service personnel that will be needed on staff in the near future. Fortunately, this chapter will provide you with the tools to make such a decision. So if you really want to impress your boss, by all means, read on!
www.freebookslides.com
C h a p t e r 16 | 16.1 Introduction to Forecasting 769
{ table 16.1 | New Car Sales for Brandywine Ford
period year quarter sales period year quarter sales
1 2011 1 97 7 2012 3 126
2 2011 2 142 8 2012 4 150
3 2011 3 108 9 2013 1 123
4 2011 4 135 10 2013 2 151
5 2012 1 120 11 2013 3 141
6 2012 2 164 12 2013 4 142
Each data point in a time series is associated with a specific point in time.
A trend component is present in a time series if a general upward or downward movement can be observed in the data.
A seasonal component is present in a time series if a consistent pattern in the data can be associated with a calendar.
The data in Table 16.1 are known as a time series because each sales data point is asso- ciated with a specific point in time. Because time-series forecasting is very common in busi- ness, it is the focus of this chapter.
The very first thing that any good forecaster worth his or her weight would do is to con- struct an XY scatter plot of the data like the one in Figure 16.1. Doing so will provide some visual insights that a table can’t. (See Chapter 2 for instructions on how to construct such a plot.) A scatter plot allows us to look at the different components of a time series, which we will discuss in the next section.
{ figure 16.1 XY Scatter Plot: New Car Sales
Period
New Car Demand
C ar
s S
ol d
80
90
100
110
120
130
140
150
160
170
0 2 4 6 8 10 12 14
the Components of a time Series Any time series could contain one or more of the following types of components:
• Trend
• Seasonal
• Cyclical
• Random
A trend component is present in a time series if a general upward or downward movement can be observed in the data. For example, although the new car demand data in Figure 16.1 jump around, they appear to follow an overall upward trend over the 12-quarter time period. It seems your dealership has experienced sales growth over the last three years.
Our data are said to contain a seasonal component if we can detect a consistent pattern that can be associated with the calendar. For example, in Figure 16.1, the second and fourth quarters of each year saw a spike in new car sales, whereas the first and third quarters saw a downturn. Seasonal patterns repeat themselves within a calendar year. Therefore, to observe them, data need to be collected more frequently than on an annual basis. In other words, the seasonal patterns in Figure 16.1 would not be observable if the sales data for the four quarters of each year were lumped together as annual sales. Businesses that are impacted by seasonality, such as tourism, need to consider this component when developing forecasting models.
www.freebookslides.com
770 C h a p t e r 16 | Forecasting
A cyclical component is movement in a time series that results from upward or down- ward swings in the U.S. or world economy. These patterns tend to extend beyond the one- year pattern of seasonal components. For example, the demand for framing lumber was in a downward cycle during 2007–2010 due to the weak housing market.
Finally, every time series contains a random component, which consists of unpredictable movements in the data that cannot be attributed to trend, seasonal, or cyclical components. This component is often referred to as “noise” because it has no detectable pattern.
Some of the forecasting methods discussed in this chapter will attempt to identify these components and use that information to predict future values. We’ll start off by learning about a class of forecasting techniques known as smoothing methods.
16.2 Smoothing Forecasting Methods The goal of the smoothing method category is to average, or smooth out, the random move- ments in a time series because they are unpredictable. If our forecast is an average of the most recent time-series values, we would expect the random component to “cancel itself out” in the long run. That is, the upward and downward movements attributed to the compo- nent would balance out.
Smoothing techniques work best with data that are fairly consistent over time—in other words, data without significant trend, seasonal, or cyclical components. The following fore- casting techniques are smoothing methods:
• Simple moving average
• Weighted moving average
• Exponential smoothing
• Exponential smoothing with trend adjustment
Simple Moving average (SMa) Forecast As the name of this forecasting method implies, we generate a simple moving average (SMA) forecast by simply averaging the most recent p values in our time series. Let’s use this method and Table 16.1 to forecast Brandywine Ford’s new car sales for the first quarter of 2014. We start by choosing a value for p, the number of periods to include in our average, which in this case is quarters. Let’s set p = 3 for this example; we’ll discuss this choice a little later. Recalling that the values for the most recent three quarters in Table 16.1 are 151, 141, and 142, we have the following:
SMA1p = 3, Quarter #1, 20142 = 151 + 141 + 142 3
= 434
3 = 144.7 ≈ 145
Using a three-period SMA, the sales forecast for the first quarter in 2014 is 145 cars. Now, I’m sure your boss would like to know something about the accuracy of this fore-
cast. When Brandywine Ford’s sales are tallied following the first quarter of 2014, how close will your forecast be? You can answer your boss’s question by applying the three-period SMA technique to the historical data shown in Table 16.1. This allows you to calculate the forecasting error for each period by subtracting the historical forecasts from the historical data. The mean absolute deviation (MAD) is the average forecasting error and can be found using Equation 16.1.
A cyclical component is movement in a time series that results from upward or downward swings in the U.S. or world economy over a period of several years.
A simple moving average forecast is generated by averaging the most recent p values in a time series.
A random component is defined as the unpredictable movements in a time series that cannot be attributed to either trend, seasonal, or cyclical components.
Formula 16.1 for the Mean absolute Deviation (MAD)
MAD = a � At - Ft � n
The mean absolute deviation (MAD) measures the accuracy of a forecast by calculating the average absolute forecasting error per period of historical data.
www.freebookslides.com
C h a p t e r 16 | 16.2 Smoothing Forecasting Methods 771
where
MAD = The mean absolute deviation At = The actual value for the time period t Ft = The forecasted value for the time period t
At - Ft = The forecasting error for the time period t � At - Ft � = The absolute value of the forecasting error
n = The number of forecasting errors Table 16.2 shows the calculations for our three-period SMA forecast. We will need them
to find the MAD for the car sales data.
{ table 16.2 | Data and Calculations Needed to Find the Mean Absolute Deviation: Three-Period Simple Moving Average Forecast
period, t
actual sales, at
forecast sales, ft
forecasting error, at − ft
absolute forecasting error, � at − ft �
1 97
2 142
3 108
4 135 115.7 19.3 19.3
5 120 128.3 - 8.3 8.3
6 164 121.0 43.0 43.0
7 126 139.7 - 13.7 13.7
8 150 136.7 13.3 13.3
9 123 146.7 - 23.7 23.7
10 151 133.0 18.0 18.0
11 141 141.3 - 0.3 0.3
12 142 138.3 3.7 3.7
a � At - Ft � = 143.3
The actual car sales for Period 4 is 135, whereas the forecasted car sales for this period is 115.7. Our forecasting error is therefore 135 - 115.7 = 19.3.
Let’s break this table down one piece at a time. Because p = 3, the first historical fore- cast we can calculate is for Period 4, which we obtained as follows:
SMA1p = 3, Period 42 = 97 + 142 + 108 3
= 347
3 = 115.7
A common mistake some of my students make is to assign this forecast to Period 3. But recall that the purpose of calculating a forecast is to predict future values with the data you already have. You can see from Table 16.1 that you already have actual sales data for Periods 1, 2, and 3. What you are trying to predict are the sales for Period 4, which you don’t know. So, be sure to apply this forecast to the future period, which is Period 4, rather than to Period 3.
We call this method a “moving average” because we drop the oldest value and pick up the most recent value as we move down the historical data. Therefore, to determine the three-period SMA forecast for Period 5, we drop the first period (97) and pick up the fourth period (135) in our moving average calculation, which results in the following calculation:
SMA1p = 3, Period 52 = 142 + 108 + 135 3
= 385
3 = 128.3
The fourth column in Table 16.2 shows the forecasting error, At - Ft, for each period. For example, we sold 135 cars in the fourth period, and our three-period SMA forecast pre- dicted we would sell 115.7 cars. Therefore, our forecast for this quarter was 19.3 cars too low. Similarly, our forecasting error in the fifth period is - 8.3, meaning that our forecast
www.freebookslides.com
772 C h a p t e r 16 | Forecasting
was 8.3 cars too high. The last column in Table 16.2 shows the absolute value for this fore- casting error, � At - Ft �, which simply removes the negative sign for any forecasting errors. We use the absolute value when we average the forecasting error for MAD because we don’t want the positive and negative errors to cancel each other out. This would result in an aver- age error that appears much lower than it should be. Think about it: If the forecasting errors for two periods are + 10 and - 10, the average error is zero, which is very misleading. Using the absolute value of the errors results in an average error of 10, which is more accurate.
Using the data from Table 16.2, we can calculate the MAD for our three-period SMA forecast using Equation 16.1:
MAD = a � At - Ft � n
= 143.3
9 = 15.9
For this example, n = 9 because we have to average the nine forecasting errors for Periods 4–12 in Table 16.2. What we have learned is that using the three-period SMA forecast, we would expect the average forecasting error to be about 16 cars per quarter. It would be up to you and your boss to decide if this average error is acceptable for your forecast. Of course, lower forecasting errors are better than larger ones. I’m sure your boss would prefer your forecast to be off by a dozen cars than by two or three dozen.
Figure 16.2 illustrates the smoothing effect of the SMA forecast. The blue line shows the actual data, whereas the red line displays the forecasted values. As you can see, the SMA forecast averages out, or “smoothes” the highs and lows of the actual values.
{ figure 16.2 Three-Period Simple Moving
Average Forecast vs. the Actual Data: New Car Sales
Period
New Car Demand
C ar
s S
ol d
80
90
100
110
120
130
140
150
160
170
0 2 4 6 8 10 12
Actual Forecast
What happens if we choose to use a four-period SMA forecast? This would result in a different forecast for the first quarter in 2014, which is the 13th period in our data:
SMA1p = 4, Period 132 = 123 + 151 + 141 + 142 4
= 557
4 = 139.3 ≈ 139
I’m wondering (and I hope you are too) if our four-period SMA forecast has the poten- tial to be more accurate in the long run than our three-period forecast that we calculated ear- lier in the section (145). To answer this question, we need to recalculate our SMA forecasts, as shown in Table 16.3.
First, notice that our first historical forecast is now Period 5 because we need the first four periods for the first moving average calculation:
SMA1p = 4, Period 52 = 97 + 142 + 108 + 135 4
= 482
4 = 120.5
The MAD for the four-period SMA forecast is calculated as follows:
MAD = a � At - Ft � n
= 89.1
8 = 11.1
www.freebookslides.com
C h a p t e r 16 | 16.2 Smoothing Forecasting Methods 773
Increasing the number of periods in SMA provides more smoothing in the forecast. Figure 16.3 shows both the actual (blue line) and the forecasted values (red line) for the four- period SMA. Notice that the forecasts in Figure 16.3 are “smoother” than the three-period SMA forecasts shown in Figure 16.2. By including more periods in our average, the forecast will tend to move less from period to period. We can also describe this forecast as less re- sponsive to changes in the actual data. However, increasing the number of periods in an SMA forecast may or may not lower the forecasting error. It simply depends on the historical data.
All else being equal, choose the forecast with the lower MAD.
{ table 16.3 | Data and Calculations Needed to Find the Mean Absolute Deviation: Four-Period Simple Moving Average Forecast
period, t
actual sales, at
forecast sales, ft
forecasting error, at − ft
absolute forecasting error, � at − ft �
1 97
2 142
3 108
4 135
5 120 120.5 - 0.5 0.5
6 164 126.3 37.7 37.7
7 126 131.8 - 5.8 5.8
8 150 136.3 13.7 13.7
9 123 140.0 - 17.0 17.0
10 151 140.8 10.2 10.2
11 141 137.5 3.5 3.5
12 142 141.3 0.7 0.7
a � At - Ft � = 89.1
The following Your Turn problem is an opportunity for you to calculate an SMA forecast and its MAD.
{ figure 16.3 Four-Period Simple Moving
Average Forecast vs. the Actual Data: New Car Sales
Period
New Car Demand
C ar
s S
ol d
80
90
100
110
120
130
140
150
160
170
0 2 4 6 8 10 12
Actual Forecast
This average error (11.1) is less than the MAD found for the three-period SMA forecast (15.9). If you had to choose between these two forecasts, the four-period SMA forecast would be preferable because it’s MAD is lower.
By including more periods in the SMA, our forecast will tend to be less volatile, or move less, from period to period. Notice that this red line is flatter than the one shown in Figure 16.2.
www.freebookslides.com
774 C h a p t e r 16 | Forecasting
Suppose a fellow student at your school would like your help in forecasting her GPA for the upcoming fall semester of her senior year. The following table shows this student’s GPA for each of the last nine semesters (using a trimester schedule).These data can be found in the Excel file GPA.xlsx.
Year Semester GPA
Freshman Fall 2.5
Freshman Spring 2.2
Freshman Summer 2.7
Sophomore Fall 3.0
Sophomore Spring 2.6
Sophomore Summer 3.0
Junior Fall 3.2
Junior Spring 2.7
Junior Summer 3.3
a. Calculate a two-period SMA for the student’s GPA for the fall semester of her senior year. b. Calculate the MAD for this forecast.
Y o u r t u r n # 1N
Answers can be found on u page 820
Weighted Moving average Forecast A variation of the SMA method is the weighted moving average, WMA, which applies weights to the historical data. This allows the forecaster (aka, you) to place more emphasis on certain historical values and less emphasis on others when calculating a forecast. Let’s demonstrate this method with our car sales data from Table 16.1 using a three-period WMA with the weights 3, 2, and 1.
The convention is to assign the highest weight to the most recent data and the lowest weight to the oldest data. The reasoning is that the most recent data are more relevant, so they should have more of an effect on the forecast. Think about it: Suppose you were the manager of a retail establishment and wanted to forecast next month’s sales with a WMA technique. You might be inclined to feel that last month’s sales volume will have a bigger influence on next month’s sales when compared with, say, a month from last year. WMA allows us to apply this strategy by assigning a higher weight to the most recent historical data.
Because we are averaging three periods in this example, we need three weights. There- fore, the WMA forecast for Quarter #1 in 2014 (Period 13 in our data) is as follows:
WMA1p = 3, Period 132 = 11211512 + 12211412 + 13211422 1 + 2 + 3
= 859
6
= 143.2 ≈ 143 cars
Notice that the denominator for this calculation is the sum of the weights. The sales value from Period 12 (142) is assigned the highest weight (3) because it is the most recent. The sales value from Period 10 (151) is assigned the lowest weight (1) because it is the oldest.
Also, note that this forecast differs from the ones generated with the SMA method in the previous section. Is it more accurate? The MAD calculations shown in Table 16.4 provide this answer.
The forecast calculations in this table for Periods 4 and 5 are as follows:
WMA1p = 3, Period 42 = 1121972 + 12211422 + 13211082 1 + 2 + 3
= 705
6 = 117.5
WMA1p = 3, Period 52 = 11211422 + 12211082 + 13211352 1 + 2 + 3
= 763
6 = 127.2
A weighted moving average is a smoothing technique in which weights are applied to historical data when generating a forecast.
The denominator is the sum of the weights for a WMA forecast.
www.freebookslides.com
C h a p t e r 16 | 16.2 Smoothing Forecasting Methods 775
The denominator for this MAD calculation is 9 because we have nine forecasting error terms in the last column in Table 16.4.
{ table 16.4 | Data and Calculations Needed to Determine the Mean Absolute Deviation: Three-Period Weighted Moving Average Forecast with Weights 3, 2, and 1
period, t
actual sales, at
forecast sales, ft
forecasting error, at − ft
absolute forecasting error, � at − ft �
1 97
2 142
3 108
4 135 117.5 17.5 17.5
5 120 127.2 - 7.2 7.2
6 164 123.0 41.0 41.0
7 126 144.5 - 18.5 18.5
8 150 137.7 12.3 12.3
9 123 144.3 - 21.3 21.3
10 151 132.5 18.5 18.5
11 141 141.5 - 0.5 0.5
12 142 141.3 0.7 0.7
a � At - Ft � = 137.5
The MAD for the three-period WMA forecast using weights 3, 2, and 1 is calculated as follows:
MAD = a � At - Ft � n
= 137.5
9 = 15.3
This average error is slightly better than that for the three-period SMA forecast cal- culated earlier (15.9) but not as good as that for the four-period SMA forecast (11.1). Of course, we can always try another set of weights to see if the MAD can be lowered, as well as averaging a different number of periods. The choice of weights is an arbitrary one that in- volves trial and error to find a set that provides an acceptable forecasting error.
The moving average techniques we have demonstrated in the chapter can be effective for forecasting one period ahead and require relatively simple calculations. The purpose of these techniques is to remove the noise, or randomness, from a time series when projecting averages for future time periods. However, if the time series exhibits significant trend or sea- sonal components, this forecasting method has a tendency to lag behind the data, resulting in increased forecasting errors.
Try the following Your Turn problem to see if you understand how to calculate a WMA.
Using the GPA data from Your Turn #1, answer the following questions:
a. Using weights of 2 and 1, calculate a two-period WMA for the student’s GPA for the fall semester of her senior year.
b. Calculate the MAD for this forecast. c. Which method is the better forecast to use—the SMA forecast from Your Turn #1 or this forecast?
Y o u r t u r n # 2N
Answers can be found on u page 820
The SMA forecast is actually a variation of the WMA but with all of the weights being equal.
www.freebookslides.com
776 C h a p t e r 16 | Forecasting
exponential Smoothing Forecast One of the more popular forecasting techniques is exponential smoothing, which adjusts the previous forecast with a portion of the previous period’s forecasting error. Equation 16.2 shows how an exponential smoothing forecast is calculated.
Formula 16.2 for the exponential smoothing Forecast
Ft = Ft - 1 + a1At - 1 - Ft - 12
where
Ft = The forecasted value for period t At - 1 = The actual value for period t - 1 Ft - 1 = The forecasted value for period t - 1
a = The smoothing factor for the forecast The value of the smoothing factor, a, ranges from 0 to 1 (inclusive) and needs to be
chosen in order to calculate a forecast. When the value of a is close to 1, the previous pe- riod’s forecasting error has a large effect on the current forecast. When the smoothing factor is close to 0, the previous forecasting error has little impact on the current forecast. I’ll show how an exponential smoothing forecast is calculated using our car sales data with a = 0.6 (more on this choice later).
We will begin by again using Table 16.1, which provides us with only 12 quarters of historical data. Our first forecast will then be for Period 13 1t = 132, and we will use Equa- tion 16.2 to calculate it:
F13 = F12 + a1A12 - F122 As you can see, in order to calculate a forecast for Period 13, I need a forecast for Period 12, which I don’t yet have. The same holds true for calculating a forecast for Period 12: I need the forecast for Period 11. To resolve this issue, we need a starting forecast to “prime the pump” and get things rolling. To do so, I’ll make F1 equal to A1 (the Period 1 forecast equal to the Period 1 actual sales). Now I can calculate my Period 2 forecast using Equation 16.2:
F2 = F1 + a1A1 - F12 F2 = 97 + 10.62197 - 972 = 97
We can now calculate the Period 3 forecast as follows:
F3 = F2 + a1A2 - F22 F3 = 97 + 10.621142 - 972 = 124.0
For good measure, I’ll show the calculations for Period 4 for you:
F4 = F3 + a1A3 - F32 F4 = 124.0 + 10.621108 - 124.02 F4 = 124.0 - 9.6 = 114.4
Table 16.5 shows the results of applying Equation 16.2 for Periods 1 through 12. While I’m at it, I also show the MAD calculations for each period in this table to investigate the forecasting accuracy (I’m sure you saw that one coming).
Notice that there is no forecasting error for Period 1 in this table because we arbitrarily assigned F1 = A1 to start the forecasting technique. The first calculated exponentially smoothed forecast is Period 2, which is the first forecasting error shown in Table 16.5.
We’re now ready to calculate our forecast for Period 13 (first quarter for 2014) with Equation 16.2.
F13 = F12 + a1A12 - F122 F13 = 141.8 + 10.621142 - 141.82 = 141.7 ≈ 142 cars
Exponential smoothing adjusts the previous forecast with a portion of the previous period’s forecasting error.
Don’t confuse the value of a used in exponential smoothing with the value of a used in hypothesis testing. Both forecasters and hypothesis testers use a in their calculations, but it has different meanings in each context.
Notice that the forecasting error is negative for Period 3 1108 - 124 = - 162, resulting in a reduction of 9.6 cars in the forecast between Periods 3 and 4 (from 124 to 114.4).
www.freebookslides.com
C h a p t e r 16 | 16.2 Smoothing Forecasting Methods 777
And finally, the MAD for our exponentially smoothed forecast with a = 0.6 using Equation 16.1 is calculated as follows:
MAD = a � At - Ft � n
= 209.4
11 = 19.0
How does this compare with our moving average forecasts from earlier in the chapter? The exponentially smoothed forecast has a higher MAD than both the SMA and WMA fore- casts for the car sales data we were given in Table 16.1. However, this relationship might not hold true for other data sets. The lesson here is that none of these methods will always pro- vide superior results (a lower MAD) across all data sets.
What happens if we change the values for a in this example? Not only will the forecast change, but the MAD will either increase or decrease as well. I went to the trouble of cal- culating the MAD for our car sales example for various values of alpha and graphed these values in Figure 16.4 (you’re welcome).
{ table 16.5 | Exponential Smoothing Forecasts 1a = 0.62: New Car Sales
period, t
actual sales, at
forecast sales, ft
forecasting error, at − ft
absolute forecasting error, � at − ft �
1 97 97.0 — —
2 142 97.0 45.0 45.0
3 108 124.0 - 16.0 16.0
4 135 114.4 20.6 20.6
5 120 126.8 - 6.8 6.8
6 164 122.7 41.3 41.3
7 126 147.5 - 21.5 21.5
8 150 134.6 15.4 15.4
9 123 143.8 - 20.8 20.8
10 151 131.3 19.7 19.7
11 141 143.1 - 2.1 2.1
12 142 141.8 0.2 0.2
a � At - Ft � = 209.4
{ figure 16.4 The Effect of a on the Mean
Absolute Deviation: New Car Sales
Alpha
The Effect of Alpha on MAD
M A
D
15
17
19
21
23
25
27
0 0.2 0.4 0.6 0.8 1
As you can see from this figure, the MAD tends to follow a U-shaped curve across various values of a. Ideally, we would choose a value of a that would minimize the MAD, which, according to Figure 16.4, is around a = 0.35. Even with this a, the MAD is close to 16, which is still higher than the MADs from the moving average forecasts.
Including a zero forecasting error for Period 1 in Table 16.5 would lower the MAD for this forecasting technique. This would make for an unfair comparison to the previous methods that don’t have this luxury.
www.freebookslides.com
778 C h a p t e r 16 | Forecasting
exponential Smoothing with trend adjustment Forecast The moving average and exponential smoothing methods that we have learned about in this chapter have one major drawback. They do not perform well when the historical data have significant trend, seasonal, or cyclical components. For example, in the presence of a consis- tent trend pattern, the forecasts these methods generate will lag behind the actual data, which will negatively affect the accuracy.
However, there is one smoothing method that is the exception—exponential smooth- ing with trend adjustment. As its label implies, this technique will modify an exponential smoothing forecast by compensating for any trends detected in the data. The exponential smoothing with trend adjustment forecast for period t, FITt, can be calculated using Equations 16.3, 16.4, and 16.5.
How does the value of a affect the forecast? (By the way, these are great questions!) Figure 16.5 shows the actual quarterly sales (black line) as well as forecasted sales using a = 0.2 (red line) and a = 0.8 (blue line).
{ figure 16.5 The Effect of a on the Forecast:
New Car Sales
The Effect of Alpha on the Forecast
C ar
s S
ol d
80
90
100
110
120
130
140
150
160
170
Actual Alpha = 0.2 Alpha = 0.8
Period 0 2 4 6 8 10 12
As you can see in this figure, the role of a is similar to that of the number of periods in- cluded in a moving average forecast. A larger a tends to make the forecast more responsive to previous forecasts errors, that is, it causes the forecast to jump around from period to period. This is because more of the previous forecasting error is carried forward to the cur- rent forecast. The opposite holds true for smaller values of a. The red line shows little response to the changes in the actual data values. The best value for a—the one that will result in the lowest MAD—will always depend on the data.
I describe exponential smoothing to my students as a self-correcting forecasting method. If the previous forecast was lower than the actual value (positive error), the new forecast will be higher than the previous forecast. If the previous forecast was higher than the actual value (negative error), the new forecast will be lower than the previous forecast. The amount of this correction is controlled by the size of a. A smaller a results in a smaller correction, whereas a higher a results in a larger correction.
It’s time for you to show off your exponential smoothing forecasting skills with this next Your Turn problem.
Using the GPA data from Your Turn #1, answer the following questions:
a. Use exponential smoothing with a = 0.4 to calculate a forecast for the student’s GPA in the fall semester of her senior year.
b. Calculate the mean absolute deviation for this forecast.
Y o u r t u r n # 3N
Answers can be found on u page 821
Exponential smoothing with trend adjustment is a technique that compensates an exponential smoothing forecast for any trend detected in the data.
Notice that the red line is smoother than the blue line because the value of a is smaller.
www.freebookslides.com
C h a p t e r 16 | 16.2 Smoothing Forecasting Methods 779
where
FITt = The forecast including trend for period t Ft = The exponentially smoothed forecast for period t Tt = The exponentially smoothed trend for period t
At - 1 = The actual value for period t - 1 a = The smoothing factor for the forecast b = The smoothing factor for the trend
Notice that we’ve added a couple of new terms with this method. The trend adjusted forecast of interest for period t is FITt, which is found using Equation 16.3. To get this value, we need both Ft, the exponentially smoothed forecast without trend, and Tt, the trend component. In addition to a, the smoothing factor from the previous section, we introduce b, the smoothing factor for the trend component, which, like a, also ranges from 0 to 1.
Equation 16.4 is similar to Equation 16.3, with FITt - 1 replacing Ft - 1. Equation 16.5 calculates the trend adjustment for the current period. You can see that there are two parts to this equation: the most recent trend 1Ft - Ft - 12 and the cumulative trend over the entire time series 1Tt - 12. The most recent trend is weighted by b, and the cumulative trend is weighted by 11 - b2. For a relatively large b (closer to 1.0), the current trend adjustment is more affected by the most recent trend. For a relatively small b (closer to 0), the current trend adjustment is more affected by the cumulative trend over the entire time series. Again, we can use the MAD to help us choose the best values of a and b for our time series.
Let’s put these equations to work and calculate a trend adjusted, exponentially smoothed forecast for new cars sales using a = 0.3 and b = 0.1. As with the exponential smoothing procedure from the previous section, we need to develop forecasts from the start of the time series in order to calculate a sales forecast for Period 13. We assign values for Period 1 as follows:
F1 = A1 = 97.0 T1 = 0
FIT1 = F1 + T1 = 97.0
For each quarter starting with Period 2 1t = 22, we perform the following three steps, start- ing with Equation 16.4:
Ft = FITt - 1 + a1At - 1 - FITt - 12 F2 = FIT1 + a1A1 - FIT12 F2 = 97.0 + 10.32197 - 97.02 = 97.0
We then use Equation 16.5 to calculate the trend component for Period 2:
Tt = b1Ft - Ft - 12 + 11 - b2Tt - 1 T2 = b1F2 - F12 + 11 - b2T1 T2 = 10.12197.0 - 97.02 + 11 - 0.12102 T2 = 0 + 0 = 0
Finally, we call on Equation 16.3 to determine the trend adjusted forecast for Period 2:
FITt = Ft + Tt FIT2 = F2 + T2 FIT2 = 97.0 + 0 = 97.0
Formulas 16.3, 16.4 and 16.5 for the exponential smoothing with trend adjustment Forecast
FITt = Ft + Tt Ft = FITt - 1 + a1At - 1 - FITt - 12 Tt = b1Ft - Ft - 12 + 11 - b2Tt - 1
Because Tt reflects the overall trend component in the time series up to period t, we need to set this value equal to zero for the first period as a starting point.
www.freebookslides.com
780 C h a p t e r 16 | Forecasting
Let’s apply these three steps once more to calculate a forecast for Period 3 to help you see the pattern:
F3 = FIT2 + a1A2 - FIT22 F3 = 97.0 + 10.321142 - 97.02 = 110.5 T3 = b1F3 - F22 + 11 - b2T2 T3 = 10.121110.5 - 97.02 + 11 - 0.12102 T3 = 1.4 + 0 = 1.4
FIT3 = F3 + T3 FIT3 = 110.5 + 1.4 = 111.9
We continue with these calculations with Periods 4 through 12, which I’ve shown in Table 16.6. Table 16.6 also shows the absolute error, � At - FITt �, for each quarter, which we will need for our MAD calculation.
{ table 16.6 | Data and Calculations Needed to Find the Mean Absolute Deviation: Exponential Smoothing with Trend Adjustment Forecast
period, t
actual sales, at
smoothed forecast, ft
trend Tt
forecast w/trend, fiTt
absolute error, � at − fiTt �
1 97 97.0 0 97.0 —
2 142 97.0 0 97.0 45.0
3 108 110.5 1.4 111.9 3.9
4 135 110.7 1.3 112.0 23.0
5 120 118.9 2.0 120.9 0.9
6 164 120.6 2.0 122.6 41.4
7 126 135.0 3.2 138.2 12.2
8 150 134.5 2.8 137.3 12.7
9 123 141.1 3.2 144.3 21.3
10 151 137.9 2.6 140.5 10.5
11 141 143.7 2.9 146.6 5.6
12 142 144.9 2.7 147.6 5.6
a � At - FITt � = 182.1 At this point, we haven’t done any forecasting of car sales for a future quarter. But we’re
now ready to calculate our trend adjusted forecast for Period 13 (first quarter of 2014) as follows:
F13 = FIT12 + a1A12 - FIT122 F13 = 147.6 + 10.321142 - 147.62 F13 = 147.6 - 1.7 = 145.9 T13 = b1F13 - F122 + 11 - b2T12 T13 = 10.121144.9 - 143.72 + 11 - 0.1212.72 T13 = 0.1 + 2.4 = 2.5
FIT13 = F13 + T13 FIT13 = 145.9 + 2.5 = 148.4 ≈ 148 cars
Using exponential smoothing with trend adjustment, our first quarter 2014 sales forecast is 148 cars. The MAD for this forecast is found using Equation 16.1 once again:
MAD = a � At - FITt � n
= 182.1
11 = 16.6
Remember not to include the trend adjusted forecasting error for Period 1 because we did not calculate a forecast for this quarter (some of my students forget this).
www.freebookslides.com
C h a p t e r 16 | 16.2 Smoothing Forecasting Methods 781
The average forecasting error using this method to predict sales with a = 0.3 and b = 0.1 is 16.6 cars.
In this section, we have looked at several different smoothing techniques to forecast car sales for the upcoming quarter. These methods are popular because they can be fairly effec- tive and are relatively straightforward to use. Table 16.7 summarizes the results of each of these techniques using our sales data from Table 16.1.
{ table 16.7 | Summary of Smoothing Forecasting Methods
method forecast mad
Simple moving average, p = 3 145 15.9
Simple moving average, p = 4 139 11.1
Weighted moving average, p = 3 (3, 2, 1) 143 15.3
Exponential smoothing, a = 0.6 142 19.0
Exponential smoothing w/trend, a = 0.3, b = 0.1 148 16.6
If you were choosing a forecast from the selection in Table 16.7, your best bet is to go with the four-period simple moving average forecast of 139 cars because this method has the lowest MAD. However, we can’t generalize by concluding that the simple moving average method will always outperform the other smoothing techniques. Using another data set will probably lead to a different recommendation.
Please don’t be MAD if I ask you to do another exponential smoothing forecast with trend adjustment in this next Your Turn problem.
Using the GPA data from Your Turn #1, answer the following questions:
a. Use exponential smoothing with trend adjustment and set a = 0.5 and b = 0.7 to calculate a forecast for the student’s fall semester GPA for her senior year.
b. Calculate the mean absolute deviation for this forecast.
Y o u r t u r n # 4N
Answers can be found on u page 821
16.2 Section Problems Basic Skills 16.1 Consider the following time series:
Period 1 2 3 4 5 6 7
Demand 15 12 8 14 19 16 10
a. Forecast the demand for Period 8 using a two-period simple moving average.
b. Calculate the MAD for the forecast in part a. c. Forecast the demand for Period 8 using a three-period
simple moving average. d. Calculate the MAD for the forecast in part b. e. Which forecast would you choose?
16.2 Using the time series shown in Problem 16.1, answer the following questions:
a. Forecast the demand for Period 8 using a three-period weighted moving average with weights 4, 3, and 1,
applying 4 to the most recent data and 1 to the oldest data.
b. Calculate the MAD for the forecast in part a.
16.3 Consider the following time series:
Period 1 2 3 4 5 6 7 8
Demand 15 24 26 33 20 22 27 20
a. Forecast the demand for Period 9 using exponential smoothing with a = 0.1.
b. Calculate the MAD for the forecast in part a. c. Forecast the demand for Period 9 using exponential
smoothing with a = 0.3. d. Calculate the MAD for the forecast in part c. e. Which forecast would you choose?
www.freebookslides.com
782 C h a p t e r 16 | Forecasting
16.4 Using the time series shown in Problem 16.3, answer the following questions:
a. Forecast the demand for Period 9 using exponential smoothing with trend adjustment and setting a = 0.4 and b = 0.7.
b. Calculate the MAD for the forecast in part a.
applications 16.5 Bob is a photographer who sells his 13 * 19 prints on
consignment at Island Art in Stone Harbor, New Jersey. Each week during the summer, Bob checks the inventory so that he can replenish the prints that have been sold. The following data show the number of prints sold each week during the last eight weeks:
Week 1 2 3 4 5 6 7 8
Sold 9 12 10 6 9 15 11 7
a. Forecast the demand for Week 9 using a two-period simple moving average.
b. Calculate the MAD for the forecast in part a. c. Forecast the demand for Week 9 using a three-period
simple moving average. d. Calculate the MAD for the forecast in part c. e. Which forecast should you choose?
16.6 The Consumer Price Index (CPI), which is published by the U.S. Bureau of Labor Statistics, is a measurement that reflects changes in consumer prices over time. The following data show the CPI over a 10-year period using 1982 as the base year with the CPI = 100. These data can also be found in the Excel file CPI.xlsx.
Year CPI Year CPI
2003 184.0 2008 215.3
2004 188.9 2009 214.5
2005 195.3 2010 218.1
2006 201.6 2011 224.9
2007 207.3 2012 229.6
Based on: U.S. Bureau of Labor Statistics data.
a. Forecast the CPI for 2013 using exponential smoothing with trend adjustment, and set a = 0.3 and b = 0.5.
b. Calculate the MAD for the forecast in part a.
16.7 The IRS is actively encouraging individuals to file their taxes electronically in order to increase accuracy and reduce expenses. The following data show the percentage of tax re- turns filed electronically from 2003 to 2012. These data can also be found in the Excel file electronic filing.xlsx.
Year Percentage Year Percentage
2003 40 2008 58
2004 47 2009 67
2005 51 2010 70
2006 54 2011 77
2007 57 2012 78
Based on: IRS data.
a. Forecast the percentage of tax returns that will be elec- tronically filed for 2013 using exponential smoothing with a = 0.4.
b. Calculate the MAD for the forecast in part a. c. Forecast the percentage of tax returns that will be elec-
tronically filed for 2013 using exponential smoothing with trend adjustment. Set a = 0.4 and b = 0.6.
d. Calculate the MAD for the forecast in part c. e. In which forecast do you have the most confidence?
Why?
16.8 The number of viewers for network television shows has a direct effect on the amount of advertising dollars that will be generated. The following data show the number of viewers, in millions, for the final performance of the fol- lowing seasons of American Idol. These data can also be found in the Excel file American Idol viewers.xlsx.
Year Viewers Year Viewers
2005 30.3 2010 20.1
2006 31.8 2011 20.6
2007 25.3 2012 14.9
2008 27.1 2013 12.1
2009 23.8
Based on: Nielsen data.
a. Forecast the number of viewers for American Idol for the final performance of the 2014 season using three-period weighted moving average with weights 3, 2, and 1.
b. Calculate the MAD for the forecast in part a. c. Forecast the number of viewers for American Idol for
the final performance of the 2014 season using expo- nential smoothing with trend adjustment and setting a = 0.4 and b = 0.2.
d. Calculate the MAD for the forecast in part c. e. In which forecast do you have the most confidence?
Why?
16.9 General Motors (GM) is one of the world’s largest car and truck manufacturer and employs over 200,000 employ- ees worldwide. In 1970, GM had captured nearly 60% of the U.S. market share. However, due to increased global competition over the past 40 years, GM’s market share has eroded to less than 18% in 2012. The following data show GM’s U.S. market share from 2004 until 2012. These data can also be found in the Excel file GM market share.xlsx.
Year Market Share (%) Year
Market Share (%)
2004 26.2 2009 19.7
2005 33.0 2010 18.8
2006 27.3 2011 19.4
2007 22.1 2012 17.9
2008 22.1
a. Forecast the U.S. market share for GM in 2013 using two-period weighted moving average with weights 3 and 1.
www.freebookslides.com
C h a p t e r 16 | 16.3 Forecasting with Regression Analysis 783
b. Calculate the MAD for the forecast in part a. c. Forecast the U.S. market share for GM in 2013 using
exponential smoothing with a = 0.7. d. Calculate the MAD for the forecast in part c. e. Which forecast do you have most confidence in? Why?
16.10 The Independence School is a private grade school that depends on enrollment forecasting to plan for the upcom- ing school year. The following data show the enrollments for the past several years. These data can also be found in the Excel file Independence School.xlsx.
Year Enrollment Year Enrollment
2006 624 2010 630
2007 645 2011 625
2008 659 2012 641
2009 643 2013 656
a. Forecast the 2014 enrollment for the Independence School using four-period simple moving average.
b. Calculate the MAD for the forecast in part a. c. Forecast the 2014 enrollment for the Independence
School using exponential smoothing with a = 0.4. d. Calculate the MAD for the forecast in part c. e. In which forecast do you have most confidence? Why?
16.11 The following data show the average prices for flat-panel televisions in the United States over a six-quarter period.
Month Q1 ’11 Q2 ’11 Q3 ’11 Q4 ’11 Q1 ’12 Q2 ’12
Price ($) 1,108 1,124 1,142 1,130 1,190 1,224
Based on: DisplaySearch data.
a. Forecast the average price of a flat-panel TV in the third quarter of 2012 using a two-period simple mov- ing average.
b. Calculate the MAD for the forecast in part a. c. Forecast the average price of a flat-panel TV in the
third quarter of 2012 using a three-period simple mov- ing average.
d. Calculate the MAD for the forecast in part b. e. Which forecast would you choose?
16.12 The Park family would like to prepare next month’s fam- ily budget by forecasting its family expenses. One item of particular importance is the amount of money spent on food. The following data show the amount of money spent on food for the last 10 months. These data can also be found in the Excel file food expenditures.xlsx.
Month 1 2 3 4 5 6 7 8 9 10
Dollars 344 360 294 339 362 340 321 312 364 345
a. Forecast the family’s food expenditures next month using a three-period simple moving average.
b. Forecast the family’s food expenditures next month using a three-period weighted moving average with weights 0.7, 0.2, and 0.1.
c. Forecast the family’s food expenditures next month us- ing exponential smoothing when a = 0.1.
d. Which forecast should you choose? Why?
16.3 Forecasting with Regression Analysis
The forecasting methods that rely on smoothing techniques strive to “average out” the ran- dom component in the historical time series. As we have discussed, a potential drawback of these techniques is that they perform well under static conditions—that is, when future periods were much like the last. However, these techniques don’t perform well with data that are changing, or contain trend or seasonal patterns. Forecasting errors can be relatively high under these conditions. One solution to this problem is to consider using the simple and mul- tiple regression techniques we discussed in Chapters 14 and 15. These methods will often provide better results when trend and/or seasonal components are present.
trend projection In Chapter 14, you learned that a simple linear regression describes a straight line that best fits a series of ordered pairs 1x, y2, each of which pertains to a single observation. This re- gression line explains how a change in an independent variable (x) influences a change in a dependent variable (y). In this chapter, we will use this straight line to describe the linear trend component of our time series. Using trend projection, we can then “project” this trend line into future periods to develop a forecast for the time series.
Trend projection is a forecasting technique that projects into the future a linear regres- sion equation that best fits the data in a time series.
www.freebookslides.com
784 C h a p t e r 16 | Forecasting
Figure 16.6 shows the trend projection graphically. The x-axis displays the time period, which, for our car sales data, is quarters. The y-axis displays the forecasted variable, which is number of cars sold per quarter. The blue dots indicate the 12 quarters of car sales data from Table 16.1, and the solid red line represents the regression line that best fits these data. Finally, the dotted red line is the trend projection, which provides us with a forecast for car sales in future quarters.
{ figure 16.6 Forecasting with a Trend Projec-
tion: New Car Sales
Period (t)
New Car Demand
C ar
s S
ol d
( y)
80
90
100
110
120
130
140
150
160
170
0 2 4 6 8 10 12 14
The equation for the trend projection line takes the form shown in Equation 16.6.
The trend projection method extends the trend line over future periods to determine a forecast. However, the farther into the future a forecast is projected, the less accurate it tends to be.
Formula 16.6 for the Trend Projection
ynt = b0 + b1t
where
ynt = The forecasted value of y given a value of t t = The time period b0 = The y-intercept of the trend projection line b1 = The slope of the trend projection line The slope of the red line, b1, in Figure 16.6 measures the rate at which car sales change
from one quarter to the next. The y-intercept, b0, indicates the level of car sales at which the red line crosses the vertical axis. Equations 16.7 and 16.8 can be used to calculate the slope and y-intercept, respectively.
We first encountered Equations 16.7 and 16.8 in Chapter 14 when we discussed simple regression.
Formula 16.7 for the Trend Projection Slope
b1 = n a ty - 1 a t2 1 a y2
n a t 2 - 1 a t22
Formula 16.8 for the Trend Projection Intercept
b0 = a y
n - b1 a a tn b
www.freebookslides.com
C h a p t e r 16 | 16.3 Forecasting with Regression Analysis 785
Table 16.8 shows the summary calculations needed to calculate the slope and y-intercept for our car sales time series.
{ table 16.8 | Summary Calculations for a Trend Projection: New Car Sales
period, t sales, y ty t 2
1 97 97 1
2 142 284 4
3 108 324 9
4 135 540 16
5 120 600 25
6 164 984 36
7 126 882 49
8 150 1,200 64
9 123 1,107 81
10 151 1,510 100
11 141 1,551 121
12 142 1,704 144
a t = 78 a y = 1,599 a ty = 10,783 a t 2 = 650
We first calculate the slope of the trend projection equation, b1, using Equation 16.7:
b1 = n a ty - 1 a t2 1 a y2
n a t 2 - 1 a t22 b1 =
1122110,7832 - 178211,5992 112216502 - 17822
b1 = 129,396 - 124,722
7,800 - 6,084 =
4,674
1,716 = 2.7238
Once the slope has been determined, we use this value along with Equation 16.8 to calculate the y-intercept, b0:
b0 = a y
n - b1 a a tn b
b0 = 1,599
12 - 12.72382a 78
12 b
b0 = 133.25 - 12.7238216.52 = 115.5453 The regression equation that describes the trend component through our car sales time series data is therefore as follows:
ynt = 115.5453 + 2.7238t
According to this result, sales increase an average of 2.7238 cars per quarter. It looks like business at Brandywine Ford is getting better over time.
We are now ready to generate a forecast using trend projection for Period 13. We do this by substituting 13 for the variable t in our trend equation:
yn13 = 115.5453 + 2.72381132 = 150.95 ≈ 151 cars
www.freebookslides.com
786 C h a p t e r 16 | Forecasting
Our trend projection forecast for Period 13 sales is 151 cars. Figure 16.7 illustrates this graphically. The green line shows that our projected trend line in Period 13 corresponds to forecasted sales of 151 cars.
{ figure 16.7 Forecasting with a Trend Pro-
jection for Period 13: New Car Sales
Period (t)
New Car Demand
C ar
s S
ol d
( y)
80
90
100
110
120
130
140
150
160
170
0 2 4 6 8 10 12 14
We can also forecast sales for Period 14 if we choose, as follows:
yn14 = 115.5453 + 2.72381142 = 153.68 ≈ 154 cars However, recall that the further out into the future we project our trend line, the less reliable our forecasted value will be. For example, as I explained earlier in the chapter, we usually give much more credence to tomorrow’s weather forecast than we do to the 10th day in a 10-day forecast. Too often I’ve had my golfing plans spoiled watching what once was a great 10-day forecast turn miserable when the fateful day arrived!
In order to compare the accuracy of this forecasting method with our car sales data to the smoothing methods from earlier in the chapter, we need to return to our friend the MAD. We do so by calculating the forecasted car sales for Periods 1 through 12 using the trend equation and then comparing these values with the actual sales. For example, the forecast for Period 1 is found by setting t = 1 in the trend equation:
yn1 = 115.5453 + 2.7238112 = 118.3 Recall that with a regression analysis, the forecasting error is known as the residual,
which is just a fancy word for the difference between an actual value and a predicted value. The residual can be found using Equation 16.9.
Residuals describe the difference between the actual and predicted values of dependent variables in a regression analysis.
Formula 16.9 for the Residual
ei = yi - yni
where
ei = The residual of the ith observation in the sample yi = The actual value of the dependent variable for the ith data point yni = The predicted value of the dependent variable for the ith data point
For Period 1, the forecasting error is therefore given as follows:
e1 = y1 - yn1 = 97 - 118.3 = - 21.3
Our forecast using the trend equation predicted sales that were 21.3 cars higher than the actual sales in Period 1. This forecasting error is shown graphically in Figure 16.8.
www.freebookslides.com
C h a p t e r 16 | 16.3 Forecasting with Regression Analysis 787
The forecast and forecasting error calculations for the remaining periods are shown in Table 16.9.
{ figure 16.8 Forecasting Error with a Trend
Projection for Period 1: New Car Sales
Period (t)
New Car Demand
C ar
s S
ol d
( y)
80
90
100
110
120
130
140
150
160
170
0 2 4 6 8 10 12 14
y1 = 97
ŷ1 = 118.3
{ table 16.9 | Trend Projection Forecasts: New Car Sales
period,
t
actual sales,
yt
forecast sales,
ynt
forecasting error, yt − ynt
absolute error, ∙ yt − ynt ∙
1 97 118.3 - 21.3 21.3
2 142 121.0 21.0 21.0
3 108 123.7 - 15.7 15.7
4 135 126.4 8.6 8.6
5 120 129.2 - 9.2 9.2
6 164 131.9 32.1 32.1
7 126 134.6 - 8.6 8.6
8 150 137.3 12.7 12.7
9 123 140.1 - 17.1 17.1
10 151 142.8 8.2 8.2
11 141 145.5 - 4.5 4.5
12 142 148.2 - 6.2 6.2
a ∙ yt - ynt ∙ = 165.2 The MAD for our trend projection forecast is therefore as follows:
MAD = a ∙ yt - ynt ∙ n
= 165.2
12 = 13.8
This forecasting accuracy beats most of the smoothing methods except for the four-period simple moving average, which had a MAD equal to 11.1.
trend projection with phStat We can use PHStat’s simple regression function to provide the trend projection equation we calculated manually in the previous section. Excel for Mac users can go to the textbook’s Web site for these instructions. (www.pearsonhighered.com/donnelly)
1. Open the Excel file new car sales.xlsx or enter the data shown in Figure 16.9B.
2. Go to Add-Ins + PHStat + Regression + Simple Linear Regression, as shown in Figure 16.9A.
www.freebookslides.com
788 C h a p t e r 16 | Forecasting
3. Fill in the Data section of the Simple Linear Regression dialog box as shown in Figure 16.9B. Click OK.
{ figure 16.9a Using PHStat for Trend Projec-
tion Forecasting (Steps 1 and 2)
{ figure 16.9b Using PHStat for Trend Projec-
tion Forecasting (Step 3)
PHStat creates a worksheet labeled “COMPUTE” that contains the regression output shown in Figure 16.9C.
{ figure 16.9c Using PHStat for Trend Projec-
tion (Final Result)
The trend equation coefficients that we calculated manually are circled in red in Figure 16.9C. Also circled in this Figure is the p-value of the independent variable, period, which is 0.0859. If we use a = 0.05 for our significance level, we would conclude that there is no
www.freebookslides.com
C h a p t e r 16 | 16.3 Forecasting with Regression Analysis 789
relationship between time and car sales. However, because the MAD for a trend projection with these data (13.8 using Table 16.9) is one of the lower values we have seen so far in this chapter, this seems like a viable forecasting choice at the moment (more on this later).
PHStat also creates a worksheet labeled “Residuals” that is shown in Figure 16.9D. This output contains the forecasts and forecasting errors (residuals) for Periods 1 through 12, which matches our results in Table 16.9.
{ figure 16.9d Using PHStat for Residuals
(Final Result)
The following Your Turn problem will give you the chance to test your trend projection skills.
Using the GPA data from Your Turn #1, answer the following questions:
a. Use the trend projection technique to calculate a forecast for the student’s fall semester GPA for her senior year.
b. Calculate the mean absolute deviation for this forecast. c. Verify your results using PHStat.
Y o u r t u r n # 5N
Answers can be found on u page 822
Checking for autocorrelation The regression model that we have been discussing in this section relies on certain assump- tions holding true. One such assumption is that the residuals are independent of one another. I’ll use the following example to clarify this concept. Suppose that on the first five quarters of your job as the new car sales manager for Brandywine Ford, you had provided your boss with the forecasts shown in Table 16.10. Also shown are the actual sales and your forecast- ing errors for each quarter.
{ table 16.10 | Sales Forecasts for Your First Five Quarters
period,
t
sales,
yt
forecast sales,
ynt
residuals,
et = yt − ynt
1 136 116 20
2 155 135 20
3 143 123 20
4 125 105 20
5 132 112 20
www.freebookslides.com
790 C h a p t e r 16 | Forecasting
In Table 16.10, the residuals are not independent of one another. I say this because by knowing the residual for Period 1, I can predict the residual for Period 2. This pattern holds true for other periods as well. The term autocorrelation is used to describe this condition when residuals are not independent of one another.
To determine the presence of autocorrelation, we can use the Durbin–Watson statistic, d, which is shown in Equation 16.10.
Autocorrelation describes the condition when residuals in a regression model are not independent of one another.
The Durbin–Watson statistic is used to test for the presence of autocorrelation in a series of residuals. Formula 16.10 for the Durbin–Watson Statistic
d = a
n
t = 2 1et - et - 122
a n
t = 1 e2t
where
d = The Durbin–Watson statistic et = yt - ynt = The residual for period t n = The number of values in the time series
The Durbin–Watson statistic ranges from 0 to 4:
• A value of 0 indicates perfect positive autocorrelation.
• A value of 2 indicates no autocorrelation.
• A value of 4 indicates perfect negative autocorrelation.
Positive autocorrelation is present when we observe a pattern of positive residuals in succession (such as those shown in Table 16.10) or a pattern of consecutive negative re- siduals in succession. When this occurs, the consecutive residuals tend to be close to one another, making the numerator in Equation 16.10 relatively small. This, in turn, makes the Durbin–Watson statistic approach zero. Table 16.11 demonstrates the case of perfect positive autocorrelation using the data from Table 16.10, which occurs when the residuals from each period are equal.
{ table 16.11 | Perfect Positive Autocorrelation
period, t residual, et prior residual, et − 1 et − et − 1 (et − et − 1)2 (et )2
1 20 400
2 20 20 0 0 400
3 20 20 0 0 400
4 20 20 0 0 400
5 20 20 0 0 400
a n
t = 2 1et - et - 122 = 0 a
n
t = 1 e2t = 2,000
The Durbin–Watson statistic for perfect positive autocorrelation is then as follows:
d = a
n
t = 2 1et - et - 122
a n
t = 1 e2t
= 0
2,000 = 0
www.freebookslides.com
C h a p t e r 16 | 16.3 Forecasting with Regression Analysis 791
Negative autocorrelation is present when the consecutive residuals are far apart from one another, causing the numerator in Equation 16.10 to be relatively large. Because residuals tend to oscillate around zero, large swings in consecutive values tend to alternate between positive and negative signs.
In the case of perfect negative autocorrelation, we see forecasting errors such as 20, - 20, 20, and - 20. As we subtract the difference between consecutive residuals 120 - 1 - 202 = 402 and square the difference 1402 = 1,6002, the numerator in the Durbin–Watson statistic approaches four times the denominator 12022 = 400. As a result, perfect negative autocorrelation is measured with a Durbin–Watson statistic equal to 4, its upper limit. However, this type of residual pattern is not very common in practice.
When calculating the Durbin–Watson statistic from a sample to detect autocorrelation in the population, the value of d is subject to sampling error. To test the presence of autocorre- lation in the population, we need to perform a (take a deep breath) hypothesis test. To obtain reliable results for this test, we need a time series that has at least 15 observations. Because our car sales example has only 12 periods of data, I won’t test this time series for autocorre- lation. Rather, I’ll use the following example.
Union membership in the United States over the past 16 years has experienced a general decline. Table 16.12 shows the percentage of the labor force in the United States that belonged to a union over a 16-year period. These data can also be found in the Excel file union membership.xlsx.
Because negative autocorrelation is rarely observed in time series data, the remainder of this chapter will focus only on positive autocorrelation.
{ table 16.12 | Union Membership as a Percentage of the U.S. Labor Force
year period percentage year period percentage
1997 1 14.1 2005 9 12.1
1998 2 14.0 2006 10 12.2
1999 3 13.6 2007 11 12.5
2000 4 13.7 2008 12 12.4
2001 5 13.5 2009 13 12.5
2002 6 13.0 2010 14 11.9
2003 7 12.6 2011 15 11.8
2004 8 12.5 2012 16 11.3
A graph of these data is shown in Figure 16.10 and illustrates a decreasing trend compo- nent over time. The linear trend line from Excel is shown in red in this figure.
{ figure 16.10 Union Membership Trend Line
Union Membership
Year
P er
ce n
t of
L ab
or F
or ce
1996 10
11
12
13
14
15
2000 2004 2008 2012
Because negative autocorrelation is rarely seen, we’ll focus on the detection of positive autocorrelation. With that in mind, our hypothesis statement becomes the following:
H0 : No positive autocorrelation is present
H1 : Positive autocorrelation is present
This is considered a one-tail hypothesis test because we are testing only for the presence of positive autocorrelation.
www.freebookslides.com
792 C h a p t e r 16 | Forecasting
I’ll conduct this one-tail test using a = 0.05. To calculate the Durbin–Watson statistic, I’ll rely on PHStat, which provides this value
for us. I’ll also show you how to calculate it with Excel, using the following steps:
1. Open the Excel file union membership.xlsx or enter the data shown in Figure 16.11A.
2. Go to Add-Ins + PHStat + Regression + Simple Linear Regression, as shown in Figure 16.9A.
3. Fill in the Simple Linear Regression dialog box as shown in Figure 16.11A. Be sure to check the Durbin–Watson Statistic in the Output Options area of the dialog
box. Click OK.
{ figure 16.11a Using PHStat to Determine the
Durbin–Watson Statistic (Steps 1–3)
PHStat creates worksheets labeled “COMPUTE” and “Residuals” that I have combined in Figure 16.11B. I’ll use this information to demonstrate how to calculate the Durbin– Watson statistic manually.
{ figure 16.11b Using PHStat to Determine
the Durbin–Watson Statistic (Step 4)
PHStat also creates a worksheet labeled “Durbin Watson,” which contains the value of the Durbin–Watson statistic, as shown in Figure 16.11C.
www.freebookslides.com
C h a p t e r 16 | 16.3 Forecasting with Regression Analysis 793
According to Figure 16.11C, the Durbin–Watson statistic for our union membership time series using Equation 16.10 is therefore as follows:
d = a
n
t = 2 1et - et - 122
a n
t = 1 e2t
= 1.0247
1.2073 = 0.849
This value can be calculated directly from Excel using the regression output in Figure 16.11C. We’ll start with the regression equation for the time series.
ynt = 14.1300 - 0.1646t
Next, I’ll calculate the predicted union membership for Period 1 (1997) along with the re- sidual for that year:
yn1 = 14.1300 - 0.1646112 = 13.97 e1 = y1 - yn1 = 14.1 - 13.97 = 0.13
Next, I’ll show the same calculations for Period 2 (1998):
yn2 = 14.1300 - 0.1646122 = 13.80 e2 = y2 - yn2 = 14.0 - 13.80 = 0.20
Finally, I’ll take the difference in these two residuals and square the result:
1e2 - e122 = 10.20 - 0.1322 = 10.0722 = 0.0049 I’ll repeat these calculations for the remaining years of our time series with the help of
Excel (for which we should all be grateful). The results are shown in Figure 16.11D.
{ figure 16.11c Using PHStat to Determine the
Durbin–Watson Statistic (Final Result)
{ figure 16.11d Using Excel to Determine the
Durbin–Watson Statistic
www.freebookslides.com
794 C h a p t e r 16 | Forecasting
Using these calculations and Equation 16.10 to determine the Durbin–Watson statistic, we have the following:
d = a
n
t = 2 1et - et - 122
a n
t = 1 e2t
= 1.0300
1.2073 = 0.853
The slight difference between this value and the one found using PHStat can be attributed to minor rounding in the calculations.
We need to compare this number with the critical values for the Durbin–Watson test, which can be found in Table 9 in Appendix A. An excerpt of this table is shown in Table 16.13.
{ table 16.13 | Critical Values for the Durbin–Watson Test (A = 0.05)
k = 1 k = 2 k = 3
n dL dU dL dU dL dU 15 1.08 1.36 0.95 1.54 0.82 1.75
16 1.10 1.37 0.98 1.54 0.86 1.73
17 1.13 1.38 1.02 1.54 0.90 1.71
The critical values shown in Table 16.13 are for a one-tail test (which we have in our union membership example). The value of k in this table refers to the number of indepen- dent variables in the regression model. For our union membership example, there is only one independent variable (period number), so k = 1. The value of n refers to the number of observations in our time series, which for this example equals 16. The Durbin– Watson test uses two critical values, dL and dU, which for our example are 1.10 and 1.37, respectively (highlighted in yellow). We use the following decision rules to state our conclusions:
• If d 6 dL, we reject H0 and conclude that a positive autocorrelation is present. • If dL 6 d 6 dU, the test is inconclusive. • If d 7 dU, we fail to reject H0 and conclude that no positive autocorrelation is
present.
Because d = 0.853 6 dL = 1.10, we reject H0 and conclude that a positive autocorre- lation exists with our union membership time series. As a result, an important assumption of the regression model is violated in this example.
Time series regression models tend to be particularly susceptible to autocorrelation because the data value from one period can often influence the data value in a later period. The presence of autocorrelation makes the significance test for the regression coefficient unreliable. One possible solution to address autocorrelation would be to identify additional independent variables to add to the model that would help explain the variation in the depen- dent (forecasted) variable. This would result in a different series of residuals that might not exhibit the pattern of autocorrelation.
Now it’s your turn to test a time series for a positive autocorrelation.
The presence of autocorrelation in our time series could cause us to conclude that the coefficient for our trend line is statistically significant when, in reality, it is not.
www.freebookslides.com
C h a p t e r 16 | 16.3 Forecasting with Regression Analysis 795
The following table shows the number of permits authorized for new, privately owned housing units, in thousands, in the state of Pennsylvania from 1995 to 2012. These data can also be found in the Excel file building permits.xlsx.
Year Permits Year Permits Year Permits
1995 36.3 2001 41.4 2007 33.7
1996 37.9 2002 45.1 2008 24.6
1997 39.9 2003 47.4 2009 18.3
1998 41.6 2004 49.7 2010 19.7
1999 42.7 2005 44.5 2011 15.0
2000 41.1 2006 39.1 2012 18.8 Based on: www.census.gov.
a. Use PHStat to test this time series for positive autocorrelation with a = 0.05. b. Verify your Durbin–Watson statistic using Excel.
Y o u r t u r n # 6N
Answers can be found on u page 822–823
16.3 Section Problems Basic Skills 16.13 Consider the following time series:
Period 1 2 3 4 5 6 7 8
Demand 7 8 7 10 14 16 13 16
a. Using a trend projection, forecast the demand for Period 9.
b. Verify your results using PHStat. c. Calculate the MAD for this forecast.
16.14 Consider the following time series:
Period 1 2 3 4 5 6 7 8
Demand 15 17 14 7 10 12 7 5
a. Using a trend projection, forecast the demand for Period 9.
b. Verify your results with PHStat. c. Calculate the MAD for this forecast.
16.15 Consider the following time series:
Period Sales Period Sales Period Sales
1 4 6 10 11 18
2 6 7 12 12 12
3 11 8 13 13 15
4 9 9 10 14 16
5 8 10 12 15 16
a. Use PHStat with a = 0.05 to test this time series for positive autocorrelation.
b. Verify your Durbin–Watson statistic using Excel.
16.16 Consider the following time series:
Period Sales Period Sales Period Sales
1 37 6 29 11 18
2 30 7 24 12 16
3 22 8 17 13 21
4 28 9 22 14 17
5 25 10 24 15 15
a. Use PHStat and set a = 0.05 to test this time series for positive autocorrelation.
b. Verify your Durbin–Watson statistic using Excel.
applications 16.17 According to the National Association of Theatre Owners,
the average U.S. ticket price has been steadily increasing over the past several years. The following data show the average price during an eight-year period. These data can also be found in the Excel file average ticket price.xlsx.
Year Price ($) Year Price ($)
2006 6.55 2010 7.89
2007 6.88 2011 7.93
2008 7.18 2012 7.96
2009 7.50 2013 7.94
a. Construct a graph showing the average ticket price over time.
b. Forecast the average ticket price in the United States for 2014 using a trend projection.
c. Calculate the MAD for this forecast.
www.freebookslides.com
796 C h a p t e r 16 | Forecasting
16.18 The size of the audience watching the Super Bowl plays a major role in the price the broadcasting network charges for advertising. The following data show the average num- ber of viewers, in millions, who watched previous Super Bowls, according to Nielsen. These data can also be found in the Excel file Super Bowl viewers.xlsx.
Year Viewers Year Viewers
2005 86.0 2010 106.5
2006 90.7 2011 111.0
2007 93.2 2012 111.3
2008 97.5 2013 108.4
2009 98.7
a. Construct a graph showing the average Super Bowl viewership over time.
b. Forecast the average number of viewers for the 2014 Super Bowl using a trend projection.
c. Calculate the MAD for this forecast.
16.19 Steve, who has been working hard to improve his golf game, has seen some improvement in his scores over the summer. He would like to use forecasting to set a goal for his next round. The following data show the scores from his last nine rounds of golf at the course he plays most often.
Round 1 2 3 4 5 6 7 8 9
Score 94 93 90 88 92 89 85 89 88
a. Construct a graph showing Steve’s golf scores over time.
b. Forecast Steve’s golf score for his next round using a trend projection.
c. Calculate the MAD for this forecast.
16.20 The following table shows the number of cell phone min- utes used per month on my family plan for the past eight months. These data can also be found in the Excel file cell phone minutes.xlsx.
Month 1 2 3 4 5 6 7 8
Minutes 325 355 326 433 390 414 447 440
a. Construct a graph showing the number of minutes used per month on my cell phone account over time.
b. Forecast the number of minutes for next month using a trend projection.
c. Calculate the MAD for this forecast. d. If my family plan includes only 500 minutes per
month, in what month am I predicted to exceed these minutes?
16.21 Julie owns 100 shares of Apple stock (lucky her) and is trying to decide how much her portfolio will be worth next month. The data in the Excel file Apple stock price. xlsx show the closing price of a share of Apple stock at the end of each month from October 2011 until May 2013.
Based on: BigCharts.com data.
a. Construct a graph showing the Apple stock price over time.
b. Forecast the closing price for Apple stock at the end of June 2013 using a trend projection.
c. Calculate the MAD for this forecast. d. Check for the presence of positive autocorrelation. e. What concerns should you have using trend projection
to forecast with this data.
16.22 Gold has long been a very popular investment choice dur- ing times of economic crisis. This has resulted in a sig- nificant increase in the price of gold per ounce in recent years. The Excel file gold prices.xlsx shows the average price of an ounce of gold from 1992 until 2012.
Based on: data at www.kitco.com.
a. Construct a graph showing the price per ounce of gold over time.
b. Forecast the average price of gold for 2013 using a trend projection.
c. Calculate the MAD for this forecast. d. Check for the presence of positive autocorrelation. e. Based on these results, does this forecasting method
seem appropriate for these data?
16.23 Recently, fixed mortgage rates have been at historical lows due to the housing slowdown. Data in the Excel file mortgage rates.xlsx show the average 30-year fixed mortgage rate for the month of December every year between 1989 and 2012, as reported by Freddie Mac.
a. Construct a graph showing the average December mortgage rate over time.
b. Forecast the average December mortgage rate in 2013 using a trend projection.
c. Calculate the MAD for this forecast. d. Check for the presence of positive autocorrelation. e. What limitations do you foresee with this forecasting
method projecting mortgage rates several years into the future?
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 797
16.4 Forecasting with Seasonality Early in the chapter, you learned that a time series could consist of one or more of the fol- lowing types of components:
• Trend
• Seasonal
• Cyclical
• Random
We’ve already discussed using the trend component to generate a forecast. In this sec- tion we’ll investigate the benefit of including a seasonal component in our forecasting method. Recall that a seasonal component is present in a time series if a consistent pattern associated with a calendar can be observed in the data. We’ll explore these methods using our new car sales data, which are again shown graphically in Figure 16.12.
{ figure 16.12 New Car Sales Time Series
Period
New Car Demand
C ar
s S
ol d
80
90
100
110
120
130
140
150
160
170
0 2 4 6 8 10 12 14
It appears there might be a consistent seasonal pattern in the car sales data. Notice that sales spike upward in the even-numbered quarters (the second and fourth quarters of each year). Perhaps we can use this pattern to our advantage when forecasting future sales. Let’s take a look.
Multiplicative Decomposition of a time Series The first technique that we’ll examine attempts to separate the trend and seasonal compo- nents of a time series using a method known as decomposition. In this section, we’ll decom- pose the time series we’re studying using the multiplicative decomposition model described in Equation 16.11.
Multiplicative decomposition is a technique that multiplies the individual time series components together to generate a forecast.
where
yt = The time series value at period t Tt = The trend component at period t St = The seasonal component at period t Rt = The random component at period t Notice that I did not include the cyclical component in Equation 16.11. This is because
cyclical patterns, which vary with the economy, often require a longer time frame to identify than our three-year car sales data provide.
Formula 6.11 for the Multiplicative Decomposition Model
yt = Tt * St * Rt
www.freebookslides.com
798 C h a p t e r 16 | Forecasting
To use the multiplicative decomposition technique for a forecast, you need to take the following four steps:
1. Identify the seasonal components.
2. Deseasonalize the original data using the seasonal components.
3. Identify the trend component with the deseasonalized data.
4. Use the trend and seasonal components to forecast future periods.
Identify the Seasonal Components Earlier in the chapter, you learned that a seasonal component is a consistent pattern in the data that can be associated with a calendar. The number of seasonal components equals the number of seasons within a calendar year. With our new car sales data, we have four quarters for each year, which results in four seasonal components that we need to identify. For exam- ple, the first quarter consists of months January through March, the second quarter consists of months April through June, and so on. We start this process by calculating a four-period moving average (because of our four seasons) centered on the original time series data, as Table 16.14 shows. This procedure is not to be confused with the simple moving average technique we used earlier in the chapter.
We begin by averaging Periods 1 through 4 and associating this average with the center period, which is Period 2.5 (the average of 1, 2, 3, and 4 is 2.5). Our results are as follows:
Period 2.5 average = 97 + 142 + 108 + 135
4 = 120.50
These figures are in red text and highlighted in yellow in Table 16.14. As shown in the table, the value 120.5 is halfway between Periods 2 and 3.
Next, we move down one period to calculate the average sales for Period 3.5 as follows:
Period 3.5 average = 142 + 108 + 135 + 120
4 = 126.25
We continue this averaging process for the rest of the time series, stopping at the aver- age for Period 10.5, as shown in green text and highlighted in yellow in Table 16.14.
This four-period moving average is found by averaging 97, 142, 108, and 135.
{ table 16.14 | Determining the Seasonal Components of the New Car Sales Time Series (Step 1)
period season yt four-period moving average
1 2011-Q1 97 2 2011-Q2 142
120.50 3 2011-Q3 108
126.25 4 2011-Q4 135
131.75 5 2012-Q1 120
136.25 6 2012-Q2 164
140.00 7 2012-Q3 126
140.75 8 2012-Q4 150
137.50 9 2013-Q1 123
141.25 10 2013-Q2 151
139.25 11 2013-Q3 141 12 2013-Q4 142
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 799
Because we have an even number of seasons each year (four), the moving averages are assigned to half-periods (Period 2.5, 3.5, and so forth). This happens because the average of the numbers 1, 2, 3, and 4 is 2.5. As a result, we need an additional step to center each of these averages on whole periods (3, 4, and so on), as Table 16.15 shows. These values are known as centered moving averages (CMA). We begin by finding the centered moving aver- age for Period 3, CMA3, by averaging the results from periods 2.5 and 3.5 as follows:
CMA3 = 120.5 + 126.25
2 = 123.375
These figures are in red text and highlighted in yellow in Table 16.15. We next find the centered moving average for Period 4, CMA4, as follows:
CMA4 = 126.25 + 131.75
2 = 129.0
The final centered moving average is assigned to Period 10 and is shown in green text and highlighted in yellow in Table 16.15.
A centered moving average assigns the average value of a set of data points to the center time period.
{ table 16.15 | Determining the Seasonal Components of the New Car Sales Time Series (Step 2)
period
season
yt
four-period moving average
centered moving average
1 2011-Q1 97
2 2011-Q2 142
120.50
3 2011-Q3 108 123.375
126.25
4 2011-Q4 135 129.000
131.75
5 2012-Q1 120 134.000
136.25
6 2012-Q2 164 138.125
140.00
7 2012-Q3 126 140.375
140.75
8 2012-Q4 150 139.125
137.50
9 2013-Q1 123 139.375
141.25
10 2013-Q2 151 140.250
139.25
11 2013-Q3 141
12 2013-Q4 142
If our time series contained an odd number of seasons, say three, the step shown in Table 16.15 would not have been necessary. This is because the moving averages in Table 16.14 would have already been centered on whole periods. For instance, the result ob- tained by averaging Periods 1, 2, and 3 would be centered on Period 2.
This centered moving average is found by averaging 120.50 and 126.25.
www.freebookslides.com
800 C h a p t e r 16 | Forecasting
The purpose of calculating a four-period centered moving average in Table 16.15 is to remove the seasonal component, St, from the time series. This occurs due to the fact that our averages include all four seasons. By averaging, we have also removed the random compo- nent, Rt, because we expect the random fluctuations to average out over time. Now that we have eliminated the impact of seasonality and randomness, the centered moving average values in Table 16.15 represent the remaining time series component, trend 1Tt2. We can ex- press this relationship as the following:
CMAt = Tt
Recall from Equation 16.11 that our original time series can be described as follows:
yt = Tt * St * Rt With a little algebra, we have what is known as the ratio-to-moving-average (RMA), which is shown in Equation 16.12.
The ratio-to-moving-average represents the seasonal and random components in the original time series and is found by dividing the time series value by its centered moving average. Formula 16.12 for the Ratio-to-Moving-Average
RMAt = St * Rt = yt Tt
= yt
CMAt
The ratio-to-moving-average represents the seasonal and random components in the original time series. The first ratio-to-moving-average we can calculate is for Period 3 be- cause that is the first centered moving average available from Table 16.15. Using Equation 16.12, we have the following:
RMA3 = y3
CMA3 =
108
123.375 = 0.8754
These values are shown in red text and highlighted in yellow in Table 16.16. We con- tinue these calculations down the time series until we reach RMA10, as follows:
RMA10 = y10
CMA10 =
151
140.25 = 1.0766
{ table 16.16 | Determining the Seasonal Components of the New Car Sales Time Series (Step 3)
period
season
yt
four-period moving average
centered moving average
ratio-to- moving-average
1 2011-Q1 97
2 2011-Q2 142
120.50
3 2011-Q3 108 123.375 0.8754
126.25
4 2011-Q4 135 129.000 1.0465
131.75
5 2012-Q1 120 134.000 0.8955
136.25
6 2012-Q2 164 138.125 1.1873
140.00
7 2012-Q3 126 140.375 0.8976
140.75
This ratio-to- moving-average is found by dividing 108 by 123.375.
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 801
Notice in Table 16.16 that we have two ratio-to-moving-averages for each season. For example, the two ratio-to-moving-averages for the first quarter are 0.8955, which occurred in 2012 (Period 5), and 0.8825, which occurred in 2013 (Period 9). We also know that these values represent the seasonal and random components of the time series (see Equation 16.12), as follows:
RMAt = St * Rt To isolate the seasonal component, St, in the preceding expression, we first need to iden-
tify a seasonal factor, SFQ (the subscript Q refers to the quarter number), for each quarter by averaging the two ratio-to-moving-averages that are associated with each season, as shown in Table 16.17. By averaging the two periods, we cancel out the random component, Rt, in Equation 16.12.
period
season
yt
four-period moving average
centered moving average
ratio-to- moving-average
8 2012-Q4 150 139.125 1.0782
137.50
9 2013-Q1 123 139.375 0.8825
141.25
10 2013-Q2 151 140.250 1.0766
139.25
11 2013-Q3 141
12 2013-Q4 142
Seasonal factors are obtained by averaging the ratio-to-moving-averages associated with each season in the time series.
{ table 16.17 | Determining the Seasonal Components for the New Car Sales Time Series (Step 4)
quarter 1 quarter 2 quarter 3 quarter 4
0.8955 1.1873 0.8754 1.0465
0.8825 1.0766 0.8976 1.0782
Average 0.8890 1.1320 0.8865 1.0624
The following equation shows how the seasonal factor for Quarter 1, SF1, is calcu- lated by averaging the ratio-to-moving-averages for Periods 5 and 9 in Table 16.17:
SF1 = RMA5 + RMA9
2 =
0.8955 + 0.8825 2
= 0.8890
We repeat these calculations for the remaining seasons to obtain the following sea- sonal factors for Quarters 1, 2, 3, and 4:
SF1 = 0.8890 1from Periods 5 and 92 SF2 = 1.1320 1from Periods 6 and 102 SF3 = 0.8865 1from Periods 3 and 72 SF4 = 1.0624 1from Periods 4 and 82
Total = 3.9699
Notice that the sum of the seasonal factors is 3.9699. We need one final adjustment so that our seasonal factors add up to 4, which is the number of seasons in our time series.
{ table 16.16 | (Continued)
www.freebookslides.com
802 C h a p t e r 16 | Forecasting
This process is called normalizing the seasonal factors. It is performed as follows to calcu- late the normalized seasonal factors, NSFQ, for Quarters 1, 2, 3, and 4:
NSF1 = 4
3.9699 1SF12 = 11.0076210.88902 = 0.8958
NSF2 = 4
3.9699 1SF22 = 11.0076211.13202 = 1.1406
NSF3 = 4
3.9699 1SF32 = 11.0076210.88652 = 0.8932
NSF4 = 4
3.9699 1SF42 = 11.0076211.06242 = 1.0704
Total = 4.0000
What do these normalized seasonal factors tell us? It appears that in Quarter 2, the deal- ership typically experiences a higher volume of car sales than in any other quarter during the year. In fact, we can say that Quarter 2 has about 14% more sales than an average quarter during the year. Quarters 1 and 3 generate lower than average sales when compared with the other quarters. This pattern is consistent with what we observed in Figure 16.12, which showed that in even-numbered quarters sales spiked.
We are now ready to assign our normalized seasonal factors to the seasonal component, St, for each period of our time series in Table 16.18.
Normalized seasonal factors are seasonal factors that are adjusted so that they add up to the number of seasons in the time series.
Because of rounding, this value may be slightly different than the number of seasons.
Quarter 2 averages the highest demand because it has the highest seasonal factor.
{ table 16.18 | Deseasonalizing the New Car Sales Time Series
period
year
quarter
seasonal component, s
t
1 2011 1 0.8958
2 2011 2 1.1406
3 2011 3 0.8932
4 2011 4 1.0704
5 2012 1 0.8958
6 2012 2 1.1406
7 2012 3 0.8932
8 2012 4 1.0704
9 2013 1 0.8958
10 2013 2 1.1406
11 2013 3 0.8932
12 2013 4 1.0704
I realize we’ve covered a lot of material in this section. Now is a good time to stop, take a deep breath, and calculate some seasonal components in this next Your Turn before moving on.
Identify the seasonal components for the GPA data from Your Turn #1. (Hint: There are three seasons, or semesters, in each school year—Fall, Spring, and Summer. You’re welcome.)
Y o u r t u r n # 7N
Answer can be found on u page 823–824
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 803
Deseasonalize the Time Series Our next step in the decomposition process is to deseasonalize the original time series. We do this by removing the seasonality from the car sales data using the seasonal components we just computed. Recall from Equation 16.11 that our original time series can be described as the following:
yt = Tt * St * Rt With a little algebra, we can calculate the deseasonalized sales with Equation 16.13.
Formula 16.13 for the Deseasonalized Time Series
Tt * Rt = yt St
For example, the deseasonalized sales for Period 1 would be as follows:
y1 S1
= 97
0.8958 = 108.3 cars
In other words, if we remove the effect that the Quarter 1 season has on car sales, we would expect to sell 108 cars that period. We continue with these calculations for the remaining pe- riods to deseasonalize them. The results are shown in Table 16.19.
Deseasonalizing the time series removes the effect that the seasonal component has on the data.
{ table 16.19 | Determining the Deseasonalized New Car Sales
period
year
quarter
sales yt
seasonal, component, st
deseasonalized sales
1 2011 1 97 0.8958 108.3
2 2011 2 142 1.1406 124.5
3 2011 3 108 0.8932 120.9
4 2011 4 135 1.0704 126.1
5 2012 1 120 0.8958 133.9
6 2012 2 164 1.1406 143.8
7 2012 3 126 0.8932 141.1
8 2012 4 150 1.0704 140.1
9 2013 1 123 0.8958 137.3
10 2013 2 151 1.1406 132.4
11 2013 3 141 0.8932 157.9
12 2013 4 142 1.0704 132.7
Figure 16.13 shows the effect of deseasonalizing the data. The blue line represents the original time series with seasonality, whereas the red line represents the deseasonalized time series. As you can see, most of the seasonal spikes in the original data have been removed with the deseasonalized data.
Our next goal is to identify the linear trend line through the deseasonalized data using a simple regression.
www.freebookslides.com
804 C h a p t e r 16 | Forecasting
Identify the Trend Component with the Deseasonalized Data Figure 16.14 shows the deseasonalized data (red line) along with the trend line that best fits these data (green line). The regression equation that describes the green line will act as our trend component for the decomposition forecasting method.
{ figure 16.13 Deseasonalized Time Series:
New Car Sales
Deseasonalized Time Series
C ar
s S
ol d
80
90
100
110
120
130
140
150
160
170
Sales Deseasonalized Sales
Period 0 2 4 6 8 10 12
{ figure 16.14 Deseasonalized Trend Compo-
nent for the New Car Sales Time Series
Trend Line for Deseasonalized Data
C ar
s S
ol d
80
90
100
110
120
130
140
150
160
170
Deseasonalized Sales Linear (Deseasonalized Sales)
Period 0 2 4 6 8 10 12
To generate our regression equation for this trend line, we can use either Excel’s Data Analysis function or the simple regression function in PHStat. The following steps will dem- onstrate how PHStat is used for this procedure. Excel for Mac users can find instructions for this procedure on the textbook’s Web site.
1. Open the Excel file deseasonalized car sales.xlsx or enter the data shown in Figure 16.15A.
2. Go to Add-Ins + PHStat + Regression + Simple Linear Regression, as shown in Figure 16.9A.
{ figure 16.15a Using PHStat for a
Deseasonalized Trend Projection (Steps 1–3)
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 805
3. Fill in the Data section of the Simple Linear Regression dialog box as shown in Figure 16.15A. Click OK.
Figure 16.15B shows our trend equation in the deseasonalized worksheet labeled “SLR.” The regression coefficients are circled in red.
{ figure 16.15b Using PHStat for a Deseason-
alized Trend Projection (Final Result)
Based on these results, our trend component for the deseasonalized car sales data is de- scribed with the following linear equation:
Tt = 116.8545 + 2.5224t
Notice that the p-value for the regression coefficient in Figure 16.15B is equal to 0.008 (in Cell E11), indicating that the Period variable is statistically significant. Normally, this would be an appropriate time to test for the presence of autocorrelation using the Durbin– Watson statistic. However, because we have less than 15 data points in this example, this test cannot be performed. Believe it or not, we are now ready to forecast some car sales. It’s about time!
Generate Forecasts with the Trend and Seasonal Components To generate a sales forecast, Ft, for the upcoming quarter (Period 13) using the multiplicative decomposition method, we use Equation 16.14.
Formula 16.14 for Forecasting with the Multiplicative Decomposition Method
Ft = Tt * St
Let’s start by determining the trend component, Tt, for Period 13 1t = 132 as follows: Tt = 116.8545 + 2.5224t
T13 = 116.8545 + 2.52241132 = 149.65 To find our seasonal component, we need to refer to Table 16.18. Because Period 13 is
the first quarter of 2014, S1 = 0.8958. Using Equation 16.14, our sales forecast for the next quarter is calculated as follows:
F13 = T13 * S13 = 1149.65210.89582 = 134.1 ≈ 134 cars Because sales are typically lower for Quarter 1 as compared with other quarters, the sea-
sonal component reduced our forecast from 149 to 134 cars. With the multiplicative decomposition method, we can also forecast additional quarters
into the future. For example, Table 16.20 shows how I can generate forecasts for the remain- ing three quarters of 2014 (Periods 14, 15, and 16).
Notice that the random component, Rt, is not part of the forecasting equation. This is because randomness, by definition, cannot be predicted. We also expect the random component to “cancel itself out” over time.
www.freebookslides.com
806 C h a p t e r 16 | Forecasting
As we discussed earlier in the chapter, be aware that the farther out into the future we project our trend and seasonality components, the less reliable our forecasted value will be. Forecasting errors tend to increase as the time horizon of the forecast increases.
Your boss has to be impressed with your analysis. Looks like somebody might be get- ting a pay raise. I told you taking statistics was a great idea!
Because multiplicative decomposition requires several steps, I’ve summarized them for you:
• Identify the seasonal components by calculating the centered moving averages.
• Deseasonalize the original data by dividing the original time series with the seasonal components.
• Identify the trend component by performing a simple regression using the deseason- alized data.
• Use the trend and seasonal components to forecast future periods.
Let’s see how much you have learned in this section with the following Your Turn problem.
{ table 16.20 | Forecasting with Multiplicative Decomposition
period
year
quarter
trend comp, tt
seasonal component, st
sales forecast, ft
13 2014 1 149.65 0.8958 134
14 2014 2 152.17 1.1406 174
15 2014 3 154.69 0.8932 138
16 2014 4 157.21 1.0704 168
Use the results from Your Turn #7 and multiplicative decomposition to forecast for the next three semes- ters the GPA for the student in Your Turn #1.
Y o u r t u r n # 8N
Answer can be found on u pages 824–825
Investigate the Accuracy of the Forecast I hope you saw this next question coming: How accurate is the car sales forecast using mul- tiplicative decomposition compared with the methods discussed previously in the chapter? You know the drill—we need to calculate the MAD!
First, I’ll calculate the forecasting error for the first period. The trend component, Tt, for Period 1 1t = 12 is as follows:
Tt = 116.8545 + 2.5224t T1 = 116.8545 + 2.5224112 = 119.4
According to Table 16.18, the seasonal component for the first quarter of 2010, S1 = 0.8958. Using Equation 16.14, our sales forecast for Period 1 is calculated as follows:
F1 = T1 * S1 = 1119.4210.89582 = 107.0 Our forecasting error is defined as the actual sales value, yt, minus the forecasted sales value, Ft. For Period 1, our forecasting error is calculated as follows:
y1 - F1 = 97 - 107.0 = - 10.0
For the upcoming MAD calculation, we take the absolute value of this forecasting error as well as the remaining errors shown in Table 16.21.
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 807
The average forecasting error for multiplicative decomposition with our car sales data using MAD is therefore as follows:
MAD = a ∙ yt - Ft ∙ n
= 84.1
12 = 7.0
Using this method, our average forecasting error is 7.0 cars per quarter. How does this ac- curacy stack up when compared with the previous methods we’ve explored in this chapter? Table 16.22 provides a summary of what we’ve done so far.
{ table 16.21 | Data and Calculations Needed to Find the Mean Absolute Deviation: Multiplicative Decomposition
period, t
sales, yt
trend component, tt
seasonal component, st
sales forecast, fy
absolute forecasting error, ∙ yt − ft ∙
1 97 119.4 0.8958 107.0 10.0
2 142 121.9 1.1406 139.0 3.0
3 108 124.4 0.8932 111.1 3.1
4 135 126.9 1.0704 135.8 0.8
5 120 129.5 0.8958 116.0 4.0
6 164 132.0 1.1406 150.6 13.4
7 126 134.5 0.8932 120.1 5.9
8 150 137.0 1.0704 146.6 3.4
9 123 139.6 0.8958 125.1 2.1
10 151 142.1 1.1406 162.1 11.1
11 141 144.6 0.8932 129.2 11.8
12 142 147.1 1.0704 157.5 15.5
a ∙ yt - Ft ∙ = 84.1
{ table 16.22 | Summary of the Mean Absolute Deviation for Various Forecasting Methods
method
sales forecast mad
Simple moving average, p = 3 145 15.9
Simple moving average, p = 4 139 11.1
Weighted moving average, p = 3 (3, 2, 1) 143 15.3
Exponential smoothing, a = 0.6 142 19.0
Exponential smoothing w/trend, a = 0.3, b = 0.1 148 16.6
Trend projection 151 13.8
Multiplicative decomposition 134 7.0
As you can see in this table, multiplicative decomposition provides the best results. This is not surprising considering the fact that our car sales time series exhibits patterns of both trend and seasonality and that this last forecasting method is the only one in the table that ac- counts for both. It’s worth noting, however, that one of the more basic methods, four-period simple moving average, also performs very well with this data set. In forecasting, there’s no guarantee that a more complicated method will outperform a simpler forecasting technique.
It’s time for another Your Turn problem that will give you the opportunity to check the MAD for a multiplicative decomposition forecast. Sounds like fun to me!
www.freebookslides.com
808 C h a p t e r 16 | Forecasting
I’ve arbitrarily chosen the first quarter as my base season by assigning a zero value for all three dummy variables in Table 16.23.
Our new data set now includes the following variables:
• Dependent variable: car sales
• Independent variables: time period, seasonal dummy variables 1SD1, SD2, and SD32 Table 16.24 shows the car sales data with dummy variables for this regression model.
These data can also be found in the Excel file car sales dummy.xlsx.
Use the results from Your Turn #7 and #8 to calculate the MAD for the GPA forecast using multiplicative decomposition.
Y o u r t u r n # 9N
Answer can be found on u page 825
representing Seasonality with Dummy Variables Chapter 15 introduced the concept of dummy variables. Dummy variables allowed us to use qualitative variables in the regression model. We can represent seasonality with dummy variables in our regression model as well. Because we have four categories of seasons (first, second, third, and fourth quarters), we need three seasonal dummy variables, which are iden- tified in Table 16.23. For example, SD1 is the first of three seasonal dummy variables.Recall from Chapter 15 that we
need k - 1 dummy variables when we have k categories in our qualitative variable.
{ table 16.23 | Creating Dummy Variables to Represent Seasonality
dummy variables
season sd1 sd2 sd3
First quarter 0 0 0
Second quarter 1 0 0
Third quarter 0 1 0
Fourth quarter 0 0 1
{ table 16.24 | New Car Sales Data with Dummy Variables
period year quarter
sales, yt
dummy variables sd1 sd2 sd3
1 2011 1 97 0 0 0
2 2011 2 142 1 0 0
3 2011 3 108 0 1 0
4 2011 4 135 0 0 1
5 2012 1 120 0 0 0
6 2012 2 164 1 0 0
period year quarter
sales, yt
dummy variables sd1 sd2 sd3
7 2012 3 126 0 1 0
8 2012 4 150 0 0 1
9 2013 1 123 0 0 0
10 2013 2 151 1 0 0
11 2013 3 141 0 1 0
12 2013 4 142 0 0 1
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 809
Our next step is to use PHStat to perform a multiple regression on our car sales data. If you recall from the previous chapter, we have some choices as to what multiple regression method to use with PHStat. I’ll use best subsets regression, which examines all combinations of independent variables as possible candidates for the final regression model. Excel for Mac users can find instructions for this procedure on the textbook’s Web site.
1. Open the Excel file car sales dummy.xlsx or enter the data shown in Figure 16.16A.
2. Go to Add-Ins + PHStat + Regression + Best Subsets, as Figure 16.9A shows. 3. Fill in the Best Subsets dialog box as Figure 16.16A shows and click OK.
{ figure 16.16a Using PHStat to Forecast
Seasonality with Dummy Variables (Steps 1–3)
4. PHStat creates several worksheets in the Excel file, one of which is labeled “Best Subsets.” Selecting this sheet will display the data shown in Figure 16.16B.
{ figure 16.16b Using PHStat to Forecast
Seasonality with Dummy Variables (Step 4)
Figure 16.16B shows that the four independent variables provided 15 possible combina- tions to be considered 124 - 1 = 152. This figure also shows the adjusted R 2 and the stan- dard error for each of these regression models. Ideally, we’re looking for the subset with the highest adjusted R2 and lowest standard error. The model that meets this criterion (X1X2X4) is highlighted in yellow. To find the regression results for this model, go to the worksheet labeled “3X2” because, in the list of models in Figure 16.16B, we are choosing the second model in the group with three independent variables. Figure 16.16C shows these regression results.
www.freebookslides.com
810 C h a p t e r 16 | Forecasting
As you can see in Figure 16.16C, our final model contains the time period and two of the three seasonal dummy variables 1SD1 and SD32. This model has an adjusted R 2 equal to 77%, and all three independent variables have p-values less than 0.05. The regression equa- tion that we can use for forecasting is therefore as follows:
Ft = 104.1667 + 2.5t + 33.1667SD1 + 18.1667SD3 Once again, this would be an appropriate time to test for the presence of autocorrelation
using the Durbin–Watson statistic. However, because we have less than 15 data points in this example, this test cannot be performed.
We’re now ready to put this bad boy to work for us by generating a forecast for the first quarter of 2014 (Period 13, so t = 13). According to Table 16.23, the first quarter of any year uses the following seasonal dummy variables:
SD1 = 0 SD3 = 0
Our regression forecast for this quarter is then as follows:
F13 = 104.1667 + 2.51132 + 33.1667102 + 18.1667102 = 136.7 ≈ 137 cars We can also forecast car sales for the remaining three quarters in 2014 as follows:
{ figure 16.16c Using PHStat to Forecast
Seasonality with Dummy Variables (Final Result)
The average demand for Quarter 2 is 33.1667 cars more than Quarter 1 (the base quarter). Remember, in Table 16.23 we assigned Quarter 2 as SD1 = 1, SD2 = 0, and SD3 = 0.
Second quarter: F14 = 104.1667 + 2.51142 + 33.1667112 + 18.1667102 = 172.3 ≈ 172 cars Third quarter: F15 = 104.1667 + 2.51152 + 33.1667102 + 18.1667102 = 141.7 ≈ 142 cars
Fourth quarter: F16 = 104.1667 + 2.51162 + 33.1667102 + 18.1667112 = 162.3 ≈ 162 cars I’d be remiss not to check the MAD for this forecasting method to see how it compares with our previous models, so let’s get to it. First, I’ll demonstrate how to calculate the forecasts for the four quarters in 2011 (Periods 1 through 4) and then summarize the remaining calcu- lations. Excel is also an excellent choice for performing these calculations.
2011 Forecasts:
First quarter 1t = 12: F1 = 104.1667 + 2.5112 + 33.1667102 + 18.1667102 = 106.7 Second quarter 1t = 22: F2 = 104.1667 + 2.5122 + 33.1667112 + 18.1667102 = 142.3
Third quarter 1t = 32: F3 = 104.1667 + 2.5132 + 33.1667102 + 18.1667102 = 111.7 Fourth quarter 1t = 42: F4 = 104.1667 + 2.5142 + 33.1667102 + 18.1667112 = 132.3
Table 16.25 shows the forecasts for the remaining quarters along with the forecasting errors for the MAD calculation.
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 811
The average forecasting error for multiple regression with seasonal dummy variables is therefore as follows:
MAD = a ∙ yt - Ft ∙ n
= 78.0
12 = 6.5
Table 16.26 compares this result with the previous models in the chapter.
{ table 16.25 | Data and Calculations Needed to Find the Mean Absolute Deviation: New Car Sales Data with Dummy Variables
period, t
actual sales, yt
sales forecast, fy
forecasting error, yt − ft
absolute forecasting error, ∙ yt − ft ∙
1 97 106.7 - 9.7 9.7
2 142 142.3 - 0.3 0.3
3 108 111.7 - 3.7 3.7
4 135 132.3 2.7 2.7
5 120 116.7 3.3 3.3
6 164 152.3 1.7 11.7
7 126 121.7 4.3 4.3
8 150 142.3 7.7 7.7
9 123 126.7 - 3.7 3.7
10 151 162.3 - 11.3 11.3
11 141 131.7 9.3 9.3
12 142 152.3 - 10.3 10.3
a ∙ yt - Ft ∙ = 78.0
{ table 16.26 | Summary of the Mean Absolute Deviation for Various Forecasting Methods
method forecast mad
Simple moving average, p = 3 145 15.9
Simple moving average, p = 4 139 11.1
Weighted moving average, p = 3 (3, 2, 1) 143 15.3
Exponential smoothing, a = 0.6 142 19.0
Exponential smoothing w/trend, a = 0.3, b = 0.1 148 16.6
Trend projection 151 13.8
Multiplicative decomposition 134 7.0
Regression with seasonal dummy variables 137 6.5
It looks like the seasonal dummy variable model gets the trophy, at least for this particu- lar data set. Both the multiplicative decomposition and the regression with seasonal dummy variables should perform fairly well if the overall trend is relatively linear and the seasonal patterns are somewhat consistent from year to year. I would recommend you provide your boss with a sales forecast of 137 cars for the first quarter of 2014 by using the seasonal dummy variable model. Good luck with your new job. You’re off to a great start!
Remember, one forecasting method will not always provide the best forecast. Regression with seasonal dummy variables was the best method for our car sales data but may not be the best choice for another data set.
www.freebookslides.com
812 C h a p t e r 16 | Forecasting
16.4 Section Problems Basic Skills 16.24 Consider the following time series:
Demand
Quarter Year 1 Year 2 Year 3
1 6 8 7
2 11 14 15
3 9 10 14
4 5 7 9
a. Forecast the demand for each quarter in Year 4 using multiplicative decomposition.
b. Interpret the meaning of the seasonal components. c. Calculate the MAD for this forecast.
16.25 Consider the following time series:
Demand
Quarter Year 1 Year 2 Year 3
1 31 28 27
2 18 18 15
3 25 22 20
4 14 6 8
a. Forecast the demand for each quarter in Year 4 using multiplicative decomposition.
b. Interpret the meaning of the seasonal components. c. Calculate the MAD for this forecast.
16.26 Using the time series shown in Problem 16.24, answer the following questions:
a. Forecast the demand for each quarter in Year 4 us- ing seasonal dummy variables and a best subsets regression.
b. Interpret the meaning of the coefficients for the sea- sonal dummy variables.
c. Calculate the MAD for this forecast.
16.27 Using the time series shown in Problem 16.25, answer the following questions:
a. Forecast the demand for each quarter in Year 4 us- ing seasonal dummy variables and a best subsets regression.
b. Interpret the meaning of the coefficients for the sea- sonal dummy variables.
c. Calculate the MAD for this forecast.
applications 16.28 Suppose Bellevue University accepts new students into
its program year-round on a tri-semester schedule (Fall, Spring, and Summer). Forecasting future enrollments helps the school ensure it has the proper resources to ac- commodate the student body. The following data show the number of students who enrolled each semester for the last four academic years. (Year 4 is the most recent year). These data can also be found in the Excel file Bellevue. xlsx.
Enrollment
Semester Year 1 Year 2 Year 3 Year 4
Fall 267 278 270 274
Spring 75 69 95 81
Summer 24 37 43 55
a. Construct a graph showing the student enrollment over time.
b. Forecast the student enrollment for each semester in Year 5 using seasonal dummy variables and a best subsets regression.
c. Interpret the meaning of the coefficients for the seasonal dummy variables.
d. Calculate the MAD for this forecast.
16.29 Answer the following questions using the data from the Excel file Bellevue.xlsx described in Problem 16.28.
a. Forecast the student enrollment for each semester in Year 5 using multiplicative decomposition.
b. Interpret the meaning of the seasonal components. c. Calculate the MAD for this forecast.
16.30 Back in the late 1990s, AOL was the dominant Internet provider. It charged an hourly rate for online access. How- ever, AOL was slow to respond to changes in the Internet business model and lost a significant amount of market share. Today, advertising revenue is a major source of income for the company. The following data show the
Before we call it a day, I get to torture you one last time with the following Your Turn problem that tests your understanding of the use of dummy seasonal variables.
Using a regression with seasonal dummy variables and data from the Excel file GPA.xlsx,forecast your fellow student’s GPA for the three semesters of her senior year. Also, calculate the MAD for this fore- casting method.
Y o u r t u r n # 1 0N
Answers can be found on u pages 826
www.freebookslides.com
C h a p t e r 16 | 16.4 Forecasting with Seasonality 813
advertising revenue, in millions of dollars, for each quar- ter over a recent three-year period. These data can also be found in the Excel file AOL.xlsx.
Revenue (million $)
Quarter 2010 2011 2012
1 346 313 330
2 297 319 338
3 293 318 340
4 332 364 411
a. Construct a graph showing AOL’s advertising revenue over time.
b. Forecast the advertising revenue for each quarter in 2013 using multiplicative decomposition.
c. Interpret the meaning of the seasonal components. d. Calculate the MAD for this forecast. e. What can you conclude about AOL’s business outlook
for 2013?
16.31 Answer the following questions using the data from the Excel file AOL.xlsx described in Problem 16.30:
a. Forecast the advertising revenue for each quarter in 2013 using seasonal dummy variables and a best sub- sets regression.
b. Interpret the meaning of the coefficients for the sea- sonal dummy variables.
c. Calculate the MAD for this forecast.
16.32 Diamond Shamrock Corporation produces liquid chlorine that it ships to its customers Monday through Friday by truckload and railcar. To improve its scheduling, the com- pany’s plant manager would like to develop a forecasting model to predict the tons of chlorine shipped each day for the following week. The following data show the tons of chlorine shipped each day for the past three weeks. These data can also be found in the Excel file chlorine.xlsx.
Tons per Day Shipped
Day Week 1 Week 2 Week 3
Monday 177 168 154
Tuesday 130 130 127
Wednesday 136 122 116
Thursday 147 128 138
Friday 192 160 152
a. Construct a graph showing the tons of chlorine shipped over time.
b. Forecast the tons of chlorine shipped each day next week using seasonal dummy variables and a best sub- sets regression.
c. Interpret the meaning of the coefficients for the sea- sonal dummy variables.
d. Calculate the MAD for this forecast.
16.33 Answer the following questions using the data from the Excel file chlorine.xlsx described in Problem 16.32.
a. Forecast the tons of chlorine shipped each day next week using multiplicative decomposition.
b. Interpret the meaning of the seasonal components. c. Calculate the MAD for this forecast.
16.34 The food service at Goldey-Beacom College provides lunch and dinner for the students Monday through Friday. The food-service manager would like to forecast the sales for each day of the following week to ensure she has enough employees staffing the counter. The follow- ing data show the daily sales, in dollars, for the last three weeks. These data can also be found in the Excel file cafeteria.xlsx.
Daily Sales ($)
Day Week 1 Week 2 Week 3
Monday 657 718 728
Tuesday 563 561 550
Wednesday 726 740 809
Thursday 539 502 523
Friday 530 587 633
a. Construct a graph showing the food service’s daily sales over time.
b. Forecast the sales for each day next week using multi- plicative decomposition.
c. Interpret the meaning of the seasonal components. d. Calculate the MAD for this forecast.
16.35 Answer the following questions using the data from the Excel file cafeteria.xlsx described in Problem 16.34.
a. Forecast the food service’s sales for each day next week using seasonal dummy variables and a best sub- sets regression.
b. Interpret the meaning of the coefficients for the sea- sonal dummy variables.
c. Calculate the MAD for this forecast.
www.freebookslides.com
814
chapter 16 Summary
■ Forecasting is used to predict future values and can be classified as either qualitative or quantitative.
• Qualitative forecasting relies primarily on a knowledgeable person’s intuition and judgment to predict future events.
• Quantitative forecasting uses historical data and math to predict future events.
■ Data values that are associated with specific points in time are known as a time series.
■ A time series can consist of four different components.
• A trend component is present in a time series if a general upward or downward movement can be observed in the data.
• A seasonal component is present in a time series if a consistent pattern in the data can be associ- ated with a calendar.
• A cyclical component is defined as movement in the time series that is attributed to upward or downward swings in the U.S. or world economy over a period of several years.
• A random component is defined as the unpredictable movements in the data that cannot be attrib- uted to either the trend, seasonal, or cyclical components.
■ A simple moving average forecast is generated by averaging the most recent p data values in our time series.
■ The mean absolute deviation (MAD) measures a forecast’s accuracy by calculating the average absolute forecasting error per period of historical data.
• All else being equal, you should choose the forecast with the lower MAD.
■ A weighted moving average is a smoothing technique that allows weights to be applied to the his- torical data.
■ Exponential smoothing is a technique that adjusts the previous forecast with a portion of the previ- ous period’s forecasting error.
• The smoothing factor, a, which ranges from 0 to 1, determines the amount of the previous fore- casting error to be used in the current forecast.
• Larger alphas cause a forecast to jump around more because they make it more responsive to pre- vious forecasting errors.
■ Exponential smoothing with trend adjustment is a technique that compensates for any trends detected in the data when exponential smoothing is used to generate a forecast.
• In addition to a, this method incorporates a smoothing factor for the trend component, b, which also ranges from 0 to 1.
■ A trend projection is a forecasting technique that projects into the future the linear regression equa- tion that best fits the data of a time series.
■ The x axis displays the time period of the series, whereas the y axis displays the forecasted variable.
■ Residuals describe the difference between the actual and predicted values of the dependent variable for a regression analysis.
■ When a systematic error, or pattern, is present in the residuals, the forecasting method is not per- forming adequately and needs to be revised.
• This pattern of residuals is known as autocorrelation.
■ First-order autocorrelation refers to the correlation that exists when the error of the current time period moves in a consistent pattern with the error from the previous period.
www.freebookslides.com
815
■ To determine the presence of autocorrelation, we can use the Durbin–Watson statistic which ranges from 0 to 4, with a value of 0 indicating perfect positive autocorrelation, a value of 2 indicating no autocorrelation, and a value of 4 indicating perfect negative autocorrelation.
• Positive autocorrelation is present when we observe a pattern of positive residuals in succession or a pattern of negative residuals in succession.
• Negative autocorrelation is present when the consecutive residuals are far apart from one another, resulting in values that tend to alternate between positive and negative signs.
■ Multiplicative decomposition is a technique that multiplies the individual time series components together to generate a forecast.
■ A seasonal component reflects the influence that a particular season has on a time series.
■ A centered moving average assigns the average value of a set of data points to the center time period.
■ The ratio-to-moving-average represents the seasonal and random components in the original time series and is found by dividing the time series value by its centered moving average.
■ To isolate the seasonal component, St, we first need to identify a seasonal factor, SF, for each period in a season by averaging the ratio-to-moving-averages that are associated with each season.
■ We then adjust the seasonal factors to normalized seasonal factors, which add up to the number of seasons in the time series.
■ The next step of multiplicative decomposition is to deseasonalize the original data by dividing each value in the time series by its corresponding seasonal component.
■ We identify the trend component by performing a regression analysis on the deseasonalized time series.
■ To make a forecast using the multiplicative decomposition method, the trend component is de- termined using the regression equation, which is then multiplied by the appropriate seasonal component.
■ Seasonality can be represented by dummy variables in a multiple regression, which allows us to use qualitative variables in the regression model.
■ The independent variables in the model would be the time period and the k - 1 dummy variables, where k equals the number of seasons in the time series.
Autocorrelation. Describes the condition where residuals from a regression model are not independent from one another.
Centered moving average. The average value of a set of data points assigned to the center time period.
Cyclical component. A movement in a time series that is at- tributed to upward or downward swings in the U.S. or world economy over a time period of several years.
Durbin–Watson statistic. A statistic used to test for the presence of autocorrelation in a series of residuals.
Exponential smoothing. A forecasting method that adjusts the previous forecast with a portion of the previous period’s fore- casting error.
Exponential smoothing with trend adjustment. A technique that compensates for any trends detected in the data when exponential smoothing is used to generate a forecast.
Mean absolute deviation (MAD). A value that measures the accuracy of a forecast by calculating the average absolute forecasting error per period of historical data.
chapter 16 Key Terms
www.freebookslides.com
816
Multiplicative decomposition. A technique that multiplies the in- dividual time series components together to generate a forecast.
Normalized seasonal factors. Seasonal factors that are adjusted so they add up to the number of seasons in a time series.
Qualitative forecasting. A forecasting method that relies primar- ily on a knowledgeable person’s intuition and judgment to predict future events.
Quantitative forecasting. A forecasting method in which histori- cal data and math are used to predict future events.
Random component. The unpredictable movements in a time series that cannot be attributed to the trend, seasonal, or cycli- cal components.
Ratio-to-moving-average. A value that represents the seasonal and random components in the original time series and that is found by dividing the time series value by its centered moving average.
Residuals. The difference between the actual and predicted val- ues of the dependent variable for a regression analysis.
Seasonal component. A consistent pattern in a time series that can be associated with a calendar.
Seasonal factors. A factor obtained by averaging the ratio-to- moving averages associated with each season in a time series.
Simple moving average. A forecasting technique that averages the most recent p data values in a time series.
Time series. A group of data values associated with specific points in time.
Trend component. A general upward or downward movement of data in a time series.
Trend projection. A forecasting technique that projects into the future the linear regression equation that best fits the data of a time series.
Weighted moving average. A smoothing technique that allows weights to be applied to the historical data used to generate a forecast.
16.2 Smoothing Methods (pp 770–784)
Formula 16.1 for the Mean Absolute Deviation (MAD) MAD = a � At - Ft � n
Formula 16.2 for the Exponential Smoothing Forecast Ft = Ft - 1 + a1At - 1 - Ft - 12
Formulas 16.3, 16.4 and 16.5 for the Exponential Smoothing with Trend FITt = Ft + Tt Adjustment Forecast Ft = FITt - 1 + a1At - 1 - FITt - 12
Tt = b1Ft - Ft - 12 + 11 - b2Tt - 1
16.3 Forecasting with Regression Analysis (pp 784–796)
Formula 16.6 for the Trend Projection ynt = b0 + b1t
Formula 16.7 for the Trend Projection Slope b1 = n a ty - 1 a t21 a y2
n a t2 - 1 a t22
chapter 16 Equations
www.freebookslides.com
817
Formula 16.8 for the Trend Projection Intercept b0 = a y
n - b1a a tn b
Formula 16.9 for the Residual ei = yi - yni
Formula 16.10 for the Durbin–Watson Statistic d = a
n
t = 2 1et - et - 122
a n
t = 1 e2t
16.4 Forecasting with Seasonality (pp 797–813)
Formula 16.11 for the Multiplicative Decomposition Model yt = Tt * St * Rt
Formula 16.12 for the Ratio-to-Moving-Average RMAt = St * Rt = yt Tt
= yt
CMAt
Formula 16.13 for the Deseasonalized Time Series Tt * Rt = yt St
Formula 16.14 for Forecasting with the Multiplicative Decomposition Method Ft = Tt * St
16.36 Deloitte is a firm that conducts an annual survey that gauges consumer spending expectations during the year-end holiday season. The following data show the percentage of respon- dents who indicated that they would spend less this year on holiday gifts when compared to the previous year. These data can also be found in the Excel file Deloitte.xlsx.
Year Percentage Year Percentage
2005 32 2009 51
2006 29 2010 38
2007 41 2011 42
2008 59 2012 37
Based on: Deloitte Annual Holiday Survey.
a. Using a three-period simple moving average, forecast the percentage of holiday shoppers who intend to spend less in 2013.
b. Calculate the MAD for the forecast in part a. c. Using a three-period weighted moving average with the
weights 5, 3, and 1, forecast the percentage of holiday shoppers who intend to spend less in 2013.
d. Calculate the MAD for the forecast in part c. e. Which forecast do you have most confidence in?
16.37 Answer the following questions using the data from the Excel file Deloitte.xlsx from Problem 16.36.
a. Using exponential smoothing with a = 0.6, forecast the percentage of holiday shoppers who intend to spend less in 2013.
b. Calculate the MAD for the forecast in part a. c. Using exponential smoothing with trend adjustment,
a = 0.6 and b = 0.4, forecast the percentage of holi- day shoppers who intend to spend less in 2013.
d. Calculate the MAD for the forecast in part c. e. Which forecast do you have most confidence in?
chapter 16 Problems
www.freebookslides.com
818
16.38 Dave is a manager of a local AT&T Wireless retail store. He would like to forecast the number of customers walking into his retail store per day to improve his staffing decisions. The following data show the number of customers who entered Dave’s store during the last eight days. These data can also be found in the Excel file daily customers.xlsx.
Day 1 2 3 4 5 6 7 8
Customers 260 243 232 277 270 285 248 254
a. Forecast the number of customers who will visit Dave’s store on Day 9 using a three-period simple moving average.
b. Calculate the MAD for the forecast in part a. c. Forecast the number of customers who will visit Dave’s
store on Day 9 using exponential smoothing with a = 0.1. d. Calculate the MAD for the forecast in part c. e. In which forecast do you have the most confidence?
16.39 Answer the following questions using the data from the Excel file daily customers.xlsx described in Problem 16.38:
a. Forecast the number of customers who will visit Dave’s store on Day 9 using a two-period weighted moving average with the weights 5 and 2.
b. Calculate the MAD for the forecast in part a. c. Forecast the number of customers who will visit Dave’s
store on Day 9 using exponential smoothing with trend adjustment and setting a = 0.1 and b = 0.3.
d. Calculate the MAD for the forecast in part c. e. In which forecast do you have the most confidence?
16.40 Grade inflation, which is defined as an increase in the aver- age GPA of an institution over time without a corresponding increase in academic performance, is a concern for many colleges. The presence of grade inflation could be an indica- tion of lowered academic standards over time. Suppose the following data show the average GPA for the student body at Newark College over the past several years. These data can also be found in the Excel file grade inflation.xlsx.
Year GPA Year GPA
2006 2.94 2010 2.85
2007 2.82 2011 3.08
2008 2.90 2012 3.15
2009 2.96 2013 3.10
a. Construct a graph showing the average GPA over time at Newark College.
b. Forecast the average GPA for the student body for 2014 using a trend projection.
c. Is there any indication that grade inflation is present at Newark College? Why or why not?
16.41 Newark College (see Problem 16.40) would like to include seasonality in its GPA forecasting model. The average GPA of the study body for each year was broken down into the average GPA by semester (Fall, Spring, Summer) and can be found in the Excel file grade inflation by semester.xlsx.
a. Using multiplicative decomposition, forecast the average GPA for the student body for each semester during 2014.
b. Interpret the meaning of the seasonal components. c. Calculate the MAD for this forecast.
16.42 Answer the following questions using the data from the Excel file grade inflation by semester.xlsx described in Problem 16.41:
a. Forecast the average GPA for each semester during 2014 using a multiple regression with seasonal dummy variables.
b. Interpret the meaning of the coefficients for the seasonal dummy variables.
c. Calculate the MAD for this forecast.
16.43 Cash bonuses paid to financial investment employees were reduced during the 2007 economic recession and have shown signs of rebounding with the recent recovery. The following data show the average cash bonus, in thousands of dollars, for New York City investment employees over an eight-year period. These data can also be found in the Excel file average bonus.xlsx.
Year
Average Bonus ($000)
Year
Average Bonus ($000)
2005 149.8 2009 140.6
2006 191.4 2010 139.0
2007 177.8 2011 111.3
2008 100.9 2012 121.9
a. Using a three-period simple moving average, forecast the average cash bonus for a financial investment em- ployee in New York City in 2013.
b. Calculate the MAD for the forecast in part a. c. Using a two-period weighted moving average with the
weights 3 and 2, forecast the average cash bonus for a financial investment employee in New York City in 2013.
d. Calculate the MAD for the forecast in part c. e. Which forecast do you have most confidence in?
16.44 Answer the following questions using the data from the Excel file average bonus.xlsx from Problem 16.43.
a. Using exponential smoothing with a = 0.5, forecast the average cash bonus for a financial investment employee in New York City in 2013.
b. Calculate the MAD for the forecast in part a. c. Using exponential smoothing with trend adjustment,
a = 0.5 and b = 0.5, forecast the average cash bonus for a financial investment employee in New York City in 2013.
d. Calculate the MAD for the forecast in part c. e. Which forecast do you have most confidence in?
16.45 Spain’s economy has struggled with very high unemploy- ment rates as a result of the Eurozone banking crisis. The following data show the annual unemployment rate over a nine-year period. These data can also be found in the Excel file Spain unemployment.xlsx.
www.freebookslides.com
819
Year
Unemployment Rate (%)
Year
Unemployment Rate (%)
2004 10.4 2009 18.0
2005 9.2 2010 20.1
2006 8.1 2011 21.7
2007 8.3 2012 25.0
2008 11.3
a. Using a three-period weighted moving average with weights 4, 2, and 1, forecast the unemployment rate for Spain in 2013.
b. Calculate the MAD for the forecast in part a. c. Using exponential smoothing with a = 0.8, forecast the
unemployment rate for Spain in 2013. d. Calculate the MAD for the forecast in part a. e. Which forecast do you have most confidence in?
16.46 Answer the following questions using the data from the Excel file Spain unemployment.xlsx from Problem 16.45.
a. Construct a graph showing the annual unemployment rate for Spain over time.
b. Forecast the unemployment rate for Spain in 2013 using a trend projection.
c. Calculate the MAD for the forecast in part b.
16.47 The Great Smoky Mountain National Park on the border of Tennessee and North Carolina is America’s most popular national park with more than nine million visitors each year. Suppose the National Park Service would like to forecast the number of visitors to this park in 2013. The Excel file Great Smoky Mountain.xlsx contains the number of visitors each year, in millions, to this park from 1997 until 2012.
a. Construct a graph showing the number of visitors each year visiting the Great Smoky Mountain National Park over time.
b. Forecast the number of visitors each year visiting the Great Smoky Mountain National Park in 2013 using a trend projection.
c. Interpret the meaning of the slope for the trend projec- tion forecast.
d. Calculate the MAD for the forecast in part b. e. Check for the presence of autocorrelation in the fore-
casting model using a = 0.05.
16.48 Answer the following questions using the data from the Excel file Great Smoky Mountain.xlsx from Problem 16.47.
a. Using a four-period simple moving average, forecast the number of visitors each year visiting the Great Smoky Mountain National Park in 2013.
b. Calculate the MAD for the forecast in part a. c. Using exponential smoothing with a = 0.7, forecast the
number of visitors each year visiting the Great Smoky Mountain National Park in 2013.
d. Calculate the MAD for the forecast in part c. e. Which forecast do you have most confidence in?
16.49 Toys Unlimited is an online toy store with a product line that focuses on the preschool children market. Management would like to develop a model to forecast sales, in millions of dollars, for the next four quarters. The Excel file Toys Unlimited.xlsx provides sales for each quarter for the previous five years.
a. Forecast Toys Unlimited sales for each quarter next year using a trend projection.
b. Forecast Toys Unlimited sales for each quarter next year using multiplicative decomposition.
c. Interpret the meaning of the seasonal components. d. Which forecasting method would you choose for Toys
Unlimited? Why?
16.50 Answer the following questions using the data from the Excel file Toys Unlimited.xlsx from Problem 16.49.
a. Forecast Toys Unlimited sales for each quarter next year using a multiple regression with seasonal dummy variables.
b. Interpret the meaning of the coefficients for the seasonal dummy variables.
c. Calculate the MAD for this forecast.
16.51 The U.S. stock market experienced an economic recovery during 2011 and 2012 after a major recession. The data in the Excel file S&P 500.xlsx show the end-of-month values for the S&P 500 Index during these two years.
a. Construct a graph showing the S&P Index over time. b. Forecast the S&P Index for the end of January 2013
using exponential smoothing with a = 0.2. c. Calculate the MAD for the forecast in part b. d. Forecast the S&P Index for the end of January 2013
using exponential smoothing with trend adjustment and setting a = 0.2 and b = 0.5.
e. Calculate the MAD for the forecast in part d. f. In which forecast do you have the most confidence?
16.52 Answer the following questions using the data from the Excel file S&P 500.xlsx described in Problem 16.51:
a. Forecast the S&P Index for the end of January 2013 using a trend projection.
b. Check the forecasting model in part a for the presence of autocorrelation using a = 0.05.
c. Comment on the appropriateness of using trend projec- tion for these data.
16.53 During the fiscal year 2012, the U.S. Postal Service experi- enced a record $15.9 billion in losses. In an effort to respond to this financial crisis, the postal service is considering clos- ing many post office facilities that are operating at a loss. To help with this decision, suppose post office authorities would like to forecast the number of pieces of mail to be handled during 2013. Data in the Excel file postal service.xlsx show the number of pieces of mail, in billions, delivered by the U.S. Postal Service between 1983 and 2012.
Based on: U.S. Postal Service data.
a. Construct a graph showing the number of pieces of mail delivered over time.
www.freebookslides.com
820
b. Forecast the number of pieces of mail to be delivered during 2013 using a trend projection.
c. Check the forecasting model in part b for the presence of autocorrelation using a = 0.05.
d. Comment on the appropriateness of using trend projec- tion for these data.
16.54 There is recent speculation that the Super Bowl games, which determine the NFL champion, are becoming more competitive over time. The competitiveness of the game draws much attention from the gambling industry, which is affected by the winning margin, or point spread, of
the outcome. To investigate this theory, I’ve constructed the Excel file Super Bowl scores.xlsx,which provides the winning and losing scores for each Super Bowl from 1986 to 2013.
a. Using these data and a significance level equal to 0.05, determine if the point spread of the game has changed significantly.
b. Provide a forecast for the point spread for the 2014 Super Bowl.
c. What are the limitations of your forecasting model?
chapter 16 Solutions to Your Turn
Y o u R T u R n # 1
a) SMA1p = 2, Fall, Senior2 = 2.7 + 3.3 2
= 6.0
2 = 3.0
b)
Semester
Actual GPA,
At
Forecast
GPA, Ft
Forecasting
Error, At − Ft
Absolute Forecasting
Error, � At − Ft �
1 2.5
2 2.2
3 2.7 2.35 0.35 0.35
4 3.0 2.45 0.55 0.55
5 2.6 2.85 - 0.25 0.25 6 3.0 2.80 0.20 0.20
7 3.2 2.80 0.40 0.40
8 2.7 3.10 - 0.40 0.40 9 3.3 2.95 0.35 0.35
a � At - Ft � = 2.5 MAD = a � At - Ft �
n =
2.5
7 = 0.357
a. WMA1p = 2, Fall, Senior2 = 11212.72 + 12213.32
1 + 2
= 9.3
3 = 3.1
b.
Semester
Actual GPA,
At
Forecast
GPA, Ft
Forecasting
Error, At − Ft
Absolute Forecasting
Error, � At − Ft �
1 2.5
2 2.2
3 2.7 2.30 0.40 0.40
4 3.0 2.53 0.47 0.47
5 2.6 2.90 - 0.30 0.30 6 3.0 2.73 0.27 0.27
7 3.2 2.87 0.33 0.33
8 2.7 3.13 - 0.43 0.43 9 3.3 2.87 0.43 0.43
a � At - Ft � = 2.63 MAD = a � At - Ft �
n =
2.63
7 = 0.376.
c. The MAD for the WMA forecast is slightly higher than the SMA forecast. Therefore, the SMA forecast would be preferable.
Y o u R T u R n # 2
www.freebookslides.com
821
Y o u R T u R n # 3
Semester
Actual GPA,
At
Forecast
GPA, Ft
Forecasting
Error, At − Ft
Absolute Forecasting
Error, � At − Ft �
1 2.5
2 2.2 2.50 - 0.30 0.30 3 2.7 2.38 0.32 0.32
4 3.0 2.51 0.49 0.49
5 2.6 2.71 - 0.11 0.11 6 3.0 2.67 0.33 0.33
7 3.2 2.80 0.40 0.40
8 2.7 2.96 - 0.26 0.26 9 3.3 2.86 0.44 0.44
a � At - Ft � = 2.65
a. F10 = F9 + a1A9 - F92
F10 = 2.86 + 10.4213.3 - 2.862 = 3.04
b. MAD = a � At - Ft � n
= 2.65
8 = 0.331
Y o u R T u R n # 4 a.
Semester,
t
Actual GPA,
At
Smoothed Forecast,
Ft
Trend,
Tt
Forecast w/Trend,
FITt
Absolute Error,
� At − FITt � 1 2.5 2.50 0 2.5 —
2 2.2 2.50 0 2.5 0.30
3 2.7 2.35 - 0.11 2.24 0.46 4 3.0 2.47 0.05 2.52 0.48
5 2.6 2.76 0.22 2.98 0.38
6 3.0 2.79 0.09 2.88 0.12
7 3.2 2.94 0.13 3.07 0.13
8 2.7 3.14 0.18 3.32 0.62
9 3.3 3.01 - 0.04 2.97 0.33
a � At - FITt � = 2.82
F10 = FIT9 + a1A9 - FIT92 F10 = 2.97 + 10.5213.3 - 2.972 = 3.14 T10 = b1F10 - F92 + 11 - b2T9 T10 = 10.7213.14 - 3.012 + 11 - 0.721 -0.042 T10 = 0.09 - 0.01 = 0.08
FIT10 = F10 + T10 FIT10 = 3.14 + 0.08 = 3.22
b. MAD = a � At - FITt � n
= 2.82
8 = 0.35
www.freebookslides.com
822
Y o u R T u R n # 5 a.
Semester, t
GPA, y
ty
t 2
1 2.5 2.5 1
2 2.2 4.4 4
3 2.7 8.1 9
4 3.0 12.0 16
5 2.6 13.0 25
6 3.0 18.0 36
7 3.2 22.4 49
8 2.7 21.6 64
9 3.3 29.7 81
a t = 45 a y = 25.2 a ty = 131.7 a t2 = 285 b1 =
n a ty - 1 a t21 a y2 n a t 2 - 1 a t22
b1 = 1921131.72 - 1452125.22
19212852 - 14522
b1 = 1,185.3 - 1,134 2,565 - 2,025
= 51.3
540 = 0.095
b0 = a y
n - b1a a tn b
b0 = 25.2
9 - 10.0952a 45
9 b
b0 = 2.8 - 10.0952152 = 2.325 ynt = 2.325 + 0.095t yn10 = 2.325 + 0.0951102 = 3.28
b.
Semester, t
Actual GPA,
yt
Forecast
GPA, ynt
Forecasting
Error, yt − ynt
Absolute Forecasting
Error, � yt − ynt �
1 2.5 2.42 0.08 0.08
2 2.2 2.52 - 0.32 0.32 3 2.7 2.61 0.09 0.09
4 3.0 2.71 0.30 0.30
5 2.6 2.80 - 0.20 0.20 6 3.0 2.90 0.11 0.11
7 3.2 2.99 0.21 0.21
8 2.7 3.09 - 0.39 0.39 9 3.3 3.18 0.12 0.12
a � yt - ynt � = 1.82 MAD = a � yt - ynt �
n =
1.82
9 = 0.20
Y o u R T u R n # 6 a. d = 0.247
dL = 1.16 dU = 1.39
Because d 6 dL, we reject the null hypothesis and conclude that positive autocorrelation exists in the permit time series.
www.freebookslides.com
823
b. The regression coefficients for the time series are shown here.
ynt = 48.9621 - 1.4299t yn1 = 48.9621 - 1.4299112 = 47.53 e1 = y1 - yn1 = 36.3 - 47.53 = -11.23 yn2 = 48.9621 - 1.4299122 = 46.10 e2 = y2 - yn2 = 37.9 - 46.10 = - 8.20 1e2 - e122 = 1 - 8.20 - 1 -11.23222 = 13.0322 = 9.181
The following spreadsheet shows the remaining values. Slight differences are due to rounding.
d = a
n
t = 2 1et - et - 122
a n
t = 1 e2t
= 268.642
1,086.097 = 0.247
Y o u R T u R n # 7 Because we have an odd number of seasons in a year (three), we can
calculate the three-period centered moving average and the ratio-to-moving- average for Period 2 as follows:
CMA2 = 2.5 + 2.2 + 2.7
3 = 2.47
RMA2 = y2
CMA2 =
2.2
2.47 = 0.8907
Continuing with these calculations for the remainder of the time series, we have the following:
Semester
Season
yt
Three-Period Centered Moving Average
Ratio-to- Moving- Average
1 Fall 2.5
2 Spring 2.2 2.47 0.8907
3 Summer 2.7 2.63 1.0266
4 Fall 3.0 2.77 1.0830
5 Spring 2.6 2.87 0.9059
6 Summer 3.0 2.93 1.0239
7 Fall 3.2 2.97 1.0774
8 Spring 2.7 3.07 0.8795
9 Summer 3.3
Next, we calculate the seasonal factors for each semester:
Fall Spring Summer
1.0830 0.8907 1.0266
1.0774 0.9059 1.0239
0.8795
Average 1.0802 0.8920 1.0253
Total = 2.9975
Because this total does not equal 3, we need to normalize the seasonal factors, as follows:
NSFFall = 3
2.9975 1SFFall2 = 11.0008211.08022 = 1.0811
NSFSpring = 3
2.9975 1SFSpring2 = 11.0008210.89202
= 0.8927
NSFSummer = 3
2.9975 1SFSummer2 = 11.0008211.02532
= 1.0261 Total = 2.999
www.freebookslides.com
824
Semester Season Seasonal Component
1 Fall 1.0811
2 Spring 0.8927
3 Summer 1.0261
4 Fall 1.0811
5 Spring 0.8927
6 Summer 1.0261
7 Fall 1.0811
8 Spring 0.8927
9 Summer 1.0261
Y o u R T u R n # 8 The deseasonalized GPA for Period 1 would be as follows:
y1 S1
= 2.5
1.0811 = 2.31
Applying this calculation to the remaining semesters results in the following:
Semester
Season
GPA,
yt
Seasonal Component,
St
Deseasonalized
GPA
1 Fall 2.5 1.0811 2.31
2 Spring 2.2 0.8927 2.46
3 Summer 2.7 1.0261 2.63
4 Fall 3.0 1.0811 2.77
5 Spring 2.6 0.8927 2.91
6 Summer 3.0 1.0261 2.92
7 Fall 3.2 1.0811 2.96
8 Spring 2.7 0.8927 3.02
9 Summer 3.3 1.0261 3.22
Using Excel to identify the regression coefficients with the deseasonalized GPA as the dependent variable and the semester as the independent variable provides the following results:
www.freebookslides.com
825
The trend component is found with the following regression equation:
Tt = 2.2892 + 0.1022t
The forecast for the fall semester in the student’s senior year (Period 10) is calculated as follows:
F10 = T10 * S10 T10 = 2.2892 + 10.102221102 = 3.31 S10 = SFall = 1.0811 F10 = 13.31211.08112 = 3.58
Performing these calculations with the remaining semesters results in the following:
Semester
Season
Trend Component,
Tt
Seasonal Component,
St
GPA Forecast,
Ft 11 Spring 3.41 0.8927 3.04
12 Summer 3.52 1.0261 3.61
Y o u R T u R n # 9 The trend component, Tt, for Period 1 1t = 12 is calculated as follows:
Tt = 2.2892 + 0.1022t T1 = 2.2892 + 0.1022112 = 2.39
The seasonal component for the fall semester is S1 = 1.0811. Our GPA forecast for Period 1 is therefore as follows:
F1 = T1 * S1 = 12.39211.08112 = 2.58 For Period 1, our absolute forecasting error is the following:
� y1 - F1 � = � 2.5 - 2.58 � = � -0.08 � = 0.08
The absolute errors for the remaining semesters are as follows:
Semester, t
GPA, yt
Trend
Component, Tt
Seasonal
Component, St
GPA
Forecast, Ft
Absolute Forecasting
Error, � yt − Ft �
1 2.5 2.39 1.0811 2.58 0.08
2 2.2 2.49 0.8927 2.22 0.02
3 2.7 2.60 1.0261 2.67 0.03
4 3.0 2.70 1.0811 2.92 0.08
5 2.6 2.80 0.8927 2.50 0.10
6 3.0 2.90 1.0261 2.98 0.02
7 3.2 3.01 1.0811 3.25 0.05
8 2.7 3.11 0.8927 2.78 0.08
9 3.3 3.21 1.0261 3.29 0.01
a � yt - Ft � = 0.47
MAD = a � yt - Ft � n
= 0.47
9 = 0.052
www.freebookslides.com
826
Y o u R T u R n # 1 0 Because we have three seasons each year (Fall, Spring, Summer), we need
two dummy variables, which are defined as follows:
Dummy Variables
Semester Season GPA, yt SD1 SD2 1 Fall 2.5 0 0
2 Spring 2.2 1 0
3 Summer 2.7 0 1
4 Fall 3.0 0 0
5 Spring 2.6 1 0
6 Summer 3.0 0 1
7 Fall 3.2 0 0
8 Spring 2.7 1 0
9 Summer 3.3 0 1
The figure below shows the best subsets regression results using PHStat. The two models with the highest adjusted R 2 values have been highlighted.
Both highlighted models in the figure above have similar adjusted R 2 values (0.93). The model highlighted in yellow, however, would be preferable because it uses fewer independent variables.
The final forecasting equation is as follows:
Ft = 2.475 + 0.095t - 0.45SD1
The forecasts for the three semesters during the student’s senior year are as follows:
Fall semester 1t = 102: F10 = 2.475 + 0.0951102 - 0.45102 = 3.43 Spring semester 1t = 112: F11 = 2.475 + 0.0951112 - 0.45112 = 3.07 Summer semester 1t = 122: F12 = 2.475 + 0.0951122 - 0.45102 = 3.62 To calculate the MAD, we need to generate forecasts for the first nine
semesters (t = 1 through 9). The forecast for the first semester is as follows:
Fall semester 1t = 12: F1 = 2.475 + 0.095112 - 0.45102 = 2.57 The forecasts for the remaining semesters, along with the forecasting errors,
are shown in the following table.
Semester, t
GPA, yt
GPA Forecast,
Fy
Forecasting Error,
yt − Ft
Absolute Forecasting
Error, � yt − Ft �
1 2.5 2.57 - 0.07 0.07 2 2.2 2.22 - 0.02 0.02 3 2.7 2.76 - 0.06 0.06 4 3.0 2.86 0.14 0.14
5 2.6 2.50 0.10 0.10
6 3.0 3.05 - 0.05 0.05 7 3.0 3.14 0.06 0.06
8 2.7 2.79 - 0.09 0.09 9 3.3 3.33 - 0.03 0.03
a � yt - Ft � = 0.62 MAD = a � yt - Ft �
n =
0.62
9 = 0.069
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o :
■ Calculate payoffs for the newsvendor problem.
■ Make a decision using the decision making under uncertainty method.
■ Make a decision using the decision making under risk method.
■ Determine the expected value of perfect information.
■ Construct and evaluate a decision tree.
■ Calculate posterior probabilities using Bayes’ Theorem.
Decision Analysis C h a p t e r 1 7 M a p
17.1 Introduction to Decision Analysis | 17-2
17.2 Constructing a Decision Table | 17-3
17.3 Decision Making Under Uncertainty | 17-6
17.4 Decision Making Under Risk | 17-12
17.5 Decision Making Using Decision Trees | 17-16
17.6 Using Bayes’ Theorem to Calculate Posterior Probabilities | 17-27
17
www.freebookslides.com
17-2 C h a p t e r 17 | Decision Analysis
17.1 Introduction to Decision Analysis Mallon’s production decision is a classic scenario known as the newsboy problem. As late as the 1950s, newsboys were assigned to street corners to sell daily newspapers (extra, extra, read all about it) and each newsboy had to decide how many papers to buy to maximize his daily profits. Papers left over at the end of the day obviously had no value. The newsboy problem has since become known as the newsvendor problem to reflect the fact women are just as capable of hawking newspapers on street corners as men are.
The characteristics of the newsvendor problem are as follows:
• We need to decide how much of a product to have available for a single selling period.
• The product has a short life cycle, such as a daily newspaper or a batch of sticky buns.
• Only one order can be placed before the actual demand occurs.
• The upcoming demand for the product is uncertain.
The purpose of this chapter is to describe techniques that will provide solutions to the newsvendor problem or other types of similar problems. The newsvendor problem is a di- lemma not just for newspaper people but for many businesses:
• Grocery stores need to decide how much fresh produce to purchase from their suppliers.
• School cafeterias need to decide how many meals to prepare for the day.
• Department stores need to decide how many high-fashion dresses to purchase for the upcoming season.
• Retail stores need to decide how many boxes of cards to purchase for the holiday season.
We’ll initially solve the newsvendor problem by assuming that any leftover product has no value—that is, the day-old sticky buns get thrown in the trash. We will then solve the problem again but assume the leftover product has some minimal value—that is, the day-old sticky buns get sold at a steep discount. Is anybody getting hungry yet?
To solve these types of problems, you first need to understand the following terms:
• Alternatives are the choices available to the decision maker. The alternatives for the owners of Mallon’s are the various number of sticky buns to consider baking for a given day.
• States of nature are the future conditions that will occur regardless of any decisions made. The states of nature for Mallon’s are the various levels of demand that can occur for sticky buns.
The newsvendor problem is a dilemma about how much of a product should be produced when the product has a short life cycle, and the demand for it is uncertain.
Alternatives are choices available to the decision maker.
States of nature are the future outcomes that will occur beyond the control of the decision maker after the alternative has been chosen.
Stats in practice: how Many Sticky Buns Should Mallon’s Bake today?
Mallon’s is a family-run business in Avalon, New Jersey that bakes the world’s best sticky buns, according to my wife, Deb (who is a sticky bun connoisseur). Each business day, Mallon’s has an important decision to make: How many sticky buns to bake. This is a challenging decision because that day’s demand for buns is uncertain. Baking too many buns will result in left- over buns that have to be thrown away. Baking too few sticky buns to sell will result in less revenue and lower profits. In this chapter, we will discuss a technique that will enable Mallon’s owners to decide how many sticky buns to bake. As you can see in this photo, Deb has already helped herself to a sticky bun be- fore I could take the picture. I better grab one before the whole batch disappears!
www.freebookslides.com
C h a p t e r 17 | 17.2 Constructing a Decision Table 17-3
• Payoffs are the consequences of the alternatives chosen given the states of nature that eventually occur. For example, assume we bake 20 dozen sticky buns and the daily demand turned out to be 16 dozen. The payoff would be the profit (or loss) for that busi- ness day.
I have designed the remainder of the chapter in the following manner:
First, you’ll learn how to calculate the payoffs for combinations of alternative and states of nature. The payoffs will then be organized into a decision table, which will be the ba- sis for further analysis. For example, we can calculate the profit for a business day when 60 dozen sticky buns are baked and demand for that day is 40 dozen buns.
The next section will discuss decision making under uncertainty, which is the procedure of choice when we have no information about the probability for each state of nature. This method would assist the owners of Mallon’s to decide how many sticky buns to bake today without knowing the probability that today’s demand for sticky buns will be 20, 40, or 60 dozen for instance.
Decision making under risk is the next chapter topic and is used when we have prob- ability information for each state of nature. If Mallon’s has demand probabilities for sticky buns from past experience, we can incorporate that knowledge when deciding on the quantity to bake for that day.
Next, you will learn how to apply the decision making under risk technique using a decision tree rather than a decision table. You will discover the advantages of framing the problem with decision trees, which overcomes limitations seen with decision tables.
Finally, we’ll revisit our old friend Bayes’ Theorem from Chapter 4 to generate prob- abilities that are used in the decision tree method. Ready to get started?
17.2 Constructing a Decision Table A decision table displays all possible combinations of alternatives and states of nature asso- ciated with a problem, and the payoff that will result from each combination. The convention that I’ll use in this chapter is to place the alternatives in the rows and states of nature in the columns of the decision table.
Suppose Mallon’s sells its sticky buns for $16 a dozen, and the variable cost to bake these buns (materials and labor) is $7 a dozen. Let’s assume that the possible demand levels for the day are 20, 40, and 60 dozen buns. I’m limiting the daily demand to these three levels to simplify the explanation. Once you understand the technique, you’ll see that expanding the number of levels is a simple adjustment. Finally, I’m going to limit the alternatives (the quantity of buns to bake) to 20, 40, and 60 dozen. The fact that I’m selecting quantities that match the demand levels simplifies the analysis. However, matching the alternatives and states of nature isn’t required.
With this information, we can now begin creating our decision table, which is shown in Table 17.1.
Payoffs are the consequence of alternatives chosen given the states of nature that eventually occur.
A decision table displays all of the possible combinations of alternatives and states of nature along with their associated payoffs.
In this example, we have three alternatives corresponding to the quantity of buns that will be baked per day (20, 40, and 60 dozen).
In this example, we have three states of nature corresponding to the three levels of daily demand for buns (20, 40, and 60 dozen).
Notice that the state of nature always occurs after alternative is chosen by the decision maker.
Table 17.1 is still missing one component—the payoffs for each combination of alterna- tives and states of nature. We can find each payoff, or profit, by subtracting the variable cost of the buns from the revenue generated by them.
{ table 17.1 | Preliminary Decision Table for the Mallon’s Example
dozens demanded
alternative 20 40 60
Bake 20 dozen
Bake 40 dozen
Bake 60 dozen
www.freebookslides.com
17-4 C h a p t e r 17 | Decision Analysis
The number of buns sold on any given day will be always equal to the minimum of the number baked and the level of demand. I’ll use the following two scenarios to illustrate this concept:
If Mallon’s decides to bake 40 dozen buns today and demand for that day is 20 dozen buns, they will sell 20 dozen buns (the minimum of 20 and 40). In this case, demand controls the number sold.
If Mallon’s decides to bake 40 dozen buns today and demand for that day is 60 dozen buns, they will sell 40 dozen buns (the minimum of 40 and 60). In this case, the number of buns baked controls the number sold.
I’ll start with the highlighted row in Table 17.1 and calculate the profit associated with baking 20 dozen buns given the three possible demand levels. The orange cell corresponds to baking 20 dozen buns and 20 dozen of them being demanded by customers. Because both values are 20 for this combination, Mallon’s will sell 20 dozen that day. The daily profit for this scenario equals $180:
Baked = 20 Revenue 1Sold2 = 12021$162 = $320 Demand = 20 Cost 1Baked2 = 12021$72 = $140
Sold = 20 Profit = $180
How much profit does Mallon’s make when it bakes 20 dozen buns and the demand that day is for 40 dozen? On those days, I’m glad Deb gets there early to avoid a huge disap- pointment. This scenario is found in the green-shaded cell in Table 17.1. These calculations are as follows:
Baked = 20 Revenue 1Sold2 = 12021$162 = $320 Demand = 40 Cost 1Baked2 = 12021$72 = $140
Sold = 20 Profit = $180
Notice that the profit remains at $180 because Mallon’s had only 20 dozen buns to sell, not the 40 dozen customers wanted. The same amount of profit ($180) will result if 60 dozen are demanded and 20 dozen are baked. Once Mallon’s sells all the buns that were baked that day, profit will not be affected with higher levels of demand. Table 17.2 shows this partially completed decision table.
Let’s do one more set of calculations to be sure you have the hang of this. The yellow shaded cell in Table 17.2 corresponds to baking 40 dozen buns and then experiencing a daily demand of 20 dozen. These calculations are shown as follows:
Baked = 40 Revenue 1Sold2 = 12021$162 = $320 Demand = 20 Cost 1Baked2 = 14021$72 = $280
Sold = 20 Profit = $40
In this scenario, Mallon’s has 20 dozen buns unsold at the end of the day after selling 20 dozen during the day resulting in a profit of $40. For this example, we are assuming that leftover buns have no value. A little later in the chapter, we’ll address an example that includes leftover value. Table 17.3 shows final decision table for Mallon’s.
{ table 17.2 | Partially Completed Decision Table for the Mallon’s Example
dozens demanded
alternative 20 40 60
Bake 20 dozen $180 $180 $180
Bake 40 dozen
Bake 60 dozen
www.freebookslides.com
C h a p t e r 17 | 17.2 Constructing a Decision Table 17-5
Now that I have shown you how to construct a decision table, practice creating one by yourself by completing the following Your Turn exercise.
According to Table 17.3, if Mallon’s decides to bake 60 dozen buns, at the end of the day, the firm will experience a profit of - $100, $220, or $540, depending on which state of nature occurred that day.
17.2 Section Problems Basic Skills 17.1 Calculate the payoffs for the following decision table us-
ing the order sizes and demand levels shown. The selling price per unit is $40, and the variable cost per unit is $25. Assume there is no leftover value for unsold units.
Demand
Alternative 100 150 200
Order 100
Order 150
Order 200
17.2 Calculate the payoffs for the following decision table us- ing the order sizes and demand levels shown. The selling price per unit is $10, and the variable cost per unit is $6. Assume there is no leftover value for unsold units.
Demand
Alternative 25 50 75 100
Order 25
Order 50
Order 75
Order 100
17.3 Using the data from Problem 17.1, calculate the payoffs for the decision table assuming that any unsold units can be sold the following day at a price of $8 per unit.
17.4 Using the data from Problem 17.2, calculate the payoffs for the decision table assuming that any unsold units can be sold the following day at a price of $2 per unit.
applications 17.5 Karen’s Kayaks is a successful kayak rental company
operating in Hilton Head, South Carolina. Karen leases kayaks from a supplier at a cost of $12 per day per kayak. She rents kayaks to her customers for $30 per day. Karen needs decide whether to lease 30, 40, or 50 kayaks per day, assuming the day’s demand will occur at one of these levels. Construct a decision table for Karen.
17.6 Nick sells live Christmas trees each year beginning in late November. He needs to place an order for the Douglas fir variety in early fall from the tree farm. Nick is deciding whether to order 100, 200, or 300 trees because he expects demand to be 100, 200, or 300 trees for the season. Nick buys the trees from for $15 apiece and then sells them to his customers for $50 apiece. The cost to rent the lot that
{ table 17.3 | Final Decision Table for the Mallon’s Example
dozens demanded
alternative 20 40 60
Bake 20 dozen $180 $180 $180
Bake 40 dozen $40 $360 $360
Bake 60 dozen - $100 $220 $540
Construct a decision table for Mallon’s under the following conditions: The sticky buns are sold for $16 per dozen and the variable cost to bake these buns is $7 per dozen. Any unsold buns are sold the fol- lowing day for $4 per dozen. The demand levels are 20, 40, and 60 dozen buns and the alternatives (the quantity of buns to bake) are 20, 40, and 60 dozen.
Hint: Because Mallon’s can sell yesterday’s leftover buns for $4 per dozen, there are two possible sources of revenue each day. The following is a sample calculation for one scenario. Follow this pattern for the remaining combinations of alternatives and states of nature.
Baked = 60 Revenue 1Sold2 = 12021$162 = $320 Demand = 20 Revenue 1Leftover2 = 14021$42 = $160 Sold = 20 Cost 1Baked2 = 16021$72 = $420 Leftover = 40 Profit = $320 + $160 - $420 = $60
Y o u r t u r n # 1N
Answers can be found on u page 17-37.
www.freebookslides.com
17-6 C h a p t e r 17 | Decision Analysis
Nick is using for his business is $1,200 for the season. As- sume any leftover trees have no leftover value. Construct a decision table for Nick.
17.7 Jill is the manager at a bookstore that sells calendars featuring local photographs. She orders them from a sup- plier that charges $7 per calendar for orders received by November 1. Jill sells these calendars to her customers for $12 apiece. Any unsold calendars can be returned to the supplier in February for a credit of $2.50 apiece. Jill estimates that demand levels for the calendars will be 500,
1,000, or 1,500, and these are the order quantities she is choosing among. Construct a decision table for Jill.
17.8 Soccer Outlet sells soccer equipment to both local teams and individual customers. The company need to decide whether to order 100, 200, 300, or 400 pairs of a soccer shoe that has just come on the market. Soccer Outlet will sell these shoes for $140 per pair after buying them for $100 per pair from the manufacturer. After the current soccer season ends, Soccer Outlet will discount any remaining pairs to $50. Construct a decision table for the company.
{ table 17.4 | Payoffs for Mallon’s Using the Maximax Criterion
dozens demanded
alternative 20 40 60
Bake 20 dozen $180 $180 $180
Bake 40 dozen $40 $360 $360
Bake 60 dozen - $100 $220 $540
Decision making under uncertainty is used when you do not have any information about the probability of the various states of nature occurring.
The maximax criterion is the alternative associated with the highest payoff in the decision table.
Using the maximin criterion you identify the worst payoff for each alternative and then choose the alternative that is the “best of the worst.”
The proper conclusion is to state, “Mallon’s should bake 60 dozen buns” rather than “Mallon’s should bake 60 dozen buns with a demand of 60 dozen buns.” The latter statement is incorrect because states of nature (demand) can never be selected by the decision maker.
17.3 Decision Making Under Uncertainty
Now that we have constructed the decision table for Mallon’s bakery in the previous sec- tion, we are now ready to explore a variety of methods to help the owners decide how many buns to bake on a given day. The first technique that we will look at is known as decision making under uncertainty, which is used when you do not have any information about the probability of the various states of nature occurring. Under these conditions, the following approaches can be used.
the Maximax Criterion Using the maximax criterion, you simply find the highest payoff in the decision table and se- lect the corresponding alternative. Table 17.4 demonstrates this decision-making technique.
Using the maximax criterion, Mallon’s should choose to bake 60 dozen buns for the day. This choice provides the opportunity to make the maximum profit in the decision table ($540). The maximax criterion is the most optimistic method as well as the one with the highest level of risk. Baking 60 dozen buns can result in the highest profit ($540) but can also result in the highest loss 1- $1002.
the Maximin Criterion Using the maximin criterion, you identify the worst payoff for each alternative and then choose the alternative that is the “best of the worst.” Table 17.5 demonstrates this decision- making technique.
www.freebookslides.com
C h a p t e r 17 | 17.3 Decision Making Under Uncertainty 17-7
Using the maximin criterion, Mallon’s should choose to bake 20 dozen buns for the day be- cause this alternative will result in the largest payoff in the “Worst” column in Table 17.5 ($180). The maximin criterion is described as the most pessimistic method, but the one with the lowest level of risk. In this example, baking 20 dozen buns ensures Mallon’s that the worst the daily profit will be is $180.
the equally Likely Criterion Using the equally likely criterion, you choose the alternative with the highest average payoff across all states of nature. This technique assumes that the likelihood of each state of nature occurring is the same. The calculations are as follows:
Bake 20 dozen: $180 + $180 + $180
3 =
540
3 = $180
Bake 40 dozen: $40 + $360 + $360
3 =
760
3 = $253.33
Bake 60 dozen: - $100 + $220 + $540
3 =
660
3 = $220
Table 17.6 summarizes the results using the equally likely criterion.
{ table 17.6 | Payoffs for Mallon’s Using the Equally Likely Criterion
dozens demanded
alternative 20 40 60 average payoff
Bake 20 dozen $180 $180 $180 $180
Bake 40 dozen $40 $360 $360 $253.33
Bake 60 dozen - $100 $220 $540 $220
Using the equally likely criterion, you choose the alternative with the highest average payoff across all states of nature.
The goal of the minimax regret criterion is to minimize the decision maker’s regret of making a wrong choice.
If Mallon’s chooses to bake 40 dozen buns, its long-term average daily profit will be $253.33, assuming each state of nature has the same likelihood of occurring.
{ table 17.5 | Payoffs for Mallon’s Using the Maximin Criterion
dozens demanded
alternative 20 40 60 worst payoff
Bake 20 dozen $180 $180 $180 $180
Bake 40 dozen $40 $360 $360 $40
Bake 60 dozen - $100 $220 $540 - $100
If Mallon’s chooses to bake 40 dozen buns, the worst profit it will experience is $40.
Using the equally likely criterion, Mallon’s should choose to bake 40 dozen buns for the day because this alternative provides the highest average payoff in Table 17.6 ($253.33), if all of the states of nature are equally likely to occur. The level of risk associated with the equally likely criterion lies somewhere between the risks associated with the maximax and maximin approaches.
the Minimax regret Criterion You should use the minimax regret criterion if your goal is to minimize the amount of regret you would experience (in monetary terms) if a wrong choice is made. Think about a time when you made a decision only to regret your choice later. (For me, it was eating that last sticky bun.) The goal of minimax regret is to choose an alternative that minimizes that feel- ing of regret.
We’ll need two tables to describe this approach. First, we will identify the best payoff for each state of nature. These payoffs are highlighted in Table 17.7.
www.freebookslides.com
17-8 C h a p t e r 17 | Decision Analysis
Second, we subtract the actual payoffs in each column from the best payoff in that col- umn. The difference is the regret the owners of Mallon’s would feel by making the wrong choice. For example, if day’s demand for buns were 20 dozen and Mallon’s had baked 40 dozen, the firm would have made a profit of $40. Had the firm only baked 20 dozen (the best alternative for a demand of 20 dozen), it would have earned $180 in profit. The differ- ence between $180 and $40 represents the regret from making too many buns ($140). Table 17.8 displays each of these calculations.
If a demand of 40 dozen buns is experienced today, the best possible profit is $360.
{ table 17.7 | Preliminary Payoffs for Mallon’s Using the Minimax Regret Criterion
dozens demanded
alternative 20 40 60
Bake 20 dozen $180 $180 $180
Bake 40 dozen $40 $360 $360
Bake 60 dozen - $100 $220 $540
{ table 17.8 | Final Payoffs for Mallon’s Using the Minimax Regret Criterion
dozens demanded
alternative 20 40 60 maximum regret payoff
Bake 20 dozen $180 - $180 = $0 $360 - $180 = $180 $540 - $180 = $360 $360
Bake 40 dozen $180 - $40 = $140 $360 - $360 = $0 $540 - $360 = $180 $180
Bake 60 dozen $180 - 1 - $1002 = $280 $360 - $220 = $140 $540 - $540 = $0 $280
Third, we identify the maximum regret for each alternative, which is shown in the last column in Table 17.8. For example, Mallon’s decides to bake 20 dozen buns, its regret will be $0, $180, or $360, depending on the eventual demand level. The maximum regret for this alternative is therefore $360. We do the same for the other two alternatives.
Finally, I choose the alternative with the smallest maximum regret, which is highlighted in Table 17.8. If Mallon’s chooses to bake 40 dozen buns, the maximum regret it will experience is $180. This regret represents the smallest maximum regret for all of the alternatives. Therefore, if Mallon’s uses the minimax regret criterion, it will bake 40 dozen buns for the day.
the hurwicz Criterion Our last but not the least decision-making approach using decision making under uncertainty is the Hurwicz criterion, which allows the decision maker to choose the level of risk he or she wants to assume. On the risk scale, the maximax criterion lies on one side (high risk), and the maximin criterion lies on the other (low risk). The Hurwicz approach uses a parameter, a, which is known as the index of optimism to choose a level of risk as shown in Equation 17.1. This sounds like a very happy parameter.
The Hurwicz criterion allows the decision maker to choose the level of risk he or she want to assume by choosing a, the index of optimism.
Our first step is to choose a value for a between 0 and 1. If the decision maker is very optimistic about the future state of nature, he or she will be inclined to make a more risky deci- sion. The higher the value for a, the more risky the final decision. When a = 1, the Hurwicz criterion matches the results of the maximax choice. If the decision maker is very pessimistic about the future state of nature, he or she will be inclined to make a less risky decision. When a = 0, the Hurwicz criterion matches the results of the maximin choice.
Formula 17.1 for the hurwicz criterion
Hurwicz Criterion = a1Maximum value2 + 11 - a21Minimum value2
www.freebookslides.com
C h a p t e r 17 | 17.3 Decision Making Under Uncertainty 17-9
Suppose the owners of Mallon’s are comfortable taking on a fair amount of risk with their decision, and therefore, choose a = 0.7 for the Hurwicz criterion. This value of alpha will provide them with the opportunity for a greater profit but will also expose them to the possibility of a larger loss. This value of a would be a good choice for decision makers who feel confident that a disappointing state of nature will not have serious consequences to the financial health of the organization.
For each alternative, we select the highest and lowest payoffs from the decision table shown in Table 17.3. These day’s profits are shown in Table 17.9.
The parameter a used in the index of optimism is not to be confused by the level of significance used in hypothesis testing or the exponential smoothing factor used in forecasting. The variable a is a very popular Greek letter in the field of statistics, which unfortunately can lead to confusion!
{ table 17.9 | Payoffs for Mallon’s Using the Hurwicz Criterion
day’s profit
alternative highest lowest
Bake 20 dozen $180 $180
Bake 40 dozen $360 $40
Bake 60 dozen $540 - $100
Using Equation 17.1, we multiply the highest payoff times a and the lowest payoff times 1 - a. These two results are then added together for each alternative. These calcula- tions are as follows:
Bake 20 dozen: 10.721$1802 + 11 - 0.721$1802 = $180 Bake 40 dozen: 10.721$3602 + 11 - 0.721$402 = $264 Bake 60 dozen: 10.721$5402 + 11 - 0.721 - $1002 = $348
We then choose alternative with the highest profit, which is to bake 60 dozen buns. As you can see, when a is closer to 1, more weight is placed on the highest payoff,
resulting in a decision that is more optimistic about the future. When a is closer to 0, more weight is placed on the lowest payoff, resulting in a decision that is less optimistic about the future. The benefit of the Hurwicz criterion is that, it allows the user to choose a more pre- cise level of risk with the value of a when compared to the maximax, maximin, and equally likely criterion.
That wraps up all of the ways we can make decisions under uncertainty when we have no information about the likelihood of the states of nature occurring. Table 17.10 summa- rizes our findings.
A great question my students often ask is how you choose a criterion. Notice that the alternative Mallon’s would choose varies depending upon what its criterion is. Risk is often the basis for decision making in the business world. If the economy was strong, sales were great, and the owners of Mallon’s had a lot of cash in the bank, the company might choose
{ table 17.10 | Decision Making Under Uncertainty for the Mallon’s Example
criterion decision objective
Maximax Bake 60 dozen Most risky decision
Maximin Bake 20 dozen Least risky decision
Equally likely Bake 40 dozen Level of risk that is between maximax and maximin
Minimax regret Bake 40 dozen Minimizes the level of regret if the wrong decision is made
Hurwicz Bake 60 dozen Allows user to decide a more precise level of risk
www.freebookslides.com
17-10 C h a p t e r 17 | Decision Analysis
the maximax criterion. If the economy was weakening, sales were dropping off, and money was tight for Mallon’s, the company would probably choose a less risky criterion. Baking 60 dozen buns every day in this situation might not be such a good idea.
We’ve covered a lot of material in this section, so this is a great time to test your skills by working out the next Your Turn problem.
Using the decision table from Your Turn #1, choose the best number of sticky buns to bake using the fol- lowing criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.4 Also, compare these answers using a leftover value for day-old buns with the answers from the chapter without a leftover value and comment on the differences.
Y o u r t u r n # 2N
Answers can be found on u pages 17-37 to 17-38.
17.3 Section Problems Basic Skills 17.9 Consider the following payoff table:
Demand Level
Alternative 1 2 3
A $500 $800 $1,200
B $200 $900 $1,700
C - $600 $700 $2,300
Choose the best alternative using the following criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.6
17.10 Consider the following payoff table:
Demand Level
Alternative 1 2 3
A $180 $90 $210
B - $200 $0 $300 C $350 $120 $80
Choose the best alternative using the following criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.4
17.11 Consider the following payoff table:
Demand Level
Alternative 1 2 3 4
A $500 $500 $500 $500
B - $300 $1,000 $1,000 $1,000 C - $1,100 $200 $1,500 $1,500 D - $1,900 - $600 $700 $2,000
Choose the best alternative using the following criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.7
applications 17.12 Women’s Sports Specialty sells a variety of fitness apparel
for women and needs to place an order of Speedo swim- suits for the upcoming summer season. The order volumes being considered are large and small, and the demand levels for the swim season for this particular brand can be strong, moderate, or weak. The following decision table shows the payoffs for all combinations of order sizes and demand levels.
Demand
Alternative Strong Moderate Weak
Large order $10,000 $2,000 - $8,000 Small order $6,000 $1,000 - $2,000
www.freebookslides.com
C h a p t e r 17 | 17.3 Decision Making Under Uncertainty 17-11
Choose the best order size of Speedo swimsuits using the following criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.2
17.13 G&R Publishing is publishing a new cookbook, which they feel will set it apart from the current competition. The publisher needs to select one version of the cookbook from the following list of alternatives:
Version 1: This book will be approximately 500 pages in length, printed in four colors, and have a hardback cover.
Version 2: This book will be approximately 350 pages in length, printed in two colors, and have a softback cover.
Version 3: This book will be approximately 200 pages in length, printed in grayscale (no color) and have a softback cover.
Once the book is printed, the demand for it will be either strong or weak and the payoffs will be as follows:
Demand
Alternative Strong Weak
Version 1 $400,000 - $200,000 Version 2 $250,000 - $100,000 Version 3 $100,000 $50,000
Choose the best version of the cookbook to publish using the following criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.5
17.14 Decision tables are not just based on profits or losses. Suppose you are planning your wedding day and you are trying to decide whether to have your reception indoors, outdoors, or outdoors under a tent. The weather that day can either be sunny, cloudy, or rainy. The following deci- sion table represents on a scale of 1–10 your level of satis- faction for each location and state of nature.
Weather
Location Sunny Cloudy Rainy
Indoor 4 5 6
Outdoor 10 6 1
Tent 8 5 3
Choose the best location for your wedding using the fol- lowing criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.8
17.15 Each week, Jim places an order for bananas to be deliv- ered at Zingos grocery store at a cost of $0.30 per pound. Zingos sell these bananas for $0.70 per pound. Any un- sold bananas at the end of the week are donated to a local charity. Jim needs to decide between ordering 200, 500, or 800 pounds of bananas for the week. Assume the weekly demand for bananas will be 200, 500, or 800 pounds.
a. Construct a decision table including the payoffs for each combination of order quantity and demand.
b. Use the maximax criterion to decide how many pounds of bananas Jim should order.
c. Use the maximin criterion to decide how many pounds of bananas Jim should order.
d. Use the equally likely criterion to decide how many pounds of bananas Jim should order.
e. Use the minimax regret criterion to decide how many pounds of bananas Jim should order.
f. Use the Hurwicz criterion using a = 0.3 to decide how many pounds of bananas Jim should order.
17.16 Tees R Us is a company that prints T-shirts for upcoming major sports events and sells them on their website. The next event on the company’s schedule is the Men’s NCAA Basketball Championship game. A printed T-shirt sells for $16 and costs Tees R Us $10 to produce. After the game, all unsold T-shirts can be sold for $5 each. Tees R Us needs to decide whether to print 1,000, 2,000, 3,000, or 4,000 of the shirts prior to the game with the expecta- tion that demand for the shirts will be one of these four quantities:
a. Construct a decision table for Tees R Us. b. Use the maximax criterion to decide how many shirts
the company should print. c. Use the maximin criterion to decide how many shirts
the company should print. d. Use the equally likely criterion to decide how many
shirts the company should print. e. Use the minimax regret criterion to decide how many
shirts the company should print. f. Use the Hurwicz criterion using a = 0.6 to decide
how many shirts the company should print.
www.freebookslides.com
17-12 C h a p t e r 17 | Decision Analysis
17.4 Decision Making Under Risk In the previous section, you learned how to make a decision when the probabilities of the states of nature occurring were unknown. You are now going to learn how to make a decision where you do have this probability information. To do so, you will use a technique known as decision making under risk.
To demonstrate the decision making under risk technique, consider the following example. The women’s retail clothing market is defined by very distinct, short selling sea- sons throughout the year, perhaps because women are more attuned to clothing trends than men. (Personally, I don’t care what season it is. I tend to wear my favorite worn-out pair of sweatpants and sweatshirt much of the time, especially when I’m writing. I call this my “writing attire.” I am not a pretty sight at the moment, but I sure am comfortable.) Christine is a buyer for Gimbals department store and her job is to decide how many Nicole Miller dresses to purchase for the upcoming fall season. Ordering too few dresses will result in lost sales, whereas ordering too many dresses will result in the store having to deep discount any unsold dresses at the end of the season. Christine needs to place her order well before the fall season begins, and she will not have the opportunity to reorder additional dresses at a later time.
To simplify this problem, let’s assume that Christine has three order quantities to choose from, which we will cleverly call large, medium, and small. During the fall selling season, the demand for Nicole Miller dresses will be either strong or weak. Using her expertise from past seasons, Christine has estimated that the probability of strong demand occurring dur- ing this season is 60%, and the probability of weak demand occurring is 40%. Other factors, such as industry standards, the current economy, or the behavior of competitors can play a role in establishing these probabilities.
Table 17.11 shows the expected profits during the fall season for each combination of alternatives and states of nature along with the demand probabilities in a decision table.
The expected monetary value (EMV ) is the average of the payoffs associated with a particular alternative weighted with the probabilities for each state of nature.
Decision making under risk is a decision- making technique that relies on probability information about the states of nature occurring.
I hope that you can see that this is the classic newsvendor problem we discussed earlier in the chapter.
According to Table 17.11, if Christine places a large order of Nicole Miller dresses and the demand is strong, the expected profit during the fall season will be $200,000.
The probabilities for the states of nature in decision making under certainty must sum to 1.
{ table 17.11 | Decision Table for Gimbals
demand
order size strong weak
Large $200,000 - $100,000
Medium $125,000 - $50,000
Small $60,000 $30,000
Probability 0.60 0.40
Decision making under risk requires us to calculate the expected monetary value (EMV), which was introduced in Chapter 5. Recall that the EMV is the average of the payoffs of a particular alternative weighted by the probability associated with each state of nature occur- ring. The EMV is found using Equation 17.2.
Formula 17.2 for the Expected Monetary Value (EMV)
EMV = a n
i = 1 xiP1xi2
where
EMV = the expected monetary value xi = the payoff of the ith state of nature
P1xi2 = the probability of the ith state of nature n = the number of states of nature
www.freebookslides.com
C h a p t e r 17 | 17.4 Decision Making Under Risk 17-13
The EMV for each alternative is calculated as follows:
Large: EMVLarge = 1$200,000210.62 + 1 - $100,000210.42 = $80,000 Medium: EMVMedium = 1$125,000210.62 + 1 - $50,000210.42 = $55,000 Small: EMVSmall = 1$60,000210.62 + 1$30,000210.42 = $48,000
Because our payoffs in Table 17.11 are profits, we select the alternative with the high- est EMV, which in this case is to order a large quantity of dresses. Doing so will result in an expected monetary value of $80,000. Let’s call this expected monetary value the expected value under risk (EVUR ).
A question that I enjoy asking my students is this: “Because Table 17.11 shows that there are only two potential outcomes when Christine places a large order 1$200,000 or - $100,0002, what does the $80,000 represent? The answer that I’m looking for (and some- times get) is that $80,000 represents the long-term average payoff of choosing a large order size over and over again. Under this scenario, the strong market will occur roughly 60% of the time and the weak market will occur the remaining 40%. Although this is a one-time decision for Christine, the best the EMV can do for us is to provide a long-term average profit if we repeated this decision many times.
the expected Value of perfect Information (EVPI ) Once we have chosen our alternative using decision making under risk, we can address an- other issue. The expected value of perfect information (EVPI ) provides us with an upper limit for how much we should pay for additional information to improve our decision. To find the EVPI, we first need to calculate the expected value under certainty (EVUC ), which is the ex- pected payoff if we have prior knowledge about which state of nature will occur. Table 17.12 shows how to find this value.
The expected value under risk (EVUR) is the expected monetary value that corresponds to the best alternative when making a decision under risk.
The expected value of perfect information (EVPI) provides us with an upper limit for how much we should pay for additional information to improve our decision.
The expected value under certainty (EVUC) represents the expected payoff we will realize if we have prior knowledge about which state of nature will occur. { table 17.12 | The Expected Value Under Certainty
(EVUC) for Gimbals
demand
order size strong weak
Large $200,000 - $100,000
Medium $125,000 - $50,000
Small $60,000 $30,000
Probability 0.60 0.40
Look at Table 17.12. If Christine knows that the demand for Nicole Miller dresses will be strong, she will place a large order because it represents the best payoff in the strong col- umn (highlighted in yellow). If Christine knows that the demand for Nicole Miller dresses will be weak, she will place a small order because it represents the best payoff in the weak column (highlighted in orange). Because the probabilities for a strong market and a weak market are 60% and 40% respectively, the expected value under certainty is:
EVUC = 1$200,000210.602 + 1$30,000210.402 = $132,000 The EVUC represents the average long-term profit if Christine knows which state of nature will occur with certainty. We use this value along with Equation 17.3 to find the expected value of perfect information.
Formula 17.3 for the Expected Value of Perfect Information (EVPI)
EVPI = EVUC - EVUR
www.freebookslides.com
17-14 C h a p t e r 17 | Decision Analysis
For the Gimbals department store example,
EVPI = $132,000 - $80,000 = $52,000
I’m sure you’re wondering what $52,000 actually means. It is the most Christine should pay to acquire perfect information—that is, to know for sure which state of nature will oc- cur. Perhaps, for example, she could commission a market research study that would give her this type of information. Recall that because Christine is uncertain about the demand level that will occur, she will most likely place a large order for Nicole Miller dresses us- ing the decision making under risk technique shown in Equation 17.2. Sometimes the result will be a profit of $200,000 (when demand is strong), whereas other times the result will be a loss of $100,000. The long-term average payoff for placing a large order will be $80,000 (the EVUR).
Now, if Christine had certain information about which demand level for Nicole Miller dresses would occur, she would experience some payoffs of $200,000 (when she knew that demand would be strong) and some payoffs of $30,000 (when she knew that demand would be weak). In the long run, these two payoffs would average to $132,000 (the EPUC).
How much will Christine be willing to pay for this perfect information? Without perfect information, she expects profits of $80,000. With perfect information, that number increases to $132,000. So, the most she should be willing to pay to acquire this perfect information is the difference between the two, or $52,000 (the EVPI from Equation 17.3).
Now granted, perfect information is not usually available to decision makers, such as Christine. However, the EVPI provides an upper limit to how much Christine should pay for any additional information about future demand levels. So, for example, if Christine were to entertain the thought of acquiring additional information about demand levels—say, perhaps by having a market research study done, she should do it if it cost less than $52,000. Later in this chapter, I will demonstrate a useful technique to decide if the benefits of a market study outweigh the costs.
Expected value calculations are long-term results that occur as the result of making a decision over and over again even though in reality, the decision might be made only once.
With Valentine’s Day rapidly approaching, Pike Creek Florists needs to decide how many roses to have available for customers who are smart enough to remember Valentine’s Day. Pat, the manager, must choose between ordering a large, medium, or a small quantity of roses. Relative to previous years, the demand for roses on Valentine’s Day will be either strong or moderate this year. The payoff table show- ing profits and demand probabilities is as follows:
Demand
Order Size Strong Moderate
Large $14,000 - $7,000 Medium $10,000 - $2,000 Small $4,000 $0
Probability 0.45 0.55
Using decision making under risk
a. Determine which order size Pat should place. b. What is the most that Pat should pay for additional information about the demand for roses?
Y o u r t u r n # 3N
Answers can be found on u page 17-38.
Christine should not have a market research study conducted if it costs more than $52,000.
www.freebookslides.com
C h a p t e r 17 | 17.4 Decision Making Under Risk 17-15
17.4 Section Problems Basic Skills 17.17 Consider the following payoff table and probabilities for
the states of nature:
Demand Level
Alternative 1 2 3
A $400 $900 $1,500
B $200 $1,100 $1,800
C - $900 $1,200 $2,700 Probability 0.30 0.25 0.45
a. Choose the best alternative using decision making under risk.
b. What is the expected value of perfect information?
17.18 Consider the following payoff table and probabilities for the states of nature:
Demand Level
Alternative 1 2 3 4
A $450 $600 $600 $700
B $100 $900 $1,400 $1,400
C - $1,400 - $200 $2,000 $2,500 Probability 0.20 0.15 0.30 0.35
a. Choose the best alternative using decision making un- der risk.
b. What is the expected value of perfect information?
17.19 Consider the following payoff table and probabilities for the states of nature:
Demand Level
Alternative 1 2 3 4
A $700 $700 $700 $700
B - $200 $1,400 $1,400 $1,400 C - $1,100 $500 $2,100 $2,100 D - $2,000 - $400 $1,200 $2,800 Probability 0.15 0.40 0.15 0.30
a. Choose the best alternative using decision making un- der risk.
b. What is the expected value of perfect information?
applications 17.20 APC Industries has been growing and having difficulty
meeting the demand for its products recently. So, the firm is considering three options to address this issue: It can move to a larger facility, add a second shift, or hire a sub- contractor to produce the company’s products. The annual payoff of each option depends if the demand continues to expand, holds steady, or declines. The expected payoff for each combination is shown in the following table:
Demand
Alternative Expands Holds Steady Declines
Move to a larger facility
$350,000 $130,000 - $90,000
Add a second shift
$275,000 $90,000 - $40,000
Subcontract $190,000 $20,000 - $20,000 Probability 0.35 0.40 0.25
a. Choose the best option for APC Industries using deci- sion making under risk.
b. What is the most that APC Industries would be willing to pay for additional information?
17.21 Health Care Associates builds and manages office com- plexes for medical practices. The company is considering building a one, two, or three-story complex. The annual payoffs will depend on the occupancy rate of the complex as shown in the following decision table. The payoffs are also shown (in millions of dollars) along with the probabilities.
Occupancy Rate
Option
Less than 25%
Between 25%–50%
Between 50%–75%
More than 75%
One-story complex
- $1.2 $0.4 $1.1 $3.3
Two-story complex
- $4.1 - $3.0 $1.9 $4.1
Three-story complex
- $5.8 - $4.8 $3.7 $6.5
Probability 0.15 0.20 0.42 0.23
a. Choose the best office complex to build using decision making under risk.
b. What is the most that Health Care Associates should pay for additional information?
17.22 During the fall of 1972, I was an ambitious college stu- dent who was in the market to purchase a snow plow to earn some extra money. My first option was to purchase a 1964 International Scout with a manual snow plow. With this setup, I had to physically maneuver the snow plow in order to angle it to the left or right. My second option was to purchase a 1968 Ford truck with a hydraulic snow plow. This setup will allow me to maneuver all of the snow plow controls from inside the cab of the truck. The Ford option is more expensive but will allow me to plow snow faster. The payoffs depend on the number of inches of snow during the winter and are displayed in the follow- ing decision table along with the probabilities.
www.freebookslides.com
17-16 C h a p t e r 17 | Decision Analysis
Snowfall, inches
Option Less than
10 Between
10–20 Between
20–30 More
than 30
1964 International Scout
- $5,000 $1,000 $2,000 $4,000
1968 Ford truck - $15,000 - $3,000 $2,000 $10,000 Probability 0.18 0.26 0.34 0.22
a. Choose the best vehicle to purchase using decision making under risk.
b. What is the most that I would be willing to pay for ad- ditional information?
17.23 The business school at Tidewater College needs to replace its copier. The dean is considering three different Canon models—the 100, 200, and 300 series. The 100 series copier is the least expensive model but will have higher maintenance costs than the other models if it’s used heav- ily. The 300 series model is the most expensive model and will have lower maintenance costs than the other models with heavy usage. The 200 series model has maintenance costs that lie between the other two models. The payoffs will depend on the number of copies made with the mod- els and are shown in the following decision table along with the probabilities. A negative payoff represents a cost.
Copier’s Usage
Copier Low Moderate High
100 Series - $40,000 - $50,000 - $65,000 200 Series - $50,000 - $40,000 - $55,000 300 Series - $75,000 - $60,000 - $45,000 Probability 0.24 0.36 0.40
a. Which copier should Tidewater College purchase using decision making under risk?
b. What is the most that Tidewater College should pay for additional information?
17.24 Jill is the manager at Costco’s bakery. She needs to decide how many birthday cakes to bake each day. Her choices are to bake 10, 20, or 30 cakes today. Each cake sells for $16 and costs $6 to make. A day-old cake can be sold at a reduced price of $4. Assume the daily demand for birth- day cakes is 10, 20, or 30 and that the demand probabili- ties are 25%, 40% and 35% respectively.
a. Using decision making under risk, recommend the number of birthday cakes Jill should bake today.
b. What is the most that Jill should pay per day for addi- tional information?
17.5 Decision Making Using Decision Trees
In the previous section, I demonstrated the decision making under risk technique using de- cision tables. In this section, I’ll show you how the same technique can be applied using a decision tree. Decision trees have two main components: squares, which are used to denote alternatives, and circles, which denote the states of nature.
alternative
state of nature
Let’s return to the Gimbals department store example to see how decision trees can be used. Figure 17.1 displays the information that was provided in the previous section.
A decision tree is a tree-shaped diagram that shows the alternatives, states of nature, probabilities, and payoffs for making decisions under risk.
The lowest “branch” of the tree in Figure 17.1 represents the scenario where Christine places a small order of Nicole Miller dresses and the demand is weak, resulting in an expected profit of $30,000.
{ figure 17.1 Initial Decision Tree for Gimbals
Department Store
Large
Medium
Small
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
Strong 0.60
Strong 0.60
Strong 0.60
Weak 0.40
Weak 0.40
Weak 0.40
www.freebookslides.com
C h a p t e r 17 | 17.5 Decision Making Using Decision Trees 17-17
The red box on Figure 17.1 shows Christine’s alternatives—to place a small, medium, or large order. Once her choice is made, demand will be strong (60% probability) or weak (40% probability). These states of nature are shown with the green circles. The probabilities for each state of nature and the corresponding payoffs are also displayed in the decision tree.
Once our decision tree is constructed, we’re now ready to evaluate the alternatives, which are shown in Figure 17.2.
Remember, the alternatives are designated by red boxes, and are what the decision maker chooses. The states of nature are designated by green circles and occur beyond the control of the decision maker, and therefore, cannot be chosen.
We construct decision trees in a left-to-right direction and then evaluate the various branches in a right-to-left direction.
{ figure 17.2 Final Decision Tree for Gimbals
Department Store
Large
Medium
Small
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
2
3
Strong 0.60
Strong 0.60
Strong 0.60
Weak 0.40
Weak 0.40
Weak 0.40
$80,000
$55,000
$48,000
$80,000
1
As you can see in Figure 17.2, I’ve numbered the three states of nature (arbitrarily) to help with the upcoming calculation. We start by calculating the expected monetary value (EMV) for each state of nature on the right side of the tree.
Large: EMV1 = 1$200,000210.62 + 1 - $100,000210.42 = $80,000 Medium: EMV2 = 1$125,000210.62 + 1 - $50,000210.42 = $55,000
Small: EMV3 = 1$60,000210.62 + 1$30,000210.42 = $48,000 If this seems like déjà vu, it’s because we performed these same calculations in the
previous section when we were using decision tables (more on this later). Notice that each expected monetary value is displayed over the corresponding state of nature.
As we continue to move to the left in our tree, we come to the red box indicating Christine’s three alternatives. She likes the $80,000 profit the most, so we “prune” the branches for the me- dium and small orders with double lines, which indicate those alternatives are eliminated. The finishing touch is to display the $80,000 profit over the red box.
using Decision trees to Make Sequential Decisions At this point, you may be wondering what benefit a decision tree provides because it dupli- cates the result you get when using decision tables. There are many examples in the business world that involve sequential decisions. That is, the decision maker selects a choice, and after the ensuing state of nature occurs, he or she is faced with another set of alternatives to choose from. This is where decision trees come in handy. For example, suppose Christine can hire a firm to conduct a market research survey at a cost of $10,000. The survey will provide additional information about the demand for Nicole Miller dresses during the fall season. Christine can use a decision tree to choose one of the following options:
• If the benefits of the survey do exceed the $10,000 cost, Christine should conduct the survey and use this additional information to decide on the size of the order.
• If the benefits of the survey do not exceed the $10,000 cost, Christine should decline the offer to conduct the survey and use current information to decide on the size of the order.
Figure 17.3 shows the first set of alternatives that Christine is faced with in the decision tree—whether or not to conduct the survey.
www.freebookslides.com
17-18 C h a p t e r 17 | Decision Analysis
Figure 17.4 shows the states of nature that will occur if a survey is conducted.
{ figure 17.3 Constructing a Decision Tree
for Gimbals (Step 1)
Conduct Survey
No Survey
{ figure 17.4 Constructing a Decision Tree for
Gimbals (Step 2)
Strong
Weak
Survey
Survey
0.50
0.50
Conduct Survey
No Survey
www.freebookslides.com
C h a p t e r 17 | 17.5 Decision Making Using Decision Trees 17-19
Figure 17.4 shows that if the market survey is conducted, one of two states of nature will occur. The survey will predict that the demand for Nicole Miller dresses will be either strong or weak. Let’s define these events as follows:
SSR = survey results predict strong demand WSR = survey results predict weak demand
Because decision trees rely on decision making under risk, we need to assign probabilities for each state of nature. As you can see in Figure 17.4, Christine assigns a 50% probability, which the survey will show that the demand for the dresses will be strong and a 50% probability, which the survey will show the demand will be weak. These probabilities can be expressed as follows:
P1SSR2 = 0.50 P1WSR2 = 0.50
In the next section, I will show you how to calculate P(SSR) and P(WSR). In the mean- time, let’s just assume these values are given to us.
Figure 17.5 shows the next section of the decision tree if the market survey is con- ducted. Assume for a moment that the survey predicts strong demand. As we can see from the red box in the top branch of this figure, Christine will then be faced with the decision to place a large, medium, or small order for dresses.
{ figure 17.5 Constructing a Decision Tree for
Gimbals (Step 3)
Large
Medium
Small
Strong
Weak
$200,000
Survey
Survey
–$100,000
$125,000
–$50,000
$60,000
$30,000
Strong 0.84
Strong 0.84
Strong 0.84
Weak 0.16
Weak 0.16
Weak 0.16
0.50
0.50
Conduct Survey
No Survey
The sum of the probabilities for the states of nature must sum to 1.
www.freebookslides.com
17-20 C h a p t e r 17 | Decision Analysis
Notice in Figure 17.5 that, after Christine decides on an order size, one of two pos- sible states of nature will occur. For this example, we will assume there is an 84% proba- bility that the demand for dresses will be strong, and 16% probability that demand will be weak. I will demonstrate how these probabilities are determined in the following section. We expect the probability of strong demand to be much higher than weak demand here because this portion of the decision tree assumes our market survey predicts that demand will be strong. (Otherwise, we need to fire our marketing research firm!) That is, given that a strong survey response has occurred, there is an 84% probability of experiencing a strong demand, and a 16% probability of experiencing a weak demand. Let’s define the following events:
SD = strong demand for dresses occurs WD = weak demand for dresses occurs
The previous paragraph has defined the following conditional probabilities which were shown in Figure 17.5:
P1SD � SSR2 = 0.84 P1WD � SSR2 = 0.16
These two conditional probabilities are also known as posterior probabilities because they are based on the additional information from the market survey predicting strong demand.
Also, note that the payoffs for each combination of order size and market de- mand are shown in Figure 17.5. These are the same payoffs at the beginning of this example.
What happens if the market survey is conducted and it predicts weak demand for dresses? Figure 17.6 updates our decision tree and includes this scenario.
If the survey predicts a weak demand, Christine still has to choose among the same three order sizes and is then faced with the same two states of nature and corresponding payoffs. The only difference in this section of the tree is that because the survey is predicting weak demand, the probability of weak demand (64%) exceeds that of strong demand (36%) in Figure 17.6:
P1SD � WSR2 = 0.36 P1WD � WSR2 = 0.64
Again, for the time being, we are assuming these posterior probabilities are given but will be calculated later.
www.freebookslides.com
C h a p t e r 17 | 17.5 Decision Making Using Decision Trees 17-21
Recall that Christine doesn’t have to spend $10,000 to conduct the survey. This section of the decision tree is added in Figure 17.7.
This part of the decision tree should look familiar. We constructed it back in Figure 17.1. Notice that the probabilities for demand revert back to the original values:
P1SD2 = 0.60 P1WD2 = 0.40
These are known as prior probabilities because Christine does not have the luxury of re- lying additional information from the survey. As you will see in the next section, these prior probabilities can be revised with additional information to produce posterior probabilities.
Figure 17.7 displays our fully constructed decision tree for Christine. We are now ready to evaluate this tree to decide what Christine should do. Let’s start by determining the most
{ figure 17.6 Constructing a Decision Tree for
Gimbals (Step 4)
Large
Large
Medium
Small
Medium
Small
Strong
Weak
$200,000
Survey
Survey
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
Strong 0.84
Strong 0.84
Strong 0.84
Strong 0.36
Strong 0.36
Strong 0.36
Weak 0.64
Weak 0.64
Weak 0.64
Weak 0.16
Weak 0.16
Weak 0.16
0.50
0.50
No Survey
Conduct Survey
Posterior probabilities are a revision of prior probabilities using additional information, such as the results of a market survey. These probabilities were introduced in Chapter 4.
www.freebookslides.com
17-22 C h a p t e r 17 | Decision Analysis
{ figure 17.7 Constructing a Decision Tree for
Gimbals (Step 5)
Large
Large
Large
Medium
Small
Medium
Small
Medium
Small
Strong
Weak
$200,000
Survey
Survey
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
Strong 0.84
Strong 0.84
Strong 0.84
Strong 0.36
Strong 0.36
Strong 0.36
Strong 0.60
Strong 0.60
Strong 0.60
Weak 0.40
Weak 0.40
Weak 0.40
Weak 0.64
Weak 0.64
Weak 0.64
Weak 0.16
Weak 0.16
Weak 0.16
0.50
0.50
Conduct Survey
No Survey
profitable alternative if the market survey predicts strong demand. In Figure 17.8, I’ve arbi- trarily numbered each state of nature to highlight these calculations.
We start by calculating the expected monetary value (EMV) for each state of nature as- sociated with a survey that predicts strong demand (green circles 2, 3, and 4). These results are highlighted in orange in Figure 17.8.
Large: EMV2 = 1$200,000210.842 + 1 - $100,000210.162 = $152,000 Medium: EMV3 = 1$125,000210.842 + 1 - $50,000210.162 = $97,000
Small: EMV4 = 1$60,000210.842 + 1$30,000210.162 = $55,200
www.freebookslides.com
C h a p t e r 17 | 17.5 Decision Making Using Decision Trees 17-23
Large
Large
Large
Medium
Small
Medium
Small
Medium
Small
Strong
Weak
$200,000
Survey
Survey
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
1
2
3
4
5
6
7
8
9
10
Strong 0.84
Strong 0.84
Strong 0.84
Strong 0.36
Strong 0.36
Strong 0.36
Strong 0.60
Strong 0.60
Strong 0.60
Weak 0.40
Weak 0.40
Weak 0.40
Weak 0.64
Weak 0.64
Weak 0.64
Weak 0.16
Weak 0.16
Weak 0.16
0.50
0.50
Conduct Survey
No Survey
$152,000
$97,000
$55,200
$152,000
{ figure 17.8 Evaluating the Decision Tree for
Gimbals (Step 1)
For this scenario, Christine chooses to place a large order of dresses (the largest EMV), which is indicated in the decision tree by pruning the medium and small branches.
Figure 17.9 highlights the EMV calculations for each state of nature associated with a survey that predicts weak demand (green circles 5, 6, and 7).
www.freebookslides.com
17-24 C h a p t e r 17 | Decision Analysis
Large: EMV5 = 1$200,000210.362 + 1 - $100,000210.642 = $8,000 Medium: EMV6 = 1$125,000210.362 + 1 - $50,000210.642 = $13,000
Small: EMV7 = 1$60,000210.362 + 1$30,000210.642 = $40,800 Because the survey predicts weak demand will occur, Christine chooses to place a small
order of dresses, which is indicated in the decision tree by pruning the large and medium branches.
We can now calculate EMV1 in Figure 17.9, which represents the expected payoff for conducting a market survey (green circle 1). This value is known as the expected value with sample information (EVwSI). Here, we have a 50% chance of an expected profit of $152,000 if the survey predicts strong demand, and a 50% chance of an expected profit of $40,800 if the survey predicts weak demand.
{ figure 17.9 Evaluating the Decision Tree for
Gimbals (Step 2)
Large
Large
Large
Medium
Small
Medium
Small
Medium
Small
Strong
Weak
$200,000
Survey
Survey
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
1
2
3
4
5
6
7
8
9
10
Strong 0.84
Strong 0.84
Strong 0.84
Strong 0.36
Strong 0.36
Strong 0.36
Strong 0.60
Strong 0.60
Strong 0.60
Weak 0.40
Weak 0.40
Weak 0.40
Weak 0.64
Weak 0.64
Weak 0.64
Weak 0.16
Weak 0.16
Weak 0.16
$152,000
0.50
$97,000
$55,200
0.50
$152,000
Conduct Survey
No Survey
$8,000
$13,000
$40,800
$40,800
$96,400
www.freebookslides.com
C h a p t e r 17 | 17.5 Decision Making Using Decision Trees 17-25
Conduct survey: EMV1 = EVwSI = 1$152,000210.502 + 1$40,800210.502 = $96,400 Recall from the previous section that the expected monetary value represents the long-
term average payoff. In other words, if Christine conducts the survey over many fall seasons, we expect the payoff to be $152,000 roughly half of the seasons (survey predicts a strong demand) and $40,800 for the other half of the seasons (survey predicts a weak demand) re- sulting in an average payoff of $96,400.
The last evaluation step is to determine the expected payoff if Christine decides not to conduct the survey. Figure 17.10 highlights these EMV calculations (green circles 8, 9, and 10). This scenario reverts to the original decision tree shown earlier in Figure 17.2.
{ figure 17.10 Evaluating the Decision Tree for
Gimbals (Step 3)
Large
Large
Large
Medium
Small
Medium
Small
Medium
Small
Strong
Weak
$200,000
Survey
Survey
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
$200,000
–$100,000
$125,000
–$50,000
$60,000
$30,000
1
2
3
4
5
6
7
8
9
10
Strong 0.84
Strong 0.84
Strong 0.84
Strong 0.36
Strong 0.36
Strong 0.36
Strong 0.60
Strong 0.60
Strong 0.60
Weak 0.40
Weak 0.40
Weak 0.40
Weak 0.64
Weak 0.64
Weak 0.64
Weak 0.16
Weak 0.16
Weak 0.16
$152,000
0.50
$97,000
$55,200
0.50
$8,000
$13,000$40,800
$152,000
$96,400
Conduct Survey
No Survey
$40,800
$80,000
$55,000
$48,000
$80,000
$96,400 – $10,000 = $86,400
The expected value with sample information (EVwSI) represents the expected long-term payoff of making decisions using sample information.
www.freebookslides.com
17-26 C h a p t e r 17 | Decision Analysis
Large: EMV8 = 1$200,000210.62 + 1 - $100,000210.42 = $80,000 Medium: EMV9 = 1$125,000210.62 + 1 - $50,000210.42 = $55,000
Small: EMV10 = 1$60,000210.62 + 1$30,000210.42 = $48,000 Without conducting a market survey, Christine chooses to place a large order of dresses,
which is indicated in the decision tree by pruning the medium and small branches. The expected payoff of $80,000 is known as the expected value without sample information (EVwoSI) because it is determined without the luxury of having market survey information.
We are now ready to make the decision to conduct or not conduct the market survey (drumroll please). If we conduct the survey, the expected payoff is $96,400. However, we need to subtract the $10,000 cost of the survey, which results in a net expected payoff of $86,400. Because $86,400 is greater than the $80,000 expected payoff of not conducting the survey, Christine should conduct the survey. Figure 17.10 indicates this decision by pruning the “No Survey” branch. If the survey predicts strong demand, Christine should place a large order of dresses. If the survey predicts weak demand, Christine should place a small order of dresses.
Last question for this section (I promise). What is the most Christine should be willing to pay for the market survey? What I’m asking for here is known as the expected value of sample information (EVSI), which can be found using Equation 17.4.
Formula 17.4 for the Expected Value of Sample Information
EVSI = EVwSI - EVwoSI
where
EVSI = the expected value of sample information EVwSI = the expected value with sample information
EVwoSI = the expected value without sample information Using Equation 17.4, the expected value of sample information is:
EVSI = EVwSI - EVwoSI EVSI = $96,400 - $80,000 = $16,400
In other words, Christine should conduct the market survey as long as it costs less than $16,400.
Pat is the manager at Pike Creek Florists (see Your Turn #3) and needs to decide between ordering a large, medium, or small quantity of roses for Valentine’s Day. In addition to the data provided in Your Turn #3, Pat is considering conducting a market survey at a cost of $1,000 to acquire additional infor- mation about the demand for roses.
The probability that the survey will predict strong demand is 0.35. The probability that the survey will predict moderate demand is 0.65.
If the survey predicts strong demand, the probability that the actual demand will be
• strong = 0.78 • moderate = 0.22
If the survey predicts moderate demand, the probability that actual demand will be
• strong = 0.27 • moderate = 0.73
a. Identify the prior and posterior probabilities. b. Construct and evaluate a decision tree that describes this problem. c. Should Pat spend $1,000 to conduct the survey? d. What decision should Pat make regarding the order size for roses? e. What is the most Pat should spend on the market survey?
Y o u r t u r n # 4N
Answers can be found on u pages 17-38 to 17-40.
The expected value without sample information (EVwoSI) represents the expected long-term payoff of making decisions without using sample information.
The expected value of sample information (EVSI) represents the upper limit of how much you should pay to gather a sample to acquire additional information about the states of nature.
www.freebookslides.com
C h a p t e r 17 | 17.6 Using Bayes’ Theorem to Calculate Posterior Probabilities 17-27
17.6 Using Bayes’ Theorem to Calculate Posterior Probabilities
In the last section, I promised to show you how posterior probabilities could be determined from prior probabilities (and I always keep my promise). In that section, we defined the fol- lowing events for the Gimbals department store example:
SD = strong demand for dresses has occurred WD = weak demand for dresses has occurred SSR = survey results predict strong demand
WSR = survey results predict weak demand
The prior probabilities were defined as:
P1SD2 = 0.60 P1WD2 = 0.40
We’ll use these prior probabilities to determine the following posterior probabilities— that is, the ones you were given in the previous section. Recall that if the market survey predicts strong demand for dresses, the posterior probabilities of strong demand and weak demand occurring are:
P1SD � SSR2 = 0.84 P1WD � SSR2 = 0.16
Recall too from the previous section, that if the market survey predicts weak demand for dresses, the posterior probabilities of strong demand and weak demand occurring are:
P1SD � WSR2 = 0.36 P1WD � WSR2 = 0.64
How could you have determined these posterior probabilities if I had not given them to you? To convert prior probabilities to posterior probabilities, we need some additional infor- mation. More specifically, we need to know the effectiveness of the market survey. Suppose that, historically, the market research firm has correctly predicted strong demand 70% of the time and incorrectly predicted strong demand 30% of the time. This can be expressed as the following conditional probability:
P1SSR � SD2 = 0.70 P1WSR � SD2 = 0.30
We also need to know that, historically, the market research firm has correctly predicted weak demand 80% of the time and incorrectly predicted weak demand 20% of the time. This can be expressed as the following conditional probability:
P1WSR � WD2 = 0.80 P1SSR � WD2 = 0.20
We are now ready to use Bayes’ Theorem to derive our posterior probabilities from these conditional probabilities and the prior probabilities given to you in the previous sec- tion. In Chapter 4, I introduced the formula for Bayes’ Theorem, which is shown again in Equation 17.5.
Given that the actual demand for dresses is strong, the probability that the market survey will correctly predict strong demand is 70%. The higher this percentage is, the more accurate the survey.
Notice that these conditional probabilities are not the same as the posterior probabilities shown earlier. Rather, they reflect the accuracy of the market research firm’s previous surveys.
Formula 17.5 for Bayes’ Theorem
P1Ai � B2 = P1Ai2P1B � Ai2
P1A12P1B � A12 + P1A22P1B � A22 + g + P1An2P1B � An2
www.freebookslides.com
17-28 C h a p t e r 17 | Decision Analysis
where
Ai = the ith event of interest from a choice of n events B = an event that has already occurred
Bayes’ Theorem is needed because we have to convert a conditional probability, such as P1SSR � SD2 to the posterior probability P1SSR � SD2. Rather than use Equation 17.5, I’ll do the necessary calculations, the results of which are shown in Tables 17.13 and 17.14.
Table 17.13 calculates the posterior probabilities for the scenario in which the market survey predicts strong demand. Columns 2 and 3 represent the prior and conditional proba- bilities that we started with. These two columns are multiplied together to calculate the joint probabilities shown in Column 4.
When Column 4 is summed, we have the probability that the market survey will predict strong demand, or P1SSR2, which equals 0.50. Recall that this was the probability used for EMV1 in the decision tree displayed in Figure 17.10.
Column 5 shows our final result, the revised probabilities for strong demand and weak demand, given that the survey predicted a strong demand. These probabilities are found by dividing the joint probabilities by the sum from Column 4.
P1SD � SSR2 = 0.42 0.50
= 0.84
P1WD � SSR2 = 0.08 0.50
= 0.16
{ table 17.13 | Posterior Probabilities for a Survey Predicting Strong Demand
(1) (2) (3) (4) (5)
demand prior
probability
conditional probability
joint probability
posterior probability
Strong P1SD2 = 0.60 P1SSR � SD2 = 0.70 0.42 P1SD � SSR2 = 0.84 Weak P1WD2 = 0.40 P1SSR � WD2 = 0.20 0.08 P1WD � SSR2 = 0.16
P1SSR2 = 0.50 1.00
Notice that these two posterior probabilities match the values used in Figure 17.10. We follow the same steps to calculate the posterior probabilities for the scenario in
which the market survey predicts weak demand. The results are shown in Table 17.14. The sum of the joint probabilities in Column 4 represents the probability that the market survey will predict weak demand, or P1WSR2 = 0.50. The posterior calculations for Column 5 are as follows:
{ table 17.14 | Posterior Probabilities for a Survey Predicting Weak Demand
(1) (2) (3) (4) (5)
demand
prior probability
conditional probability
joint probability
posterior probability
Strong P1SD2 = 0.60 P1WSR � SD2 = 0.30 0.18 P1SD � WSR2 = 0.36 Weak P1WD2 = 0.40 P1WSR � WD2 = 0.80 0.32 P1WD � WSR2 = 0.64
P1WSR2 = 0.50 1.00
P1SD � WSR2 = 0.18 0.50
= 0.36
P1WD � WSR2 = 0.32 0.50
= 0.64
www.freebookslides.com
C h a p t e r 17 | 17.6 Using Bayes’ Theorem to Calculate Posterior Probabilities 17-29
Again, these values match the ones we used to evaluate the decision tree in Figure 17.10. Now that I have kept my promise to show you how to calculate posterior probabilities
from prior probabilities, practice this procedure while it’s still fresh in your mind by com- pleting the following Your Turn problem.
Pat is the manager at Pike Creek Florists (see Your Turn #3) and needs to decide between ordering a large, medium or small quantity of roses for Valentine’s Day. In addition to the data provided in Your Turn #3, Pat is thinking about conducting a market survey at a cost of $1,000 to acquire additional information about the demand for roses. The information for this survey can be found in Your Turn #4.
Suppose that historically the market research firm used by Pike Creek Florists has correctly predicted strong demand 61% of the time and incorrectly predicted strong demand 39% of the time. Likewise, the market research firm has correctly predicted moderate demand 86% of the time and in- correctly predicted moderate demand 14% of the time.
a. Calculate the posterior probabilities that were given in Your Turn #4. b. Calculate the probabilities of the market survey predicting strong demand and moderate
demand.
Y o u r t u r n # 5N
Answers can be found on u page 17-40.
17.5 and 17.6 Sections Problems Basic Skills 17.25 Consider the following decision tree.
A3
A4
A5
1
2
3
S1 0.7
S1 0.7
S1
$3.0
A1
A2
$8.0
–$4.0
$5.0
–$2.0
$2.0
$1.0
S2
S2
S2 0.3
a. Identify the missing probabilities. b. Evaluate the decision tree. c. What alternatives should be chosen?
17.26 Consider the following decision tree.
A1
A2
A3
1
2
S1 0.65
S1 0.65
A4
$700
–$800
$600
–$300
$220
$260
S2
S2
A5
a. Identify the missing probabilities. b. Evaluate the decision tree. c. What alternatives should be chosen?
www.freebookslides.com
17-30 C h a p t e r 17 | Decision Analysis
17.27 Consider the following decision tree.
$600
S1
S2
–$100
$800
–$300
$1,000
–$200
S3 0.75
S3 0.75
S5 0.50
S6
S4
S4
0.4
A1
A2
A3
A4
A5
A6
A7
$400
$500
$800
1
2
3
4
a. Identify the missing probabilities. b. Evaluate the decision tree. c. What alternatives should be chosen?
applications 17.28 Steve is the director of operations for Diamond Chemical
Company. The company is considering whether to launch a new product line, which will require building a new facility. The research required to produce the new product has not been proven to work in a full-scale operation. If Steve decides to build the new facility and the process is successful, Diamond Chemical will earn a profit of $750,000. If the process is unsuccessful, his company will realize a loss of $900,000. Steve estimates that the prob- ability of the full-scale process succeeding is 65%.
Steve has the option of constructing a pilot plant for $60,000 to test the new process before deciding to build the full-scale facility. He estimates there is a 58% proba- bility that the pilot plant will prove successful. If the pilot plant succeeds, he thinks the chance of the full-scale facil- ity succeeding is 90%. If the pilot plant fails, he thinks the chance of the full-scale facility succeeding is only 30%.
a. Structure this problem with a decision tree and advise Steve what to do.
b. What is the most Steve should pay to construct the pi- lot plant?
Note: To solve Problem 17.29, you need to calculate its posterior probabilities. It is an alternative version of Problem 17.28, in which the posterior probabilities were given.
17.29 Steve is the director of operations for Diamond Chemical Company. The company is considering whether to launch a new product line, which will require building a new facility. The research required to produce the new product
has not been proven to work in a full-scale operation. If Steve decides to build the new facility and the process is successful, Diamond Chemical will realize a profit of $750,000. If the process is unsuccessful, his company will realize a loss of $900,000. Steve estimates the probability of the full-scale process succeeding is 65%.
Steve has the option to construct a pilot plant for $60,000 to test the new process before deciding to build the full-scale facility. From prior experience, Steve knows that there is an 81% probability that the pilot plant will be successful if the new facility proves to be success- ful. Likewise, there is a 16% probability that the pilot plant will be successful if the new facility proves to be unsuccessful.
a. Structure this problem with a decision tree and advise Steve what to do.
b. What is the most Steve should pay to construct the pilot plant?
17.30 Your regular tennis partner has made a friendly wager with you. The two of you will play out one point in which you can serve. The loser pays the winner $100. If your first serve is not in play, you will get a second serve. If your second serve is not in play, you lose the point. You have two kinds of serves, a hard one and a soft one. You know that your hard serve is in play 60% of the time, and that when it is in play, you win the point 70% of the time. You put your soft serve in play 85% of the time, and when it is in play, you win the point 25% of the time. Should you accept the wager? If so, should you use the hard or soft serve?
17.31 Delaware National Golf Club went out of business dur- ing the recent downturn in the economy (a sad day in the Donnelly household). Susan is a real estate developer who would like to build houses on a portion of it. To do so Susan will need the approval of the county government to change how the land is zoned. The following decision table shows the scenario’s payoffs and probabilities.
Market
Alternative County
Approval No County Approval
Purchase land $1,500,000 - $1,600,000 Don’t purchase land $0 $0
Probability 0.30 0.70
Susan has the choice of purchasing an option to buy the land next year for $30,000. This will give her the oppor- tunity to gain the support of the homeowners on the golf course, which will increase the likelihood of the county approving the zoning change. Susan estimates there is a 40% chance she will be able to obtain the support of the residents. With the support of the residents, the prob- ability that the county will approve the zoning change is 56.6%. Without the residents’ support, the probability of the county’s approval is only 12.1%.
www.freebookslides.com
C h a p t e r 17 | 17.6 Using Bayes’ Theorem to Calculate Posterior Probabilities 17-31
a. Construct a decision tree to recommend a course of ac- tion for Susan.
b. What is the most that Susan should pay to purchase the option to buy the land?
Note: To solve Problem 17.32, you need to calculate its poste- rior probabilities. It is an alternative version of Problem 17.31, in which the posterior probabilities were given.
17.32 Delaware National Golf Club went out of business dur- ing the recent downturn in the economy (a sad day in the Donnelly household). Susan is a real estate developer who would like to build houses on a portion of it. To do so Susan will need the approval of the county government to change how the land is zoned. The following decision table shows the scenario’s payoffs and probabilities.
Market
Alternative County
Approval No County Approval
Purchase land $1,500,000 - $1,600,000 Don’t purchase land $0 $0
Probability 0.30 0.70
Susan has the choice of purchasing an option to buy the land next year for $30,000. This will give her the oppor- tunity to gain the support of the homeowners on the golf course, which will increase the likelihood of the county approving the zoning change. If the county approves the rezoning, there is a 76% probability that the homeown- ers will also support the change. If the county does not approve the rezoning, there is a 25% probability that the homeowners will support the change.
a. Construct a decision tree and recommend a course of action for Susan.
b. What is the most that Susan should pay to purchase the option to buy the land?
17.33 You are the vice president of a consumer electron- ics company that needs to determine whether or not to introduce a new product to the market. Either your company can manufacture it or you can subcontract the production to another firm. In either case, there is
a 75% probability that your competition will market a similar product.
If your company manufactures the product, you are faced with the decision to price it high or low. If your competitor also enters the market, the firm will set its price high or low. The following table shows your payoffs, in millions of dollars, and corresponding probabilities.
Manufacturing Scenario:
Competitor’s Price
Your Firm’s Price High Low
High $3.7 (80%) - $4.6 (20%) Low $2.2 (40%) $1.2 (60%)
If you do not have competition in the market after you man- ufacture the product, the payoff will be $6 million for setting the price high and $4.5 million for setting the price low.
If you decide to subcontract the product to another organization, the payoffs and corresponding probabilities are as follows:
Subcontracting Scenario:
Competitor’s Price
Your Firm’s Price High Low
High $2.7 (80%) - $3.3 (20%) Low $1.6 (40%) $0.9 (60%)
If you do not have competition in the market after you subcontract the product, the payoff will be $5.2 million for setting the price high and $3.5 million for setting the price low.
Finally, if you decide not to manufacture or sub- contract the product, you have the option of selling the design to another organization to manufacture and market. The demand for the design will be either strong or weak. Strong demand will result in a payoff of $2.5 million, whereas weak demand will result in a payoff of $0.8 mil- lion. There is a 50/50 chance of the demand being either strong or weak.
Construct a decision tree to decide on a course of ac- tion for this new product.
www.freebookslides.com
■ The newsvendor problem is a dilemma about how much of a product to have available for a single selling period when that product has a short life cycle and the demand for it is uncertain.
• The alternatives in the problem are the choices available to the decision maker, whereas the states of nature represent future conditions that will occur regardless of any decisions made.
• A payoff is the consequence of choosing an alternative given the state of nature that eventually occurs.
■ A decision table displays the payoffs for all combinations of alternatives and states of nature.
• Profits are calculated by subtracting costs from revenue.
• The quantity sold for any given time period will be the minimum of supply (availability) and demand.
■ Decision making under uncertainty is used when you do not have any information regarding the probability of various states of nature occurring.
■ The maximax criterion involves finding the highest payoff in the decision table and selecting the corresponding alternative.
■ The maximin criterion involves identifying the worst payoff for each alternative and then choosing the one that is the “best of the worst.”
■ The equally likely criterion involves choosing the alternative with the highest average payoff across all states of nature.
■ The goal of the minimax regret criterion is to minimize the regret of making a wrong choice.
■ The Hurwicz criterion allows a decision maker to choose the risk level he or she wants to assume through the choice of a, the index of optimism.
■ Decision making under risk is a decision-making technique that relies on probability information about the states of nature.
■ The expected monetary value (EMV) is the average of the payoffs associated with a particular alter- native weighted by the probability of each state of nature occurring.
■ The expected value under risk (EVUR) is the expected monetary value that corresponds to the best alternative when using decision making under risk.
■ The expected value of perfect information (EVPI) provides us with an upper limit for how much we are willing to pay for additional information to improve our decision.
■ The expected value under certainty (EVUC) represents the expected payoff if we have prior knowl- edge about which state of nature will occur.
■ A decision tree is a tree-shaped diagram that shows the alternatives, states of nature, probabilities, and payoffs of a decision being made under risk.
• Decision trees have two main components: squares, which denote alternatives, and circles, which denote the states of nature.
• Decision trees are a useful tool for making sequential decisions.
■ The expected value with sample information (EVwSI) represents the expected long-term payoff of making decisions using sample information.
■ The expected value without sample information (EVwoSI) represents the expected long-term payoff of making decisions without using sample information.
■ The expected value of sample information (EVSI) represents the upper limit of how much a deci- sion maker should pay to gather a sample to acquire additional information about the states of na- ture occurring.
17-32
Chapter 17 Summary
www.freebookslides.com
■ Bayes’ Theorem can be used to convert prior probabilities into posterior probabilities.
• The prior probabilities are used with conditional probabilities that reflect the accuracy of a market survey.
• The two probabilities together provide better estimates of the (posterior) probabilities for the states of nature that could occur.
Alternatives. The choices available to a decision maker. Decision making under risk. A decision-making technique that
relies on probability information about the states of nature occurring.
Decision making under uncertainty. A technique for making decisions when you do not have any information about the probability of various states of nature occurring.
Decision table. A table that displays all of the possible combina- tions of alternatives and states of nature along with their cor- responding payoffs.
Decision tree. A tree-shaped diagram that shows the alternatives, states of nature, probabilities, and payoffs of a decision being made under risk.
Equally likely criterion. A criterion whereby the decision maker chooses the alternative with the highest average payoff across all states of nature.
Expected monetary value, EMV. The average of the payoffs associated with a particular alternative weighted by the prob- ability of each state of nature occurring.
Expected value of perfect information, EVPI. The upper limit for how much a person should pay for additional information to improve a decision.
Expected value of sample information, EVSI. The upper limit of how much a decision maker should pay to gather a sample to acquire additional information about the states of nature occurring.
Expected value under certainty, EVUC. The expected payoff if a decision maker has prior knowledge about which state of nature will occur.
Expected value under risk, EVUR. The expected monetary value that corresponds to the best alternative when using deci- sion making under risk.
Expected value with sample information, EVwSI. The ex- pected long-term payoff of making decisions using sample information.
Expected value without sample information, EVwoSI. The expected long-term payoff of making decisions without using sample information.
Hurwicz criterion. A criterion that allows a decision maker to choose the level of risk he or she wants to assume through the choice of a, the index of optimism.
Index of optimisim, A. The parameter used in the Hurwicz crite- rion to control the level of risk associated with the decision.
Maximax criterion. A criterion whereby the decision maker finds the highest payoff in the decision table and selects the corresponding alternative.
Maximin criterion. A criterion whereby the decision maker identifies the worst payoff for each alternative and then chooses the alternative that is the “best of the worst.”
Minimax regret criterion. A criterion that aims to minimize the decision maker’s regret of making a wrong choice.
Newsvendor problem. A dilemma about how much of a product to have available for a single selling period when that product has a short life cycle and the demand for it is uncertain.
Payoffs. The consequences of choosing alternatives given the states of nature that eventually occurs.
Posterior Probability. A probability that is a revision of a prior probability using additional information.
Prior Probability. The probability of an event occurring without any additional information.
States of nature. Future conditions that will occur regardless of any decisions made.
Chapter 17 Key Terms
17-33 www.freebookslides.com
17-34
Chapter 17 Equations
17.3 Decision Making Under Uncertainty (pp 17-6–17-11)
Formula 17.1 for the Hurwicz Criterion Hurwicz Criterion = a1Maximum value2 + 11 - a21Minimum value2
17.4 Decision Making Under Risk (pp 17-12–17-16)
Formula 17.2 for the Expected Monetary Value EMV = a n
i = 1 xiP1xi2
Formula 17.3 for the Expected Value of Perfect Information EVPI = EVUC - EVUR
17.5 Decision Making Using Decision Trees (pp 17-16–17-26)
Formula 17.4 for the Expected Value of Sample Information EVSI = EVwSI - EVwoSI
17.6 Using Bayes’ Theorem to Calculate Posterior Probabilities (pp 17-27–17-31)
Formula 17.5 for Bayes’ Theorem P1Ai � B2 = P1Ai2P1B � Ai2
P1A12P1B � A12 + P1A22P1B � A22 + g + P1An2P1B � An2
Chapter 17 Problems Problems 17.34 and 17.35 refer to the following situation.
Jim is the inventory manager at a Target store and needs to place an order for Christmas cards in October. He is considering order quantities of 200, 400, 600, and 800 boxes of cards. The follow- ing decision table shows the payoffs for demand levels of the same amounts during the Christmas season.
Demand
Alternative 200 400 600 800
Order 200 boxes $3,800 $3,800 $3,800 $3,800
Order 400 boxes $1,200 $7,600 $7,600 $7,600
Order 600 boxes - $1,400 $5,000 $11,400 $11,400 Order 800 boxes - $4,000 $2,400 $8,800 $15,200
17.34 Using the decision table for this problem, use the following criterion to choose the right order quantity:
a. maximax b. maximin c. equally likely d. minimax regret e. Hurwicz using a = 0.8
17.35 Jim has estimated that the probabilities of demand for 200, 400, 600, and 800 boxes of Christmas cards are 0.30, 0.25, 0.35, and 0.10 respectively.
a. Choose the best order quantity using this probability data.
b. What is the most that Jim should pay for additional information about the holiday demand for Christmas cards?
Problems 17.36 to 17.38 refer to the following situation.
The Shoprite grocery store places orders each week for an en- tertainment magazine that it stocks on the shelves next to the cashiers. The newsstand price for the magazine is $5 and the cost per magazine from the publisher is $3. Shoprite can return any unsold magazines at the end of the week for a 50¢ credit. Answer the following questions using weekly order sizes and demand lev- els of 200, 400, and 600 magazines.
17.36 Construct a decision table showing the payoffs for each combination of order size and demand level.
17.37 Using the decision table from Problem 17.36, choose the best order size of magazines using the following criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.3
www.freebookslides.com
17.38 Based on historical data, Shoprite has estimated that the probabilities of a weekly demand of 200, 400, and 600 magazines are 0.22, 0.34, and 0.44 respectively.
a. Choose the best order quantity of magazines using this probability data.
b. What is the most that Shoprite should pay for additional information about the weekly demand for magazines?
Problems 17.39 to 17.42 refer to the following situation.
Joyce is the director of manufacturing for Titan Industries, which is considering building a new facility in the Midwest. The de- mand for the product manufactured in the facility will be either strong or weak. The following decision table summarizes Joyce’s options and the associated payoffs in millions of dollars.
Demand
Option Strong Weak
Build large facility $1.3 - $1.7 Build small facility $0.8 - $0.2 Don’t build facility $0 $0
17.39 Using the decision table, choose the best option for Joyce using the following criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.7
17.40 Joyce has determined that the probabilities of strong de- mand and weak demand are 0.6 and 0.4 respectively.
a. Choose the best option for Joyce using this probability data.
b. What is the most Joyce should pay for additional infor- mation about the demand for this product?
17.41 Joyce can hire a market research firm to conduct a survey to better ascertain the demand for this product. The cost of the survey is $20,000. Joyce estimates there is a 62% chance that the survey will predict a strong demand and a 38% chance that the survey will predict a weak demand. If the results of the survey predict a strong demand, the probability of strong demand is 77%. If the results of the survey predict a weak demand, the probability of strong demand is 32%.
a. Choose the best course of action for Joyce under these conditions.
b. What is the most that Joyce should pay for the survey?
Note: Problem 17.42 requires you to calculate the poste- rior probabilities. The problem is an alternative version of Problem 17.41, in which the posterior probabilities were given.
17.42 Joyce can hire a market research firm to conduct a survey to better ascertain the demand for this product. The cost of the survey is $20,000. If the market has strong demand for the product, the probability that the survey will predict a strong
demand is 80%. If the market has a weak demand for the product, the probability that the survey will predict a strong demand is 35%.
a. Choose the best course of action for Joyce under these conditions.
b. What is the most that Joyce should pay for the survey?
Problems 17.43 and 17.44 refer to the following situation.
Flexible spending accounts (FSA) allow employees to set aside a portion of their earnings to be used for approved medical ex- penses. The major advantage of an FSA is that the funds are not subject to payroll taxes and reduce an employee’s taxable income. For example, if the employee is in a 30% tax bracket and funds an FSA with $1,000, the person reduces his or her tax burden by $300. The disadvantages of an FSA are:
• An employee must decide how much of his or her earnings to deposit in the account at the beginning of the year.
• The funds can only be used for specific medical expenses. • Any unused funds at the end of the year are lost to the
employee.
17.43 Beth needs to decide how much of her earnings to de- posit into her employer’s FSA. She is considering $1,000, $1,500, $2,000, and $2,500 and is currently in a 25% tax bracket. Construct a decision table showing the costs of de- positing these amounts along with annual medical expenses of $1,000, $1,500, $2,000, and $2,500.
Hint: When Beth’s medical expenses exceed the amount deposited in the FSA, the cost is the missed opportunity to reduce her tax burden. When Beth’s medical expenses are less than the amount deposited, the cost is the unused funds that are lost to her. When medical expenses equal the amount deposited in the FSA, there is no cost to Beth.
17.44 Beth has estimated that the probabilities of experiencing medical expenses of $1,000, $1,500, $2,000, and $2,500 during the upcoming year are 0.10, 0.20, 0.30, and 0.40 respectively.
a. Choose the amount of earnings Beth should deposit in the FSA using this probability data.
b. What is the most that Beth should pay for additional in- formation about what her medical expenses will be?
Problems 17.45 and 17.46 refer to the following situation.
Spirit Airlines offers one-way, nonstop flights from Atlantic City, New Jersey, to Myrtle Beach, South Carolina, for $90. Spirit airlines will overbook these flights by selling more tickets than available seats because many flights experience no shows (pas- sengers who book flights but fail to arrive at the terminal). There are three cases to consider when constructing the decision table for this problem.
1. If the number of overbooked passengers exceeds the num- ber of no shows, there are more people at the terminal than there are available seats on the plane. In this instance, Spirit Airlines refunds the $90 fare to those bumped from the
17-35 www.freebookslides.com
flight and compensates them an additional $150 for their inconvenience.
2. If the number of overbooked passengers is less than the number of no shows, the flight takes off with empty seats. The cost to Spirit Airlines is the lost opportunity to sell ad- ditional $90 fares had the firm booked enough passengers.
3. If the number of overbooked passengers equals the number of no shows, there is no cost to Spirit Airlines.
17.45 Spirit Airlines needs to decide to overbook 0, 1, 2, or 3 pas- sengers on its flight from Atlantic City to Myrtle Beach. Historically, the airlines has experienced 0, 1, 2, or 3 no shows per flight on this route. Construct a decision table showing the costs associated with each combination of overbooked passengers and no shows.
17.46 Spirit Airlines has figured out that the probabilities of expe- riencing 0, 1, 2, and 3 no shows for the flight between At- lantic City and Myrtle Beach are 0.16, 0.32, 0.25, and 0.27 respectively.
a. Choose the best number of passengers to overbook be- tween these two destinations.
b. What is the most that Spirit Airlines should pay per flight for additional information about the probability of no shows?
Problems 17.47 to 17.50 refer to the following situation.
Texas Oil owns a parcel of land that has the potential for con- taining much oil, some oil, or no oil underground. The company needs to decide whether or not to drill on this parcel. The payoffs are as follows in millions of dollars:
Underground Oil
Option Much Oil Some Oil No Oil
Drill $2 $0.7 - $1.8 Don’t drill $0 $0 $0
17.47 Using the decision table for this problem, choose the best decision for Texas Oil using the following criterion:
a. Maximax b. Maximin c. Equally likely d. Minimax regret e. Hurwicz using a = 0.4
17.48 Based on historical data from the surrounding area, Texas Oil has assessed the probabilities of much, some, and no oil to 0.1, 0.3, and 0.6 respectively.
a. Choose the best option for Texas Oil using the probabil- ity data.
b. What is the most Texas Oil should pay for additional in- formation about the probability of oil underground?
17.49 Texas Oil can do a geological test that costs $100,000 to determine the likelihood of finding oil underground. The results of the test can be positive, undecided, or negative
with the probability of each being 0.12, 0.31, and 0.57 respectively.
If the geological test comes back positive, the probabilities for underground oil are as follows:
Much oil = 0.75 Some oil = 0.05 No oil = 0.20
If the geological test comes back undecided, the probabili- ties for underground oil are as follows:
Much oil = 0.02 Some oil = 0.89 No oil = 0.09
If the geological test comes back negative, the probabilities for underground oil are as follows:
Much oil = 0.01 Some oil = 0.03 No oil = 0.96
a. Choose the best drilling option for Texas Oil under these conditions.
b. What is the most that Texas Oil should pay for the geo- logical test?
Note: Problem 17.50 requires you to calculate the posterior prob- abilities. The problem is an alternative version of Problem 17.49, in which the posterior probabilities were given.
17.50 Texas Oil can do a geological test that costs $100,000 to determine the likelihood of finding oil underground. The results of the test can be positive, undecided, or negative.
If there is much oil underground, the probabilities of the test being positive, undecided, and negative are as follows:
Positive = 0.90 Undecided = 0.05 Negative = 0.05
If there is some oil underground, the probabilities of the test being positive, undecided, and negative are as follows:
Positive = 0.02 Undecided = 0.92 Negative = 0.06
If there is no oil underground, the probabilities of the test being positive, undecided, and negative are as follows:
Positive = 0.04 Undecided = 0.05 Negative = 0.91
a. Choose the best drilling option for Texas Oil under these conditions.
b. What is the most that Texas Oil should pay for the geo- logical test?
17-36 www.freebookslides.com
Sample calculations:
Baked = 20 Revenue 1Sold2 = 12021$162 = $320 Demand = 40 Revenue 1Leftover2 = 1021$42 = $0 Sold = 20 Cost 1Baked2 = 12021$72 = $140 Leftover = 0 Profit = $320 + $0 - $140 = $180
Sample calculations:
Baked = 60 Revenue 1Sold2 = 14021$162 = $640 Demand = 40 Revenue 1Leftover2 = 12021$42 = $80 Sold = 40 Cost 1Baked2 = 16021$72 = $420 Leftover = 20 Profit = $640 + $80 - $420 = $300
Final Decision Table:
Dozens Demanded
Alternative 20 40 60
Bake 20 dozen $180 $180 $180
Bake 40 dozen $120 $360 $360
Bake 60 dozen $60 $300 $540
Y o u r T u r n # 2 a. Maximax:
Dozens Demanded
Alternative 20 40 60
Bake 20 dozen $180 $180 $180
Bake 40 dozen $120 $360 $360
Bake 60 dozen $60 $300 $540
b. Minimax:
Dozens Demanded
Alternative 20 40 60 Worst
Bake 20 dozen $180 $180 $180 $180
Bake 40 dozen $120 $360 $360 $120
Bake 60 dozen $60 $300 $540 $60
Mallon’s should bake 20 dozen buns.
c. Equally Likely:
Dozens Demanded
Alternative 20 40 60 Average
Bake 20 dozen $180 $180 $180 $180
Bake 40 dozen $120 $360 $360 $280
Bake 60 dozen $60 $300 $540 $300
Mallon’s should bake 60 dozen buns.
d. Minimax Regret:
Dozens Demanded
Alternative 20 40 60
Bake 20 dozen $180 $180 $180
Bake 40 dozen $120 $360 $360
Bake 60 dozen $60 $300 $540
Dozens Demanded
Alternative 20 40 60 Maximum Regret
Bake 20 dozen 180 - 180 = 0 360 - 180 = 180 540 - 180 = 360 $360 Bake 40 dozen 180 - 120 = 60 360 - 360 = 0 540 - 360 = 180 $180 Bake 60 dozen 180 - 60 = 120 360 - 300 = 60 540 - 540 = 0 $120
Mallon’s should bake 60 dozen buns.
17-37
Chapter 17 Solutions to Your Turn
Y o u r T u r n # 1
www.freebookslides.com
e. Hurwicz:
Day’s Profit
Alternative Highest Lowest
Bake 20 dozen $180 $180
Bake 40 dozen $360 $120
Bake 60 dozen $540 $60
Bake 20 dozen: 10.421$1802 + 11 - 0.421$1802 = $180 Bake 40 dozen: 10.421$3602 + 11 - 0.421$1202 = $216 Bake 60 dozen: 10.421$5402 + 11 - 0.421$602 = $252 Mallon’s should bake 60 dozen buns.
Criterion No Leftover Value Leftover Value
Maximax Bake 60 dozen Bake 60 dozen
Maximin Bake 20 dozen Bake 20 dozen
Equally likely Bake 40 dozen Bake 60 dozen
Minimax regret Bake 40 dozen Bake 60 dozen
Hurwicz Bake 20 dozen Bake 60 dozen
Being able to sell leftover buns the following day results in decisions to bake more 60 dozen buns.
Y o U R T U R n # 3 Large: EMVLarge = 1$14,000210.452 + 1 - $7,000210.552 = $2,450 Medium: EMVMedium = 1$10,000210.452 + 1 - $2,000210.552 = $3,400 Small: EMVSmall = 1$4,000210.452 + 1$0210.552 = $1,800
Pike Creek Florists should place a medium order of roses.
EVUC = 1$14,000210.452 + 1$0210.552 = $6,300 EVPI = $6,300 - $3,400 = $2,900
The most Pike Creek Florists should spend for additional information is $2,900.
Y o U R T U R n # 4 a. SSR = survey results predict strong demand MSR = survey results predict moderate demand SD = strong demand for roses has occurred MD = moderate demand for roses has occurred
Prior probabilities:
P1SD2 = 0.45 P1MD2 = 0.55
Posterior probabilities:
P1SD � SSR2 = 0.78 P1MD � SSR2 = 0.22 P1SD � MSR2 = 0.27
P1MD � MSR2 = 0.73
17-38 www.freebookslides.com
b.
Large
Large
Large
Medium
Small
Medium
Small
Medium
Small
Strong
Weak
$14,000
Survey
Survey
–$7,000
$10,000
–$2,000
$4,000
$0
1
2
3
4
5
6
7
8
9
10
Strong 0.78
Strong 0.78
Strong 0.78
Strong 0.27
Strong 0.27
Strong 0.27
Strong 0.45
Strong 0.45
Strong 0.45
Moderate 0.22
$9,380
0.35
$7,360
$3,120
0.65
–$1,330
$1,240
$2,450
$3,400
$1,800
$3,400
$1,240
$9,380
$4,089
Conduct Survey
No Survey
$1,080
Moderate 0.22
Moderate 0.22
Moderate 0.73
Moderate 0.73
Moderate 0.73
$14,000
–$7,000
$10,000
–$2,000
$4,000
$0
$14,000
–$7,000
$10,000
–$2,000
$4,000
$0
Moderate 0.55
Moderate 0.55
Moderate 0.55
$4,089 – $1,000 = $3,089
If the market survey indicates strong demand (green circles 2, 3, and 4), the EMV calculations are as follows:
Large: EMV2 = 1$14,000210.782 + 1 - $7,000210.222 = $9,380 Medium: EMV3 = 1$10,000210.782 + 1 - $2,000210.222 = $7,360 Small: EMV4 = 1$4,000210.782 + 1$0210.222 = $3,120
If the survey predicts a strong demand, Pat should place a large order.
17-39 www.freebookslides.com
If the survey predicts moderate demand (green circles 5, 6, and 7), the EMV calculations are as follows:
Large: EMV5 = 1$14,000210.272 + 1 - $7,000210.732 = - $1,330 Medium: EMV6 = 1$10,000210.272 + 1 - $2,000210.732 = $1,240 Small: EMV7 = 1$4,000210.272 + 1$0210.732 = $1,080
If the survey predicts moderate demand, Pat should place a medium order. The expected value with sample information is (green circle 1):
EMV1 = EVwSI = 1$9,380210.352 + 1$1,240210.652 = $4,089 The expected value of conducting a survey = $4,089 - $1,000 = $3,089 If the market survey is not conducted (green circles 8, 9, and 10), the EMV calculations are as follows:
Large: EMV8 = 1$14,000210.452 + 1 - $7,000210.552 = $2,450 Medium: EMV9 = 1$10,000210.452 + 1 - $2,000210.552 = $3,400 Small: EMV10 = 1$4,000210.452 + 1$0210.552 = $1,800
The expected value without sample information, EVwoSI, is $3,400. Without conducting a market survey, Pat should place a medium order. c. Because the expected value of not conducting the survey ($3,400) is greater than the expected value of conducting the survey ($3,089), Pat should not conduct the
$1,000 survey. d. Pat should forgo the survey and place a medium-sized order for roses. e. The expected value of sample information is:
EVSI = EVwSI - EvwoSI EVSI = $4,089 - $3,400 = $689
The most Pat is willing to pay for additional information is $689.
Y o U R T U R n # 5 Posterior Probabilities for a Survey Predicting Strong Demand
Demand Prior Probability Conditional Probability Joint Probability Posterior Probability
Strong P1SD2 = 0.45 P1SSR � SD2 = 0.61 0.2745 P1SD � SSR2 = 0.7809 Moderate P1MD2 = 0.55 P1SSR � MD2 = 0.14 0.0770 P1MD � SSR2 = 0.2191
P1SSR2 = 0.3515 1.00
Posterior Probabilities for a Survey Predicting Moderate Demand
Demand Prior Probability Conditional Probability Joint Probability Posterior Probability
Strong P1SD2 = 0.45 P1MSR � SD2 = 0.39 0.1755 P1SD � MSR2 = 0.2706 Moderate P1MD2 = 0.55 P1MSR � MD2 = 0.86 0.4730 P1MD � MSR2 = 0.7294
P1MSR2 = 0.6485 1.00
a. P1SD � SSR2 = 0.2745 0.3515
= 0.7809
P1MD � SSR2 = 0.0770 0.3515
= 0.2191
P1SD � MSR2 = 0.1755 0.6485
= 0.2706
P1MD � MSR2 = 0.4730 0.6485
= 0.7294
b. P1SSR2 = 0.3515 P1MSR2 = 0.6485
17-40 www.freebookslides.com
Answers to Selected Even-Numbered Problems 17-41
Chapter 17 17.2
DemanD
alternative 25 50 75 100
25 $100 $100 $100 $100
50 - $50 $200 $200 $200
75 - $200 $50 $300 $300
100 - $350 - $100 $150 $400
17.4
DemanD
alternative 25 50 75 100
25 $100 $100 $100 $100
50 $0 $200 $200 $200
75 - $100 $100 $300 $300
100 - $200 $0 $200 $400
17.6
DemanD
OrDer Size 100 200 300
100 $2,300 $2,300 $2,300
200 $800 $5,800 $5,800
300 - $700 $4,300 $9,300
17.8
DemanD
OrDer Size 100 200 300 400
100 $4,000 $4,000 $4,000 $4,000
200 - $1,000 $8,000 $8,000 $8,000
300 - $6,000 $3,000 $12,000 $12,000
400 - $11,000 - $2,000 $7,000 $16,000
17.10 a. Choose alternative C because the highest payoff is $350. b.
DemanD level
alternative 1 2 3 WOrSt
A $180 $90 $210 $90
B - $200 $0 $300 - $200
C $350 $120 $80 $80
Choose alternative A because $90 represents the best of the worst payoffs.
c.
DemanD level
alternative 1 2 3 average
A $180 $90 $210 $160.0
B - $200 $0 $300 $33.3
C $350 $120 $80 $183.3
Choose alternative C because $183.3 represents the highest average payoff.
d.
DemanD level
alternative 1 2 3 maximum regret
A $170 $30 $90 $170
B $550 $120 $0 $550
C $0 $0 $220 $220
Choose alternative A because $170 represents the minimax regret.
e. Alternative A: 10.421$2102 + 11 - 0.421$902 = $138 Alternative B: 10.421$3002 + 11 - 0.421 - $2002 = $0 Alternative C: 10.421$3502 + 11 - 0.421$802 = $188
Choose alternative C because $188 represents the highest weighted average.
17.12 a. Choose large order because the highest payoff is $10,000. b.
DemanD level
alternative StrOng mODerate Weak WOrSt
Large order $10,000 $2,000 - $8,000 - $8,000
Small order $6,000 $1,000 - $2,000 - $2000
Choose small order because - $2,000 represents the best of the worst payoffs.
c.
DemanD level
alternative StrOng mODerate Weak average
Large order $10,000 $2,000 - $8,000 $1,333
Small order $6,000 $1,000 - $2,000 $1,667
Choose a small order because $1,667 represents the highest average payoff.
d.
DemanD level
alternative StrOng mODerate Weak maximum
regret
Large order $0 $0 $6,000 $6,000
Small order $4,000 $1,000 $0 $4,000
Choose a small order because $4,000 represents minimax regret.
e. Large order: 10.221$10,0002 + 11 - 0.221- $8,0002 = - $4,400 Small order: 10.221$6,0002 + 11 - 0.221 - $2,0002 = - $400
Choose small order because –$400 represents the highest weighted average.
17.14 a. Choose an outdoor wedding because the highest payoff is 10. b.
Weather
alternative Sunny ClOuDy rainy WOrSt
Indoor 4 5 6 4
Outdoor 10 6 1 1
Tent 8 5 3 3
Choose an indoor wedding because 4 represents the best of the worst payoffs.
www.freebookslides.com
c.
Weather
alternative Sunny ClOuDy rainy average
Indoor 4 5 6 5.0
Outdoor 10 6 1 5.7
Tent 8 5 3 5.3
Choose an outdoor wedding because 5.7 represents the highest average payoff.
d.
Weather
alternative Sunny ClOuDy rainy maximum
regret
Indoor 6 1 0 6
Outdoor 0 0 5 5
Tent 2 1 3 3
Choose a tent because 3 represents the minimax regret.
e. Indoor: 10.82162 + 11 - 0.82142 = 5.6 Outdoor: 10.821102 + 11 - 0.82112 = 8.2 Tent: 10.82182 + 11 - 0.82132 = 7.0
Choose an outdoor wedding because 8.2 represents the highest weighted average.
17.16 a.
DemanD
OrDer Size 1,000 2,000 3,000 4,000
1,000 $6,000 $6,000 $6,000 $6,000
2,000 $1,000 $12,000 $12,000 $12,000
3,000 - $4,000 $7,000 $18,000 $18,000
4,000 - $9,000 $2,000 $13,000 $24,000
b. Choose an order size of 4,000 T-shirts because the highest payoff is $24,000.
c.
DemanD
OrDer Size 1,000 2,000 3,000 4,000 WOrSt
1,000 $6,000 $6,000 $6,000 $6,000 $6,000
2,000 $1,000 $12,000 $12,000 $12,000 $1,000
3,000 - $4,000 $7,000 $18,000 $18,000 - $4,000
4,000 - $9,000 $2,000 $13,000 $24,000 - $9,000
Choose an order size of 1,000 T-shirts because $6,000 represents the best of the worst payoffs.
d.
DemanD
OrDer Size 1,000 2,000 3,000 4,000 average
1,000 $6,000 $6,000 $6,000 $6,000 $6,000
2,000 $1,000 $12,000 $12,000 $12,000 $9,250
3,000 - $4,000 $7,000 $18,000 $18,000 $9,750
4,000 - $9,000 $2,000 $13,000 $24,000 $7,500
Choose an order size of 3,000 T-shirts because $9,750 represents the highest average payoff.
e.
DemanD
OrDer Size 1,000 2,000 3,000 4,000 maximum
regret
1,000 $0 $6,000 $12,000 $18,000 $18,000
2,000 $5,000 $0 $6,000 $12,000 $12,000
3,000 $10,000 $5,000 $0 $6,000 $10,000
4,000 $15,000 $10,000 $5,000 $0 $15,000
Choose an order size of 3,000 T-shirts because $10,000 represents the minimax regret.
f.
Order 1,000 shirts: 10.621$6,0002 + 11 - 0.621$6,0002 = $6,000 Order 2,000 shirts: 10.621$12,0002 + 11 - 0.621$1,0002 = $7,600 Order 3,000 shirts: 10.621$18,0002 + 11 - 0.621 - $4,0002 = $9,200 Order 4,000 shirts: 10.621$24,0002 + 11 - 0.621 - $9,0002 = $10,800 Choose an order size of 4,000 T-shirts because $10,800 represents the highest weighted average.
17.18 a. Alternative A: 10.221$4502 + 10.1521$6002 + 10.321$6002 + 10.3521$7002 = $605 Alternative B: 10.221$1002 + 10.1521$9002 + 10.321$1,4002 + 10.3521$1,4002 = $1,065 Alternative C: 10.221 - $1,4002 + 10.1521 - $2002 + 10.321$2,0002 + 10.3521$2,5002 = $1,165
Choose alternative C because $1,165 represents the highest EMV.
b. EVUC = 10.221$4502 + 10.1521$9002 + 10.321$2,0002 + 10.3521$2,5002 = $1,700 EVPI = $1,700 - $1,165 = $535
17.20 a. Larger facility: 10.3521$350,0002 + 10.421$130,0002 + 10.2521 - $90,0002 = $152,000 Second shift: 10.3521$275,0002 + 10.421$90,0002 + 10.2521 - $40,0002 = $122,250
Alternative C: 10.3521$190,0002 + 10.421$20,0002 + 10.2521 - $20,0002 = $69,500
Choose a larger facility because $152,000 represents the highest EMV.
b. EVUC = 10.3521$350,0002 + 10.421$130,0002 + 10.2521 - $20,0002 = $169,500 EVPI = $169,500 - $152,000 = $17,500
17.22 a. Scout: 10.1821 - $5,0002 + 10.2621$1,0002 + 10.3421$2,0002 + 10.2221$4,0002 = $920
Ford: 10.1821 - $15,0002 + 10.2621 - $3,0002 + 10.3421$2,0002 + 10.2221$10,0002 = - $600
Choose the International Scout because $920 represents the highest EMV.
b. EVUC = 10.1821 - $5,0002 + 10.2621$1,0002 + 10.3421$2,0002 + 10.2221$10,0002 = $2,240 EVPI = $2,249 - $920 = $1,320
17.24 a.
DemanD level
alternative 10 20 30
Bake 10 $100 $100 $100
Bake 20 $80 $200 $200
Bake 30 $60 $180 $300
Bake 10: 10.2521$1002 + 10.421$1002 + 10.3521$1002 = $100 Bake 20: 10.2521$802 + 10.421$2002 + 10.3521$2002 = $170 Bake 30: 10.2521$602 + 10.421$1802 + 10.3521$3002 = $192 Choose to bake 30 because $192 represents the highest EMV.
17-42 Answers to Selected Even-Numbered Problems www.freebookslides.com
b. EVUC = 10.2521$1002 + 10.421$2002 + 10.3521$3002 = $210 EVPI = $210 - $192 = $18 per day
17.26 EMV1 = 10.6521$7002 + 10.3521 - $8002 = $175 EMV2 = 10.6521$6002 + 10.3521 - $3002 = $285 A1
A2
A3
1
2
S1 0.65
S2 0.35
S2 0.35
S1 0.65
A4
$700
–$800
$600
–$300
$220$260
$285
$175
$285
$260 A5
Choose A2.
17.28 EMV1 = 10.921$750,0002 + 10.121 - $900,0002 = $585,000 EMV2 = 10.321$750,0002 + 10.721 - $900,0002 = - $405,000
EMV3 = 10.5821$585,0002 + 10.4221$02 = $339,300 EMV4 = 10.6521$750,0002 + 10.3521 - $900,0002 = $172,500 Final EMV = $339,300 - $60,000 = $279,300
Facility Fails 0.1Build Facility
Build Facility
Build Facility
Build Pilot
Pilot Works 0.58
Pilot Fails 0.42
Don’t Build Facility
Don’t Build Facility
Facility Works 0.9
Facility Fails 0.7
Facility Works 0.3
Facility Fails 0.35
Do Nothing
Facility Works 0.65
–$60,000
–$900,000
–$900,000
$750,000
$750,000
$750,000 $585,000
$585,000
$279,300
$172,500
$339,300
–$900,000
–$405,000
$0
$0
$0
1
2
3
4
Choose to build the pilot plant. If the pilot plant works, build the facility. If the pilot plant does not work, don’t build the facility.
Answers to Selected Even-Numbered Problems 17-43 www.freebookslides.com
17.30 EMV2 = 10.721$1002 + 10.321 - $1002 = $40 EMV4 = 10.721$1002 + 10.321 - $1002 = $40 EMV3 = 10.621$402 + 10.421 - $1002 = - $16 EMV6 = 10.2521$1002 + 10.7521 - $1002 = - $50 EMV5 = 10.8521 - $502 + 10.1521 - $1002 = - $57.50 EMV1 = 10.621$402 + 10.421 - $162 = $17.60 EMV8 = 10.2521$1002 + 10.7521 - $1002 = - $50 EMV10 = 10.721$1002 + 10.321 - $1002 = $40 EMV9 = 10.621$402 + 10.421 - $1002 = - $16 EMV12 = 10.2521$1002 + 10.7521 - $1002 = - $50 EMV11 = 10.8521 - $502 + 10.1521 - $1002 = - $57.50 EMV7 = 10.8521 - $502 + 10.1521 - $162 = - $44.90
1
2
4
3
5
6
Don’t Bet
$0
–$100
–$100
–$100
–$100
$100
$100
$40
$100
–$100
$17.60
$17.60 $17.60
Bet
Soft 1st Serve
Soft 2nd Serve
Hard 2nd Serve
Hard 1st Serve
Serve Good 0.85
Serve Good 0.6
Serve Good 0.85
Serve Good 0.6
Serve Bad 0.15
Serve Bad 0.4
Serve Bad 0.4
Serve Bad 0.15
–$44.90
–$57.50
–$16
–$16
–$50
–$50
$40
$40
–$100
–$100
–$100
Soft 2nd Serve
Hard 2nd Serve
Serve Good 0.85
Serve Good 0.6
Serve Bad 0.4
Serve Bad 0.15
–$57.50
–$16
–$16
–$50
Win Point 0.7
Win Point 0.25
Win Point 0.25
Lose Point 0.75
Lose Point 0.75
Lose Point 0.3
Lose Point 0.3
–$100
–$100
$100
$100
$100
Win Point 0.7
Win Point 0.7
Win Point 0.25
Lose Point 0.75
Lose Point 0.3
8
7
9
10
11
12
Take the bet. Use your hard first serve. If this serve is bad, hit your hard serve as the second serve.
17-44 Answers to Selected Even-Numbered Problems www.freebookslides.com
17.32 a. Define the following events: RA = residents approve the zoning change RR = residents reject the zoning change CA = county approves the zoning change CR = county rejects the zoning change
Posterior Probabilities for Residents Approving the Zoning Change
COunty PriOr
PrObability COnDitiOnal PrObability
JOint PrObability
POSteriOr PrObability
Approve P1CA2 = 0.3 P1RA � CA2 = 0.76 0.228 P1CA � RA2 = 0.566 Reject P1CR2 = 0.7 P1RA � CR2 = 0.25 0.175 P1CR � RA2 = 0.434
P1RA2 = 0.403 1.00
Posterior Probabilities for Residents Rejecting the Zoning Change
COunty PriOr
PrObability COnDitiOnal PrObability
JOint PrObability
POSteriOr PrObability
Approve P1CA2 = 0.3 P1RR � CA2 = 0.24 0.072 P1CA � RR2 = 0.121 Reject P1CR2 = 0.7 P1RR � CR2 = 0.75 0.525 P1CR � RR2 = 0.879
P1RR2 = 0.597 1.00
P1CA � RA2 = 0.228 0.403
= 0.566
P1CR � RA2 = 0.175 0.403
= 0.434
P1CA � RR2 = 0.072 0.597
= 0.121
P1CR � RR2 = 0.525 0.597
= 0.879
EMV1 = 10.321$1,500,0002 + 10.721 - $1,600,0002 = - $670,000 EMV2 = 10.56621$1,500,0002 + 10.43421 - $1,600,0002 = $154,600 EMV4 = 10.12121$1,500,0002 + 10.87921 - $1,600,0002 = - $1,224,900 EMV3 = 10.40321$154,6002 + 10.59721$02 = $62,304 Final EMV = $62,304 - $30,000 = $32,304
Answers to Selected Even-Numbered Problems 17-45 www.freebookslides.com
b. The most that Susan should pay for the option to purchase the land is $62,304.
1
2
4
3
Don’t Purchase Land or Option
Don’t Purchase Land
Don’t Purchase Land
Purchase Land
$0
$0
$0
$0
Purchase Option
Purchase Land Purchase
Land
–$670,000 $1,500,000
$1,500,000
–$1,600,000
–$1,600,000
–$1,224,900 $1,500,000
–$1,600,000
County Rejects 0.7
County Rejects 0.434
County Approves 0.3
County Approves 0.566
County Rejects 0.879
County Approves 0.121
$154,600
$154,600
$32,304 $62,304
Residents Reject 0.597
Residents Approve 0.403
17.34 a. Choose an order size of 800 because $15,200 represents the highest payoff in the table.
b.
DemanD
OrDer Size 200 400 600 800 WOrSt
200 $3,800 $3,800 $3,800 $3,800 $3,800
400 $1,200 $7,600 $7,600 $7,600 $1,200
600 - $1,400 $5,000 $11,400 $11,400 - $1,400
800 - $4,000 $2,400 $8,800 $15,200 - $4,000
Choose an order size of 200 because $3,800 represents the best of the worst payoffs.
c.
DemanD
OrDer Size 200 400 600 800 average
200 $3,800 $3,800 $3,800 $3,800 $3,800
400 $1,200 $7,600 $7,600 $7,600 $6,000
600 - $1,400 $5,000 $11,400 $11,400 $6,600
800 - $4,000 $2,400 $8,800 $15,200 $5,600
Choose an order size of 600 because $6,600 represents the highest average payoff.
17-46 Answers to Selected Even-Numbered Problems www.freebookslides.com
d.
DemanD
OrDer Size 200 400 600 800 maximum
regret
200 $0 $3,800 $7,600 $11,400 $11,400
400 $2,600 $0 $3,800 $7,600 $7,600
600 $5,200 $2,600 $0 $3,800 $5,200
800 $7,800 $5,200 $2,600 $0 $7,800
Choose an order size of 600 because $5,200 represents the minimax regret.
e. Order 200: 10.821$3,8002 + 11 - 0.821$3,8002 = $3,800 Order 400: 10.821$7,6002 + 11 - 0.821$1,2002 = $6,320 Order 600: 10.821$11,4002 + 11 - 0.821 - $1,4002 = $8,840 Order 800: 10.821$15,2002 + 11 - 0.821 - $4,0002 = $11,360
Choose an order size of 800 because $11,360 represents the highest weighted average.
17.36
DemanD level
alternative 200 400 600
200 $400 $400 $400
400 - $100 $800 $800
600 - $600 $300 $1,200
17.38 a.
Order 200: 10.2221$4002 + 10.3421$4002 + 10.4421$4002 = $400 Order 400: 10.2221 - $1002 + 10.3421$8002 + 10.4421$8002 = $602 Order 600: 10.2221 - $6002 + 10.3421$3002 + 10.4421$1,2002 = $498 Choose to order 400 because $602 represents the highest EMV.
b.
EVUC = 10.2221$4002 + 10.3421$8002 + 10.4421$1,2002 = $888 EVPI = $888 - $602 = $286 per week 17.40 a. Large facility: 10.621$1.32 + 10.421 - $1.72 = $0.1
Small facility: 10.621$0.82 + 10.421 - $0.22 = $0.4 Nothing: 10.621$02 + 10.421$02 = $0 Choose a small facility because $0.4 million represents the highest EMV.
b. EVUC = 10.621$1.32 + 10.421$02 = $0.78 EVPI = $0.78 - $0.4 = $0.38 million
17.42 a. Define the following events: SS = survey predicts a strong market WS = survey predicts a weak market SD = strong demand for product WD = weak demand for product
Posterior Probabilities for a Survey That Predicts a Strong Demand
DemanD PriOr
PrObability COnDitiOnal PrObability
JOint PrObability
POSteriOr PrObability
Strong P1SD2 = 0.6 P1SS � SD2 = 0.80 0.480 P1SD � SS2 = 0.774 Weak P1WD2 = 0.4 P1SS � WD2 = 0.35 0.140 P1WD � SS2 = 0.226
P1SS2 = 0.62 1.00
Posterior Probabilities for a Survey That Predicts a Weak Demand
DemanD PriOr
PrObability COnDitiOnal PrObability
JOint PrObability
POSteriOr PrObability
Strong P1SD2 = 0.6 P1WS � SD2 = 0.20 0.120 P1SD � WS2 = 0.316 Weak P1WD2 = 0.4 P1WS � WD2 = 0.65 0.260 P1WD � WS2 = 0.684
P1WS2 = 0.38 1.00
P1SD � SS2 = 0.48 0.62
= 0.774
P1WD � SS2 = 0.14 0.62
= 0.226
P1SD � WS2 = 0.12 0.38
= 0.316
P1WD � WS2 = 0.26 0.38
= 0.684
Answers to Selected Even-Numbered Problems 17-47 www.freebookslides.com
EMV2 = 10.77421$1,300,0002 + 10.22621 - $1,700,0002 = $622,000 EMV3 = 10.77421$800,0002 + 10.22621 - $200,0002 = $574,000 EMV4 = 10.31621$1,300,0002 + 10.68421 - $1,700,0002 = - $752,000 EMV5 = 10.31621$800,0002 + 10.68421 - $200,0002 = $116,000 EMV1 = 10.6221$622,0002 + 10.3821$116,0002 = $429,720 EMV6 = 10.621$1,300,0002 + 10.421 - $1,700,0002 = $100,000 EMV7 = 10.621$800,0002 + 10.421 - $200,0002 = $400,000 Final EMV = $429,720 - $20,000 = $409.720
b. The most that Joyce should pay for the survey is $429,720 - $400,000 = $29,720.
1
2
4
5
6
7
3
Don’t Conduct Survey
$0
$0
$0
Conduct Survey
Weak Survey 0.38
$622,000
$622,000
$574,000
$116,000
$400,000 $400,000
$100,000
$116,000
$429,720
$409,720
Build Large
Strong Survey 0.62
Don’t Build
Don’t Build
Don’t Build
Build Large
Build Large
Build Small
Build Small
Build Small
$1,300,000
–$1,700,000
–$200,000
$800,000
$1,300,000
–$1,700,000
–$200,000
–$752,000
$800,000
$1,300,000
–$1,700,000
–$200,000
$800,000
Strong Demand 0.6
Strong Demand 0.6
Weak Demand 0.4
Weak Demand 0.4
Strong Demand 0.316
Strong Demand 0.316
Weak Demand 0.684
Weak Demand 0.684
Strong Demand 0.774
Strong Demand 0.774
Weak Demand 0.226
Weak Demand 0.226
17-48 Answers to Selected Even-Numbered Problems www.freebookslides.com
17.50 a. Define the following events: PT = positive test results UT = undecided test results NT = negative test results MO = much oil SO = some oil NO = no oil Posterior Probabilities for Positive Test Results
Oil PriOr
PrObability COnDitiOnal PrObability
JOint PrObability
POSteriOr PrObability
Much P1MO2 = 0.1 P1PT � MO2 = 0.90 0.090 P1MO � PT2 = 0.750 Some P1SO2 = 0.3 P1PT � SO2 = 0.02 0.006 P1SO � PT2 = 0.050 No P1NO2 = 0.6 P1PT � NO2 = 0.04 0.024 P1NO � PT2 = 0.200
P1PT2 = 0.120
Posterior Probabilities for Undecided Test Results
Oil PriOr
PrObability COnDitiOnal PrObability
JOint PrObability
POSteriOr PrObability
Much P1MO2 = 0.1 P1UT � MO2 = 0.05 0.005 P1MO � UT2 = 0.016 Some P1SO2 = 0.3 P1UT � SO2 = 0.92 0.276 P1SO � UT2 = 0.887 No P1NO2 = 0.6 P1UT � NO2 = 0.05 0.030 P1NO � UT2 = 0.096
P1UT2 = 0.311
Posterior Probabilities for Negative Test Results
Oil PriOr
PrObability COnDitiOnal PrObability
JOint PrObability
POSteriOr PrObability
Much P1MO2 = 0.1 P1NT � MO2 = 0.05 0.005 P1MO � NT2 = 0.009 Some P1SO2 = 0.3 P1NT � SO2 = 0.06 0.018 P1SO � NT2 = 0.032 No P1NO2 = 0.6 P1NT � NO2 = 0.91 0.546 P1NO � NT2 = 0.960
P1NT2 = 0.569
P1MO � PT2 = 0.090 0.120
= 0.750
P1SO � PT2 = 0.006 0.120
= 0.050
P1NO � PT2 = 0.024 0.120
= 0.200
P1MO � UT2 = 0.005 0.311
= 0.016
17.44 a. $1,000: 10.121$02 + 10.221 - $1252 + 10.321 - $2502 + 10.421 - $3752 = - $250 $1,500: 10.121 - $5002 + 10.221$02 + 10.321 - $1252 + 10.421 - $2502 = - $187.50 $2,000: 10.121 - $1,0002 + 10.221 - $5002 + 10.321$02 + 10.421 - $1252 = - $250 $2,500: 10.121 - $1,5002 + 10.221 - $1,0002 + 10.321 - $5002 + 10.421$02 = - $500
Beth should choose to deposit $1,500 in her FSA account this year because –$187.50 is the highest EMV.
b. EVUC = 10.121$02 + 10.221$02 + 10.321$02 + 10.421$02 = $0 EVPI = $0 - 1 - $187.502 = $187.50 per year 17.46 a. Overbook 0: 10.1621$02 + 10.3221 - $902 + 10.2521 - $1802 +
10.2721 - $2702 = - $146.70 Overbook 1: 10.1621 - $1502 + 10.3221$02 + 10.2521 - $902 + 10.2721 - $1802 = - $95.10
Overbook 2: 10.1621 - $3002 + 10.3221 - $1502 + 10.2521$02 + 10.2721 - $902 = - $120.30 Overbook 3: 10.1621 - $4502 + 10.3221 - $3002 + 10.2521 - $1502 + 10.2721$02 = - $205.50 Choose to overbook one passenger because - $95.10 represents the highest EMV.
b.
EVUC = 10.1621$02 + 10.3221$02 + 10.2521$02 + 10.2721$02 = $0 EVPI = $0 - 1 - $95.102 = $95.10 per flight 17.48 a.
Drill: 10.121$2.02 + 10.321$0.72 + 10.621 - $1.82 = - $0.67 million Don’t drill: 10.121$02 + 10.321$02 + 10.621$02 = $0 million Choose don’t drill because $0 represents the highest EMV.
b.
EVUC = 10.121$2.02 + 10.321$0.72 + 10.621$02 = $0.41 million EVPI = $0.41 - $0 = $0.41 million
Answers to Selected Even-Numbered Problems 17-49 www.freebookslides.com
P1SO � UT2 = 0.276 0.311
= 0.887
P1NO � UT2 = 0.030 0.311
= 0.096
P1MO � NT2 = 0.005 0.569
= 0.009
P1SO � NT2 = 0.018 0.569
= 0.032
P1NO � NT2 = 0.546 0.569
= 0.960
EMV2 = 10.75021$2,000,0002 + 10.05021$700,0002 + 10.20021 - $1,800,0002 = $1,175,000 EMV3 = 10.01621$2,000,0002 + 10.88721$700,0002 + 10.09621 - $1,800,0002 = $480,100 EMV4 = 10.00921$2,000,0002 + 10.03221$700,0002 + 10.95921 - $1,800,0002 = - $1,685,800 EMV1 = 10.12021$1,175,0002 + 10.31121$480,1002 + 10.56921$02 = $290,311 EMV5 = 10.121$2,000,0002 + 10.321$700,0002 + 10.621 - $1,800,0002 = - $670,000 Final EMV = $290,311 - $100,000 = $190,311
b. The most that Texas Oil should pay for the geological test is $290,622.
Drill
Drill
Drill
Don’t Drill
No Oil 0.200
Some Oil 0.050
Much Oil 0.750
Don’t Test Site
Test Site Negative
Test 0.569
Positive Test 0.120
Undecided Test 0.311
–$670,000
$750,000
$2,000,000
$1,175,000
$1,175,000
$190,311
Drill
Don’t Drill
Don’t Drill
$290,311
–$1,800,000
$700,000
$480,100
$480,100
$0
$0
$0
$0
$0
$0
2
3
4
1
5
No Oil 0.096
Some Oil 0.887
Much Oil 0.016 $2,000,000
–$1,800,000
$700,000
No Oil 0.959
Some Oil 0.032
Much Oil 0.009 $2,000,000
–$1,800,000
–$1,685,800 $700,000
No Oil 0.6
Some Oil 0.3
Much Oil 0.1 $2,000,000
–$1,800,000
$700,000
17-50 Answers to Selected Even-Numbered Problems www.freebookslides.com
Photo Credits
17-51
Pages 17-1, 17-2, and 17-32, Courtesy of Mallon’s Sticky Buns, Avalon, New Jersey/Robert Donnelly.
www.freebookslides.com
C h a p t e r
I n t h I s c h a p t e r , y o u w I l l l e a r n t o : ■ Identify when to use a nonpara-
metric procedure rather than a parametric procedure.
■ Conduct a sign test to estimate the median of a population.
■ Compare two independent samples using the Wilcoxon Rank-Sum test.
■ Compare two dependent samples using the Wilcoxon Signed-Rank test.
■ Compare three or more independent samples using the Kruskal–Wallis test.
■ Calculate the Spearman Rank- Order Correlation Coefficient for two samples.
Nonparametric Statistics
C h a p t e r 1 8 M a p
18.1 Introduction to Nonparametric Statistics | 18-2
18.2 The Sign Test | 18-4
18.3 The Wilcoxon Rank-Sum Test for Two Independent Samples | 18-14
18.4 The Wilcoxon Signed-Rank Test for Two Dependent Samples | 18-22
18.5 The Kruskal–Wallis One-Way ANOVA | 18-27
18.6 The Spearman Rank-Order Correlation Coefficient | 18-31
APPENDIX C: Tables for Chapter 18 | 18-48
18
www.freebookslides.com
18-2 C h a p t e r 18 | Nonparametric Statistics
18.1 Introduction to Nonparametric Statistics
Parametric statistics describe procedures that assume that the population from which a sam- ple is drawn follows a known probability distribution, such as the normal distribution. I hope this definition sounds vaguely familiar to you, because it is essentially what we have been doing since Chapter 8. The following are instances in which parametric statistics have been used in previous chapters of this textbook.
• Confidence intervals for the mean of a population when the population’s standard deviation is not known, especially when the sample size is small (Chapter 8).
• Hypothesis tests to estimate the mean of a single population when the population’s standard deviation is not known, especially when the sample size is small (Chapter 9).
• Hypothesis tests for comparing two population means when the standard deviations of the populations are not known, especially when the sample sizes are small (Chapter 10).
• Hypothesis tests for comparing more than two population means using the analysis of variance technique (Chapter 11).
Parametric statistics also have requirements related to data-measurement levels. Recall from Chapter 1 that there are four levels of data measurement—nominal, ordinal, interval, and ratio. Table 18.1 describes the levels and provides an example of each.
Parametric statistics describe procedures that assume that the population from which the sample is drawn follows a known probability distribution.
When outliers are present, the median can provide a more accurate measurement of central tendency than the mean.
To reduce their health care costs, some organizations are pro- viding their employees with financial incentives to improve their health. United Medical, a provider of billing services for doctors’ offices, has designed a health care plan whereby monthly insur- ance premiums paid by employees can be reduced through a point system. Employees can earn points in a variety of ways, such as by having annual physicals, losing weight, or walking a certain number of steps per day. For example, an employee can wear a device known as Fitbit, which monitors the number of steps the person takes daily. The employee can also synchro- nize the device with a smartphone or tablet, and the data can be reported to United Medical, which will convert the number of steps to points that will reduce the employee’s insurance premiums.
To establish the number of steps employees should walk per day as part of the health-improvement program, United Medical would like to know the median number of steps taken each day by the population of employees. Recall that the median represents the position in the data where half the observations are lower and half the observations are higher. The median is a better measure of central tendency than the mean because of the high variability and potential for outliers when counting the number of steps people take during the day. A hypothesis test to estimate the median number of steps would provide this in- formation. The hypothesis tests covered in earlier chapters only focused on a population’s mean and proportion. This chapter will show you how to perform a hypothesis test to estimate a population’s median.
Stats in practice: Using Statistics to Motivate employees to reduce health Care Costs
www.freebookslides.com
C h a p t e r 18 | 18.1 Introduction to Nonparametric Statistics 18-3
Parametric statistics require the level of data measurement to be interval or ratio. The hypothesis tests and confidence intervals that estimate population means cannot be used for data that are at the nominal or ordinal level.
The question begging to be asked at this point is “What do I do when the underlying assumptions or requirements for my parametric statistical procedure are not satisfied?” The answer is (wait for it, wait for it . . .) nonparametric statistics!
Nonparametric statistics is a term used to describe procedures that rely on fewer assumptions about the probability distribution for a population of interest than parametric statistics do. Nonparametric statistics also can be used for data that are at the nominal or ordinal level of measurement. Finally, nonparametric statistics can be used to perform a hypothesis test to estimate the population median, which parametric statistics cannot do.
This raises another question that is begging to be asked: “Why don’t we just estimate the population mean using nonparametric statistics so we don’t have to not worry about the assumptions and requirements of parametric statistics?” As I have said before in this text- book, there is no free lunch with statistics. All else being equal (the same sample size, same level of significance, and so on), the parametric procedure will result in a higher probability of your correctly rejecting the null hypothesis. In Chapter 9, we referred to this probability as the power of a hypothesis test. A statistician prefers a test with a higher power to a test with a lower power.
One last question begging to be asked (I promise)—“How do I decide when choosing between a parametric procedure and a nonparametric procedure?” Because the power of a parametric procedure is higher, you should use it when the required assumptions about the probability distribution of the population can be verified. By contrast, use the nonparametric procedure:
• If the level of data measurement for the sample is only nominal or ordinal.
• When the sample size is very small (less than 30) because it will be difficult to test if the population is normally distributed.
Nonparametric statistics are procedures that rely on fewer assumptions about the probability distribution for a population of interest than parametric statistics do. They also can be used for data that are at the nominal or ordinal level of measurement.
The power of a hypothesis test is the probability of correctly rejecting the null hypothesis.
In Chapter 7, you learned that the mean of a sample follows the normal probability distribution if the sample size exceeds 30.
{ table 18.1 |
level description example
Nominal Strictly qualitative data assigned to
predetermined categories or labels.
The number on baseball players’ uniforms would be nominal
data because these values are simply a label and are not used
for any type of measurement.
Ordinal All the properties of nominal data with the
added feature that allows us to rank-order
the values from highest to lowest.
The batting order of baseball players would be considered
ordinal data because we can rank-order the players going to the
plate to hit. However, there is no meaningful difference
between a player hitting fifth and a player hitting sixth.
Interval All the properties of ordinal data with the
added feature that allows us to measure
the differences between the categories
with actual numbers in a meaningful way.
The birth years of the baseball players would be considered
interval data. We can say that a player born in 1984 is three years
older than a player born in 1987. However, we cannot say that a
person born in the year 1000 is twice as old as a person born in
the year 2000 because there is no true zero point with calendar
years. The year 0 does indicate the absence of age or time.
Ratio All the properties of interval data with the
added feature of having a true zero point.
The number of home runs hit by the best hitter on the team
is an example of ratio data. A player with 20 home runs has
twice as many as a player with 10 home runs. There is a true
zero point for these data because zero home runs represent the
absence of home run hits.
Most people performing a hypothesis test consider rejecting the null hypothesis as the desirable outcome.
Tol Ffcr Llelat fh Duvu Mlutcrlslmv
www.freebookslides.com
18-4 C h a p t e r 18 | Nonparametric Statistics
• When there is no corresponding parametric procedure for the hypothesis test, such as a test needed to estimate the median of a population. (For some hypothesis tests, no para- metric procedures exist.)
18.2 The Sign Test Many government statistics, such as weekly income and housing prices, are published using the median, due to the prevalence of outliers in these data. (Unlike the median, the mean can be heavily affected by outliers.) However, as you have learned, there is no corresponding parametric procedure to test for the median. This is where a sign test comes in handy. The sign test is a very versatile nonparametric procedure that can be used to estimate a popula- tion median or if consumers prefer one product to another. Each observation from the sample is assigned a plus sign or a minus sign. The test statistic is simply the number of plus or mi- nus signs from the sample.
Using a One-tail Sign test for the Median (Small Sample Case) For the sign test, I’ll first address the small sample case where n … 20. To demonstrate this sign test, I’ll refer back to the Statistics in Practice example at the beginning of this chapter. Suppose United Medical wanted to see if the number of steps walked per day by its popula- tion of employees is less than 6,000. Using the Fitbit device, the data shown in Table 18.2 were collected from a random sample of nine employees. These data can also be found in the Excel file daily steps.xlsx.
Chapter 12 discussed a chi-square procedure that can be used to determine if a population is normally distributed. This particular procedure required a sample size of at least 32.
The sign test is a nonparametric procedure that assigns a plus sign or a minus sign to each observation in a sample. The test statistic is the number of plus or minus signs from the sample.
The following steps will show you how to test this hypothesis using the sign test when a = 0.10.
Step 1: Identify the null and alternative hypotheses.
Because United Medical is interested in knowing if the population median is less than 6,000 steps per day, I’ll assign this statement to the alternative hypothesis.
H0: Median Ú 6,000 steps per day H1: Median 6 6,000 steps per day
Step 2: Count the plus and minus signs.
This step is easy. Simply assign a plus sign to any data value above the hypoth- esized median (6,000) and a negative sign to any data value below the median as Table 18.3 shows. If any value happens to fall exactly on the median, remove it from the sample.
Notice that this is a one-tail (lower) test because the alternative hypothesis contains the “less than” sign. I’ll address the two-tail test shortly.
{ table 18.3 | Signs for the Number of Steps Taken per Day
2,890 1 - 2 3,760 1 - 2 5,217 1 - 2 9,736 1 + 2 6,000 5,799 1 - 2 4,649 1 - 2 15,758 1 + 2 4,127 1 - 2 5,105 1 - 2
I’ve removed the data value 6,000 from the sample because it falls exactly on the hypothesized median.
{ table 18.2 | Number of Steps Taken per Day by a Sample of Employees
2,890 3,760 5,217 9,736 6,000
5,799 4,649 15,758 4,127 5,105
www.freebookslides.com
{ table 18.4 | Binomial Probabilities When p = 0.50 and n = 9
number of minus signs, x probability
0 0.0020
1 0.0176
2 0.0703
3 0.1641
4 0.2461
5 0.2461
6 0.1641
7 0.0703
8 0.0176
9 0.0020
C h a p t e r 18 | 18.2 The Sign Test 18-5
For this example, we have two plus signs and seven minus signs.
Step 3: Determine the test statistic, S.
The test statistic for the one-tail sign test, S, is the number of plus signs or minus signs, depending on the alternative hypothesis. Because our goal is to prove that the median is less than 6,000 steps per day, the test statistic is the number of minus signs, which is S = 7.
Notice that the original data (number of steps taken per day) is at the ratio level of measurement. When we convert this sample data to the number of plus and minus signs, we have reduced the level of data measurement to ordinal where there is no meaningful difference between the data values. Remember, parametric procedures don’t work with ordinal data but nonparametric procedures can.
Step 4: Determine the sample size, n.
The sample size is the total number of plus signs and minus signs. For this example, n = 7 + 2 = 9. Notice that the data value 6,000 is excluded from the sample size because it falls exactly on the hypothesized median.
Step 5: Determine the p-value.
If the null hypothesis is true (which we assume unless proven otherwise), the prob- ability that an observation drawn from the population of United Medical employees is assigned a plus sign (above the median of 6,000) equals 0.50. The same can be said for the probability that the observation is assigned a minus sign. Because each of the nine observations from our sample must be assigned a plus or minus sign, this sampling distribution can be said to follow the binomial probability distribution with p = 0.50, where p represents the probability of an observation being below the median of 6,000. The binomial distribution was first introduced in Chapter 5 of this textbook.
Table 18.4 shows the binomial probabilities for all possible values of x (the number of minus signs) when p = 0.50 and n = 9. (The probabilities can also be found in Table 1 in Appendix A which can be found in the print version of the textbook.) Figure 18.1 shows this binomial distribution graphically.
If our null hypothesis is true, 50% of the population will fall below the median and 50% will fall above the median. As a result, we set p = 0.50.
The probabilities shown in Table 18.4 assume that the null hypothesis is true.
For an upper-tail test, the test statistic would be the number of plus signs. We will cover the two-tail test a little later.
www.freebookslides.com
18-6 C h a p t e r 18 | Nonparametric Statistics
In our sample of nine observations, seven were below the hypothesized median of 6,000 steps per day. The p-value for this hypothesis test represents the probability of observing seven or more observations below the median if the null hypothesis is true. The p-value for the small sample, one-tail sign test is found using Equation 18.1.
Formula 18.1 for the p-Value for a small sample, one-tail sign test
p@value = P1x Ú S2
For our United Medical example, S = 7. Using the probabilities from Table 18.4 or Figure 18.1, the p-value equals
p@value = P1x Ú 72 = 0.0703 + 0.0176 + 0.0020 = 0.0899 Step 6: State your conclusions.
Table 18.5 shows the decision rules for hypothesis tests using p-values.
{ table 18.5 | Decision Rules for Hypothesis Tests Using P-Values
condition conclusion
p@value Ú a S Do not reject H0 p@value 6 a S Reject H0
Because our p-value (0.0899) is less than a = 0.10, United Medical can reject the null hypothesis and conclude that the median number of steps walked per day by the population of employees is less than 6,000.
An upper-tail hypothesis test (one in which H1: Median 7 6,000) would follow the ex- act same procedure as the lower-tail test with one exception: The test statistic, S, would be the number of observations above the hypothesized median. You’ll have a chance to practice this type of test in the following Your Turn #1.
This particular example was developed from my own personal experience with the Fitbit device. Being somewhat of a gadget freak with a competitive nature, I purchased a device for myself and one for my wife, Deb, who happens to have an exercise compulsion. I wanted us to have a daily competition based on the number of steps we walked per day and impress her with my manly stamina. Her eyes lit up as she attached her device to her hip and calmly said, “You have no idea what you are up against.” How those words have rung true. After getting beaten day after day by her, I’m searching for Plan B. At the moment, I’m trying to devise a way to attach my Fitbit to our Labrador and quietly let her loose on a neighborhood run after Deb retires for the night. Desperate times call for desperate measures.
{ figure 18.1 Binomial Distribution When
p = 0.50 and n = 9
The sum of the probabilities inside this red box equals the p-value for our hypothesis test.
0.0176 0.002
0.0703 0.0703
0.002 0.0176
0.03
0.25
0.2
0.15
0.1
0.05
0 9876543210
Number of Minus Signs, x
Binomial Distribution for United Medical
Pr ob
ab ili
ty
0.2461 0.2461
0.16410.1641
www.freebookslides.com
C h a p t e r 18 | 18.2 The Sign Test 18-7
Using a two-tail Sign test for the Median (Small Sample Case) As promised, we’ll now examine the two-tail sign test with a small sample size 1n … 202. Suppose a consumer research group would like to test the hypothesis that the median num- ber of text messages sent per month by a Verizon cell phone customer equals 700. Table 18.6 shows the number of text messages sent by a random sample of 11 Verizon customers. These data can also be found in the Excel file median text messages.xlsx.
Suppose the Bureau of Labor Statistics would like to test the hypothesis that the median weekly wage of U.S. workers exceeds $800. The following random sample of weekly wages was collected and can be found in the Excel file median wages.xlsx.
$875 $800 $667 $647 $934 $1,114
$979 $546 $1,269 $1,347 $870
Using a = 0.05, perform a hypothesis test to determine if the population median for weekly wages exceeds $800.
Y O U r t U r n # 1N
Answers can be found on u page 18-44.
{ table 18.6 | Text Messages Sent per Month by a Sample of Verizon Customers
1,126 1,468 645 1,100 1,260 999
879 793 484 567 1,515
The following steps will show you how to test this hypothesis using the sign test when a = 0.05.
Step 1: Identify the null and alternative hypotheses.
This is a two-tail test because the consumer group is interested in testing if the me- dian number of text messages equals 700 per month.
H0: Median = 700 texts per month H1: Median ≠ 700 texts per month
Step 2: Count the plus and minus signs.
As Table 18.7 shows, we again assign plus and minus signs to the values above and below the hypothesized median of 700.
{ table 18.7 | Signs for the Number of Text Messages Sent per Month
1,126 1 + 2 1,468 1 + 2 645 1 - 2 1,100 1 + 2 1,260 1 + 2 999 1 + 2 879 1 + 2 793 1 + 2 484 1 - 2 567 1 - 2 1,515 1 + 2
For this example, we have eight plus signs and three minus signs.
Step 3: Determine the test statistic, S.
The test statistic for the two-tail sign test, S, is the larger number of the plus signs versus the minus signs. Because we have eight plus signs and three minus signs, we set S = 8.
www.freebookslides.com
18-8 C h a p t e r 18 | Nonparametric Statistics
Step 4: Determine the sample size, n.
The sample size is still the total number of plus signs and minus signs. For this ex- ample, n = 8 + 3 = 11.
Step 5: Determine the p-value.
The p-value is still found using the binomial probabilities for p = 0.50 and n = 11. The probabilities are shown in Table 18.8, and their distribution is dis- played in Figure 18.2.
{ table 18.8 | Binomial Probabilities When p = 0.50 and n = 11
number of plus signs, x probability number of plus signs, x probability
0 0.0005 6 0.2256
1 0.0054 7 0.1611
2 0.0269 8 0.0806
3 0.0806 9 0.0269
4 0.1611 10 0.0054
5 0.2256 11 0.0005
As Equation 18.2 shows, the p-value for a two-tail sign test is the probability of ob- serving S or more observations away from the median times a factor of two.
Formula 18.2 for the p-Value for a small sample, two-tail sign test
p@value = 2 * P1x Ú S2
Recall that we need to double the probability for a p-value when working with a two-tail test.
For our text messages example, S = 8. Using the probabilities from Table 18.8 or Figure 18.2, the p-value equals
p@value = 2 * P1x Ú 82 p@value = 210.0005 + 0.0054 + 0.0269 + 0.08062 = 210.11342 = 0.2268
{ figure 18.2 Binomial Distribution When
p = 0.50 and n = 11
The p-value for this two-tail test is the sum of the probabilities inside the red box times a factor of two.
0.0005
0.25
0.2
0.15
0.1
0.05
0 11109876543210
Number of Plus Signs, x
Binomial Distribution for Text Messages
P ro
b ab
il it
y
0.2256 0.2256
0.16110.1611
0.0806 0.0806
0.0269 0.0269
0.00540.0054 0.0005
www.freebookslides.com
C h a p t e r 18 | 18.2 The Sign Test 18-9
Step 6: State your conclusions.
Because our p-value (0.2268) is more than a = 0.05, the consumer group fails to reject the null hypothesis. The firm does not have enough evidence to conclude that the median number of text messages sent per month by Verizon customers is not equal to 700.
Try your hand at a two-tail sign test with the following Your Turn problem.
The National Association of Realtors reported that the median housing price in the United States in 2012 was $180,000. Use the following random sample, verify this claim using a two-tail test when a = 0.05. The data are shown in thousands of dollars and can also be found in the Excel file median housing prices.xlsx.
$242 $417 $156 $246 $200 $408
$290 $252 $187 $143 $509 $337
Y O U r t U r n # 2N
Answers can be found on u page 18-44.
Using the Sign test for the Median (Large Sample Case) With a sample size of n 7 20, the sampling distribution for the sign test, assuming the null hypothesis is true 1p = 0.502, is a normal probability distribution. This is because the nor- mal distribution can be used to approximate the binomial distribution when working with a larger sample size. The mean and standard deviation for this sampling distribution can be found in Equations 18.3 and 18.4.
Formulas 18.3 and 18.4 for the Mean and standard Deviation for the sign test (large sample case)
m = 0.5n s = 20.25n
where
m = the mean of the sampling distribution s = the standard deviation of the sampling distribution n = the sample size
The test statistic for the sign test with n 7 20 is shown in Equation 18.5.
Formula 18.5 for the test statistic for the sign test (large sample case)
zS = 1S - 0.52 - m
s
We subtract 0.5 from S because of the continuity correction factor, which was introduced in Chapter 6. This factor helps us to approximate the binomial distribution using the normal distribution.
We relied on the normal distribution to approximate the binomial distribution in Chapters 7, 8, and 9 when working with proportions.
www.freebookslides.com
18-10 C h a p t e r 18 | Nonparametric Statistics
where
zS = the test statistic for the sign test S = the number of plus or minus signs from the sample m = the mean of the sampling distribution s = the standard deviation of the sampling distribution I’ll demonstrate this sign test using the following example. According to Dydacomp,
the median order size of clothing purchased on the Internet in 2012 was $114. Suppose we would like to see if the median order size for the population has increased since then. We will use a random sample of 53 customers who recently purchased clothing from a Web site. Table 18.9 shows the data for the sample.
{ table 18.9 | Sample Results for Clothing Purchased on the Internet
order size number of customers sign
Below $114 17 Minus 1 - 2 Equal to $114 2 No sign
Above $114 34 Plus 1 + 2
Let’s take the following steps to test this hypothesis using the large-sample sign test when a = 0.05. Step 1: Identify the null and alternative hypotheses.
This is a one-tail test because we are investigating if the median order size has in- creased over the previously reported value of $114.
H0: Median … $114 H1: Median 7 $114
Step 2: Determine the value for S.
For this sample, we have 34 plus signs and 17 minus signs, as Table 18.9 shows. Because we have an upper tail test, S = 34, which equals the number of plus signs in the sample.
Step 3: Determine the sample size, n.
The sample size is still the total number of plus signs and minus signs. For this ex- ample, n = 34 + 17 = 51.
Step 4. Determine the test statistic, zS.
Before calculating the test statistic, we need to determine the mean and standard deviation of the sampling distribution using Equations 18.3 and 18.4.
m = 0.5n = 10.521512 = 25.5 s = 20.25n = 210.2521512 = 212.75 = 3.57
We can now use Equation 18.5 to calculate the test statistic.
zS = 1S - 0.52 - m
s =
134 - 0.52 - 25.5 3.57
= 2.24
Step 5: Determine the p-value.
We can use Equation 18.6 to calculate the p-value for this large sample, one-tail sign test.
If this were a lower-tail test 1H1: Median 6 $1142, we would set S = 17, which equals the number of minus signs in the sample.
Formula 18.6 for the p-Value for the large sample, one-tail sign test
p@value = P1x Ú zS2
www.freebookslides.com
C h a p t e r 18 | 18.2 The Sign Test 18-11
Using Equation 18.6, the p-value is
p@value = P1x Ú zS2 p@value = P1x Ú 2.242 = 1.0 - 0.9875 = 0.0125
Step 6: State your conclusions.
Because our p-value (0.0125) is less than a = 0.05, we can reject the null hypoth- esis. As a result, we can conclude that the median order size for clothing purchased on the Internet exceeds $114.
The next Your Turn problem provides you with the opportunity to perform a two-tail sign test with a large sample. The p-value for the test can be found using Equation 18.7. Remember that the value for S will be the larger of the number of plus and minus signs, just as it was for the small sample case.
p@value = 2 * P1x Ú zS2
Formula 18.7 for the p-Value for the large sample, two-tail sign test
According to the American Automobile Association, in 2012, the median travel budget for a person traveling at least 50 miles for the Thanksgiving holiday was $498. In 2013, a random sample of 45 Thanksgiving travelers was collected: 18 of them spent less than $498, 26 of them spent more than $498, and one traveler spent exactly $498. Using a = 0.10, perform a hypothesis test to determine if the median travel expenses for the Thanksgiving holiday changed from 2012 to 2013.
Y O U r t U r n # 3N
Answers can be found on u page 18-45.
Using the Sign test to Determine preferences In addition to testing the median of a population, the sign test can be applied to testing if consumers prefer one product or service to another. In this application, the data values are the brand names consumers prefer when faced with two choices. Because the data (brand names) are merely labels, the level of measurement is nominal. Therefore, the nonparametric sign test is the perfect procedure for this application. I’m sure you can imagine that this type of test would be very useful for marketing products and services.
I’ll demonstrate this technique using the small sample case and then let you try the large sample case in the next Your Turn problem. As a longtime lover of Cheez-It crackers, I find myself offended when somebody claims that Cheese Nips, a competing product, are just as good. To put an end to this silly argument, I asked 14 unbiased individuals to taste each product and state their preferences. Table 18.10 shows the results.
{ table 18.10 | Sample Results for Cheez-It Versus Cheese Nips
person brand preference sign
1 Cheez-It +
2 Cheez-It +
3 Cheez-It +
4 Cheez-It +
5 Cheese Nips -
6 Cheez-It +
7 Cheez-It +
person brand preference sign
8 No preference
9 Cheez-It +
10 Cheese Nips -
11 Cheez-It +
12 Cheez-It +
13 Cheez-It +
14 Cheez-It +
For the sign test, the p-value is found by calculating P1x Ú zS2 for both upper-tail and lower-tail tests.
www.freebookslides.com
18-12 C h a p t e r 18 | Nonparametric Statistics
Because I hope to prove that the population in general prefers Cheez-It (a one-tail test), I assigned a plus sign to the people who chose Cheez-It in the taste test. I assigned the peo- ple who chose Cheese Nips (and have no taste buds) a minus sign. Person #8 had no prefer- ence and was not assigned a sign.
The following steps will show you how to test this hypothesis using the sign test when a = 0.05.
Step 1: Identify the null and alternative hypotheses.
If p equals the proportion of people in the population who prefer Cheez-It, then the alternative hypothesis supports p 7 0.50. This results in the following one-tail test:
H0: p … 0.50 H1: p 7 0.50
Step 2: Count the plus and minus signs.
Table 18.10 indicates that we have 11 plus signs and two minus signs.
Step 3: Determine the test statistic, S.
Because we are attempting to prove that the preferred brand is Cheez-It, those choosing Cheez-Its were assigned a plus sign. So, S = 11.
Step 4: Determine the sample size, n.
The sample size is the total number of plus signs and minus signs. For this example, n = 11 + 2 = 13.
Step 5: Determine the p-value.
The p-value is found using the binomial probabilities for p = 0.50 and n = 13. Table 18.11 shows those probabilities.
{ table 18.11 | Binomial Probabilities When p = 0.50 and n = 13
number of plus signs, x probability number of plus signs, x probability
0 0.0001 7 0.2095
1 0.0016 8 0.1571
2 0.0095 9 0.0873
3 0.0349 10 0.0349
4 0.0873 11 0.0095
5 0.1571 12 0.0016
6 0.2095 13 0.0001
Using Equation 18.1 from earlier in the chapter, we have
p@value = P1x Ú S2 p@value = 0.0095 + 0.0016 + 0.0001 = 0.0112
Step 6: State your conclusions.
Because the p-value (0.0112) is less than a = 0.05, we reject the null hypothesis. I can confidently conclude that people prefer my beloved Cheez-It to Cheese Nips. I rest my case.
The following Your Turn problem allows you to tackle a two-tail, large sample sign test to determine a brand preference. Being in a generous mood as I write this chap- ter, I’m providing you with the following four hints.
• It does not matter which brand is assigned a plus sign and which brand is assigned a minus sign. The choice is completely arbitrary.
The p-value is the sum of the probabilities highlighted in yellow.
www.freebookslides.com
C h a p t e r 18 | 18.2 The Sign Test 18-13
• The value of S is still the larger number of plus versus minus signs.
• Use Equation 18.5 to calculate the test statistic.
• Use Equation 18.7 to calculate the p-value.
• You’re welcome.
Suppose Tropicana would like to conduct a taste test to determine if consumers prefer orange juice with pulp or orange juice without pulp. A random sample of consumers tasted each type of juice and stated their preferences. The results are as follows.
Preference Number of Consumers
With pulp 21
Without pulp 35
No preference 4
Using a = 0.05, perform a hypothesis test to determine if consumers prefer one type of orange juice to the other.
Y O U r t U r n # 4N
Answers can be found on u page 18-45.
18.2 Section Problems Basic Skills 18.1 Consider the following sample data:
6 19 14 5 16 14 10
Using a = 0.05, perform a hypothesis test to determine if the population median from which this sample has been drawn exceeds 10.
18.2 Consider the following sample data:
18 19 29 28 14 19 40 11
Using a = 0.05, perform a hypothesis test to determine if the population median from which this sample has been drawn equals 20.
18.3 Using a = 0.10, perform a hypothesis test to determine if the population median is less than 25 using the following sample information.
Data Value Number of Occurrences
Below 25 36
Equal to 25 3
Above 25 15
18.4 Using a = 0.10, perform a hypothesis test to determine if the population median is equal to 40 using the following sample information.
Data Value Number of Occurrences
Below 40 18
Equal to 40 2
Above 40 27
18.5 Customers were asked if they prefer Product A or Product B. The results are as follows.
Preference Number of Customers
A 28
B 14
No preference 8
Using a = 0.05, perform a hypothesis test to determine if consumers prefer one product to the other.
www.freebookslides.com
18-14 C h a p t e r 18 | Nonparametric Statistics
18.3 The Wilcoxon Rank-Sum Test for Two Independent Samples
In Chapter 10, we discussed a hypothesis test comparing two independent samples when the standard deviations of the populations were unknown. For example, recall that we compared the average gas mileage for a particular car model with air conditioning on and windows up to the gas mileage for the same model with the air conditioning off and windows down. This parametric test utilized the Student’s t-distribution, which requires the populations to be nor- mally distributed. When this assumption cannot be made, we can use a nonparametric pro- cedure known as the Wilcoxon rank-sum test. The only requirements for this test are that the data be at least at the ordinal level of measurement and that the shapes of the distributions for the two populations are similar.
More specifically, the Wilcoxon rank-sum test determines whether two populations have the same probability distribution based on evidence from two independent samples. In the following sections, we will focus on testing if the medians from the two populations are dif- ferent. We will examine both the small sample and the large sample cases in the following sections.
The Wilcoxon rank-sum test is a nonparametric procedure that determines whether two populations have the same probability distribution based on evidence from two independent samples.
applications 18.6 H&R Block, a tax preparation company, believes that the
median tax refund for 2014 was greater than $3,000. To test this belief, the following random sample of 2014 re- funds was collected. These data can also be found in the Excel file H&R Block.xlsx.
$2,278 $4,116 $228 $5,988 $3,966
$684 $3,398 $5,366 $3,678 $4,784
Using a = 0.05, perform a hypothesis test to determine if H&R Block’s belief is supported by this sample.
18.7 AutoTrader.com claims that the median selling price of used cars during 2014 was $9,275. To test this claim, the following random sample of 2014 used car sales was col- lected. These data can also be found in the Excel file AutoTrader.xlsx.
$14,840 $2,660 $7,800 $7,640 $10,750 $4,325
6,280 $21,100 $7,690 $6,985 $3,800
Using a = 0.05, perform a hypothesis test to determine if AutoTrader’s claim is supported by this sample.
18.8 Suppose Starbucks would like to determine if the median age of its customers is 42. The ages of 50 randomly sam- pled customers were recorded in the following table.
Customer’s Age Number of Customers
Below 42 30
Equal to 42 4
Above 42 16
Using a = 0.10, perform a hypothesis test to determine if the median age of Starbucks customers is 42.
18.9 Bob and Deb (no relation to your author) would like to retire someday and are considering relocating to cities
where universities are present. Housing prices are a key factor in the decision. Bob, who happens to know a few things about statistics, would like to determine if the me- dian selling price of a home in Columbia, South Carolina, is less than $150,000. The selling price of a random sam- ple of 40 homes in Columbia was collected and the data are as follows.
Selling Price Number of Homes
Below $150,000 23
Equal to $150,000 2
Above $150,000 15
Using a = 0.10, perform a hypothesis test to determine if the median selling price is less than $150,000 for homes in Columbia, South Carolina.
18.10 To help with its next advertising campaign, Nike would like to know which activity fans prefer: watching pro- fessional basketball games (NBA) or watching college basketball games (NCAA). The following data show the preferences of a random sample of sports fans.
Fan Preference Fan Preference
1 NCAA 9 NCAA
2 NBA 10 No preference
3 NCAA 11 NBA
4 NCAA 12 NCAA
5 NBA 13 No preference
6 NCAA 14 NCAA
7 NBA 15 NCAA
8 NCAA 16 NCAA
Using a = 0.05, perform a hypothesis test to determine if fans prefer one type of basketball game to the other.
www.freebookslides.com
C h a p t e r 18 | 18.3 The Wilcoxon Rank-Sum Test for Two Independent Samples 18-15
Small Sample Case The small sample case for the Wilcoxon rank-sum test is appropriate when n … 10 for both sample sizes. I’ll use the following example to demonstrate this technique. Suppose SallieMae, a provider a student loans, would like to determine if there is a difference in the median age of full-time MBA students versus the median age of part-time MBA students. Table 18.12 shows the ages of a random sample of 15 full-time and part-time MBA students. These data can also be found in the Excel file MBA student ages.xlsx.
{ table 18.12 | Ages of 15 Full-Time and Part-Time MBA Students
full-time (ft) students’ ages part-time (pt) students’ ages
24 32
31 32
26 29
33 25
28 43
22 35
27 45
23
The following steps will show how to perform this nonparametric test using a = 0.05.
Step 1: Identify the null and alternative hypotheses.
The Wilcoxon rank-sum test focuses on differences between the probability distri- butions of the two populations of interest.
This is a two-tail test because we are investigating whether the median age of full- time MBA students is different than the median of part-time MBA students.
H0: There is no difference in the median age for FT and PT MBA students
H1: There is a difference in the median age for FT and PT MBA students
Step 2: Identify Sample 1 and Sample 2.
We will designate the sample with the smaller number of observations Sample 1. I’ll use the variables n1 and n2 to indicate the sample sizes of Sample 1 and Sample 2, respectively. For the SallieMae example
Sample 1 = the part-time students’ ages Sample 2 = the full-time students’ ages For the part-time students n1 = 7. For the full-time students n2 = 8. If the two
samples have an equal number of observations, it doesn’t matter which group you designate as Sample 1.
Step 3: Sort all of the data values from low to high and rank them.
Table 18.13 shows the combined data from both samples sorted from low to high values along with their corresponding student types. In addition, each age value is ranked from 1 to 15 from lowest to highest.
The student who is 22 years old is the youngest in Table 18.13 and is assigned a rank of 1. The 23-year-old student is the second youngest in the table and is assigned a rank of 2. Notice that there is a tie between the two students who are 32 years old. Because these ages are the 10th and 11th ranked values, we assign both of their ranks the average of 10 and 11, which is 10.5.
www.freebookslides.com
18-16 C h a p t e r 18 | Nonparametric Statistics
Step 4: Determine the test statistic, W.
The test statistics, W, equals the sum of the ranks for Sample 1. If the sample sizes are equal, either sample can be used to calculate W. Because, the part-time students represent the smaller sample size,
W = 4 + 8 + 10.5 + 10.5 + 13 + 14 + 15 = 75
Step 5: Determine the upper and lower critical values for the Wilcoxon rank-sum test.
The upper and lower critical values for the Wilcoxon rank-sum test are used to identify the rejection regions for the null and alternative hypotheses. These values can be found in Table 1 in Appendix C at the end of this chapter (on page 18-48) and also in Table 18.14.
{ table 18.14 | Lower and Upper Critical Values for the Wilcoxon Rank-Sum Test
A = 0.025 (one-tail) or A = 0.05 (two-tail) n1 3 4 5 6 7 8 9 10
n2
3 5,16 6,18 6,21 7,23 7,26 8,28 8,31 9,33
4 6,18 11,25 12,28 12,32 13,35 14,38 15,41 16,44
5 6,21 12,28 18,37 19,41 20,45 21,49 22,53 24,56
6 7,23 12,32 19,41 26,52 28,56 29,61 31,65 32,70
7 7,26 13,35 20,45 28,56 37,68 39,73 41,78 43,83
8 8,28 14,38 21,49 29,61 39,73 49,87 51,93 54,98
{ table 18.13 | Ranked Ages of 15 Full-Time and Part-Time MBA Students
age sample rank age sample rank
22 FT 1 31 FT 9
23 FT 2 32 PT 10.5
24 FT 3 32 PT 10.5
25 PT 4 33 FT 12
26 FT 5 35 PT 13
27 FT 6 43 PT 14
28 FT 7 45 PT 15
29 PT 8
The yellow highlighted values represent the ages and ranks of all of the part-time students.
We call this a rank-sum test because the test statistic is the sum of the ranks for the smaller sample.
Notice that the ranks added together for this test statistic are the ones highlighted in Table 18.13.
Using n1 = 7 and n2 = 8, the lower and upper critical values are 39 and 73, respectively. These values are highlighted in Table 18.14.
Step 6: Compare the test statistic to the critical values.
Table 18.15 summarizes the decision rules for the Wilcoxon rank-sum test.
Always assign the smaller sample size to n1 and the larger sample size to n2 for the Wilcoxon rank-sum test. When sample sizes are equal, the assignment is arbitrary.
{ table 18.15 | Decision Rules for the Wilcoxon Rank-Sum Test
condition conclusion
Lower Value … W … Upper Value Do not reject H0 W 7 Upper Value Reject H0 W 6 Lower Value Reject H0
www.freebookslides.com
C h a p t e r 18 | 18.3 The Wilcoxon Rank-Sum Test for Two Independent Samples 18-17
Because W = 75, it is greater than the upper critical value (73), so we reject the null hypothesis.
Hopefully the logic of the Wilcoxon rank-sum test makes sense to you. If the null hypothesis is actually true, the distributions for the two populations are identical. Under these conditions, you would expect the sum of the ranks of the two samples to be fairly close to one another. If the null hypothesis is not true, the distributions for the two populations are different from one another. This should result in the rank-sum of one sample being relatively smaller than the other. When the two rank- sums are relatively far apart, we have the tendency to reject the null hypothesis.
Step 7: State your conclusions.
Because we reject the null hypothesis, SallieMae can conclude that the there is a difference in the distributions for the two populations—that is, that the median age of full-time MBA students is different than the median age of part-time MBA stu- dents. It appears that full-time students tend to be younger than part-time students.
We can also perform a one-tail Wilcoxon rank-sum test with the small sample case. The only difference between the one-tail and two-tail procedures is using the proper table to identify the lower and upper critical values. Test your understanding of a one-tail test by solving the following Your Turn problem.
The travel Web site TripAdvisor would like to determine if, during Christmas week, daily hotel rates are more expensive in Orlando, Florida, than they are in Tampa, Florida. A random sample of daily rates for hotels in each location was drawn during the time period and is as follows. These data can also be found in the Excel file TripAdvisor.xlsx.
Orlando ($) Tampa ($)
202 109
121 125
164 177
207 135
88 160
219 99
191 99
Using a = 0.05, perform a hypothesis test to determine if the median price of hotels in Orlando are more than the median price of hotels in Tampa during Christmas week.
Y o u r t u r n # 5N
Answers can be found on u page 18-45.
Large Sample Case The large sample case of the Wilcoxon rank-sum test can be used when n1 7 10 and n2 7 10. Under these conditions, the test statistic can be approximated by the normal prob- ability distribution using Equation 18.8.
Formula 18.8 for the Test Statistic for the Wilcoxon Rank-Sum Test (Large Sample Case)
zW = W -
n11nT + 12 2A n1n21nT + 1212
www.freebookslides.com
18-18 C h a p t e r 18 | Nonparametric Statistics
where
zW = the test statistic for the Wilcoxon rank@sum test W = the sum of the ranks for Sample 1 n1 = the size of Sample 1 n2 = the size of Sample 2 nT = n1 + n2 We’ll use the following example to demonstrate the large sample case of the Wilcoxon
rank-sum test. Judicial states are states in which a mortgage lender must get the approval of a court before foreclosing on a home. Non-judicial states have no such requirement. Suppose the Federal Housing Finance Agency (FHFA) would like to determine if the median number of days to foreclose on a home in non-judicial states is less than it is in judicial states. These data can also be found in the Excel file foreclosures.xlsx.
In the large sample case of the Wilcoxon rank-sum test, the sample with the smaller numbers is again defined as Sample 1.
{ table 18.16 | Number of Days to Foreclose
non-judicial states judicial states
743 947
792 1,318
798 567
1,260 465
748 1,137
614 1,442
709 1,229
678 1,122
557 1,421
952 1,152
917 617
1,287
Let’s test this hypothesis using the large sample case for the Wilcoxon rank-sum test when a = 0.05 using the following steps.
Step 1: Identify the null and alternative hypotheses.
This is a one-tail (lower) test because we are determining if non-judicial states re- quire less time to foreclose on mortgages than judicial states.
H0: The median number of days to foreclose in non-judicial states is not less than judicial states
H1: The median number of days to foreclose in non-judicial states is less than judicial states
Step 2: Identify Sample 1 and Sample 2.
Sample 1 is defined as the sample with the smaller number of observations. Therefore, we define
Sample 1 = non-judicial states 1n1 = 112 Sample 2 = judicial states 1n2 = 122 Step 3: Sort all of the data values from low to high and rank them.
Table 18.17 shows the combined data from both samples sorted from low to high values along with their corresponding state types and ranks.
www.freebookslides.com
Step 4: Determine the test statistic, ZW.
Before we determine our test statistic, we first need to calculate W, which equals the sum of the ranks in Sample 1 (the non-judicial states).
W = 2 + 4 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 14 + 19 = 102
Using n1 = 11, n2 = 12 and nT = n1 + n2 = 11 + 12 = 23, we can now calcu- late the test statistic using Equation 18.8.
zW = W -
n11nT + 12 2A n1n21nT + 1212 =
102 - 1112123 + 12
2A 11121122123 + 1212 zW =
102 - 1322264 = - 1.85 Step 5: Determine the critical value for the Wilcoxon rank-sum test.
Because the large sample case test statistic from Equation 18.8 follows the normal probability distribution, the critical value for this one-tail (lower) Wilcoxon rank- sum test is - za = - 1.645 using a = 0.05.
Step 6: Compare the test statistic to the critical value.
Table 18.18 summarizes the decision rules for the large sample case for two-tail and one-tail hypotheses.
The highlighted values represent the days and ranks of all of the non-judicial states in our two samples.
{ table 18.17 | Ranked Days to Foreclosure
days sample rank days sample rank
465 Judicial 1 947 Judicial 13
557 Non-judicial 2 952 Non-judicial 14
567 Judicial 3 1,122 Judicial 15
614 Non-judicial 4 1,137 Judicial 16
617 Judicial 5 1,152 Judicial 17
678 Non-judicial 6 1,229 Judicial 18
709 Non-judicial 7 1,260 Non-judicial 19
743 Non-judicial 8 1,287 Judicial 20
748 Non-judicial 9 1,318 Judicial 21
792 Non-judicial 10 1,421 Judicial 22
798 Non-judicial 11 1,442 Judicial 23
917 Non-judicial 12
{ table 18.18 | Decision Rules for Hypothesis Tests When Comparing the Critical z-Score 1za2 to the z-Test Statistic 1zW2
test condition conclusion
Two-tail � zW � 7 � za>2 � S Reject H0
� zW � … � za>2 � S Do not reject H0
One-tail zW 7 za S Reject H0 (upper) zW … za S Do not reject H0 One-tail zW 6 - za S Reject H0 (lower) zW Ú - za S Do not reject H0
Because zW = - 1.85 is less than - za = - 1.645, we reject the null hypothesis.
C h a p t e r 18 | 18.3 The Wilcoxon Rank-Sum Test for Two Independent Samples 18-19 www.freebookslides.com
18-20 C h a p t e r 18 | Nonparametric Statistics
Step 7: State your conclusions.
Because we reject the null hypothesis, the FHFA can conclude that the median number of days to foreclose in non-judicial states is less than it is in judicial states.
The following Your Turn problem provides you with the opportunity to perform a two-tail Wilcoxon rank-sum test for a large sample case.
The following is a random sample of annual incomes, in thousands of dollars, drawn from households in New Jersey and Pennsylvania. These data can also be found in the Excel file median household income.xlsx.
New Jersey ($) Pennsylvania ($) New Jersey ($) Pennsylvania ($)
50 41 93 46
46 80 92 54
74 55 53 64
51 78 43 37
126 105 76
89 47 58
67 53
Using a = 0.05, perform a hypothesis test to determine if the annual median household income in New Jersey and Pennsylvania differ from one another.
Y o u r t u r n # 6N
Answers can be found on u page 18-46.
18.3 Section Problems Basic Skills 18.11 Consider the following data from two independent
samples:
Sample A: 19 20 25 31 21 22 24
Sample B: 73 34 12 66 21 60 58 52
Perform a hypothesis test using a = 0.05 to determine if the population from which Sample B was drawn has a higher median than Sample A’s population.
18.12 Consider the following data from two independent samples:
Sample A: 54 28 61 54 10 64 82
Sample B: 93 73 46 61 62 67
Perform a hypothesis test using a = 0.05 to determine if the population from which Sample B was drawn has a dif- ferent median than Sample A’s population.
18.13 Consider the following data from two independent samples. These data can also be found in the Excel file Prob1813.xlsx.
Sample A Sample B
32 30 17 79
18 16 45 31
22 29 35 35
28 30 34 56
31 41 42 56
31 18 49
Perform a hypothesis test using a = 0.05 to determine if the population from which Sample B was drawn has a higher median than Sample A’s population.
www.freebookslides.com
C h a p t e r 18 | 18.3 The Wilcoxon Rank-Sum Test for Two Independent Samples 18-21
18.14 Consider the following data from two independent samples. These data can also be found in the Excel file Prob1814.xlsx.
Sample A Sample B
22 30 54 50
18 5 46 57
47 44 10 51
25 33 39 49
51 41 29 36
22 40 44 39
9
Perform a hypothesis test using a = 0.10 to determine if the population from which Sample B was drawn has a dif- ferent median than Sample A’s population.
applications 18.15 Suppose the National Foundation for Credit Counseling
(NFCC) would like to determine if the median credit card debt for individuals ages 50 years or older exceeds the debt of those younger than 50 years. A random sample from each group was selected, and the credit card debt of each person is as follows. These data can also be found in the Excel file NFCC.xlsx.
Younger Than 50 ($) 50 or Older ($)
6,353 2,285 4,921 1,506
1,826 7,034 4,777 11,091
7,637 2,885 10,644 13,800
2,967 12,091
Perform a hypothesis test use a = 0.05 to determine if the median credit card debt for individuals ages 50 years or older is more than individuals younger than 50 years old.
18.16 Michael Smith would like to open a new charter grade school and is considering Berks County or Chester County as possible locations. The annual household in- comes in each county are a factor. Michael collected a random sample of household incomes for both counties. They are as follows (in thousands of dollars) and can also be found in the Excel file charter school.xlsx.
Berks County ($) Chester County ($)
59.8 40.7 86.7 31.4
35.8 62.9 100.4 94.8
80.6 67.7 87.7 48.6
45.0 76.5 38.8
Perform a hypothesis test using a = 0.05 to determine if there is a difference in annual household incomes between these two counties.
18.17 The following data represent a random sample of an- nual profit-sharing bonuses paid to Ford and GM hourly employees last year. These data can also be found in the Excel file profit sharing.xlsx.
Ford ($) GM ($)
6,600 7,400 5,500 5,400
4,000 8,600 7,400 5,700
7,700 5,300 5,800 4,400
9,200 3,700 5,000 8,300
10,500 7,800 3,800 3,000
6,100 7,400 4,400 5,500
Perform a hypothesis test using a = 0.10 to determine if Ford employees received higher profit-sharing bonuses than GM employees.
18.18 Suppose the U.S. Department of Labor would like to determine if construction workers in the Northeast work more hours per week than construction workers in the Southeast do. A random sample of workers in each re- gion was selected, and the number of hours these people worked was recorded and is as follows.
Northeast: 42 34 39 43 42 39 31
Southeast: 32 35 30 33 40 39
Perform a hypothesis test with a = 0.05 to determine if the median number of hours construction employees in the Northeast worked is greater than the median number of hours construction employees in the Southeast worked.
18.19 The following table shows the annual salaries, in thou- sands of dollars, earned by individuals who graduated with MBAs in 2012 and 2013. These data can also be found in the Excel file graduate salaries.xlsx.
2012 Graduates ($) 2013 Graduates ($)
64.9 55.5 59.4 64.6
48.0 70.7 74.8 44.4
62.5 52.9 55.0 87.8
58.5 41.6 34.2 67.4
56.5 82.7 68.0 46.8
98.1 96.8 78.8 49.3
36.6 46.9 53.9 36.2
40.6
Perform a hypothesis test using a = 0.05 to determine if the median salary for 2012 MBA graduates is lower than 2013 MBA graduates.
www.freebookslides.com
18-22 C h a p t e r 18 | Nonparametric Statistics
18.4 The Wilcoxon Signed-Rank Test for Two Dependent Samples
Back in Chapter 10, we introduced dependent samples in which each observation from one sample was related to an observation from the other sample. A hypothesis test for comparing two dependent samples using the Student’s t-distribution was demonstrated. This parametric procedure works only when both populations sampled have normal probability distributions. When this assumption cannot be verified, we can use a nonparametric procedure known as the Wilcoxon signed-rank test, which does not have a normal distribution requirement.
To demonstrate the Wilcoxon signed-rank test, I’ll use an example from Chapter 10. Rockstar is an energy drink distributed by PepsiCo and sold in grocery stores. Josh is a PepsiCo account manager for nine different stores and is responsible for product sales and inventory. Josh would like to test the hypothesis that placing the product on the ends of aisles results in more sales than placing them on middle-aisle shelves. For each of his nine stores, Josh displayed the drinks on the ends of aisles for one week and then on middle-aisle shelves the following week. Table 18.19 shows the number of units of the drink sold in each location at each of the nine stores. The data can also be found in the Excel file Rockstar.xlsx.
The classic example for dependent samples is a weight loss program where individuals are weighed at the beginning and the end of the program. The before and after weights are considered dependent samples because they both belong to the same person.
The Wilcoxon signed-rank test is a nonparametric procedure that can be used to compare two dependent samples. The populations from which they were drawn need not be normally distributed.
{ table 18.19 | Rockstar Weekly Sales
store 1 2 3 4 5 6 7 8 9
End-aisle 64 54 126 97 37 74 117 90 81
Middle-aisle 72 41 100 62 40 60 122 62 78
I hope you recognize these samples are dependent because each pair of sales data is col- lected from the same store. Using a = 0.05, let’s perform the Wilcoxon signed-rank test by taking the following steps.
Step 1: Identify the null and alternative hypotheses.
This is a one-tail test because we are investigating if end-aisle sales exceed middle- aisle sales.
H0: End@aisle sales are equal to or less than middle@aisle sales
H1: End@aisle sales exceed middle@aisle sales
Step 2: Identify Sample 1 and Sample 2.
For a one-tail test, define Sample 1 as the sample that the alternative hypothesis predicts will be larger. Because our Rockstar example is a one-tail test, and the alternative hypothesis predicts that end-aisle sales will exceed middle-aisle sales:
Sample 1 = the end-aisle sales Sample 2 = the middle-aisle sales For a two-tail test, the choice for Sample 1 is arbitrary.
Step 3: Calculate the signed-ranked differences.
Table 18.20 shows the signed ranked differences in sales for each of the nine stores from our sample. I realize this table has a lot of information, so let’s break it down column by column.
Columns 1, 2, and 3 in Table 18.20 simply display the original data shown in Table 18.19. Notice that I have labeled Sample 1 as the end-aisle data and Sample 2 as the middle-aisle data, as discussed in the previous step.
Column 4 is the difference in the two samples. Define the difference as Sample 1 minus Sample 2.
Column 5 is simply the absolute value of the differences seen in Column 4.
In order to be consistent, use this difference definition throughout
www.freebookslides.com
C h a p t e r 18 | 18.4 The Wilcoxon Signed-Rank Test for Two Dependent Samples 18-23
Column 6 is the rank of each absolute difference for all nine stores. Notice that Store 5 and Store 9 both have the lowest rank (3). We assign both of these stores the average rank of 1 and 2 which equals 1.5. Also, Store 4 has the largest absolute dif- ference (35) and is assigned the highest rank which is 9.
Column 7 is the signed rank for each store, and it is either a positive rank 1R + 2 or a negative rank 1R - 2. Store 1 has a negative difference 1 - 82 in Column 4 because the middle-aisle sales were more than the end-aisle sales. We, therefore, place its rank of 4 (from Column 6) under the negative rank column. Store 2 has a positive difference (13) in Column 4 because the end-aisle sales were more than the middle- aisle sales. We, therefore, place its rank of 5 (from Column 6) under the positive rank column.
Finally, we sum the positive signed rank column (36.5) and the negative signed rank column (8.5).
Step 4: Determine the test statistic, T.
The test statistic for the one-tail Wilcoxon signed-rank test, T, is the sum of the negative signed ranks 1R - 2 in Table 18.20. For our Rockstar example, T = 8.5.
In order to reject the null hypothesis, we need to establish that end-aisle sales in our sample are significantly higher than middle-aisle sales. Rejecting the null hypoth- esis would require most of the signed ranks to be in the R + column in Table 18.20 and very few signed ranks would be in the R - column. Therefore, the smaller the test statistic, the more likely that we will be able to reject the null hypothesis and establish that end-aisle sales are higher than middle–aisle sales.
If the difference equals zero for any pair of observations, do not assign a rank to them. Instead, remove them from the sample.
I’ll address the two-tail test statistic at the end of this section.
Step 5: Determine the critical value for the Wilcoxon signed-rank test, TA.
The critical value for the Wilcoxon signed-rank test, Ta, is used to identify the rejection region for the null and alternative hypotheses. This value can be found in Table 2 in Appendix C at the end of this chapter (on pages 18-48 to 18-49) and also in Table 18.21.
{ table 18.20 | Signed Ranked Differences for Rockstar Weekly Sales
(1)
store
(2)
sample 1 end-aisle
(3)
sample 2 middle-aisle
(4)
difference in sales
(5)
absolute difference
(6)
rank
(7)
signed rank R + r −
1 64 72 - 8 8 4 4
2 54 41 13 13 5 5
3 126 100 26 26 7 7
4 97 62 35 35 9 9
5 37 40 - 3 3 1.5 1.5
6 74 60 14 14 6 6
7 117 122 - 5 5 3 3
8 90 62 28 28 8 8
9 81 78 3 3 1.5 1.5
Total 36.5 8.5
We place rank 4 in the R - column because the difference in sales for the first store is a negative value 1- 82.
www.freebookslides.com
18-24 C h a p t e r 18 | Nonparametric Statistics
For a one-tail hypothesis test with a = 0.05 and n = 9 (we have nine stores in our sample), Ta = 8.
Step 6: Compare the test statistic to the critical value.
Table 18.22 summarizes the decision rules for the Wilcoxon signed-rank test for two-tail and one-tail hypotheses.
{ table 18.21 | Critical Values for the Wilcoxon Signed-Rank Test
one-tail A 0.05 0.025 0.01 0.005
two-tail A 0.10 0.05 0.02 0.01
n
5 1
6 2 1
7 4 2 0
8 6 4 2 0
9 8 6 3 2
{ table 18.22 | Decision Rules for Hypothesis Tests When Comparing the Critical Value 1Ta2 to the Test Statistic (T)
condition conclusion
T … Ta S Reject H0 T 7 Ta S Do not reject H0
Because T = 8.5 is greater than Ta = 8, we fail to reject the null hypothesis. Step 7: State your conclusions.
Because we fail to reject the null hypothesis, Josh cannot conclude that end-aisle sales exceed middle-aisle sales at his stores. Even though most of the signed ranks were positive in Table 18.20, the sum of the negative signed ranks was not low enough to warrant rejecting the null hypothesis.
This leads to an interesting point (at least to me). Back in Chapter 10 when we first intro- duced this example, we made the assumption that both populations (end-aisle and mid- dle-aisle sales) followed the normal probability distribution. We then proceeded with the t-test for dependent samples and were able to reject the null hypothesis using a = 0.05. Figure 18.3 shows the Excel output for this test with a p-value equal to 0.0303.
{ figure 18.3 The t-Test Results for the
Rockstar Example Using Excel
Now, when we apply the Wilcoxon sign-rank test to the same data and use the same value for alpha, we fail to reject the null hypothesis. Why?
www.freebookslides.com
C h a p t e r 18 | 18.4 The Wilcoxon Signed-Rank Test for Two Dependent Samples 18-25
This scenario emphasizes the point made at the start of the chapter. All else being equal (the same sample size, same level of significance, and so on), the parametric procedure will provide a higher probability of correctly rejecting the null hypothesis than the nonparamet- ric procedure will. If we can verify that the populations are normally distributed, the t-test should be used for this example. If we cannot confirm that the populations are normally distributed, the Wilcoxon signed-rank test is a better choice even though we are not able to reject the null hypothesis in this particular example.
Finally, the two-tail Wilcoxon signed-rank test is handled a little differently than the one-tail version that we just discussed:
• Designating which data should be labeled Sample 1 and which data should be labeled Sample 2 is completely arbitrary.
• The test statistic, T, is the smaller of the sum of the negative signed ranks 1R - 2 and the sum of the positive signed ranks 1R + 2. Check your “two-tail Wilcoxon signed-rank test” skills by completing the following
Your Turn problem.
Y o u r t u r n # 7N
Answers can be found on u pages 18-46 to 18-47.
18.4 Section Problems Basic Skills 18.20 The following two samples were collected as matched
pairs.
Pair 1 2 3 4 5 6 7
Sample A 15 19 11 20 18 10 8
Sample B 12 10 14 6 14 8 6
Perform a hypothesis test using a = 0.05 to determine if the population represented by Sample A has higher values than the population represented by Sample B.
18.21 The following two samples were collected as matched pairs.
Pair 1 2 3 4 5 6 7 8
Sample A 4 16 9 15 6 8 20 17
Sample B 17 12 10 16 1 8 9 10
Perform a hypothesis test using a = 0.05 to determine if the population represented by Sample B has lower values than the population represented by Sample A.
18.22 The following two samples were collected as matched pairs.
Pair 1 2 3 4 5 6 7 8
Sample A 18 12 16 11 9 7 11 8
Sample B 14 2 6 6 1 8 4 4
Perform a hypothesis test using a = 0.10 to determine if the population represented by Sample A is different than the population represented by Sample B.
18.23 The following two samples were collected as matched pairs.
Pair 1 2 3 4 5 6 7
Sample A 15 7 12 9 9 7 16
Sample B 8 2 6 8 5 8 11
Billy Casper Golf is a management company that operates the Delcastle Golf Course (DGC) and the Rock Manor Golf Course (RMGC), which are both located in northern Delaware. The company would like to determine if there is a difference in players’ golf scores at the two courses. This information would be useful to help golfers choose the most appropriate course to play based on their skill level. A random sample of nine golfers who played rounds of golf on both courses was selected. Their scores are as fol- lows and can also be found in the Excel file Billy Casper Golf.xlsx.
Golfer 1 2 3 4 5 6 7 8 9
DGC 89 96 80 91 78 104 90 88 81
RMGC 93 99 89 91 86 98 96 95 83
Using the Wilcoxon signed-rank test with a = 0.10, determine if there is a difference in the median golf scores of players at the two courses.
www.freebookslides.com
18-26 C h a p t e r 18 | Nonparametric Statistics
Perform a hypothesis test using a = 0.05 to determine if the population represented by Sample A is different than the population represented by Sample B.
applications 18.24 According to Harrell Associates, a provider of research
for airfare benchmarking, the lowest fares for airline tickets between the United States and Europe occur two months before a flight’s departure date. To test this claim, a random sample of seven flights to Europe was selected. The airfare for each was recorded six months before the flight’s departure and again two months prior to departure. The data are as follows and can also be found in the Excel file Harrell.xlsx.
Flight
Fare Six Months Prior to
Departure ($)
Fare Two Months Prior to
Departure ($)
1 1,452 1,306
2 1,577 1,332
3 1,260 1,289
4 1,082 1,234
5 988 941
6 1,374 1,188
7 1,403 1,218
Perform a hypothesis test using a = 0.05 to determine if the airfares are less expensive two months prior to depar- ture than they are six months prior to departure.
18.25 Suppose Hotels.com would like to determine if daily hotel rates in Orlando, Florida, are different on Thanksgiving Day than they are on New Year’s Day. To test this, a random sample of hotel rooms in Orlando was selected. The room rates were recorded on both days and are as follows. These data can also be found in the Excel file room rates.xlsx.
Hotel Room Thanksgiving Day ($) New Year’s Day ($)
1 189 210
2 127 107
3 222 199
4 165 150
5 99 99
6 168 149
7 212 199
8 116 125
9 143 129
Perform a hypothesis test using a = 0.10 to determine if the rates are different on the two days.
18.26 Deb’s Creamery is a retail store that serves a variety of ice cream flavors. The owner would like to add a flavor to the menu and needs to decide between Blueberry Cheesecake and Lemon Custard. To help her decide, she randomly selects 10 customers and asks them to taste each flavor and rate them on a scale from 1 to 20. A rat- ing of 1 indicates the taster does not like the flavor, and a rating of 20 indicates the taster likes it very much. The results are as follows and can also be found in the Excel file creamery.xlsx.
Person 1 2 3 4 5 6 7 8 9 10
Blueberry 9 12 10 16 15 7 10 16 12 12
Lemon 12 16 12 15 19 13 12 13 17 13
Perform a hypothesis test using a = 0.05 to determine if a difference exists in the ratings of the two flavors.
18.27 ESPN would like to determine if the number of hours fantasy-football players spend during the week manag- ing their teams has increased since last year. A random sample of players was chosen, and the number of hours they spent managing their teams was recorded during the first week of the 2012 season. The number of hours they spent managing their teams during the first week of the 2013 season was also recorded. The results are as follows and can also be found in the Excel file fantasy football.xlsx.
Person 1 2 3 4 5 6 7 8 9 10 11
2012 6.3 4.5 0.2 5.3 2.3 3.9 6.2 2.6 4.9 3.7 3.4
2013 6.7 4.0 3.7 6.0 3.7 4.5 5.5 6.7 5.9 4.4 5.5
Perform a hypothesis test using a = 0.05 to determine if the players spent more time managing their teams in 2013 than 2012.
www.freebookslides.com
C h a p t e r 18 | 18.5 The Kruskal–Wallis One-Way ANOVA 18-27
18.5 The Kruskal–Wallis One-Way ANOVA
In Chapter 11, you learned about the analysis of variance procedure (ANOVA), which al- lowed us compare the means of three or more populations. This is a parametric test that re- lies on the following assumptions:
• The populations are normally distributed.
• The populations have equal variances.
• The data are at least at the interval level of measurement.
If these assumptions are not valid, the ANOVA procedure will not provide reliable re- sults. The Kruskal–Wallis test is a nonparametric procedure that allows us to determine if a difference exists in the median of three or more populations. The beauty of this test is that it does not rely on any assumptions about the probability distributions or require equal variances among the populations. The following are the only requirements of the Kruskal–Wallis test:
• The level of data measurement must be at least ordinal.
• The size of each sample must be five or more.
However, like the other nonparametric procedures we’ve discussed, the Kruskal–Wallis test has less power than the ANOVA test.
The Kruskal–Wallis test begins by combining all of the data from the samples and ranking the values from low to high. The test statistic for the Kruskal–Wallis test, H, can be found using Equation 18.9.
The Kruskal–Wallis test is a nonparametric procedure that allows us to determine if there is difference in the medians of three or more populations.
where
H = the test statistic for the Kruskal9Wallis test a R1 = the sum of the ranks from Sample 1
k = the number of populations being compared n1 = the size of Sample 1 nT = the total number of observations from all of the samples
Let’s use the following example to examine this procedure. Suppose the American Association of Retired Persons (AARP) would like to determine if the median amount of money people have saved in their 401(k) retirement accounts is different for different age groups. Sample data from each age group was collected and is shown in Table 18.23. These data can also be found in the Excel file retirement balances.xlsx.
Formula 18.9 for the Test Statistic for the Kruskal–Wallis Test
H = 12
nT1nT + 12 c 1gR122
n1 +
1gR222 n2
+ g + 1gRk22
nk d - 31nT + 12
{ table 18.23 | 401(k) Balances by Age Group (in Thousands of Dollars)
age group 50–54 ($) 55–59 ($) 60–64 ($)
157 798 129
76 296 571
215 371 129
235 396 316
349 129 253
234 543
115
www.freebookslides.com
18-28 C h a p t e r 18 | Nonparametric Statistics
The following steps demonstrate the Kruskal–Wallis test using a = 0.05.
Step 1: Identify the null and alternative hypotheses.
Like the ANOVA procedures from Chapter 11, the null hypothesis always states that there is no difference among the medians of the populations being tested. Therefore, the alternative hypothesis will state that there is a difference.
H0: There is no difference in the median 4011k2 balances among age groups H1: There is a difference in the median 4011k2 balances among age groups
Step 2: Sort all of the data values from low to high and rank them.
Table 18.24 shows the combined data from all three samples sorted from low to high values along with their corresponding age groups. The yellow highlighted val- ues in the table correspond to the 50–54 year old age group. The blue highlighted values correspond to the 55–59 year old age group, and the green highlighted val- ues to the 60–64 year old age group.
The three balances that are $129 are in the 3rd, 4th, and 5th position in the data set. We assign all three balances the average rank of 3, 4, and 5, which equals 4.
{ table 18.24 | Summed Ranks of 401(k) Balances
balance ($) group rank balance ($) group rank
76 50–54 1 253 60–64 10
115 60–64 2 296 55–59 11
129 55–59 4 316 60–64 12
129 60–64 4 349 50–54 13
129 60–64 4 371 55–59 14
157 50–54 6 396 55–59 15
215 50–54 7 543 60–64 16
234 55–59 8 571 60–64 17
235 50–54 9 798 55–59 18
Step 3: Sum the ranks for each sample.
Next, we sum the ranks for each sample using the information provided in the table. For example, if we define Sample 1 as the 50–54 year old group (yellow highlights), then a R1 is the summed rank for these balances.
a R1 = 1 + 6 + 7 + 9 + 13 = 36 Defining Sample 2 and Sample 3 as the 55–59 (blue highlights) and 60–64 (green
highlights) year old groups, respectively, we get
a R2 = 4 + 8 + 11 + 14 + 15 + 18 = 70 a R3 = 2 + 4 + 4 + 10 + 12 + 16 + 17 = 65
Step 4: Determine the test statistic for the Kruskal–Wallis test, H.
Using n1 = 5, n2 = 6, n3 = 7 and nT = n1 + n2 + n3 = 5 + 6 + 7 = 18, we can now calculate the test statistic using Equation 18.9.
H = 12
nT1nT + 12 c 1a R122
n1 +
1a R222 n2
+ g + 1a Rk22
nk d - 31nT + 12
H = 12
1182118 + 12 c 13622
5 +
17022 6
+ 16522
7 d - 3118 + 12
www.freebookslides.com
C h a p t e r 18 | 18.5 The Kruskal–Wallis One-Way ANOVA 18-29
H = 10.03508823259.20 + 816.67 + 603.574 - 57 H = 58.93 - 57 = 1.93
Step 5: Determine the critical value for the Kruskal–Wallis test, HA.
The test statistic shown in Equation 18.9 follows the chi-square distribution with k - 1 degrees of freedom. These critical values can be found in Table 8 in Appendix A which can be found in the print version of the textbook. Using a = 0.05 with k - 1 = 3 - 1 = 2 degrees of freedom, Ha = 5.991.
Step 6: Compare the test statistic, H, to the critical value, HA.
Table 18.25 summarizes the decision rules for the Kruskal–Wallis test.
Carry this calculation out to six decimal places to avoid rounding errors with the test statistic.
Because we are comparing three populations, k = 3, which results in three terms inside the square brackets.
Because H = 1.95 is less than Ha = 5.991, we fail to reject the null hypothesis. Step 7: State your conclusions.
Because we fail to reject the null hypothesis, AARP cannot conclude that the me- dian 401(k) balances for the three age groups are different.
At this point, the logic of the Kruskal–Wallis test can be explained. First, let’s rec- ognize that the sum of all 18 ranks equals the sum of 1 to 18 or
1 + 2 + 3 + c + 17 + 18 = 171
This quantity also equals
a R1 + a R2 + a R3 = 36 + 70 + 65 = 171 If there were a difference in the median balances of the 401(k) accounts among the
three populations (the null hypothesis is rejected), we would expect one sample to have an average rank that is much higher than the average ranks of the other samples. This would cause another sample to have an average rank that is lower compared to the others. This occurs because sum of all 18 ranks must equal 171 in the AARP example. A large value for 1 a Ri22 in Equation 18.9 causes the value of the test statistic to be relatively large, which increases the likelihood of rejecting the null hypothesis.
Looking at the opposite scenario, if there were no difference in the median 401(k) balances among the three groups (the null hypothesis is not rejected), we would expect the average ranks of all three samples to be fairly close to one another. This would occur because each age group would contain about the same proportion of low, medium, and high 401(k) balances. Under these circumstances, the value of the test statistic would be relatively small, which increases the likelihood of failing to reject the null hypothesis.
Make sure you understand the Kruskal–Wallis test by solving the next Your Turn problem.
{ table 18.25 | Decision Rules for the Kruskal–Wallis Test
condition conclusion
H … Ha Do not reject H0 H 7 Ha Reject H0
www.freebookslides.com
18-30 C h a p t e r 18 | Nonparametric Statistics
18.5 Section Problems Basic Skills 18.28 Consider the following data collected from three inde-
pendent populations. These data can also be found in the Excel file Prob 1828.xlsx.
Sample 1 Sample 2 Sample 3
3 14 21
8 9 15
6 13 16
5 10 14
7 17 20
Perform a hypothesis test using a = 0.05 to determine if there is a difference in the populations represented by these samples.
18.29 Consider the following data collected from three inde- pendent populations. These data can also be found in the Excel file Prob 1829.xlsx.
Sample 1 Sample 2 Sample 3
19 21 15
5 26 13
8 14 12
11 19 17
10 10 16
18 24
Perform a hypothesis test using a = 0.05 to determine if there is a difference in the populations represented by these samples.
18.30 Consider the following data collected from four independent populations. These data can also be found in the Excel file Prob 1830.xlsx.
Sample 1 Sample 2 Sample 3 Sample 4
26 13 4 13
15 18 11 20
22 10 12 21
17 10 14 7
19 10 23 17
Perform a hypothesis test using a = 0.05 to determine if there is a difference in the populations represented by these samples.
applications 18.31 Suppose Orbitz would like to determine if the median
airfares to Orlando, New York, and Los Angeles are dif- ferent on Christmas Day. Random samples of Christmas Day airfares to these three cities were collected and are as follows. These data can also be found in the Excel file Orbitz.xlsx.
Papa Bob’s Pizza operates stores at three different locations in the Washington area. Suppose the com- pany would like to determine if customer satisfaction levels are different among the three locations. A random sample of customers at each store were asked to rate their most recent dining experiences. Their satisfaction scores are as follows and can also be found in the Excel file Papa Bob.xlsx.
Store Location
A B C
43 42 38
36 35 30
40 46 28
47 41 33
40 30 31
48 40 29
45 37
Conduct the Kruskal–Wallis test using a = 0.10 to determine if the median customer satisfaction score differs among the three stores.
Y o u r t u r n # 8N
Answers can be found on u page 18-47.
www.freebookslides.com
C h a p t e r 18 | 18.6 The Spearman Rank-Order Correlation Coefficient 18-31
Orlando ($) New York ($) Los Angeles ($)
280 391 314
432 314 590
609 253 514
326 612 518
511 336 393
362 522
Perform a hypothesis test using a = 0.10 to determine if there is a difference in the airfares to these three cities on Christmas Day.
18.32 The following data are the selling prices, in thousands of dollars, of random samples of existing homes in three dif- ferent regions of the United States. These data can also be found in the Excel file Midwest.xlsx.
Midwest ($) Northeast ($) South ($)
261 235 133
169 175 138
128 210 298
153 255 222
179 410 155
Perform a hypothesis test using a = 0.05 to determine if there is a difference in the median selling price of existing homes in these three regions of the country.
18.33 Because of the popularity of National Football League (NFL) games, tickets can be difficult to acquire if you are not a season ticket holder. Many people buy NFL tickets on the secondary market when the owners of season tick- ets to the games sell them. Suppose the NFL would like to determine if the median number of secondary tickets sold for the home games of the Baltimore Ravens, Green Bay Packers, and New England Patriots differ from one another. Random samples of home games for each team
were selected, and the number of tickets sold on the secondary market for each game recorded in the follow- ing table. These data can also be found in the Excel file median ticket prices.xlsx.
Baltimore Green Bay New England
4,173 6,417 1,584
7,705 8,558 2,196
2,298 3,777 1,435
11,578 3,422 2,520
6,961 6,053 1,903
5,855
Perform a hypothesis test using a = 0.05 to determine if there is a difference in the median number of secondary tickets sold for the three teams’ homes games.
18.34 Suppose TurboTax, a developer of tax preparation soft- ware, would like to determine if the median state tax re- fund in 2013 differs among various regions of the country. A random sample of taxpayer refunds from Maryland, California, Louisiana, and Ohio were recorded and are as follows. These data can also be found in the Excel file TurboTax.xlsx.
Maryland ($)
California ($)
Louisiana ($)
Ohio ($)
1,646 1,042 593 324
403 904 575 62
1,613 640 602 324
1,717 1,279 216 345
348 743 399 366
Perform a hypothesis test using a = 0.05 to determine if there is a difference among the median state tax refunds for taxpayers in these four states.
18.6 The Spearman Rank-Order Correlation Coefficient
In Chapter 14, you learned about the correlation coefficient, r, which measured both the strength and the direction of the relationship between two variables. This coefficient requires both variables to be at the interval or ratio level of measurement. In this section, I introduce a non- parametric version of the correlation coefficient known as the Spearman rank-order correlation coefficient, rS. This latest statistic also measures the strength and direction of the relationship between two variables but only requires the data be at the ordinal level of measurement.
The Spearman rank-order correlation coefficient can be found using Equation 18.10.
The Spearman rank-order correlation coefficient, rS, measures the strength and direction of the relationship between two variables but only requires the data be at the ordinal level of measurement.
Formula 18.10 for the Spearman Rank-Order Correlation Coefficient
rS = 1 - 6 a d2
n1n2 - 12
www.freebookslides.com
18-32 C h a p t e r 18 | Nonparametric Statistics
where
rS = the Spearman rank-order correlation coefficient d = the difference between ranks of each pair of observations n = the number of ordered pairs To demonstrate using Equation 18.10, I’ll rely on the original correlation example used
in Chapter 14. Suppose I would like to investigate that relationship between the number of hours students study for a statistics exam and the grades they get for that exam. Table 18.26 shows sample data for six students who were randomly chosen. These data can also be found in the Excel file exam grades.xlsx.
{ table 18.26 | Statistics Exam Data
student hours of study exam grade
1 3 86
2 6 95
3 4 92
4 4 83
5 3 78
6 2 79
To calculate the Spearman rank-order correlation coefficient, we first need to rank each variable from low to high values and calculate the difference in the ranks between the vari- ables. I show these calculations in Table 18.27 and explain the seven columns as follows:
Columns 1, 2, and 3 are the original data from Table 18.26. Column 4 is the ranked hours from Column 2. For example, Student 1 and Student 5
both studied three hours. They students are in the 2nd and 3rd positions in our sample. We assign both students the average of 2 and 3, which is a rank of 2.5.
Column 5 ranks the grades from Column 3. For example, Student 1 has the lowest grade (78) and is given the rank of 1, whereas Student 2 has the highest grade and is assigned the rank of 6.
Column 6 is the difference between Column 4 and Column 5. For Student 1, the differ- ence is 2.5 - 4 = - 1.5.
Column 7 is found by squaring the value from Column 6. For Student 1, the result is 1 - 1.522 = 2.25.
{ table 18.27 | Ranked Statistics Exam Data
(1) (2) (3) (4) (5) (6) (7)
student hours grade ranked hours ranked grade d d 2
1 3 86 2.5 4 - 1.5 2.25
2 6 95 6 6 0.0 0.00
3 4 92 4.5 5 - 0.5 0.25
4 4 83 4.5 3 1.5 2.25
5 3 78 2.5 1 1.5 2.25
6 2 79 1 2 - 1.0 1.00
We now need to sum up Column 7 in Table 18.27.
a d2 = 2.25 + 0.00 + 0.25 + 2.25 + 2.25 + 1.00 = 8.0 We are now ready to calculate the Spearman rank-order correlation coefficient using
Equation 18.10. Note that n = 6 because we have six students in our sample.
www.freebookslides.com
C h a p t e r 18 | 18.6 The Spearman Rank-Order Correlation Coefficient 18-33
rS = 1 - 6 a d2
n1n2 - 12 = 1 - 6182
6162 - 12 = 1 - 0.229 = 0.771
The interpretation for the Spearman rank-order correlation coefficient is the same as the correlation coefficient discussed in Chapter 14. The Spearman rank-order correlation coef- ficient, rS, provides us with both the strength and direction of the linear relationship between two variables. The values of rS range from between - 1.0 and + 1.0. When rS is positive, the linear relationship between the variables is positive. This means that as the value of one variable increases, the value of the other tends to increase. By contrast, when rS is negative, the linear relationship between the variables is negative. So, as the value of one variable increases, the value of the other tends to decrease. When rS is close to zero, there is no rela- tionship between the variables.
Because rS = 0.771, we can conclude that there is a fairly strong positive relation- ship between the number of hours students study for an exam and the grades they get on it. However, this result is based only on a small sample of six students. Does this result provide enough evidence to support the conclusion for the entire population of students? To answer this, we need to perform an hypothesis test with the following steps using a = 0.05.
Step 1: Identify the null and alternative hypotheses.
In our exam grade example, we define the population rank correlation coefficient, rS, as the rank correlation for the population of students. The purpose of this hy- pothesis test is to determine if there is a relationship between hours of study and exam grades for the entire population.
H0: rS = 0 H1: rS ≠ 0
Step 2: Determine the critical value for the Spearman rank-order correlation coefficient, rA,2.
The critical value for the Spearman rank-order correlation coefficient can be found in Table 3 in Appendix C at the end of this chapter (on page 18-50). An excerpt of the table appears in Table 18.28.
Remember, we conclude that a relationship exists between the two variables if rS ≠ 0.
Note that this is a two-tail test. You’ll get the chance to perform a one-tail test in the next Your Turn problem.
For a two-tail test, the critical value has a positive component (on the right side of the distribution) and a negative component (on the left side).
Using a = 0.05 and n = 6 for a two-tail test, ra>2 = 0.886 (highlighted in yellow).
Step 3: Compare the correlation coefficient to the critical value.
Table 18.29 summarizes the decision rules for testing the significance of the Spearman rank-order correlation coefficient.
{ table 18.28 | Critical Values for the Spearman Rank-Order Correlation Coefficient
one-tail A 0.05 0.025 0.01 0.005
two-tail A 0.10 0.05 0.02 0.01
n
5 0.900 — — —
6 0.829 0.886 0.943 —
7 0.714 0.786 0.893 —
8 0.643 0.738 0.833 0.881
www.freebookslides.com
18-34 C h a p t e r 18 | Nonparametric Statistics
Because � rS � = 0.771 is less than � ra>2 � = 0.886, we fail to reject the null hypothesis. Step 4: State your conclusions.
Because we fail to reject the null hypothesis, we cannot conclude that there is a re- lationship between the hours of study and exam grade for the student population.
You may find this conclusion surprising considering that rS = 0.771. However, recall that this nonparametric procedure is not as powerful as the parametric proce- dure discussed in Chapter 14, which makes rejecting the null hypothesis more chal- lenging. Also, the sample size 1n = 62 is very small, which makes rejecting the null hypothesis (finding a relationship) less likely.
This would be a good place to briefly discuss the logic of the Spearman rank-order correlation coefficient. If the correlation between the two variables is both strong and positive (close to 1.0), we would expect the ranks for each ordered pair to be close to one another. This would result in the a d2 from Table 18.27 to be rela- tively small causing rS to be close to 1.0. If the correlation between the two vari- ables is both strong and negative (close to - 1.0), we would expect the ranks for each ordered pair not to be close to one another. This would result in the a d2 from Table 18.27 to be relatively large, causing rS to be close to - 1.0.
As promised, here is your opportunity to calculate and test the Spearman rank-order correlation coefficient for a one-tail test. Hint: The hypothesis test for ra is a one- tail (lower) test in this problem.
{ table 18.29 | Decision Rules for Testing the Significance of the Spearman Rank-Order Correlation Coefficient.
test condition conclusion
Two-tail � rS � 7 � ra>2 � S Reject H0
� rS � … � ra>2 � S Do not reject H0
One-tail rS 7 ra S Reject H0 (upper) rS … ra S Do not reject H0 One-tail rS 6 - ra S Reject H0 (lower) rS Ú - ra S Do not reject H0
Best Buy would like to investigate the relationship between the selling price of a Canon PowerShot digi- tal camera and the demand for it. The following table shows the weekly demand for the camera in one particular market along with the corresponding price at which it was sold. These data can also be found in the Excel file PowerShot.xlsx.
Week Demand Price ($)
1 16 300
2 19 310
3 14 320
4 13 330
5 11 340
6 12 350
7 8 360
a. Determine the Spearman rank-order correlation coefficient between the selling price and the demand for the camera.
b. Using a = 0.05, perform a hypothesis test to determine if the population rank correlation is less than zero.
Y o u r t u r n # 9N
Answers can be found on u pages 18-47.
www.freebookslides.com
C h a p t e r 18 | 18.6 The Spearman Rank-Order Correlation Coefficient 18-35
18.6 Section Problems Basic Skills 18.35 Consider the following ordered pairs.
Variable 1: 4 7 2 6 6 8
Variable 2: 6 9 4 5 7 10
Calculate the Spearman rank-order correlation coefficient.
18.36 Perform a hypothesis test with the data from Problem 18.35 to determine if the population rank correlation coef- ficient is not equal to zero using a = 0.05.
18.37 Consider the following ordered pairs.
Variable 1: 7 6 2 3 8 8 10
Variable 2: 6 1 9 6 8 3 4
Calculate the Spearman rank-order correlation coefficient.
18.38 Using a = 0.05, perform a hypothesis test with the data from Problem 18.35 to determine if the population rank correlation coefficient is less than zero.
applications 18.39 The Human Resource Department at Neumann University
would like to examine the relationship between a faculty member’s performance rating (measured on a scale of 1–20) and his or her annual salary increase. The following table shows these data for eight randomly selected faculty members. These data can also be found in the Excel file Neumann.xlsx.
Rating Increase ($) Rating Increase ($)
16 2,400 15 2,000
18 2,500 15 2,600
12 1,800 17 2,000
13 1,700 16 1,900
a. Calculate the Spearman rank-order correlation coefficient.
b. Perform a hypothesis test to determine if the popula- tion rank correlation coefficient is more than zero using a = 0.05.
18.40 Suppose the Internet retailer Buy.com would like to in- vestigate the relationship between the amount of time in minutes a purchaser spends on its Web site and the amount of money he or she spends on an order. The following table shows the data from a random sample of 12 customers. These data can also be found in the Excel file Buy.com.xlsx.
Time Order Size ($) Time Order Size ($)
18 69 5 58
13 26 37 365
26 94 6 127
23 199 36 160
2 49 24 75
14 38 9 250
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.05, perform a hypothesis test to deter- mine if the population rank correlation coefficient is different than zero.
18.41 Suppose the U.S. Environmental Protection Agency (EPA) would like to investigate the relationship between the en- gine sizes of sedans and the miles per gallon (MPG) they get. The following table shows the engine size in cubic liters and rated miles per gallon for a selection of 2013 sedans. These data can also be found in the Excel file EPA.xlsx.
Car Engine Size MPG
Camry 2.5 26
Cobalt 2.2 30
Accord 2.4 25
Azera 3.3 21
Altima 3.5 23
Jetta 2.0 28
Sebring 2.4 24
Focus 2.0 29
Acura TL 3.7 20
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.05, perform a hypothesis test to deter- mine if the population rank correlation coefficient is less than zero.
18.42 Comcast’s customer service department asks its custom- ers to rate their over-the-phone service on a scale of 1–20 immediately after their service has been completed. The company then matches each customer’s rating with the number of minutes the person waited on hold. The follow- ing table shows the ratings and number of minutes on hold for 10 randomly selected customers. These data can also be found in the Excel file Comcast.xlsx.
www.freebookslides.com
18-36 C h a p t e r 18 | Nonparametric Statistics
Minutes Rating Minutes Rating
4 15 2 16
8 13 10 14
0 18 3 20
5 10 8 14
6 14 4 13
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.10, perform a hypothesis test to deter- mine if the population rank correlation coefficient is different than zero.
18.43 Suppose Consumer Reports would like to investigate the relationship between the battery life (in hours) and the screen size (in diagonal inches) of a laptop computer. The following table shows a random sample of eight laptops
and the battery life and corresponding screen size of each. These data can also be found in the Excel file battery life.xlsx.
Battery Life
Screen Size
Battery Life
Screen Size
3.6 15.6 3.1 14.0
3.7 17.3 4.1 13.3
4.2 14.5 4.5 11.6
4.0 12.1 3.9 13.1
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.01, perform a hypothesis test to deter- mine if the population rank correlation coefficient is less than zero.
www.freebookslides.com
{ table 18.30 | Summary of Nonparametric Tests
test purpose
Sign test Tests for a population median or customer preference
Wilcoxon rank-sum test Compares the medians of two independent samples
Wilcoxon signed-rank test Compares the medians of two dependent samples
Kruskal–Wallis test Tests for a difference in the medians for three or more populations.
Spearman rank-order correlation coefficient
Provides the strength and direction of the relation- ship between two variables at the ordinal level of measurement.
■ Parametric statistics describe procedures that rely on the assumption that the population from which a sample is drawn follows a known probability distribution, such as the normal distribution.
• Parametric statistics also require an interval or ratio level of data measurement.
■ Nonparametric statistics are procedures that rely on the assumption that a population follows a spe- cific probability distribution.
• Nonparametric statistics can also be used for data that is at the nominal or ordinal level of measurement.
■ However, all else being equal, the parametric procedure will provide a higher power than the cor- responding nonparametric procedure.
■ The sign test is a nonparametric procedure that assigns a plus sign or a minus sign to each observa- tion in a sample when testing for a population median.
• The test statistic is the sample’s number of plus or minus signs.
• For the small sample case 1n … 202, the test statistic follows the binomial distribution. • For a one-tail (upper) test, the test statistic is the number of plus signs (above the median).
• For a one-tail (lower) test, the test statistics is the number of minus signs (below the median).
• For a two-tail test, the test statistic is the larger number of plus versus minus signs.
• For the large sample case 1n 7 202, the test statistic follows the normal distribution. ■ The sign test can also be used to determine if consumers prefer one product or service to another.
■ The Wilcoxon rank-sum test is a nonparametric procedure that determines whether two populations have the same probability distribution based on evidence from two independent samples.
• Both samples are combined and the values are ranked from low to high.
• The test statistic is the sum of the ranks from the sample with the smaller number of observations.
• For the large sample case 1n 7 102, the test statistic follows the normal distribution. ■ The Wilcoxon signed-rank test is a nonparametric procedure that can be used to compare two de-
pendent samples to see if the medians of the populations from which they were drawn are the same.
• For a one-tail test, define Sample 1 as the sample that the alternative hypothesis predicts will be larger.
• For a two-tail test, the choice for Sample 1 is arbitrary.
• Compute the difference for each sample pair using Sample 1 minus Sample 2.
• Rank-order the absolute differences from low to high. Assign the ranks for the positive differ- ences to the R + column and the ranks for the negative difference to the R- column.
18-37
chapter 18 Summary
www.freebookslides.com
• The test statistic for the one-tail test is the sum of the R - ranks. • The test statistic for the two-tail test is the smaller of the sum of the negative signed ranks 1R -2 and sum of the positive signed ranks 1R +2.
■ The Kruskal–Wallis test is a nonparametric procedure that allows us to investigate whether a differ- ence exists in the medians for three or more populations.
• The only requirements of the Kruskal–Wallis test are that the level of data measurement be at least ordinal and that the size for each sample be five or more.
• The Kruskal–Wallis test combines all of the data from the samples and ranks the values from low to high.
• The test statistic for the Kruskal–Wallis test follows the chi-square distribution with k - 1 degrees of freedom.
■ The Spearman rank-order correlation coefficient, rS, measures the strength and direction of the rela- tionship between two variables but only requires the data be at the ordinal level of measurement.
• To calculate the Spearman rank-order correlation coefficient, we first need to rank each inde- pendent variable from low to high values and calculate the difference in the ranks between the variables.
• The difference in the ranks is squared and summed for the entire sample.
Kruskal–Wallis test. A nonparametric procedure that allows us to determine whether a difference exists in the medians for three or more populations.
Nonparametric statistics. Procedures that rely on fewer assump- tions about the probability distributions of populations than parametric statistics do.
Parametric statistics. Procedures that rely on the assumption that the population from which the sample is drawn follows a known probability distribution.
Power. The probability of correctly rejecting the null hypothesis for a hypothesis test.
Sign test. A nonparametric procedure that assigns a plus sign or a minus sign to each observation in a sample.
Spearman rank-order correlation coefficient, rS. Measures the strength and direction of the relationship between two variables but only requires the data be at the ordinal level of measurement.
Wilcoxon rank-sum test. A nonparametric procedure that de- termines whether two populations have the same probability distribution based on evidence from two independent samples.
Wilcoxon signed-rank test. A nonparametric procedure that can be used to compare two dependent samples to see if the me- dians of the populations from which they were drawn are the same.
chapter 18 Key Terms
18-38 www.freebookslides.com
18-39
chapter 18 Equations
Formula 18.1 for the p-Value for the Small Sample, One-Tail Sign Test p@value = P1x Ú S2
Formula 18.2 for the p-Value for the Small Sample, Two-Tail Sign Test p@value = 2 * P1x Ú S2
Formulas 18.3 and 18.4 for the Mean and Standard Deviation for the Sign Test (Large Sample Case)
m = 0.5n s = 20.25n
Formula 18.5 for the Test Statistic for the Sign Test (Large Sample Case) zS = 1S - 0.52 - m
s
Formula 18.6 for the p-Value for the Large Sample, One-Tail Sign Test p@value = P1x Ú zS2
Formula 18.7 for the p-Value for the Large Sample, Two-Tail Sign Test p@value = 2 * P1x Ú zS2
Formula 18.8 for the Test Statistic for the Wilcoxon Rank-Sum Test (Large Sample Case)
zW = W -
n11nT + 12 2Cn1n21nT + 1212
Formula 18.9 for the Test Statistic for the Kruskal–Wallis Test H =
12
nT1nT + 12 £ 1 a R1 22
n1 +
1 a R2 22 n2
+ g + 1 a Rk 22
nk § - 31nT + 12
Formula 18.10 for the Spearman Rank-Order Correlation Coefficient rS = 1 - 6 a d2
n1n2 - 12
18.2 The Sign Test (pp 18-4 –18-13)
18.3 The Wilcoxon Rank-Sum Test for Two Independent Samples (pp 18-14 –18-21)
18.5 The Kruskal-Wallis One-Way ANOVA (pp 18-27–18-30)
18.6 The Spearman Rank-Order Correlation Coefficient (pp 18-31–18-36)
www.freebookslides.com
18-40
chapter 18 Problems
18.44 First-time home buyers are an important segment of the housing market because this group allows current homeowners to sell their home and purchase another. In 2012, the median age of first-time homebuyers was 31 years old. To find out if the housing market is improving, suppose the Federal Housing Administration would like to determine if the median age of first-time buyers decreased in 2013. A random sample of first- time buyers was collected and their ages were as follows.
31 30 23 30 35 24 27 23
30 25 27 33 41 30 34 24
Using a = 0.05, perform a hypothesis test to determine if the median age of first-time buyers in 2013 was less than 31 years old.
18.45 As a measure of productivity, Verizon Wireless records the number of customers each of its retail employees activates weekly. An activation is defined as either a new customer signing a cell phone contract or an existing customer re- newing a contract. The following table shows the number of weekly activations for eight randomly selected employees along with their job-satisfaction levels rated on a scale of 1–10 (10 = most satisfied).
Activations Satisfaction Activations Satisfaction
36 8.0 19 6.1
25 7.9 28 7.0
40 8.5 33 8.2
38 9.0 25 7.7
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.05, perform a hypothesis test to determine if the population rank correlation coefficient is more than zero.
18.46 Suppose the Institute for College Access & Success would like to determine if there is a difference in the median amount of student-loan debt accrued by 2013 graduates in the states of California, Arizona, Pennsylvania, and Minnesota. A ran- dom sample of 2013 students from each state was selected and their debt amounts were as follows. These data can also be found in the Excel file student loans.xlsx.
California ($)
Arizona ($)
Pennsylvania ($)
Minnesota ($)
24,700 35,100 25,400 23,400
4,600 32,200 51,900 12,600
7,000 5,800 59,400 44,100
17,600 31,500 20,900 60,700
29,500 13,700 35,200 26,000
Using a = 0.05, perform a hypothesis test to determine if the median debt accrued by 2013 graduates differs among the four states.
18.47 In an effort to deal with the most recent budget crisis, the federal government has considered limiting the amount of mortgage interest taxpayers can deduct. Suppose the IRS would like to determine if the median mortgage interest de- duction per taxpayer exceeded $10,000 for 2013. The fol- lowing table summarizes the deduction data from a random sample of taxpayers for the 2013 tax year.
Deduction Number of Taxpayers
Below $10,000 17
Equal to $10,000 0
Above $10,000 42
Using a = 0.10, perform a hypothesis test to determine if the median mortgage interest deduction per taxpayer ex- ceeded $10,000 in 2013.
18.48 A newborn with serious health issues is often admitted to a neonatal intensive care unit, or NICI, and requires constant care, usually for many weeks. The cost for this treatment is very high and is usually billed to Medicaid. Suppose the personnel who administer Medicaid would like to deter- mine if the median cost for NICU stays exceeded $50,000 in 2014. The NICU costs (in thousands of dollars) for a ran- dom sample of newborns treated in 2014 are as follows.
22 84 63 14 54 15 77 60 51 65 53 70
Using a = 0.05, perform a hypothesis test to determine if the median cost per NICU stay exceeded $50,000 is 2014.
18.49 Zagat surveys fliers on a 30-point scale to gauge their sat- isfaction with the comfort, service, and food on domestic and international flights. The following average scores for various airlines were collected between September 21 and October 10, 2013. These data can also be found in the Excel file Zagat.xlsx.
Airline Domestic International
Alaska 15.6 15.5
American 10.1 11.6
Continental 14.1 15.6
Delta 10.9 12.8
United 10.4 12.0
U.S. Airways 9.1 10.1
Virgin America 21.1 20.7
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.05, perform a hypothesis test to determine if the population rank correlation coefficient is different than zero.
18.50 Pearson Education, a publisher of college textbooks, would like to know if students prefer traditional textbooks or digi- tal textbooks. A random sample of students was asked their preference and the results are shown in the following table.
www.freebookslides.com
Preference Number of Students
Traditional 63
Digital 36
No preference 10
Using a = 0.05, perform a hypothesis test to determine if students prefer one type of textbook to the other.
18.51 According to student-loan provider Sallie Mae, the median amount of money borrowed by a student for college during the 2011–2012 academic year was $7,874. Suppose Sallie Mae would like to determine if there was an increase in the median amount borrowed for the following academic year. The following data represent a random sample of student loan amounts for the 2012–2013 academic year. These data can also be found in the Excel file Sallie Mae.xlsx.
$7,300 $3,100 $14,100 $9,800 $7,400 $13,100 $6,000 $4,400 $6,000 $1,800 $12,700
Using a = 0.10, perform a hypothesis test to determine if the median amount borrowed increased from the academic year 2011–2012 to the academic year 2012–2013.
18.52 A regional manager at Acme Markets would like to develop a model to predict the weekly sales of pet food based on the shelf space allotted to the food. The following table shows the results of data collected from nine randomly selected stores. These data can also be found in the Excel file Acme.xlsx.
Shelf Space (Feet)
Sales ($100)
Shelf Space (Feet)
Sales ($100)
2 3 2 4
3 3 4 5
4 6 5 7
6 14 5 10
5 12
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.05, perform a hypothesis test to determine if the population rank correlation coefficient is greater than zero.
18.53 Suppose the U.S. Bureau of Economic Analysis would like to determine if the median selling price of new domestic cars is less than the median price of new imported cars. A random sample of both types of cars was collected, and their selling prices, in thousands of dollars, were as follows. These data can also be found in the Excel file domestic.xlsx.
Imported Cars ($) Domestic Cars ($)
50.6 29.8 37.2 14.4
55.8 44.6 20.1 33.9
48.4 37.2 34.0 24.8
32.2 30.6 16.7
Using a = 0.05, perform a hypothesis test to determine if the median selling price for imported cars is higher than it is for domestic cars.
18.54 The following table shows the weight of randomly selected packages shipped by FedEx, UPS, and DHL. These data can also be found in the Excel file package weight.xlsx.
FedEx UPS DHL
13.7 9.8 0.7 20.2 13.0 4.0
11.9 5.3 5.7 6.1 7.7 2.0
2.8 14.8 22.8 12.5 8.6 3.7
4.1 1.6 0.4 11.6 7.2 9.8
Using a = 0.05, perform a hypothesis test to determine if there is a difference in the median package weights shipped by the three companies.
18.55 Suppose the Graduate Management Admission Council (GMAC) would like to determine if the median starting salary for MBA students graduating from two-year pro- grams is different than the median starting salary for MBA students graduating from one-year programs. A random sample of graduating students from both types of MBA programs was collected, and the starting salaries, in thou- sands of dollars, were recorded and are as follows. These data can also be found in the Excel file GMAC.xlsx.
Two-Year Programs ($) One-Year Programs ($)
76.1 70.9 76.6 68.1
101.0 87.4 73.0 75.3
75.3 87.4 84.5 56.0
55.1
Using a = 0.05, perform a hypothesis test to determine if the median starting salary for MBA students graduating from two-year programs was different than it was for MBA students graduating from one-year programs.
18.56 Suppose the U.S. Department of Education would like to determine if the median annual tuition for a four-year public college equaled $8,000 in 2014. A random sample of these colleges was selected and their annual tuitions were as fol- lows. These data can also be found in the Excel file DoE.xlsx.
$7,600 $8,800 $10,500 $6,900 $10,800 $11,500 $13,800 $9,900 $11,700 $12,400 $8,000 $5,100
Using a = 0.05, perform a hypothesis test to determine if the annual median tuition for a four-year public college equals $8,000 in 2014.
18.57 Suppose I recorded the attendance of my students in a recent statistics class because I wanted to investigate the relationship between the number of classes they missed and their final grades. The following table shows the data for a random sample of nine students. These data can also be found in the Excel file missed classes.xlsx.
18-41 www.freebookslides.com
Missed Final Missed Final
Classes Grade Classes Grade
4 74 2 84
6 79 0 90
1 93 5 86
4 70 2 95
0 96
a. Calculate the Spearman rank-order correlation coefficient.
b. Perform a hypothesis test to determine if the popula- tion rank correlation coefficient is less than zero using a = 0.05.
18.58 As the pace of college football has increased over the years, the number of plays per game appears to have increased. To test this theory, random samples of college football games were selected from the 2006 season as well as the 2012 season. The total number of plays made in each game was counted and the data are as follows. These data can also be found in the Excel file football plays.xlsx.
2006: 113 123 140 117 136 124 128 124 2012: 135 151 154 135 146 142 137 148 138
Using a = 0.05, can we conclude that the median number of plays per game increased from the 2006 to the 2012 season?
18.59 The Small Business Administration (SBA) is a government- run organization that oversees the microloan program for small businesses. Microloans are small, short-term loans that are less than $25,000 with less than a six-year term. Due to tougher credit guidelines, the SBA is concerned that microloan amounts have been declining. To investigate this, suppose the SBA collected a random sample of micro- loans from 2006 and a random sample from 2013. The loan amounts are as follows, in thousands of dollars. These data can also be found in the Excel file microloan.xlsx.
2006 ($) 2013 ($)
11.6 16.6 5.2 12.1
18.5 13.7 15.5 9.0
22.1 18.0 10.9 13.1
19.3 14.5 8.0 7.2
8.5 16.5 10.1 8.4
18.7 7.5 14.1 7.4
12.0
Using a = 0.05, perform a hypothesis test to determine if the median microloan amount in 2013 was less than the median microloan amount in 2006.
18.60 The following sample data show, in square feet, the size of newly constructed single homes in 2005 versus 2013.
These data can also be found in the Excel file new construction.xlsx.
2005 2013
2,620 2,860 2,310 2,130
2,740 2,440 1,860 2,380
2,860 1,590 1,630 2,640
2,180 2,880 2,280 1,790
2,750 3,300 2,090 2,150
1,970 1,880 2,270 1,920
3,600 3,490
Using a = 0.05, perform a hypothesis test to determine if the median size of a newly built home in 2005 was different than it was in 2013.
18.61 Fair Isaac, the company that developed the credit-score model used by most lenders today, would like to examine the relationship between the age and credit score of an in- dividual. The following table shows the credit scores and ages of 10 randomly selected people. These data can also be found in the Excel file Fair Issac.xlsx.
Age Credit Score Age Credit Score
36 675 47 790
24 655 35 720
54 760 59 760
28 615 40 685
31 660 42 610
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.05, perform a hypothesis test to determine if the population rank correlation coefficient is different than zero.
18.62 A critical factor in the successful operation in today’s hospital system is the effective staffing of emergency room (ER) personnel. In an effort to examine this issue, Wilmington Hospital would like to determine if the average number of emergency room visits differs across the hospi- tal’s three eight-hour shifts during the day. The following table represents the number of ER visits for randomly selected eight-hour shifts. These data can also be found in the Excel file Wilmington Hospital.xlsx.
7 am–3 pm 3 pm–11 pm 11 pm–7 am
41 25 15
32 67 11
26 24 26
26 31 10
40 53 23
39 30 20
18-42 www.freebookslides.com
Using a = 0.05, perform a hypothesis test to determine if there is a difference in the number of ER visits during the three shifts.
18.63 The following data represent the times recorded by nine 100-yard backstroke swimmers, in seconds, before and af- ter they participated in a new training program. These data can also be found in the Excel file backstroke.xlsx.
Swimmer 1 2 3 4 5 6 7 8 9
Before 75 76 67 72 73 66 63 72 69
After 71 74 65 68 72 70 60 67 65
Using a = 0.05, perform a hypothesis test to determine if the new program effectively reduced swimming times for the 100-yard backstroke.
18.64 The University of Delaware would like to describe the rela- tionship between the GPA and the starting monthly salary of a graduate who earned a business degree from the uni- versity. The following table shows the monthly starting sal- aries for eight graduates of the business school along with their corresponding GPAs. These data can also be found in the Excel file monthly salary.xlsx.
Starting Salary ($) GPA
2,600 3.2
2,900 3.4
2,500 2.6
2,600 3.5
3,000 3.7
2,900 4.0
2,200 2.5
2,400 3.3
a. Calculate the Spearman rank-order correlation coefficient.
b. Using a = 0.05, perform a hypothesis test to determine if the population rank correlation coefficient is greater than zero.
18.65 The following data represent the math SAT scores for a random sample of seniors from three different high schools. These data can also be found in the Excel file SAT.xlsx.
School A School B School C
488 445 618
592 370 525
537 382 651
470 423 647
539 523 543
Using a = 0.05, perform a hypothesis test to determine if the math median SAT score differs among these three high schools.
18.66 A manufacturing company conducted a safety awareness program at 10 different production facilities. The following data represent the number of man-hours lost over a one- month period at each facility before and after the program. These data can also be found in the Excel file safety.xlsx.
Facility A B C D E F G H I J
Before 13 19 16 21 14 9 18 41 17 19
After 10 15 14 23 10 11 15 25 10 10
Using a = 0.05, perform a hypothesis test to determine if the safety awareness program reduced the number man- hours lost at the facilities.
18.67 According to Reis Inc., a real estate data firm, the median monthly apartment rent in the United States in October 2012 was $1,044. Suppose the manager of an apartment complex would like to test this report by taking a random sample of apartment rents. The data for this sample are as follows.
Monthly Rent Number of Apartments
Below $1,044 37
Equal to $1,044 1
Above $1,044 55
Using a = 0.05, perform a hypothesis test to determine if the median monthly apartment rent in the United States in October 2012 was indeed $1,044.
18.68 A low-profile tire is an automobile tire that has a short sidewall height, which is the distance between the tire rim and the road. These tires provide better performance at the expense of gas mileage. The Ford Taurus was chosen to measure the effect these tires have on a car’s gas mileage. Eleven Tauruses with standard tires were selected, and the gas mileage obtained on one tank of gas was measured for each. Low-profile tires were then installed on the same cars. Using the same drivers, the gas mileage was again recorded. The results are as follows and can be found in the Excel file tires.xlsx.
Car Standard Low
Profile Car Standard Low
Profile
1 21.5 22.4 7 25.5 20.0
2 22.3 20.1 8 19.5 16.2
3 24.0 25.6 9 23.9 21.4
4 19.3 19.5 10 22.9 22.4
5 22.3 21.7 11 19.7 25.3
6 26.5 19.0
Using a = 0.05, perform a hypothesis test to determine if the gas mileage obtained using standard tires is higher than the gas mileage obtained using low profile tires.
18-43 www.freebookslides.com
18.69 The following table shows the selling prices, in thousands of dollars, and the square footages of seven randomly se- lected houses recently sold by Century 21 Realtors. These data can also be found in the Excel file Century 21.xlsx.
Selling Price ($) Square Footage
258 2730
191 1860
253 2140
168 2180
249 2310
245 2450
282 2920
a. Using a = 0.05, calculate the Spearman rank-order cor- relation coefficient.
b. Perform a hypothesis test to determine if the population rank correlation coefficient is different than zero.
18.70 Citibank, which has a major credit card division, has de- signed a promotion designed to encourage its customers to increase their current credit card usage. To test the effec- tiveness of this promotion, Citibank monitored the monthly credit card balances of 25 customers before and after the promotion was launched. The results can be found in the Excel file Citibank 1.xlsx. Using a = 0.05, perform a hy- pothesis test to determine if the median credit card balance was higher after the promotion than before the promotion.
Step 1: Identify the null and alternative hypotheses. H0: Median … $800 H1: Median 7 $800
Step 2: Count the plus and minus signs. There are seven values above the hypothesized median (plus signs) and three values below the hypothesized median (minus signs).
Step 3: Determine the test statistic, S. S = 7
Step 4: Determine the sample size, n. n = 7 + 3 = 10
Step 5: Determine the p-value. p = 0.50, n = 10 p@value = P1x Ú S2 p@value = P1x Ú 72 = 0.1172 + 0.0439 + 0.0098 + 0.0010 = 0.1719
Step 6: State your conclusions. Because our p-value (0.1719) is greater than a = 0.05, we fail to reject the null hypothesis. We do not have enough evidence to conclude that the median weekly wage of full-time workers exceeds $800.
Y O u R T u R N # 2 Step 1: Identify the null and alternative hypotheses.
H0: Median = $180,000 H1: Median ≠ $180,000
Step 2: Count the plus and minus signs. There are 10 values above the hypothesized median (plus signs) and two values below the hypothesized median (minus signs).
Step 3: Determine the test statistic, S. S = 10 (the larger of the values 10 and 2)
Step 4: Determine the sample size, n. n = 10 + 2 = 12
Step 5: Determine the p-value. p = 0.50, n = 12 p@value = 2 * P1x Ú S2 p@value = 2 * P1x Ú 102 = 210.0002 + 0.0029 + 0.01612 = 210.01922 = 0.0384
Step 6: State your conclusions. Because our p-value (0.0384) is less than a = 0.05, we reject the null hypothesis. We have enough evidence to conclude that the median hous- ing price in the United States in 2012 was not equal to $180,000.
18-44
chapter 18 Solutions to Your Turn
Y O u R T u R N # 1
www.freebookslides.com
Y O u R T u R N # 3 Step 1: Identify the null and alternative hypotheses.
H0: Median = $498 H1: Median ≠ $498
Step 2: Determine the value for S. S = 26 (the larger of the values 26 and 18)
Step 3: Determine the sample size, n. The sample size is the total number of plus signs and minus signs. For this example, n = 26 + 18 = 44.
Step 4: Determine the test statistic, zS. m = 0.5n = 10.521442 = 22 s = 20.25n = 210.2521442 = 211 = 3.32
zS = 1S - 0.52 - m
s =
126 - 0.52 - 22 3.32
= 1.05
Step 5: Determine the p-value. p@value = 2 * P1x Ú zS2 p@value = 2 * P1x Ú 1.052 = 211.0 - 0.85312 = 0.2938
Step 6: State your conclusions. Because our p-value (0.2938) is greater than a = 0.10, we fail to reject the null hypothesis. As a result, we have no evidence to conclude that the median travel budget for Thanksgiving travelers changed from 2012 to 2013.
Y O u R T u R N # 4 Step 1: Identify the null and alternative hypotheses.
Set p equal to the proportion in the population who prefer pulp in their orange juice (arbitrary) and assign plus signs to those in the sample who prefer pulp (arbitrary). H0: p = 0.50 H1: p ≠ 0.50
Step 2: Determine the value for S. S = 35 (the larger of the values 35 and 21)
Step 3: Determine the sample size, n. The sample size is the total number of plus signs and minus signs. For this example, n = 35 + 21 = 56.
Step 4: Determine the test statistic, zS . m = 0.5n = 10.521562 = 28
s = 20.25n = 210.2521562 = 214 = 3.74 zS =
1S - 0.52 - m s
= 135 - 0.52 - 28
3.74 = 1.74
Step 5: Determine the p-value. p@value = 2 * P1x Ú zS2 p@value = 2 * P1x Ú 1.742 = 211.0 - 0.95912 = 0.0818
Step 6: State your conclusions. Because our p-value (0.0818) is greater than a = 0.05, we fail to reject the null hypothesis. As a result, it does not appear that consumers have a preference for pulp or no pulp in their orange juice.
Y O u R T u R N # 5 Step 1: Identify the null and alternative hypotheses.
H0: Hotels in Orlando are not more expensive than hotels in Tampa during Christmas H1: Hotels in Orlando are more expensive than hotels in Tampa during Christmas
Step 2: Identify Sample 1 and Sample 2. Sample 1 = Tampa 1n1 = 72 Sample 2 = Orlando 1n2 = 72
Step 3: Sort all of the data values from low to high and rank them.
Rate ($) City Rank Rate ($) City Rank
88 Orlando 1 160 Tampa 8
99 Tampa 2.5 164 Orlando 9
99 Tampa 2.5 177 Tampa 10
109 Tampa 4 191 Orlando 11
121 Orlando 5 202 Orlando 12
125 Tampa 6 207 Orlando 13
135 Tampa 7 219 Orlando 14
Step 4: Determine the test statistic, W. Using the Tampa sample, W = 2.5 + 2.5 + 4 + 6 + 7 + 8 + 10 = 40
Step 5: Determine the upper and lower critical values for the Wilcoxon rank- sum test. Using n1 = 7 and n2 = 7 with a = 0.05 for a one-tail test, the lower and upper critical values are 39 and 66, respectively.
Step 6: Compare the test statistic to the critical values. Because W = 40 is between the lower and upper critical values (39 and 66), we fail to reject the null hypothesis.
Step 7: State your conclusions. Because we fail to reject the null hypothesis, Trip Advisor cannot conclude that hotel rates are more expensive in Orlando than in Tampa during Christmas week.
18-45 www.freebookslides.com
Y O u R T u R N # 6 Step 1: Identify the null and alternative hypotheses.
H0: Median household income in New Jersey and Pennsylvania are equal H1: Median household income in New Jersey and Pennsylvania are not equal
Step 2: Identify Sample 1 and Sample 2. Sample 1 = households in Pennsylvania 1n1 = 112 Sample 2 = households in New Jersey 1n2 = 132
Step 3: Sort all of the data values from low to high and rank them.
Income ($) Sample Rank
Income ($) Sample Rank
37 PA 1 58 NJ 13
41 PA 2 64 PA 14
43 NJ 3 67 NJ 15
46 NJ 4.5 74 NJ 16
46 PA 4.5 76 NJ 17
47 PA 6 78 PA 18
50 NJ 7 80 PA 19
51 NJ 8 89 NJ 20
53 NJ 9.5 92 NJ 21
53 PA 9.5 93 NJ 22
54 PA 11 105 PA 23
55 PA 12 126 NJ 24
Step 4: Determine the test statistic, ZW . W = 1 + 2 + 4.5 + 6 + 9.5 + 11 + 12 + 14 + 18 + 19 + 23 = 120 Using n1 = 11, n2 = 13 and nT = n1 + n2 = 11 + 13 = 24, we can now calculate the test statistic using Equation 18.8.
zW = W -
n11nT + 12 2A n1n21nT + 1212 =
120 - 1112124 + 12
2A 11121132124 + 1212 zW =
120 - 137.52297.92 = - 1.01 Step 5: Determine the critical value for the Wilcoxon rank-sum test.
Using a = 0.05, the critical value for this two-tail Wilcoxon rank-sum test is za>2 = 1.96.
Step 6: Compare the test statistic to the critical value. Because � zW � = � - 1.01 � = 1.01 is less than � za>2 � = 1.96, we fail to reject the null hypothesis.
Step 7: State your conclusions. Because we fail to reject the null hypothesis, we do not have enough evi- dence to conclude that the median annual household income is different in New Jersey than it is in Pennsylvania.
Y O u R T u R N # 7 Step 1: Identify the null and alternative hypotheses.
This is a two-tail test because we are determining if a difference exists in the median golf scores for these two golf courses. H0: Median golf scores are equal for the two golf courses H1: Median golf scores are different for the two golf courses
Step 2: Identify Sample 1 and Sample 2. For a two-tail test, the choice for Sample 1 is arbitrary. Sample 1 = the Delcastle golf scores Sample 2 = the Rock Manor golf scores
Step 3: Calculate the signed-ranked differences.
Golfer Sample 1
DCG Sample 2
RMGC Difference in Scores
Absolute Difference
Signed Rank
R+ R− 1 89 93 - 4 4 3 2 96 99 - 3 3 2 3 80 89 - 9 9 8 4 91 91 0 0 No rank
5 78 86 - 8 8 7
Golfer Sample 1
DCG Sample 2
RMGC Difference in Scores
Absolute Difference
Signed Rank
R+ R− 6 104 98 6 6 4.5
7 90 96 - 6 6 4.5 8 88 95 - 7 7 6 9 81 83 - 2 2 1
Total 4.5 31.5
Step 4: Determine the test statistic, T. For a two-tail Wilcoxon signed-rank test, the test statistic, T, is the smaller of the sum of the negative signed ranks (R -) and the sum of the positive signed ranks (R -) from the table above. Therefore, the test statistic is the minimum of 4.5 and 31.5, or T = 4.5.
Step 5: Determine the critical value for the Wilcoxon signed-rank test, Ta. Because Golfer 4 had the same score at both courses, resulting in a difference equal to zero, we drop this pair of observations from the sample. To determine the critical value, we therefore use n = 8. Using Table 2 in Appendix C at the end of this chapter with a two-tail test and a = 0.10, Ta>2 = 6.
18-46 www.freebookslides.com
Step 6: Compare the test statistic to the critical value. Because T = 4.5 is less than Ta>2 = 6, we reject the null hypothesis.
Step 7: State your conclusions. Because we reject the null hypothesis, management can conclude that the median golf scores for these two courses are not equal.
Y O u R T u R N # 8 Step 1: Identify the null and alternative hypotheses.
H0: There is no difference in the median satisfaction scores among store locations H1: There is a difference in the median satisfaction scores among store locations
Step 2: Sort all of the data values from low to high and rank them.
Score Store Rank Score Store Rank
28 C 1 40 A 12
29 C 2 40 A 12
30 B 3.5 40 B 12
30 C 3.5 41 B 14
31 C 5 42 B 15
33 C 6 43 A 16
35 B 7 45 A 17
36 A 8 46 B 18
37 C 9 47 A 19
38 C 10 48 A 20
The two scores that are 30 are in the 3rd and 4th position in the data set. We assign both scores the average rank of 3 and 4 which equals 3.5. The three scores that are 40 are in the 11th, 12th, and 13th position in the data set. We assign all three scores the average rank of 11, 12, and 13, which equals 12.
Step 3: Sum the ranks for each sample. Location A: a R1 = 16 + 8 + 12 + 19 + 12 + 20 + 17 = 104 Location B: a R2 = 15 + 7 + 18 + 14 + 3.5 + 12 = 69.5 Location C: a R3 = 10 + 3.5 + 1 + 6 + 5 + 2 + 9 = 36.5
Step 4: Determine the test statistic for the Kruskal–Wallis test, H.
H = 12
nT1nT + 12 c 1 a R122
n1 +
1 a R222 n2
+ g + 1 a Rk22
nk d
- 31nT + 12
H = 12
1202120 + 12 c 110422
7 +
169.522 6
+ 136.522
7 d
- 3120 + 12 H = 10.028571231,545.14 + 805.04 + 190.324 - 63 H = 72.58 - 63 = 9.58
Step 5: Determine the critical value for the Kruskal–Wallis test, Ha. Using a = 0.10 with k - 1 = 3 - 1 = 2 degrees of freedom, Ha = 4.605.
Step 6: Compare the test statistic to the critical value. Because H = 9.58 is more than Ha = 4.605, we reject the null hypothesis.
Step 7: State your conclusions. Because we reject the null hypothesis, the owner can conclude that the median customer satisfaction scores are different for the three stores.
Y O u R T u R N # 9
Week Demand Price ($) Ranked Demand
Ranked Price d d 2
1 16 300 6 1 5.0 25
2 19 310 7 2 5.0 25
3 14 320 5 3 2.0 4
4 13 330 4 4 0.0 0
5 11 340 2 5 -3.0 9 6 12 350 3 6 -3.0 9 7 8 360 1 7 -6.0 36
a d2 = 25 + 25 + 4 + 0 + 9 + 9 + 36 = 108 rS = 1 -
6 a d2 n1n2 - 12 = 1 -
611082 7172 - 12
rS = 1 - 648
336 = 1 - 1.929 = - 0.929
Step 1: Identify the null and alternative hypotheses. H0: rS Ú 0 H1: rS 6 0
Step 2: Determine the critical value for the Spearman rank-order correlation coefficient, ra>2. Using a = 0.05 and n = 7 for a one-tail test, - ra = - 0.714 (found in Table 18.28 or in Table 3 at the end of this chapter).
Step 3: Compare the correlation coefficient to the critical value. Because rS = - 0.929 is less than - ra = - 0.714, we reject the null hypothesis.
Step 4: State your conclusions. Because we reject the null hypothesis, Best Buy can conclude that there is a negative relationship between the price of a Canon PowerShot digital camera and the weekly demand for it.
18-47 www.freebookslides.com
18-48
Appendix C
{ table 1 | Lower and Upper Critical Values for Wilcoxon Rank Sum Test
A = 0.025 (one-tail) or A = 0.05 (two-tail) n1 3 4 5 6 7 8 9 10 n2 3 5,16 6,18 6,21 7,23 7,26 8,28 8,31 9,33
4 6,18 11,25 12,28 12,32 13,35 14,38 15,41 16,44
5 6,21 12,28 18,37 19,41 20,45 21,49 22,53 24,56
6 7,23 12,32 19,41 26,52 28,56 29,61 31,65 32,70
7 7,26 13,35 20,45 28,56 37,68 39,73 41,78 43,83
8 8,28 14,38 21,49 29,61 39,73 49,87 51,93 54,98
9 8,31 15,41 22,53 31,65 41,78 51,93 63,108 66,114
10 9,33 16,44 24,56 32,70 43,83 54,98 66,114 79,131 (Note: n1 is the smaller of the two samples—i.e., n1 6 = n2.)
A = 0.05 (one-tail) or A = 0.10 (two-tail) n1 3 4 5 6 7 8 9 10 n2 3 6,15 7,17 7,20 8,22 9,24 9,27 10,29 11,31
4 7,17 12,24 13,27 14,30 15,33 16,36 17,39 18,42
5 7,20 13,27 19,36 20,40 22,43 24,46 25,50 26,54
6 8,22 14,30 20,40 28,50 30,54 32,58 33,63 35,67
7 9,24 15,33 22,43 30,54 39,66 41,71 43,76 46,80
8 9,27 16,36 24,46 32,58 41,71 52,84 54,90 57,95
9 10,29 17,39 25,50 33,63 43,76 54,90 66,105 69,111
10 11,31 18,42 26,54 35,67 46,80 57,95 69,111 83,127 (Note: n1 is the smaller of the two samples—i.e., n1 6 = n2.)
Source: F. Wilcoxon and R. A. Wilcox, Some Approximate Statistical Procedures (New York: American Cyanamid Company, 1964), pp. 20–23.
{ table 2 | Critical Values for the Wilcoxon Signed-Rank Test
One-Tail A 0.05 0.025 0.01 0.005
Two-Tail A 0.10 0.05 0.02 0.01
n 5 1
6 2 1
7 4 2 0
8 6 4 2 0
9 8 6 3 2
10 11 8 5 3
11 14 11 7 5
12 17 14 10 7
13 21 17 13 10
(Continued)
Tables for Chapter 18
www.freebookslides.com
{ table 2 | Continued
One-Tail A 0.05 0.025 0.01 0.005
Two-Tail A 0.10 0.05 0.02 0.01
14 26 21 16 13
15 30 25 20 16
16 36 30 24 19
17 41 35 28 23
18 47 40 33 28
19 54 46 38 32
20 60 52 43 37
21 68 59 49 43
22 75 66 56 49
23 83 73 62 55
24 92 81 69 61
25 101 90 77 68
26 110 98 85 76
27 120 107 93 84
28 130 117 102 92
29 141 127 111 100
30 152 137 120 109
31 163 148 130 118
32 175 159 141 128
33 188 171 151 138
34 201 183 162 149
35 214 195 174 160
36 228 208 186 171
37 242 222 198 183
38 256 235 211 195
39 271 250 224 208
40 287 264 238 221
41 303 279 252 234
42 319 295 267 248
43 336 311 281 262
44 353 327 297 277
45 371 344 313 292
46 389 361 329 307
47 408 379 345 323
48 427 397 362 339
49 446 415 380 356
50 466 434 398 373 Source: Some Rapid Approximate Statistical Procedures. Copyright 1949, 1964 Lerderle Laboratories, American Cyanamid Co., Wayne, N.J.
18-49 www.freebookslides.com
{ table 3 | Critical Values for the Spearman Rank-Order Correlation Coefficient
One-Tail A 0.05 0.025 0.01 0.005
Two-Tail A 0.10 0.05 0.02 0.01
n 5 0.900 — — —
6 0.829 0.886 0.943 —
7 0.714 0.786 0.893 —
8 0.643 0.738 0.833 0.881
9 0.600 0.683 0.783 0.833
10 0.564 0.648 0.745 0.794
11 0.523 0.623 0.736 0.818
12 0.497 0.591 0.703 0.780
13 0.475 0.566 0.673 0.745
14 0.457 0.545 0.646 0.716
15 0.441 0.525 0.623 0.689
16 0.425 0.507 0.601 0.666
17 0.412 0.490 0.582 0.645
18 0.399 0.476 0.564 0.625
19 0.388 0.462 0.549 0.608
20 0.377 0.450 0.534 0.591
21 0.368 0.438 0.521 0.576
22 0.359 0.428 0.508 0.562
23 0.351 0.418 0.496 0.549
24 0.343 0.409 0.485 0.537
25 0.336 0.400 0.475 0.526
26 0.329 0.392 0.465 0.515
27 0.323 0.385 0.456 0.505
28 0.317 0.377 0.448 0.496
29 0.311 0.370 0.440 0.487
30 0.305 0.364 0.432 0.478 Source: E.G. Olds, “Distribution of Sums of Squares of Rank Differences for Small Samples”, Annals of Mathematical Statistics, 1938, 9, Reproduced with the permission of the Editor, Annals of Mathematical Statistics.
18-50 www.freebookslides.com
Chapter 18 18.2 H0: Median = 20
H1: Median ≠ 20 S = 5 1the larger of the values 5 and 32 n = 3 + 5 = 8 p = 0.50 p@value = 2 * P1x Ú 52 = 210.2188 + 0.1094 + 0.0313 + 0.00392 = 210.36342 = 0.7268 Because our p-value (0.7268) is greater than a = 0.05, we fail to reject the null hypothesis. We do not have evidence to conclude that the median of this population is not equal to 20.
18.4 H0: Median = 40 H1: Median ≠ 40 s = 27 1the larger of the values 27 and 182 n = 27 + 18 = 45 m = 0.5n = 10.521452 = 22.5 s = 20.25n = 210.2521452 = 211 = 3.35 zS =
1S - 0.52 - m s
= 127 - 0.52 - 22.5
3.35 = 1.19
p@value = 2 * P1x Ú zS2 p@value = 2 * P1x Ú 1.192 = 211.0 - 0.88302 = 0.2340 Because our p-value (0.2340) is greater than a = 0.10, we fail to reject the null hypothesis. We do not have evidence to conclude that the median of this population is not equal to 40.
18.6 H0: Median … $3,000 H1: Median 7 $3,000 S = 7 1the number of plus signs2 n = 3 + 7 = 10 p = 0.50 p@value = P1x Ú 72 = 0.1172 + 0.0439 + 0.0098 + 0.0010 = 0.1719 Because our p-value (0.1719) is greater than a = 0.05, we fail to reject the null hypothesis. H&R Block does not have evidence to conclude that the median tax refund exceeds $3,000.
18.8 H0: Median = 42 H1: Median ≠ 42 s = 30 1the larger of the values 30 and 162 n = 30 + 16 = 46 m = 0.5n = 10.521462 = 23 s = 20.25n = 210.2521462 = 211.5 = 3.39 zS =
1S - 0.52 - m s
= 130 - 0.52 - 23
3.39 = 1.92
p@value = 2 * P1x Ú zS2 p@value = 2 * P1x Ú 1.922 = 211.0 - 0.97262 = 0.0548 Because our p-value (0.0548) is less than a = 0.10, we reject the null hypothesis. Starbucks has evidence to conclude that the median age of their customers is not equal to 42 years.
18.10 H0: p = 0.50 H1: p ≠ 0.50 s = 10 1the larger of the values 10 and 42 n = 10 + 4 = 14 p = 0.50 p@value = 2 * P1x Ú 102 = 210.0611 + 0.0222 + 0.0056 + 0.0009 + 0.00012 = 210.08992 = 0.1798 Because our p-value (0.1798) is greater than a = 0.05, we fail to reject the null hypothesis. We do not have evidence to conclude that fans prefer one type of basketball game to the other.
18.12 H0: Population B does not have a higher median than Population A H1: Population B has a higher median than Population A
Sample 1 = Sample B 1n1 = 62 Sample 2 = Sample A 1n2 = 72
Value PoPulation Rank Value PoPulation Rank
10 A 1 62 B 8
28 A 2 64 A 9
46 B 3 67 B 10
54 A 4.5 73 B 11
54 A 4.5 82 A 12
61 A 6.5 93 B 13
61 B 6.5
Using Sample 1 (Population B), W = 3 + 6.5 + 8 + 10 + 11 + 13 = 51.5. Using n1 = 6 and n2 = 7 with a = 0.05 for a one-tail test, the lower and upper critical values from Table 1 are 30 and 54, respectively. Because W = 51.5 is between the lower and upper critical values, we fail to reject the null hypothesis and cannot conclude that Population B has a higher median than Population A.
18.14 H0: The medians for Population A and Population B are equal H1: The medians for Population A and Population B not are equal
Sample 1 = Sample B 1n1 = 122 Sample 2 = Sample A 1n2 = 132
Value PoPulation Rank Value PoPulation Rank
5 A 1 40 A 14
9 A 2 41 A 15
10 B 3 44 A 16.5
18 A 4 44 B 16.5
22 A 5.5 46 B 18
22 A 5.5 47 A 19
25 A 7 49 B 20
29 B 8 50 B 21
30 A 9 51 A 22.5
33 A 10 51 B 22.5
36 B 11 54 B 24
39 B 12.5 57 B 25
39 B 12.5
Using Sample 1 (Population B), W = 3 + 8 + 11 + 12.5 + 12.5 + 16.5 + 18 + 20 + 21 + 22.5 + 24 + 25 = 194.
nT = n1 + n2 = 12 + 13 = 25
zW = W -
n11nT + 12 2A n1n21nT + 1212 =
194 - 1122125 + 12
2A 11221132125 + 1212 = 120 - 1562338 = - 1.96
Using a = 0.10, the critical value for this two-tail Wilcoxon rank-sum test is za>2 = 1.645. Because ∙ zW ∙ = ∙ - 1.96 ∙ = 1.96 is greater than ∙ za>2 ∙ = 1.645, we reject the null hypothesis and conclude that the medians for Populations A and B are not equal.
Answers to Selected Even-Numbered Problems 18-51 www.freebookslides.com
18.16 H0: There is no difference in annual household incomes between these two counties
H1: There is a difference in annual household incomes between these two counties
Sample 1 = Chester County 1n1 = 72 Sample 2 = Berks County 1n2 = 82
income PoPulation Rank income PoPulation Rank
31.4 Chester 1 67.7 Berks 9
35.8 Berks 2 76.5 Berks 10
38.8 Chester 3 80.6 Berks 11
40.7 Berks 4 86.7 Chester 12
45.0 Berks 5 87.7 Chester 13
48.6 Chester 6 94.8 Chester 14
59.8 Berks 7 100.4 Chester 15
62.9 Berks 8
Using Sample 1 (Chester County), W = 1 + 3 + 6 + 12 + 13 + 14 + 15 = 64. Using n1 = 7 and n2 = 8 with a = 0.05 for a two-tail test, the lower and upper critical values from Table 1 are 39 and 73, respectively. Because W = 64 is between the lower and upper critical values, we fail to reject the null hypothesis and cannot conclude that there is a difference in annual income between these two counties.
18.18 H0: Median hours per week in the Northeast is not greater than the Southeast
H1: Median hours per week in the Northeast is greater than the Southeast
Sample 1 = Southeast 1n1 = 62 Sample 2 = Northeast 1n2 = 72
HouRs PoPulation Rank HouRs PoPulation Rank
30 S 1 39 N 7
32 S 2 39 S 7
33 S 3 40 S 9
34 N 4 42 N 10.5
35 S 5 42 N 10.5
39 N 7 43 N 12
Using Sample 1 (Southeast), W = 1 + 2 + 3 + 5 + 7 + 9 = 27. Using n1 = 6 and n2 = 7 with a = 0.05 for a one-tail test, the lower and upper critical values from Table 1 are 30 and 54, respectively. Because W = 27 is less than the lower critical value (30), we reject the null hypothesis and can conclude that the median number of hours construction employees in the Northeast worked is greater than the median number of hours construction employees in the Southeast worked.
18.20 H0: Population A does not have higher values than Population B H1: Population A has higher values than Population B
Sample 1 = Sample A Sample 2 = Sample B
absolute signed Rank PaiR samPle a samPle b diffeRence diffeRence Rank R+ R−
1 15 12 3 3 3.5 3.5
2 19 10 9 9 6 6
3 11 14 - 3 3 3.5 3.5 4 20 6 14 14 7 7
5 18 14 4 4 5 5
6 10 8 2 2 1.5 1.5
7 8 6 2 2 1.5 1.5
Total 24.5 3.5
The test statistic is the minimum of 3.5 and 24.5, or T = 3.5. Using Table 2 with a one-tail test, n = 7, and a = 0.05, the critical value is Ta>2 = 4. Because T = 3.5 is less than Ta>2 = 4, we reject the null hypothesis and can conclude that Population A has higher values than Population B.
18.22 H0: Population A does not have different values than Population B H1: Population A has different values than Population B
Sample 1 = Sample A Sample 2 = Sample B
absolute signed Rank PaiR samPle a samPle b diffeRence diffeRence Rank R+ R−
1 18 14 4 4 2.5 2.5
2 12 2 10 10 7.5 7.5
3 16 6 10 10 7.5 7.5
4 11 6 5 5 4 4
5 9 1 8 8 6 6
6 7 8 - 1 1 1 1
7 11 4 7 7 5 5
8 8 4 4 4 2.5 2.5
Total 35 1
The test statistic is the minimum of 1 and 35, or T = 1. Using Table 2 with a one-tail test, n = 8, and a = 0.05, the critical value is Ta>2 = 6. Because T = 1 is less than Ta>2 = 6, we reject the null hypothesis and can conclude that Population A has different values than Population B.
18.24 H0: Six@month airfares are not more expensive than two@month airfares H1: Six@month airfares are more expensive than two@month airfares
Sample 1 = Six-month airfares Sample 2 = Two-month airfares
samPle 1 samPle 2 absolute signed Rank
fligHt six-montH two-montH diffeRence diffeRence Rank R+ R−
1 1,452 1,306 146 146 3 3
2 1,577 1,332 245 245 7 7
3 1,260 1,289 - 29 29 1 1
4 1,082 1,234 - 152 152 4 4
5 988 941 47 47 2 2
6 1,374 1,188 186 186 6 6
7 1,403 1,218 185 185 5 5
Total 23 5
The test statistic is the minimum of 5 and 23, or T = 5. Using Table 2 with a one-tail test, n = 7, and a = 0.05, the critical value is Ta = 4. Because T = 5 is greater than Ta = 4, we fail to reject the null hypothesis and cannot conclude that six-month airfares are more expensive than two-month airfares.
18.26 H0: There is no difference between the ratings of the two flavors H1: A difference exists in the ratings of the two flavors
Sample 1 = Blueberry Sample 2 = Lemon
18-52 Answers to Selected Even-Numbered Problems www.freebookslides.com
samPle 1 samPle 2 absolute signed Rank
PeRson bluebeRRy lemon diffeRence diffeRence Rank R+ R−
1 9 12 - 3 3 5.5 5.5
2 12 16 - 4 4 7.5 7.5
3 10 12 - 2 2 3.5 3.5
4 16 15 1 1 1.5 1.5
5 15 19 - 4 4 7.5 7.5
6 7 13 - 6 6 10 10
7 10 12 - 2 2 3.5 3.5
8 16 13 3 3 5.5 5.5
9 12 17 - 5 5 9 9
10 12 13 - 1 1 1.5 1.5
Total 7 48
The test statistic is the minimum of 7 and 48, or T = 7. Using Table 2 with a two-tail test, n = 10, and a = 0.05, the critical value is Ta>2 = 8. Because T = 7 is less than Ta>2 = 8, we reject the null hypothesis and can conclude that a difference exists in the ratings between the two flavors.
18.28 H0: There is no difference in the median scores among the three populations
H1: There is a difference in the median scores among the three populations
Value samPle Rank Value samPle Rank
3 1 1 14 2 9.5
5 1 2 14 3 9.5
6 1 3 15 3 11
7 1 4 16 3 12
8 1 5 17 2 13
9 2 6 20 3 14
10 2 7 21 3 15
13 2 8
Sample 1: a R1 = 1 + 2 + 3 + 4 + 5 = 15 Sample 2: a R2 = 6 + 7 + 8 + 9.5 + 13 = 43.5 Sample 3: a R3 = 9.5 + 11 + 12 + 14 + 15 = 61.5
H = 12
nT1nT + 12 £ 1 a R1 22
n1 +
1 a R2 22 n2
+ g + 1 a Rk22
nk § - 31nT + 12
H = 12
1152115 + 12 c 11522
5 +
143.522 5
+ 161.522
5 d - 3115 + 12
H = 10.052345 + 378.45 + 756.454 - 48 = 10.995 Using a = 0.05 with k - 1 = 3 - 1 = 2 degrees of freedom, Ha = 5.991. Because H = 10.995 is greater than Ha = 5.991, we reject the null hypothesis and can conclude that there is a difference in median scores among these three populations.
18.30 H0: There is no difference in the median scores among the four populations
H1: There is a difference in the median scores among the four populations
Value samPle Rank Value samPle Rank
4 3 1 15 1 11
7 4 2 17 1 12.5
10 2 4 17 4 12.5
10 2 4 18 2 14
10 2 4 19 1 15
11 3 6 20 4 16
12 3 7 21 4 17
13 2 8.5 22 1 18
13 4 8.5 23 3 19
14 3 10 26 1 20
Sample 1: a R1 = 11 + 12.5 + 15 + 18 + 20 = 76.5 Sample 2: a R2 = 4 + 4 + 4 + 8.5 + 14 = 34.5 Sample 3: a R3 = 1 + 6 + 7 + 10 + 19 = 43 Sample 4: a R4 = 2 + 8.5 + 12.5 + 16 + 17 = 56
H = 12
nT1nT + 12 £ 1 a R1 22
n1 +
1 a R2 22 n2
+ g + 1 a Rk22
nk § - 31nT + 12
H = 12
1202120 + 12 £ 176.522
5 +
134.522 5
+ 14322
5 +
15622 5
§ - 3120 + 12
H = 10.028571231,170.45 + 238.05 + 369.8 + 627.24 - 63 = 5.728 Using a = 0.05 with k - 1 = 4 - 1 = 3 degrees of freedom, Ha = 7.815. Because H = 5.728 is less than Ha = 7.815, we fail to reject the null hypothesis and cannot conclude that there is a difference in median scores among these four populations.
18.32 H0: There is no difference in the median selling price among the three regions
H1: There is a difference in the median selling price among the three regions
PRice samPle Rank PRice samPle Rank
128 Midwest 1 210 Northeast 9
133 South 2 222 South 10
138 South 3 235 Northeast 11
153 Midwest 4 255 Northeast 12
155 South 5 261 Midwest 13
169 Midwest 6 298 South 14
175 Northeast 7 410 Northeast 15
179 Midwest 8
Midwest: a R1 = 1 + 4 + 6 + 8 + 13 = 32 Northeast: a R2 = 7 + 9 + 11 + 12 + 15 = 54 South: a R3 = 2 + 3 + 5 + 10 + 14 = 34
H = 12
nT1nT + 12 £ 1 a R1 22
n1 +
1 a R2 22 n2
+ g+ 1 a Rk22
nk § - 31nT + 12
H = 12
1152115 + 12 c 13222
5 +
15422 5
+ 13422
5 d - 3115 + 12
H = 10.0523204.8 + 583.2 + 231.24 - 48 = 2.96 Using a = 0.05 with k - 1 = 3 - 1 = 2 degrees of freedom, Ha = 5.991. Because H = 2.96 is less than Ha = 5.991, we fail to reject the null hypothesis and cannot conclude that there is a difference in median selling prices among these three regions.
Answers to Selected Even-Numbered Problems 18-53 www.freebookslides.com
18.34 H0: There is no difference in the median refunds among the four states H1: There is a difference in the median refunds among the four states
Refund state Rank Refund state Rank
62 O 1 593 L 11
216 L 2 602 L 12
324 O 3.5 640 C 13
324 O 3.5 743 C 14
345 O 5 904 C 15
348 M 6 1,042 C 16
366 O 7 1,279 C 17
399 L 8 1,613 M 18
403 M 9 1,646 M 19
575 L 10 1,717 M 20
Maryland: a R1 = 6 + 9 + 18 + 19 + 20 = 72 California: a R2 = 13 + 14 + 15 + 16 + 17 = 75 Louisiana: a R3 = 2 + 8 + 10 + 11 + 12 = 43 Ohio: a R4 = 1 + 3.5 + 3.5 + 5 + 7 = 20
H = 12
nT1nT + 12 £ 1 a R1 22
n1 +
1 a R2 22 n2
+ g + 1 a Rk22
nk § - 31nT + 12
H = 12
1202120 + 12 c 17222
5 +
17522 5
+ 14322
5 +
12022 5
d - 3120 + 12 H = 10.028571231,036.8 + 1,125.0 + 369.8 + 80.04 - 63 = 11.616
Using a = 0.05 with k - 1 = 4 - 1 = 3 degrees of freedom, Ha = 7.815. Because H = 11.616 is greater than Ha = 7.815, we reject the null hypothesis and can conclude that there is a difference in median refunds among these four states.
18.36 rs = 0.90 H0: rS = 0 H1: rS ≠ 0 Using a = 0.05 and n = 6 for a two-tail test, ra>2 = 0.886. Because ∙ rS ∙ = 0.90 is greater than ∙ ra>2 ∙ = 0.886, we reject the null hypothesis and can conclude that there is a relationship between Variable 1 and Variable 2.
18.38 rs = - 0.335 H0: rS Ú 0 H1: rS 6 0 Using a = 0.05 and n = 7 for a one-tail test, - ra = - 0.714. Because rS = - 0.335 is greater than - ra = - 0.714, we fail to reject the null hypothesis and cannot conclude that there is a relationship between Variable 1 and Variable 2.
18.40 a.
time oRdeR Ranked time Ranked oRdeR d d 2
18 69 7 5 2 4 13 26 5 1 4 16 26 94 10 7 3 9 23 199 8 10 - 2 4 2 49 1 3 - 2 4
14 38 6 2 4 16 5 58 2 4 - 2 4
37 365 12 12 0 0 6 127 3 8 - 5 25
36 160 11 9 2 4 24 75 9 6 3 9
9 250 4 11 - 7 49
a d2 = 144
rS = 1 - 6 a d2
n1n2 - 12 = 1 - 611442
121122 - 12 = 1 - 0.503 = 0.497
b. H0: rS = 0 H1: rS ≠ 0 Using a = 0.05 and n = 12 for a two-tail test, ra>2 = 0.591.
Because ∙ rS ∙ = 0.497 is less than ∙ ra>2 ∙ = 0.591, we fail to reject the null hypothesis and cannot conclude that there is a relationship between time spent on the Web site and the order size.
18.42 a.
minutes Rating Ranked minutes Ranked Rating d d2
4 15 4.5 7 - 2.5 6.25 8 13 8.5 2.5 6 36.00 0 18 1 9 - 8 64.00 5 10 6 1 5 25.00 6 14 7 5 2 4.00 2 16 2 8 - 6 36.00
10 14 10 5 5 25.00 3 20 3 10 - 7 49.00 8 14 8.5 5 3.5 12.25 4 13 4.5 2.5 2 4.00
a d2 = 261.5
rS = 1 - 6 a d2
n1n2 - 12 = 1 - 61261.52
101102 - 12 = 1 - 1.585 = 0.585
b. H0: rS = 0 H1: rS ≠ 0 Using a = 0.10 and n = 10 for a two-tail test, ra>2 = 0.564.
Because ∙ rS ∙ = 0.585 is greater than ∙ ra>2 ∙ = 0.564, we reject the null hypothesis and conclude that there is a relationship between the number of minutes on hold and the satisfaction score.
18.44 H0: Median Ú 31 H1: Median 6 31 S = 11 1the number of signs2 n = 4 + 11 = 15 p = 0.50
p@value = P1x Ú 112 = 0.0417 + 0.0139 + 0.0032 + 0.0005 + 0.0000 = 0.0593 Because our p-value (0.0593) is greater than a = 0.05, we fail to
reject the null hypothesis. The Federal Housing Administration cannot conclude that the median age of first-time buyers in 2013 was less than 31 years old.
18.46 H0: There is no difference in the median student@loan debt among the four states
H1: There is a difference in the median student@loan debt among the four states
debt state Rank debt state Rank
4,600 C 1 26,000 M 11 5,800 A 2 29,500 C 12 7,000 C 3 31,500 A 13 12,600 M 4 32,200 A 14 13,700 A 5 35,100 A 15 17,600 C 6 35,200 P 16 20,900 P 7 44,100 M 17 23,400 M 8 51,900 P 18 24,700 C 9 59,400 P 19 25,400 P 10 60,700 M 20
California: a R1 = 1 + 3 + 6 + 9 + 12 = 31 Arizona: a R2 = 2 + 5 + 13 + 14 + 15 = 49 Pennsylvania: a R3 = 7 + 10 + 16 + 18 + 19 = 70 Minnesota: a R4 = 4 + 8 + 11 + 17 + 20 = 60
18-54 Answers to Selected Even-Numbered Problems www.freebookslides.com
H = 12
nT1nT + 12 c 1 a R122
n1 +
1 a R222 n2
+ g + 1 a Rk22
nk d - 31nT + 12
H = 12
1202120 + 12 c 13122
5 +
14922 5
+ 17022
5 +
16022 5
d - 3120 + 12 H = 10.02857123192.2 + 480.2 + 980.0 + 720.04 - 63 = 4.781 Using a = 0.05 with k - 1 = 4 - 1 = 3 degrees of freedom,
Ha = 7.815. Because H = 4.781 is less than Ha = 7.815, we cannot reject the null hypothesis and cannot conclude that there is a difference in median debt accrued by 2013 graduates among the four states.
18.48 H0: Median … 50 H1: Median 7 50 S = 9 1the number of plus signs2 n = 3 + 9 = 12 p = 0.50
p@value = P1x Ú 92 = 0.0537 + 0.0161 + 0.0029 + 0.0002 = 0.0729 Because our p-value (0.0729) is greater than a = 0.05, we fail to reject the null hypothesis. We cannot conclude that the median cost per NICU stay exceeded $50,000 is 2014.
18.50 Set p equal to the proportion in the population who prefer traditional textbooks (arbitrary) and assign plus signs to those in the sample who prefer traditional textbooks (arbitrary).
H0: p = 0.50 H1: p ≠ 0.50 S = 63 1the larger of the values 35 and 212 n = 63 + 36 = 99 m = 0.5n = 10.521992 = 49.5 s = 20.25n = 210.2521992 = 224.75 = 4.97 zS =
1S - 0.52 - m s
= 163 - 0.52 - 49.5
4.97 = 2.62
p@value = 2 * P1x Ú zS2 p@value = 2 * P1x Ú 2.622 = 211.0 - 0.99562 = 0.0088 Because our p-value (0.0088) is less than a = 0.05, we reject the null hypothesis. As a result, Pearson can conclude that students have a preference for traditional textbooks.
18.52 a.
sPace sales Ranked sPace Ranked sales d d2
2 3 1.5 1.5 0 0.00 3 3 3 1.5 1.5 2.25 4 6 4.5 5 - 0.5 0.25 6 14 9 9 0 0.00 5 12 7 8 - 1 1.00 2 4 1.5 3 - 1.5 2.25 4 5 4.5 4 0.5 0.25 5 7 7 6 1 1.00 5 10 7 7 0 0.00
a d2 = 7 rS = 1 -
6 a d2 n1n2 - 12 = 1 -
6172 9192 - 12 = 1 - 0.058 = 0.942
b. H0: rS … 0 H1: rS 7 0 Using a = 0.05 and n = 9 for a one-tail test, ra = 0.600. Because
rS = 0.942 is greater than ra = 0.600, we reject the null hypothesis and can conclude that there is a positive relationship between shelf space and sales.
18.54 H0: There is no difference in the median package weight among the three companies
H1: There is a difference in the median package weight among the three companies
weigHt comPany Rank weigHt comPany Rank
0.4 UPS 1 7.7 DHL 13 0.7 UPS 2 8.6 DHL 14 1.6 FedEx 3 9.8 FedEx 15.5 2.0 DHL 4 9.8 DHL 15.5 2.8 FedEx 5 11.6 UPS 17 3.7 DHL 6 11.9 FedEx 18 4.0 DHL 7 12.5 UPS 19 4.1 FedEx 8 13.0 DHL 20 5.3 FedEx 9 13.7 FedEx 21 5.7 UPS 10 14.8 FedEx 22 6.1 UPS 11 20.2 UPS 23 7.2 DHL 12 22.8 UPS 24
FedEx: a R1 = 3 + 5 + 8 + 9 + 15.5 + 18 + 21 + 22 = 101.5 UPS: a R2 = 1 + 2 + 10 + 11 + 17 + 19 + 23 + 24 = 107 DHL: a R3 = 4 + 6 + 7 + 12 + 13 + 14 + 15.5 + 20 = 91.5 H =
12
nT1nT + 12 c 1a R122
n1 +
1a R222 n2
+ g + 1a Rk22
nk d - 31nT + 12
H = 12
1242124 + 12 c 1101.522
8 +
110722 8
+ 191.522
8 d - 3124 + 12
H = 10.02231,287.8 + 1,431.1 + 1,046.54 - 75 = 0.308 Using a = 0.05 with k - 1 = 3 - 1 = 2 degrees of freedom,
Ha = 5.991. Because H = 0.308 is less than Ha = 5.991, we fail to reject the null hypothesis and can conclude that there is no difference in median package weights among these three companies.
18.56 H0: Median = $8,000 H1: Median ≠ $8,000 S = 8 1the larger of the values 8 and 32 n = 3 + 8 = 11 p = 0.50 p@value = 2 * P1x Ú 82 = 210.0806 + 0.0269 + 0.0054 + 0.00052
= 210.11342 = 0.2268 Because our p-value (0.2268) is greater than a = 0.05, we fail to
reject the null hypothesis. We do not have evidence to conclude that the annual median tuition for a four-year public college does not equal $8,000 in 2014.
18.58 H0: Median number of plays per game did not increase from 2006 to 2012
H1: Median number of plays per game increased from 2006 to 2012
Sample 1 = 2006 1n1 = 82 Sample 2 = 2012 1n2 = 92
Plays yeaR Rank Plays yeaR Rank
113 2006 1 137 2012 10 117 2006 2 138 2012 11 123 2006 3 140 2006 12 124 2006 4.5 142 2012 13 124 2006 4.5 146 2012 14 128 2006 6 148 2012 15 135 2012 7.5 151 2012 16 135 2012 7.5 154 2012 17 136 2006 9
Using Sample 1 (2006), W = 1 + 2 + 3 + 4.5 + 4.5 + 6 + 9 + 12 = 42.
Using n1 = 8 and n2 = 9 with a = 0.05 for a one-tail test, the lower and upper critical values from Table 1 are 54 and 90, respectively. Because W = 42 is less than the lower critical value (54), we reject the null hypothesis and can conclude that the median number of plays per game in college football has increased from 2006 to 2012.
Answers to Selected Even-Numbered Problems 18-55 www.freebookslides.com
18.60 H0: Median size of house built in 2005 is not different than house built in 2013
H1: Median size of house built in 2005 is different than house built in 2013
Sample 1 = 2013 1n1 = 122 Sample 2 = 2005 1n2 = 142
size yeaR Rank size yeaR Rank
1,590 2005 1 2,310 2013 14 1,630 2013 2 2,380 2013 15 1,790 2013 3 2,440 2005 16 1,860 2013 4 2,620 2005 17 1,880 2005 5 2,640 2013 18 1,920 2013 6 2,740 2005 19 1,970 2005 7 2,750 2005 20 2,090 2013 8 2,860 2005 21.5 2,130 2013 9 2,860 2005 21.5 2,150 2013 10 2,880 2005 23 2,180 2005 11 3,300 2005 24 2,270 2013 12 3,490 2005 25 2,280 2013 13 3,600 2005 26
Using Sample 1 (2013), W = 2 + 3 + 4 + 6 + 8 + 9 + 10 + 12 + 13 + 14 + 15 + 18 = 114. Using n1 = 12, n2 = 14, and nT = 12 + 14 = 26:
zW = W -
n11nT + 12 2A n1n21nT + 1212 =
114 - 1122126 + 12
2A 11221142126 + 1212 = 114 - 1622378 = - 2.47 Using a = 0.05 for a two-tail test, the critical value is za>2 = 1.96.
Because ∙ zW ∙ = ∙ - 2.47 ∙ = 2.47 is more than ∙ za>2 ∙ = 1.96, we reject the null hypothesis and can conclude that the median size of a newly built home in 2005 was different than it was in 2013.
18.62 H0: There is no difference in the number of ER visits among the three shifts
H1: There is a difference in the number of ER visits among the three shifts
Visits sHift Rank Visits sHift Rank
10 11–7 1 26 11–7 9 11 11–7 2 30 3–11 11 15 11–7 3 31 3–11 12 20 11–7 4 32 7–3 13 23 11–7 5 39 7–3 14 24 3–11 6 40 7–3 15 25 3–11 7 41 7–3 16 26 7–3 9 53 3–11 17 26 7–3 9 67 3–11 18
7–3 Shift: a R1 = 9 + 9 + 13 + 14 + 15 + 16 = 76 3–11 Shift: a R2 = 6 + 7 + 11 + 12 + 17 + 18 = 71 11–7 Shift: a R3 = 1 + 2 + 3 + 4 + 5 + 9 = 24 H =
12
nT1nT + 12 c 1 a R122
n1 +
1 a R222 n2
+ g + 1 a Rk22
nk d - 31nT + 12
H = 12
1182118 + 12 c 17622
6 +
17122 6
+ 12422
6 d - 3118 + 12
H = 10.03508823962.7 + 840.2 + 96.04 - 57 = 9.629 Using a = 0.05 with k - 1 = 3 - 1 = 2 degrees of freedom,
Ha = 5.991. Because H = 9.629 is more than Ha = 5.991, we reject the null hypothesis and can conclude that there is a difference in the number of ER visits among the three shifts.
18.64 a.
salaRy gPa Ranked salaRy Ranked gPa d d 2
2,600 3.2 4.5 3 1.5 2.25 2,900 3.4 6.5 5 1.5 2.25 2,500 2.6 3 2 1 1.00 2,600 3.5 4.5 6 - 1.5 2.25 3,000 3.7 8 7 1 1.00 2,900 4.0 6.5 8 - 1.5 2.25 2,200 2.5 1 1 0 0.00 2,400 3.3 2 4 - 2 4.00
a d2 = 15 rS = 1 -
6 a d2 n1n2 - 12 = 1 -
61152 8182 - 12 = 1 - 0.179 = 0.821
b. H0: rS … 0 H1: rS 7 0 Using a = 0.05 and n = 8 for a one-tail test, ra = 0.643. Because
rS = 0.821 is greater than ra = 0.643, we reject the null hypothesis and can conclude that there is a positive relationship between starting salary and GPA.
18.66 H0: The safety awareness program did not reduce the number of lost man@hours
H1: The safety awareness program reduced the number of lost man@hours
Sample 1 = Before the program Sample 2 = After the program
signed Rank
facility samPle 1 befoRe
samPle 2 afteR diffeRence
absolute diffeRence Rank R + R −
A 13 10 3 3 4.5 4.5 B 19 15 4 4 6.5 6.5 C 16 14 2 2 2 2 D 21 23 - 2 2 2 2 E 14 10 4 4 6.5 6.5 F 9 11 - 2 2 2 2 G 18 15 3 3 4.5 4.5 H 41 25 16 16 10 10 I 17 10 7 7 8 8 J 19 10 9 9 9 9
Total 51 4
The test statistic is the minimum of 4 and 51, or T = 4. Using Table 2 with a one-tail test, n = 10, and a = 0.05, the critical value is Ta = 11. Because T = 4 is less than Ta = 11, we reject the null hypothesis and can conclude that the safety awareness program reduced the number of lost man-hours.
18.68 H0: Gas mileage for standard tires is not higher than low profile tires H1: Gas mileage for standard tires is higher than low profile tires
Sample 1 = Standard tires Sample 2 = Low profile tires
18-56 Answers to Selected Even-Numbered Problems www.freebookslides.com
signed Rank
caR samPle 1 standaRd
samPle 2 low PRofile diffeRence
absolute diffeRence Rank R + R −
1 21.5 22.4 - 0.9 0.9 4 4 2 22.3 20.1 2.2 2.2 6 6 3 24.0 25.6 - 1.6 1.6 5 5 4 19.3 19.5 - 0.2 0.2 1 1 5 22.3 21.7 0.6 0.6 3 3 6 26.5 19.0 7.5 7.5 11 11 7 25.5 20.0 5.5 5.5 9 9 8 19.5 16.2 3.3 3.3 8 8 9 23.9 21.4 2.5 2.5 7 7
10 22.9 22.4 0.5 0.5 2 2 11 19.7 25.3 - 5.6 5.6 10 10
Total 46 20
The test statistic is the minimum of 20 and 46, or T = 20. Using Table 2 with a one-tail test, n = 11, and a = 0.05, the critical value is Ta = 14. Because T = 20 is greater than Ta = 14, we fail to reject the null hypothesis and cannot conclude that the gas mileage for standard tires is higher than low profile tires.
18.70 H0: Median credit card balance is not higher after the promotion H1: Median credit card balance is higher after the promotion
Sample 1 = After promotion Sample 2 = Before promotion
signed Rank
cust samPle 1
afteR samPle 2 befoRe diffeRence
absolute diffeRence Rank R + R −
1 580 822 - 242 242 12 12 2 1,459 922 537 537 22 22 3 1,757 990 767 767 25 25 4 1,101 1,662 - 561 561 23 23 5 1,424 1,137 287 287 14 14 6 1,160 878 282 282 13 13 7 1,466 1,290 176 176 9 9 8 1,044 663 381 381 20 20 9 1,245 1,305 - 60 60 3 3
10 521 627 - 106 106 6 6 11 585 901 - 316 316 15 15 12 1,310 1,075 235 235 11 11 13 961 859 102 102 5 5 14 706 1,033 - 327 327 17 17 15 958 1,069 - 111 111 7 7 16 1,409 1,040 369 369 19 19 17 902 961 - 59 59 2 2 18 865 1,038 - 173 173 8 8 19 1,151 1,220 - 69 69 4 4 20 1,417 1,077 340 340 18 18 21 1,326 1,002 324 324 16 16 22 877 860 17 17 1 1 23 946 731 215 215 10 10 24 1,628 1,034 594 594 24 24 25 1,458 1,005 453 453 21 21
Total 228 97
The test statistic is the minimum of 97 and 228, or T = 97. Using Table 2 with a one-tail test, n = 25, and a = 0.05, the critical value is Ta = 101. Because T = 97 is less than Ta = 101, we reject the null hypothesis and can conclude that median credit card balance is higher after the promotion.
Answers to Selected Even-Numbered Problems 18-57 www.freebookslides.com
Photo Credits Pages 18-1 and 18-37, Courtesy of Fitbit, Inc.
18-58 www.freebookslides.com
A P P E N D I X A | Table 2 827
Table 1 | Binomial Probabilities (Continued)APPENDIX A: Tables Table 1 | Binomial Probabilities n x 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
2 0 0.9801 0.9604 0.9409 0.9216 0.9025 0.8836 0.8649 0.8464 0.8281
1 0.0198 0.0392 0.0582 0.0768 0.0950 0.1128 0.1302 0.1472 0.1638
2 0.0001 0.0004 0.0009 0.0016 0.0025 0.0036 0.0049 0.0064 0.0081
3 0 0.9703 0.9412 0.9127 0.8847 0.8574 0.8306 0.8044 0.7787 0.7536
1 0.0294 0.0576 0.0847 0.1106 0.1354 0.1590 0.1816 0.2031 0.2236
2 0.0003 0.0012 0.0026 0.0046 0.0071 0.0102 0.0137 0.0177 0.0221
3 0.0000 0.0000 0.0000 0.0001 0.0001 0.0002 0.0003 0.0005 0.0007
4 0 0.9606 0.9224 0.8853 0.8493 0.8145 0.7807 0.7481 0.7164 0.6857
1 0.0388 0.0753 0.1095 0.1416 0.1715 0.1993 0.2252 0.2492 0.2713
2 0.0006 0.0023 0.0051 0.0088 0.0135 0.0191 0.0254 0.0325 0.0402
3 0.0000 0.0000 0.0001 0.0002 0.0005 0.0008 0.0013 0.0019 0.0027
4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
5 0 0.9510 0.9039 0.8587 0.8154 0.7738 0.7339 0.6957 0.6591 0.6240
1 0.0480 0.0922 0.1328 0.1699 0.2036 0.2342 0.2618 0.2866 0.3086
2 0.0010 0.0038 0.0082 0.0142 0.0214 0.0299 0.0394 0.0498 0.0610
3 0.0000 0.0001 0.0003 0.0006 0.0011 0.0019 0.0030 0.0043 0.0060
4 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0002 0.0003
5 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
6 0 0.9415 0.8858 0.8330 0.7828 0.7351 0.6899 0.6470 0.6064 0.5679
1 0.0571 0.1085 0.1546 0.1957 0.2321 0.2642 0.2922 0.3164 0.3370
2 0.0014 0.0055 0.0120 0.0204 0.0305 0.0422 0.0550 0.0688 0.0833
3 0.0000 0.0002 0.0005 0.0011 0.0021 0.0036 0.0055 0.0080 0.0110
4 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0003 0.0005 0.0008
5 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
7 0 0.9321 0.8681 0.8080 0.7514 0.6983 0.6485 0.6017 0.5578 0.5168
1 0.0659 0.1240 0.1749 0.2192 0.2573 0.2897 0.3170 0.3396 0.3578
2 0.0020 0.0076 0.0162 0.0274 0.0406 0.0555 0.0716 0.0886 0.1061
3 0.0000 0.0003 0.0008 0.0019 0.0036 0.0059 0.0090 0.0128 0.0175
4 0.0000 0.0000 0.0000 0.0001 0.0002 0.0004 0.0007 0.0011 0.0017
5 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
8 0 0.9227 0.8508 0.7837 0.7214 0.6634 0.6096 0.5596 0.5132 0.4703
1 0.0746 0.1389 0.1939 0.2405 0.2793 0.3113 0.3370 0.3570 0.3721
2 0.0026 0.0099 0.0210 0.0351 0.0515 0.0695 0.0888 0.1087 0.1288
3 0.0001 0.0004 0.0013 0.0029 0.0054 0.0089 0.0134 0.0189 0.0255
4 0.0000 0.0000 0.0001 0.0002 0.0004 0.0007 0.0013 0.0021 0.0031
5 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0002
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
(continued)
www.freebookslides.com
828 A P P E N D I X A | Table 1
Table 1 | Binomial Probabilities (Continued) n x 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
9 0 0.9135 0.8337 0.7602 0.6925 0.6302 0.5730 0.5204 0.4722 0.4279
1 0.0830 0.1531 0.2116 0.2597 0.2985 0.3292 0.3525 0.3695 0.3809
2 0.0034 0.0125 0.0262 0.0433 0.0629 0.0840 0.1061 0.1285 0.1507
3 0.0001 0.0006 0.0019 0.0042 0.0077 0.0125 0.0186 0.0261 0.0348
4 0.0000 0.0000 0.0001 0.0003 0.0006 0.0012 0.0021 0.0034 0.0052
5 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0003 0.0005
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
10 0 0.9044 0.8171 0.7374 0.6648 0.5987 0.5386 0.4840 0.4344 0.3894
1 0.0914 0.1667 0.2281 0.2770 0.3151 0.3438 0.3643 0.3777 0.3851
2 0.0042 0.0153 0.0317 0.0519 0.0746 0.0988 0.1234 0.1478 0.1714
3 0.0001 0.0008 0.0026 0.0058 0.0105 0.0168 0.0248 0.0343 0.0452
4 0.0000 0.0000 0.0001 0.0004 0.0010 0.0019 0.0033 0.0052 0.0078
5 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0003 0.0005 0.0009
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
11 0 0.8953 0.8007 0.7153 0.6382 0.5688 0.5063 0.4501 0.3996 0.3544
1 0.0995 0.1798 0.2433 0.2925 0.3293 0.3555 0.3727 0.3823 0.3855
2 0.0050 0.0183 0.0376 0.0609 0.0867 0.1135 0.1403 0.1662 0.1906
3 0.0002 0.0011 0.0035 0.0076 0.0137 0.0217 0.0317 0.0434 0.0566
4 0.0000 0.0000 0.0002 0.0006 0.0014 0.0028 0.0048 0.0075 0.0112
5 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0005 0.0009 0.0015
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
12 0 0.8864 0.7847 0.6938 0.6127 0.5404 0.4759 0.4186 0.3677 0.3225
1 0.1074 0.1922 0.2575 0.3064 0.3413 0.3645 0.3781 0.3837 0.3827
2 0.0060 0.0216 0.0438 0.0702 0.0988 0.1280 0.1565 0.1835 0.2082
3 0.0002 0.0015 0.0045 0.0098 0.0173 0.0272 0.0393 0.0532 0.0686
4 0.0000 0.0001 0.0003 0.0009 0.0021 0.0039 0.0067 0.0104 0.0153
5 0.0000 0.0000 0.0000 0.0001 0.0002 0.0004 0.0008 0.0014 0.0024
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0003
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
www.freebookslides.com
A P P E N D I X A | Table 1 829
Table 1 | Binomial Probabilities (Continued) n x 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
13 0 0.8775 0.7690 0.6730 0.5882 0.5133 0.4474 0.3893 0.3383 0.2935
1 0.1152 0.2040 0.2706 0.3186 0.3512 0.3712 0.3809 0.3824 0.3773
2 0.0070 0.0250 0.0502 0.0797 0.1109 0.1422 0.1720 0.1995 0.2239
3 0.0003 0.0019 0.0057 0.0122 0.0214 0.0333 0.0475 0.0636 0.0812
4 0.0000 0.0001 0.0004 0.0013 0.0028 0.0053 0.0089 0.0138 0.0201
5 0.0000 0.0000 0.0000 0.0001 0.0003 0.0006 0.0012 0.0022 0.0036
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0003 0.0005
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
13 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
14 0 0.8687 0.7536 0.6528 0.5647 0.4877 0.4205 0.3620 0.3112 0.2670
1 0.1229 0.2153 0.2827 0.3294 0.3593 0.3758 0.3815 0.3788 0.3698
2 0.0081 0.0286 0.0568 0.0892 0.1229 0.1559 0.1867 0.2141 0.2377
3 0.0003 0.0023 0.0070 0.0149 0.0259 0.0398 0.0562 0.0745 0.0940
4 0.0000 0.0001 0.0006 0.0017 0.0037 0.0070 0.0116 0.0178 0.0256
5 0.0000 0.0000 0.0000 0.0001 0.0004 0.0009 0.0018 0.0031 0.0051
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0004 0.0008
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
13 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
14 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
15 0 0.8601 0.7386 0.6333 0.5421 0.4633 0.3953 0.3367 0.2863 0.2430
1 0.1303 0.2261 0.2938 0.3388 0.3658 0.3785 0.3801 0.3734 0.3605
2 0.0092 0.0323 0.0636 0.0988 0.1348 0.1691 0.2003 0.2273 0.2496
3 0.0004 0.0029 0.0085 0.0178 0.0307 0.0468 0.0653 0.0857 0.1070
4 0.0000 0.0002 0.0008 0.0022 0.0049 0.0090 0.0148 0.0223 0.0317
5 0.0000 0.0000 0.0001 0.0002 0.0006 0.0013 0.0024 0.0043 0.0069
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0006 0.0011
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
13 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
14 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
15 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
(continued)
www.freebookslides.com
830 A P P E N D I X A | Table 1
Table 1 | Binomial Probabilities (Continued) n x 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
20 0 0.8179 0.6676 0.5438 0.4420 0.3585 0.2901 0.2342 0.1887 0.1516
1 0.1652 0.2725 0.3364 0.3683 0.3774 0.3703 0.3526 0.3282 0.3000
2 0.0159 0.0528 0.0988 0.1458 0.1887 0.2246 0.2521 0.2711 0.2818
3 0.0010 0.0065 0.0183 0.0364 0.0596 0.0860 0.1139 0.1414 0.1672
4 0.0000 0.0006 0.0024 0.0065 0.0133 0.0233 0.0364 0.0523 0.0703
5 0.0000 0.0000 0.0002 0.0009 0.0022 0.0048 0.0088 0.0145 0.0222
6 0.0000 0.0000 0.0000 0.0001 0.0003 0.0008 0.0017 0.0032 0.0055
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0005 0.0011
8 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
13 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
14 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
15 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
16 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
17 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
18 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
19 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
20 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
n x 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
2 0 0.8100 0.7225 0.6400 0.5625 0.4900 0.4225 0.3600 0.3025 0.2500
1 0.1800 0.2550 0.3200 0.3750 0.4200 0.4550 0.4800 0.4950 0.5000
2 0.0100 0.0225 0.0400 0.0625 0.0900 0.1225 0.1600 0.2025 0.2500
3 0 0.7290 0.6141 0.5120 0.4219 0.3430 0.2746 0.2160 0.1664 0.1250
1 0.2430 0.3251 0.3840 0.4219 0.4410 0.4436 0.4320 0.4084 0.3750
2 0.0270 0.0574 0.0960 0.1406 0.1890 0.2389 0.2880 0.3341 0.3750
3 0.0010 0.0034 0.0080 0.0156 0.0270 0.0429 0.0640 0.0911 0.1250
4 0 0.6561 0.5220 0.4096 0.3164 0.2401 0.1785 0.1296 0.0915 0.0625
1 0.2916 0.3685 0.4096 0.4219 0.4116 0.3845 0.3456 0.2995 0.2500
2 0.0486 0.0975 0.1536 0.2109 0.2646 0.3105 0.3456 0.3675 0.3750
3 0.0036 0.0115 0.0256 0.0469 0.0756 0.1115 0.1536 0.2005 0.2500
4 0.0001 0.0005 0.0016 0.0039 0.0081 0.0150 0.0256 0.0410 0.0625
5 0 0.5905 0.4437 0.3277 0.2373 0.1681 0.1160 0.0778 0.0503 0.0313
1 0.3281 0.3915 0.4096 0.3955 0.3602 0.3124 0.2592 0.2059 0.1563
2 0.0729 0.1382 0.2048 0.2637 0.3087 0.3364 0.3456 0.3369 0.3125
3 0.0081 0.0244 0.0512 0.0879 0.1323 0.1811 0.2304 0.2757 0.3125
4 0.0005 0.0022 0.0064 0.0146 0.0284 0.0488 0.0768 0.1128 0.1563
5 0.0000 0.0001 0.0003 0.0010 0.0024 0.0053 0.0102 0.0185 0.0313
6 0 0.5314 0.3771 0.2621 0.1780 0.1176 0.0754 0.0467 0.0277 0.0156
1 0.3543 0.3993 0.3932 0.3560 0.3025 0.2437 0.1866 0.1359 0.0938
2 0.0984 0.1762 0.2458 0.2966 0.3241 0.3280 0.3110 0.2780 0.2344
3 0.0146 0.0415 0.0819 0.1318 0.1852 0.2355 0.2765 0.3032 0.3125
www.freebookslides.com
A P P E N D I X A | Table 1 831
Table 1 | Binomial Probabilities (Continued) n x 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
4 0.0012 0.0055 0.0154 0.0330 0.0595 0.0951 0.1382 0.1861 0.2344
5 0.0001 0.0004 0.0015 0.0044 0.0102 0.0205 0.0369 0.0609 0.0938
6 0.0000 0.0000 0.0001 0.0002 0.0007 0.0018 0.0041 0.0083 0.0156
7 0 0.4783 0.3206 0.2097 0.1335 0.0824 0.0490 0.0280 0.0152 0.0078
1 0.3720 0.3960 0.3670 0.3115 0.2471 0.1848 0.1306 0.0872 0.0547
2 0.1240 0.2097 0.2753 0.3115 0.3177 0.2985 0.2613 0.2140 0.1641
3 0.0230 0.0617 0.1147 0.1730 0.2269 0.2679 0.2903 0.2918 0.2734
4 0.0026 0.0109 0.0287 0.0577 0.0972 0.1442 0.1935 0.2388 0.2734
5 0.0002 0.0012 0.0043 0.0115 0.0250 0.0466 0.0774 0.1172 0.1641
6 0.0000 0.0001 0.0004 0.0013 0.0036 0.0084 0.0172 0.0320 0.0547
7 0.0000 0.0000 0.0000 0.0001 0.0002 0.0006 0.0016 0.0037 0.0078
8 0 0.4305 0.2725 0.1678 0.1001 0.0576 0.0319 0.0168 0.0084 0.0039
1 0.3826 0.3847 0.3355 0.2670 0.1977 0.1373 0.0896 0.0548 0.0313
2 0.1488 0.2376 0.2936 0.3115 0.2965 0.2587 0.2090 0.1569 0.1094
3 0.0331 0.0839 0.1468 0.2076 0.2541 0.2786 0.2787 0.2568 0.2188
4 0.0046 0.0185 0.0459 0.0865 0.1361 0.1875 0.2322 0.2627 0.2734
5 0.0004 0.0026 0.0092 0.0231 0.0467 0.0808 0.1239 0.1719 0.2188
6 0.0000 0.0002 0.0011 0.0038 0.0100 0.0217 0.0413 0.0703 0.1094
7 0.0000 0.0000 0.0001 0.0004 0.0012 0.0033 0.0079 0.0164 0.0313
8 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0007 0.0017 0.0039
9 0 0.3874 0.2316 0.1342 0.0751 0.0404 0.0207 0.0101 0.0046 0.0020
1 0.3874 0.3679 0.3020 0.2253 0.1556 0.1004 0.0605 0.0339 0.0176
2 0.1722 0.2597 0.3020 0.3003 0.2668 0.2162 0.1612 0.1110 0.0703
3 0.0446 0.1069 0.1762 0.2336 0.2668 0.2716 0.2508 0.2119 0.1641
4 0.0074 0.0283 0.0661 0.1168 0.1715 0.2194 0.2508 0.2600 0.2461
5 0.0008 0.0050 0.0165 0.0389 0.0735 0.1181 0.1672 0.2128 0.2461
6 0.0001 0.0006 0.0028 0.0087 0.0210 0.0424 0.0743 0.1160 0.1641
7 0.0000 0.0000 0.0003 0.0012 0.0039 0.0098 0.0212 0.0407 0.0703
8 0.0000 0.0000 0.0000 0.0001 0.0004 0.0013 0.0035 0.0083 0.0176
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0008 0.0020
10 0 0.3487 0.1969 0.1074 0.0563 0.0282 0.0135 0.0060 0.0025 0.0010
1 0.3874 0.3474 0.2684 0.1877 0.1211 0.0725 0.0403 0.0207 0.0098
2 0.1937 0.2759 0.3020 0.2816 0.2335 0.1757 0.1209 0.0763 0.0439
3 0.0574 0.1298 0.2013 0.2503 0.2668 0.2522 0.2150 0.1665 0.1172
4 0.0112 0.0401 0.0881 0.1460 0.2001 0.2377 0.2508 0.2384 0.2051
5 0.0015 0.0085 0.0264 0.0584 0.1029 0.1536 0.2007 0.2340 0.2461
6 0.0001 0.0012 0.0055 0.0162 0.0368 0.0689 0.1115 0.1596 0.2051
7 0.0000 0.0001 0.0008 0.0031 0.0090 0.0212 0.0425 0.0746 0.1172
8 0.0000 0.0000 0.0001 0.0004 0.0014 0.0043 0.0106 0.0229 0.0439
9 0.0000 0.0000 0.0000 0.0000 0.0001 0.0005 0.0016 0.0042 0.0098
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0010
11 0 0.3138 0.1673 0.0859 0.0422 0.0198 0.0088 0.0036 0.0014 0.0005
1 0.3835 0.3248 0.2362 0.1549 0.0932 0.0518 0.0266 0.0125 0.0054
2 0.2131 0.2866 0.2953 0.2581 0.1998 0.1395 0.0887 0.0513 0.0269
(continued)
www.freebookslides.com
832 A P P E N D I X A | Table 1
Table 1 | Binomial Probabilities (Continued) n x 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
3 0.0710 0.1517 0.2215 0.2581 0.2568 0.2254 0.1774 0.1259 0.0806
4 0.0158 0.0536 0.1107 0.1721 0.2201 0.2428 0.2365 0.2060 0.1611
5 0.0025 0.0132 0.0388 0.0803 0.1321 0.1830 0.2207 0.2360 0.2256
6 0.0003 0.0023 0.0097 0.0268 0.0566 0.0985 0.1471 0.1931 0.2256
7 0.0000 0.0003 0.0017 0.0064 0.0173 0.0379 0.0701 0.1128 0.1611
8 0.0000 0.0000 0.0002 0.0011 0.0037 0.0102 0.0234 0.0462 0.0806
9 0.0000 0.0000 0.0000 0.0001 0.0005 0.0018 0.0052 0.0126 0.0269
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0002 0.0007 0.0021 0.0054
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0002 0.0005
12 0 0.2824 0.1422 0.0687 0.0317 0.0138 0.0057 0.0022 0.0008 0.0002
1 0.3766 0.3012 0.2062 0.1267 0.0712 0.0368 0.0174 0.0075 0.0029
2 0.2301 0.2924 0.2835 0.2323 0.1678 0.1088 0.0639 0.0339 0.0161
3 0.0852 0.1720 0.2362 0.2581 0.2397 0.1954 0.1419 0.0923 0.0537
4 0.0213 0.0683 0.1329 0.1936 0.2311 0.2367 0.2128 0.1700 0.1208
5 0.0038 0.0193 0.0532 0.1032 0.1585 0.2039 0.2270 0.2225 0.1934
6 0.0005 0.0040 0.0155 0.0401 0.0792 0.1281 0.1766 0.2124 0.2256
7 0.0000 0.0006 0.0033 0.0115 0.0291 0.0591 0.1009 0.1489 0.1934
8 0.0000 0.0001 0.0005 0.0024 0.0078 0.0199 0.0420 0.0762 0.1208
9 0.0000 0.0000 0.0001 0.0004 0.0015 0.0048 0.0125 0.0277 0.0537
10 0.0000 0.0000 0.0000 0.0000 0.0002 0.0008 0.0025 0.0068 0.0161
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0010 0.0029
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002
13 0 0.2542 0.1209 0.0550 0.0238 0.0097 0.0037 0.0013 0.0004 0.0001
1 0.3672 0.2774 0.1787 0.1029 0.0540 0.0259 0.0113 0.0045 0.0016
2 0.2448 0.2937 0.2680 0.2059 0.1388 0.0836 0.0453 0.0220 0.0095
3 0.0997 0.1900 0.2457 0.2517 0.2181 0.1651 0.1107 0.0660 0.0349
4 0.0277 0.0838 0.1535 0.2097 0.2337 0.2222 0.1845 0.1350 0.0873
5 0.0055 0.0266 0.0691 0.1258 0.1803 0.2154 0.2214 0.1989 0.1571
6 0.0008 0.0063 0.0230 0.0559 0.1030 0.1546 0.1968 0.2169 0.2095
7 0.0001 0.0011 0.0058 0.0186 0.0442 0.0833 0.1312 0.1775 0.2095
8 0.0000 0.0001 0.0011 0.0047 0.0142 0.0336 0.0656 0.1089 0.1571
9 0.0000 0.0000 0.0001 0.0009 0.0034 0.0101 0.0243 0.0495 0.0873
10 0.0000 0.0000 0.0000 0.0001 0.0006 0.0022 0.0065 0.0162 0.0349
11 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0012 0.0036 0.0095
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0005 0.0016
13 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
14 0 0.2288 0.1028 0.0440 0.0178 0.0068 0.0024 0.0008 0.0002 0.0001
1 0.3559 0.2539 0.1539 0.0832 0.0407 0.0181 0.0073 0.0027 0.0009
2 0.2570 0.2912 0.2501 0.1802 0.1134 0.0634 0.0317 0.0141 0.0056
3 0.1142 0.2056 0.2501 0.2402 0.1943 0.1366 0.0845 0.0462 0.0222
4 0.0349 0.0998 0.1720 0.2202 0.2290 0.2022 0.1549 0.1040 0.0611
5 0.0078 0.0352 0.0860 0.1468 0.1963 0.2178 0.2066 0.1701 0.1222
6 0.0013 0.0093 0.0322 0.0734 0.1262 0.1759 0.2066 0.2088 0.1833
7 0.0002 0.0019 0.0092 0.0280 0.0618 0.1082 0.1574 0.1952 0.2095
8 0.0000 0.0003 0.0020 0.0082 0.0232 0.0510 0.0918 0.1398 0.1833
9 0.0000 0.0000 0.0003 0.0018 0.0066 0.0183 0.0408 0.0762 0.1222
www.freebookslides.com
A P P E N D I X A | Table 1 833
Table 1 | Binomial Probabilities (Continued) n x 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
10 0.0000 0.0000 0.0000 0.0003 0.0014 0.0049 0.0136 0.0312 0.0611
11 0.0000 0.0000 0.0000 0.0000 0.0002 0.0010 0.0033 0.0093 0.0222
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0005 0.0019 0.0056
13 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0009
14 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
15 0 0.2059 0.0874 0.0352 0.0134 0.0047 0.0016 0.0005 0.0001 0.0000
1 0.3432 0.2312 0.1319 0.0668 0.0305 0.0126 0.0047 0.0016 0.0005
2 0.2669 0.2856 0.2309 0.1559 0.0916 0.0476 0.0219 0.0090 0.0032
3 0.1285 0.2184 0.2501 0.2252 0.1700 0.1110 0.0634 0.0318 0.0139
4 0.0428 0.1156 0.1876 0.2252 0.2186 0.1792 0.1268 0.0780 0.0417
5 0.0105 0.0449 0.1032 0.1651 0.2061 0.2123 0.1859 0.1404 0.0916
6 0.0019 0.0132 0.0430 0.0917 0.1472 0.1906 0.2066 0.1914 0.1527
7 0.0003 0.0030 0.0138 0.0393 0.0811 0.1319 0.1771 0.2013 0.1964
8 0.0000 0.0005 0.0035 0.0131 0.0348 0.0710 0.1181 0.1647 0.1964
9 0.0000 0.0001 0.0007 0.0034 0.0116 0.0298 0.0612 0.1048 0.1527
10 0.0000 0.0000 0.0001 0.0007 0.0030 0.0096 0.0245 0.0515 0.0916
11 0.0000 0.0000 0.0000 0.0001 0.0006 0.0024 0.0074 0.0191 0.0417
12 0.0000 0.0000 0.0000 0.0000 0.0001 0.0004 0.0016 0.0052 0.0139
13 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0010 0.0032
14 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0005
15 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
20 0 0.1216 0.0388 0.0115 0.0032 0.0008 0.0002 0.0000 0.0000 0.0000
1 0.2702 0.1368 0.0576 0.0211 0.0068 0.0020 0.0005 0.0001 0.0000
2 0.2852 0.2293 0.1369 0.0669 0.0278 0.0100 0.0031 0.0008 0.0002
3 0.1901 0.2428 0.2054 0.1339 0.0716 0.0323 0.0123 0.0040 0.0011
4 0.0898 0.1821 0.2182 0.1897 0.1304 0.0738 0.0350 0.0139 0.0046
5 0.0319 0.1028 0.1746 0.2023 0.1789 0.1272 0.0746 0.0365 0.0148
6 0.0089 0.0454 0.1091 0.1686 0.1916 0.1712 0.1244 0.0746 0.0370
7 0.0020 0.0160 0.0545 0.1124 0.1643 0.1844 0.1659 0.1221 0.0739
8 0.0004 0.0046 0.0222 0.0609 0.1144 0.1614 0.1797 0.1623 0.1201
9 0.0001 0.0011 0.0074 0.0271 0.0654 0.1158 0.1597 0.1771 0.1602
10 0.0000 0.0002 0.0020 0.0099 0.0308 0.0686 0.1171 0.1593 0.1762
11 0.0000 0.0000 0.0005 0.0030 0.0120 0.0336 0.0710 0.1185 0.1602
12 0.0000 0.0000 0.0001 0.0008 0.0039 0.0136 0.0355 0.0727 0.1201
13 0.0000 0.0000 0.0000 0.0002 0.0010 0.0045 0.0146 0.0366 0.0739
14 0.0000 0.0000 0.0000 0.0000 0.0002 0.0012 0.0049 0.0150 0.0370
15 0.0000 0.0000 0.0000 0.0000 0.0000 0.0003 0.0013 0.0049 0.0148
16 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0003 0.0013 0.0046
17 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0002 0.0011
18 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0002
19 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
20 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
n x 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95
2 0 0.2025 0.1600 0.1225 0.0900 0.0625 0.0400 0.0225 0.0100 0.0025
1 0.4950 0.4800 0.4550 0.4200 0.3750 0.3200 0.2550 0.1800 0.0950
2 0.3025 0.3600 0.4225 0.4900 0.5625 0.6400 0.7225 0.8100 0.9025
(continued)
www.freebookslides.com
834 A P P E N D I X A | Table 1
Table 1 | Binomial Probabilities (Continued) n x 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95
3 0 0.0911 0.0640 0.0429 0.0270 0.0156 0.0080 0.0034 0.0010 0.0001
1 0.3341 0.2880 0.2389 0.1890 0.1406 0.0960 0.0574 0.0270 0.0071
2 0.4084 0.4320 0.4436 0.4410 0.4219 0.3840 0.3251 0.2430 0.1354
3 0.1664 0.2160 0.2746 0.3430 0.4219 0.5120 0.6141 0.7290 0.8574
4 0 0.0410 0.0256 0.0150 0.0081 0.0039 0.0016 0.0005 0.0001 0.0000
1 0.2005 0.1536 0.1115 0.0756 0.0469 0.0256 0.0115 0.0036 0.0005
2 0.3675 0.3456 0.3105 0.2646 0.2109 0.1536 0.0975 0.0486 0.0135
3 0.2995 0.3456 0.3845 0.4116 0.4219 0.4096 0.3685 0.2916 0.1715
4 0.0915 0.1296 0.1785 0.2401 0.3164 0.4096 0.5220 0.6561 0.8145
5 0 0.0185 0.0102 0.0053 0.0024 0.0010 0.0003 0.0001 0.0000 0.0000
1 0.1128 0.0768 0.0488 0.0284 0.0146 0.0064 0.0022 0.0005 0.0000
2 0.2757 0.2304 0.1811 0.1323 0.0879 0.0512 0.0244 0.0081 0.0011
3 0.3369 0.3456 0.3364 0.3087 0.2637 0.2048 0.1382 0.0729 0.0214
4 0.2059 0.2592 0.3124 0.3602 0.3955 0.4096 0.3915 0.3281 0.2036
5 0.0503 0.0778 0.1160 0.1681 0.2373 0.3277 0.4437 0.5905 0.7738
6 0 0.0083 0.0041 0.0018 0.0007 0.0002 0.0001 0.0000 0.0000 0.0000
1 0.0609 0.0369 0.0205 0.0102 0.0044 0.0015 0.0004 0.0001 0.0000
2 0.1861 0.1382 0.0951 0.0595 0.0330 0.0154 0.0055 0.0012 0.0001
3 0.3032 0.2765 0.2355 0.1852 0.1318 0.0819 0.0415 0.0146 0.0021
4 0.2780 0.3110 0.3280 0.3241 0.2966 0.2458 0.1762 0.0984 0.0305
5 0.1359 0.1866 0.2437 0.3025 0.3560 0.3932 0.3993 0.3543 0.2321
6 0.0277 0.0467 0.0754 0.1176 0.1780 0.2621 0.3771 0.5314 0.7351
7 0 0.0037 0.0016 0.0006 0.0002 0.0001 0.0000 0.0000 0.0000 0.0000
1 0.0320 0.0172 0.0084 0.0036 0.0013 0.0004 0.0001 0.0000 0.0000
2 0.1172 0.0774 0.0466 0.0250 0.0115 0.0043 0.0012 0.0002 0.0000
3 0.2388 0.1935 0.1442 0.0972 0.0577 0.0287 0.0109 0.0026 0.0002
4 0.2918 0.2903 0.2679 0.2269 0.1730 0.1147 0.0617 0.0230 0.0036
5 0.2140 0.2613 0.2985 0.3177 0.3115 0.2753 0.2097 0.1240 0.0406
6 0.0872 0.1306 0.1848 0.2471 0.3115 0.3670 0.3960 0.3720 0.2573
7 0.0152 0.0280 0.0490 0.0824 0.1335 0.2097 0.3206 0.4783 0.6983
8 0 0.0017 0.0007 0.0002 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0164 0.0079 0.0033 0.0012 0.0004 0.0001 0.0000 0.0000 0.0000
2 0.0703 0.0413 0.0217 0.0100 0.0038 0.0011 0.0002 0.0000 0.0000
3 0.1719 0.1239 0.0808 0.0467 0.0231 0.0092 0.0026 0.0004 0.0000
4 0.2627 0.2322 0.1875 0.1361 0.0865 0.0459 0.0185 0.0046 0.0004
5 0.2568 0.2787 0.2786 0.2541 0.2076 0.1468 0.0839 0.0331 0.0054
6 0.1569 0.2090 0.2587 0.2965 0.3115 0.2936 0.2376 0.1488 0.0515
7 0.0548 0.0896 0.1373 0.1977 0.2670 0.3355 0.3847 0.3826 0.2793
8 0.0084 0.0168 0.0319 0.0576 0.1001 0.1678 0.2725 0.4305 0.6634
9 0 0.0008 0.0003 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0083 0.0035 0.0013 0.0004 0.0001 0.0000 0.0000 0.0000 0.0000
2 0.0407 0.0212 0.0098 0.0039 0.0012 0.0003 0.0000 0.0000 0.0000
3 0.1160 0.0743 0.0424 0.0210 0.0087 0.0028 0.0006 0.0001 0.0000
4 0.2128 0.1672 0.1181 0.0735 0.0389 0.0165 0.0050 0.0008 0.0000
www.freebookslides.com
A P P E N D I X A | Table 1 835
Table 1 | Binomial Probabilities (Continued) n x 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95
5 0.2600 0.2508 0.2194 0.1715 0.1168 0.0661 0.0283 0.0074 0.0006
6 0.2119 0.2508 0.2716 0.2668 0.2336 0.1762 0.1069 0.0446 0.0077
7 0.1110 0.1612 0.2162 0.2668 0.3003 0.3020 0.2597 0.1722 0.0629
8 0.0339 0.0605 0.1004 0.1556 0.2253 0.3020 0.3679 0.3874 0.2985
9 0.0046 0.0101 0.0207 0.0404 0.0751 0.1342 0.2316 0.3874 0.6302
10 0 0.0003 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0042 0.0016 0.0005 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.0229 0.0106 0.0043 0.0014 0.0004 0.0001 0.0000 0.0000 0.0000
3 0.0746 0.0425 0.0212 0.0090 0.0031 0.0008 0.0001 0.0000 0.0000
4 0.1596 0.1115 0.0689 0.0368 0.0162 0.0055 0.0012 0.0001 0.0000
5 0.2340 0.2007 0.1536 0.1029 0.0584 0.0264 0.0085 0.0015 0.0001
6 0.2384 0.2508 0.2377 0.2001 0.1460 0.0881 0.0401 0.0112 0.0010
7 0.1665 0.2150 0.2522 0.2668 0.2503 0.2013 0.1298 0.0574 0.0105
8 0.0763 0.1209 0.1757 0.2335 0.2816 0.3020 0.2759 0.1937 0.0746
9 0.0207 0.0403 0.0725 0.1211 0.1877 0.2684 0.3474 0.3874 0.3151
10 0.0025 0.0060 0.0135 0.0282 0.0563 0.1074 0.1969 0.3487 0.5987
11 0 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0021 0.0007 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.0126 0.0052 0.0018 0.0005 0.0001 0.0000 0.0000 0.0000 0.0000
3 0.0462 0.0234 0.0102 0.0037 0.0011 0.0002 0.0000 0.0000 0.0000
4 0.1128 0.0701 0.0379 0.0173 0.0064 0.0017 0.0003 0.0000 0.0000
5 0.1931 0.1471 0.0985 0.0566 0.0268 0.0097 0.0023 0.0003 0.0000
6 0.2360 0.2207 0.1830 0.1321 0.0803 0.0388 0.0132 0.0025 0.0001
7 0.2060 0.2365 0.2428 0.2201 0.1721 0.1107 0.0536 0.0158 0.0014
8 0.1259 0.1774 0.2254 0.2568 0.2581 0.2215 0.1517 0.0710 0.0137
9 0.0513 0.0887 0.1395 0.1998 0.2581 0.2953 0.2866 0.2131 0.0867
10 0.0125 0.0266 0.0518 0.0932 0.1549 0.2362 0.3248 0.3835 0.3293
11 0.0014 0.0036 0.0088 0.0198 0.0422 0.0859 0.1673 0.3138 0.5688
12 0 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0010 0.0003 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.0068 0.0025 0.0008 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000
3 0.0277 0.0125 0.0048 0.0015 0.0004 0.0001 0.0000 0.0000 0.0000
4 0.0762 0.0420 0.0199 0.0078 0.0024 0.0005 0.0001 0.0000 0.0000
5 0.1489 0.1009 0.0591 0.0291 0.0115 0.0033 0.0006 0.0000 0.0000
6 0.2124 0.1766 0.1281 0.0792 0.0401 0.0155 0.0040 0.0005 0.0000
7 0.2225 0.2270 0.2039 0.1585 0.1032 0.0532 0.0193 0.0038 0.0002
8 0.1700 0.2128 0.2367 0.2311 0.1936 0.1329 0.0683 0.0213 0.0021
9 0.0923 0.1419 0.1954 0.2397 0.2581 0.2362 0.1720 0.0852 0.0173
10 0.0339 0.0639 0.1088 0.1678 0.2323 0.2835 0.2924 0.2301 0.0988
11 0.0075 0.0174 0.0368 0.0712 0.1267 0.2062 0.3012 0.3766 0.3413
12 0.0008 0.0022 0.0057 0.0138 0.0317 0.0687 0.1422 0.2824 0.5404
13 0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0005 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.0036 0.0012 0.0003 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000
3 0.0162 0.0065 0.0022 0.0006 0.0001 0.0000 0.0000 0.0000 0.0000
(continued)
www.freebookslides.com
836 A P P E N D I X A | Table 1
Table 1 | Binomial Probabilities (Continued) n x 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95
4 0.0495 0.0243 0.0101 0.0034 0.0009 0.0001 0.0000 0.0000 0.0000
5 0.1089 0.0656 0.0336 0.0142 0.0047 0.0011 0.0001 0.0000 0.0000
6 0.1775 0.1312 0.0833 0.0442 0.0186 0.0058 0.0011 0.0001 0.0000
7 0.2169 0.1968 0.1546 0.1030 0.0559 0.0230 0.0063 0.0008 0.0000
8 0.1989 0.2214 0.2154 0.1803 0.1258 0.0691 0.0266 0.0055 0.0003
9 0.1350 0.1845 0.2222 0.2337 0.2097 0.1535 0.0838 0.0277 0.0028
10 0.0660 0.1107 0.1651 0.2181 0.2517 0.2457 0.1900 0.0997 0.0214
11 0.0220 0.0453 0.0836 0.1388 0.2059 0.2680 0.2937 0.2448 0.1109
12 0.0045 0.0113 0.0259 0.0540 0.1029 0.1787 0.2774 0.3672 0.3512
13 0.0004 0.0013 0.0037 0.0097 0.0238 0.0550 0.1209 0.2542 0.5133
14 0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0002 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.0019 0.0005 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
3 0.0093 0.0033 0.0010 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000
4 0.0312 0.0136 0.0049 0.0014 0.0003 0.0000 0.0000 0.0000 0.0000
5 0.0762 0.0408 0.0183 0.0066 0.0018 0.0003 0.0000 0.0000 0.0000
6 0.1398 0.0918 0.0510 0.0232 0.0082 0.0020 0.0003 0.0000 0.0000
7 0.1952 0.1574 0.1082 0.0618 0.0280 0.0092 0.0019 0.0002 0.0000
8 0.2088 0.2066 0.1759 0.1262 0.0734 0.0322 0.0093 0.0013 0.0000
9 0.1701 0.2066 0.2178 0.1963 0.1468 0.0860 0.0352 0.0078 0.0004
10 0.1040 0.1549 0.2022 0.2290 0.2202 0.1720 0.0998 0.0349 0.0037
11 0.0462 0.0845 0.1366 0.1943 0.2402 0.2501 0.2056 0.1142 0.0259
12 0.0141 0.0317 0.0634 0.1134 0.1802 0.2501 0.2912 0.2570 0.1229
13 0.0027 0.0073 0.0181 0.0407 0.0832 0.1539 0.2539 0.3559 0.3593
14 0.0002 0.0008 0.0024 0.0068 0.0178 0.0440 0.1028 0.2288 0.4877
15 0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.0010 0.0003 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
3 0.0052 0.0016 0.0004 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000
4 0.0191 0.0074 0.0024 0.0006 0.0001 0.0000 0.0000 0.0000 0.0000
5 0.0515 0.0245 0.0096 0.0030 0.0007 0.0001 0.0000 0.0000 0.0000
6 0.1048 0.0612 0.0298 0.0116 0.0034 0.0007 0.0001 0.0000 0.0000
7 0.1647 0.1181 0.0710 0.0348 0.0131 0.0035 0.0005 0.0000 0.0000
8 0.2013 0.1771 0.1319 0.0811 0.0393 0.0138 0.0030 0.0003 0.0000
9 0.1914 0.2066 0.1906 0.1472 0.0917 0.0430 0.0132 0.0019 0.0000
10 0.1404 0.1859 0.2123 0.2061 0.1651 0.1032 0.0449 0.0105 0.0006
11 0.0780 0.1268 0.1792 0.2186 0.2252 0.1876 0.1156 0.0428 0.0049
12 0.0318 0.0634 0.1110 0.1700 0.2252 0.2501 0.2184 0.1285 0.0307
13 0.0090 0.0219 0.0476 0.0916 0.1559 0.2309 0.2856 0.2669 0.1348
14 0.0016 0.0047 0.0126 0.0305 0.0668 0.1319 0.2312 0.3432 0.3658
15 0.0001 0.0005 0.0016 0.0047 0.0134 0.0352 0.0874 0.2059 0.4633
20 0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
3 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
4 0.0013 0.0003 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
www.freebookslides.com
A P P E N D I X A | Table 1 837
Table 1 | Binomial Probabilities (Continued) n x 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95
5 0.0049 0.0013 0.0003 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
6 0.0150 0.0049 0.0012 0.0002 0.0000 0.0000 0.0000 0.0000 0.0000
7 0.0366 0.0146 0.0045 0.0010 0.0002 0.0000 0.0000 0.0000 0.0000
8 0.0727 0.0355 0.0136 0.0039 0.0008 0.0001 0.0000 0.0000 0.0000
9 0.1185 0.0710 0.0336 0.0120 0.0030 0.0005 0.0000 0.0000 0.0000
10 0.1593 0.1171 0.0686 0.0308 0.0099 0.0020 0.0002 0.0000 0.0000
11 0.1771 0.1597 0.1158 0.0654 0.0271 0.0074 0.0011 0.0001 0.0000
12 0.1623 0.1797 0.1614 0.1144 0.0609 0.0222 0.0046 0.0004 0.0000
13 0.1221 0.1659 0.1844 0.1643 0.1124 0.0545 0.0160 0.0020 0.0000
14 0.0746 0.1244 0.1712 0.1916 0.1686 0.1091 0.0454 0.0089 0.0003
15 0.0365 0.0746 0.1272 0.1789 0.2023 0.1746 0.1028 0.0319 0.0022
16 0.0139 0.0350 0.0738 0.1304 0.1897 0.2182 0.1821 0.0898 0.0133
17 0.0040 0.0123 0.0323 0.0716 0.1339 0.2054 0.2428 0.1901 0.0596
18 0.0008 0.0031 0.0100 0.0278 0.0669 0.1369 0.2293 0.2852 0.1887
19 0.0001 0.0005 0.0020 0.0068 0.0211 0.0576 0.1368 0.2702 0.3774
20 0.0000 0.0000 0.0002 0.0008 0.0032 0.0115 0.0388 0.1216 0.3585
www.freebookslides.com
838 A P P E N D I X A | Table 2
Table 2 | Poisson Probabilities x 0.005 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
0 0.9950 0.9900 0.9802 0.9704 0.9608 0.9512 0.9418 0.9324 0.9231 0.9139
1 0.0050 0.0099 0.0196 0.0291 0.0384 0.0476 0.0565 0.0653 0.0738 0.0823
2 0.0000 0.0000 0.0002 0.0004 0.0008 0.0012 0.0017 0.0023 0.0030 0.0037
3 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001
x 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
0 0.9048 0.8187 0.7408 0.6703 0.6065 0.5488 0.4966 0.4493 0.4066 0.3679
1 0.0905 0.1637 0.2222 0.2681 0.3033 0.3293 0.3476 0.3595 0.3659 0.3679
2 0.0045 0.0164 0.0333 0.0536 0.0758 0.0988 0.1217 0.1438 0.1647 0.1839
3 0.0002 0.0011 0.0033 0.0072 0.0126 0.0198 0.0284 0.0383 0.0494 0.0613
4 0.0000 0.0001 0.0003 0.0007 0.0016 0.0030 0.0050 0.0077 0.0111 0.0153
5 0.0000 0.0000 0.0000 0.0001 0.0002 0.0004 0.0007 0.0012 0.0020 0.0031
6 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0003 0.0005
7 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
x 1.10 1.20 1.30 1.40 1.50 1.60 1.70 1.80 1.90 2.00
0 0.3329 0.3012 0.2725 0.2466 0.2231 0.2019 0.1827 0.1653 0.1496 0.1353
1 0.3662 0.3614 0.3543 0.3452 0.3347 0.3230 0.3106 0.2975 0.2842 0.2707
2 0.2014 0.2169 0.2303 0.2417 0.2510 0.2584 0.2640 0.2678 0.2700 0.2707
3 0.0738 0.0867 0.0998 0.1128 0.1255 0.1378 0.1496 0.1607 0.1710 0.1804
4 0.0203 0.0260 0.0324 0.0395 0.0471 0.0551 0.0636 0.0723 0.0812 0.0902
5 0.0045 0.0062 0.0084 0.0111 0.0141 0.0176 0.0216 0.0260 0.0309 0.0361
6 0.0008 0.0012 0.0018 0.0026 0.0035 0.0047 0.0061 0.0078 0.0098 0.0120
7 0.0001 0.0002 0.0003 0.0005 0.0008 0.0011 0.0015 0.0020 0.0027 0.0034
8 0.0000 0.0000 0.0001 0.0001 0.0001 0.0002 0.0003 0.0005 0.0006 0.0009
9 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0002
x 2.10 2.20 2.30 2.40 2.50 2.60 2.70 2.80 2.90 3.00
0 0.1225 0.1108 0.1003 0.0907 0.0821 0.0743 0.0672 0.0608 0.0550 0.0498
1 0.2572 0.2438 0.2306 0.2177 0.2052 0.1931 0.1815 0.1703 0.1596 0.1494
2 0.2700 0.2681 0.2652 0.2613 0.2565 0.2510 0.2450 0.2384 0.2314 0.2240
3 0.1890 0.1966 0.2033 0.2090 0.2138 0.2176 0.2205 0.2225 0.2237 0.2240
4 0.0992 0.1082 0.1169 0.1254 0.1336 0.1414 0.1488 0.1557 0.1622 0.1680
5 0.0417 0.0476 0.0538 0.0602 0.0668 0.0735 0.0804 0.0872 0.0940 0.1008
6 0.0146 0.0174 0.0206 0.0241 0.0278 0.0319 0.0362 0.0407 0.0455 0.0504
7 0.0044 0.0055 0.0068 0.0083 0.0099 0.0118 0.0139 0.0163 0.0188 0.0216
8 0.0011 0.0015 0.0019 0.0025 0.0031 0.0038 0.0047 0.0057 0.0068 0.0081
9 0.0003 0.0004 0.0005 0.0007 0.0009 0.0011 0.0014 0.0018 0.0022 0.0027
10 0.0001 0.0001 0.0001 0.0002 0.0002 0.0003 0.0004 0.0005 0.0006 0.0008
11 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0002 0.0002
12 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
x 3.10 3.20 3.30 3.40 3.50 3.60 3.70 3.80 3.90 4.00
0 0.0450 0.0408 0.0369 0.0334 0.0302 0.0273 0.0247 0.0224 0.0202 0.0183
1 0.1397 0.1304 0.1217 0.1135 0.1057 0.0984 0.0915 0.0850 0.0789 0.0733
2 0.2165 0.2087 0.2008 0.1929 0.1850 0.1771 0.1692 0.1615 0.1539 0.1465
3 0.2237 0.2226 0.2209 0.2186 0.2158 0.2125 0.2087 0.2046 0.2001 0.1954
4 0.1733 0.1781 0.1823 0.1858 0.1888 0.1912 0.1931 0.1944 0.1951 0.1954
5 0.1075 0.1140 0.1203 0.1264 0.1322 0.1377 0.1429 0.1477 0.1522 0.1563
6 0.0555 0.0608 0.0662 0.0716 0.0771 0.0826 0.0881 0.0936 0.0989 0.1042
www.freebookslides.com
A P P E N D I X A | Table 2 839
Table 2 | Poisson Probabilities (Continued) x 3.10 3.20 3.30 3.40 3.50 3.60 3.70 3.80 3.90 4.00
7 0.0246 0.0278 0.0312 0.0348 0.0385 0.0425 0.0466 0.0508 0.0551 0.0595
8 0.0095 0.0111 0.0129 0.0148 0.0169 0.0191 0.0215 0.0241 0.0269 0.0298
9 0.0033 0.0040 0.0047 0.0056 0.0066 0.0076 0.0089 0.0102 0.0116 0.0132
10 0.0010 0.0013 0.0016 0.0019 0.0023 0.0028 0.0033 0.0039 0.0045 0.0053
11 0.0003 0.0004 0.0005 0.0006 0.0007 0.0009 0.0011 0.0013 0.0016 0.0019
12 0.0001 0.0001 0.0001 0.0002 0.0002 0.0003 0.0003 0.0004 0.0005 0.0006
13 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0001 0.0002 0.0002
14 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
x 4.10 4.20 4.30 4.40 4.50 4.60 4.70 4.80 4.90 5.00
0 0.0166 0.0150 0.0136 0.0123 0.0111 0.0101 0.0091 0.0082 0.0074 0.0067
1 0.0679 0.0630 0.0583 0.0540 0.0500 0.0462 0.0427 0.0395 0.0365 0.0337
2 0.1393 0.1323 0.1254 0.1188 0.1125 0.1063 0.1005 0.0948 0.0894 0.0842
3 0.1904 0.1852 0.1798 0.1743 0.1687 0.1631 0.1574 0.1517 0.1460 0.1404
4 0.1951 0.1944 0.1933 0.1917 0.1898 0.1875 0.1849 0.1820 0.1789 0.1755
5 0.1600 0.1633 0.1662 0.1687 0.1708 0.1725 0.1738 0.1747 0.1753 0.1755
6 0.1093 0.1143 0.1191 0.1237 0.1281 0.1323 0.1362 0.1398 0.1432 0.1462
7 0.0640 0.0686 0.0732 0.0778 0.0824 0.0869 0.0914 0.0959 0.1002 0.1044
8 0.0328 0.0360 0.0393 0.0428 0.0463 0.0500 0.0537 0.0575 0.0614 0.0653
9 0.0150 0.0168 0.0188 0.0209 0.0232 0.0255 0.0281 0.0307 0.0334 0.0363
10 0.0061 0.0071 0.0081 0.0092 0.0104 0.0118 0.0132 0.0147 0.0164 0.0181
11 0.0023 0.0027 0.0032 0.0037 0.0043 0.0049 0.0056 0.0064 0.0073 0.0082
12 0.0008 0.0009 0.0011 0.0013 0.0016 0.0019 0.0022 0.0026 0.0030 0.0034
13 0.0002 0.0003 0.0004 0.0005 0.0006 0.0007 0.0008 0.0009 0.0011 0.0013
14 0.0001 0.0001 0.0001 0.0001 0.0002 0.0002 0.0003 0.0003 0.0004 0.0005
15 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0001 0.0001 0.0002
x 5.10 5.20 5.30 5.40 5.50 5.60 5.70 5.80 5.90 6.00
0 0.0061 0.0055 0.0050 0.0045 0.0041 0.0037 0.0033 0.0030 0.0027 0.0025
1 0.0311 0.0287 0.0265 0.0244 0.0225 0.0207 0.0191 0.0176 0.0162 0.0149
2 0.0793 0.0746 0.0701 0.0659 0.0618 0.0580 0.0544 0.0509 0.0477 0.0446
3 0.1348 0.1293 0.1239 0.1185 0.1133 0.1082 0.1033 0.0985 0.0938 0.0892
4 0.1719 0.1681 0.1641 0.1600 0.1558 0.1515 0.1472 0.1428 0.1383 0.1339
5 0.1753 0.1748 0.1740 0.1728 0.1714 0.1697 0.1678 0.1656 0.1632 0.1606
6 0.1490 0.1515 0.1537 0.1555 0.1571 0.1584 0.1594 0.1601 0.1605 0.1606
7 0.1086 0.1125 0.1163 0.1200 0.1234 0.1267 0.1298 0.1326 0.1353 0.1377
8 0.0692 0.0731 0.0771 0.0810 0.0849 0.0887 0.0925 0.0962 0.0998 0.1033
9 0.0392 0.0423 0.0454 0.0486 0.0519 0.0552 0.0586 0.0620 0.0654 0.0688
10 0.0200 0.0220 0.0241 0.0262 0.0285 0.0309 0.0334 0.0359 0.0386 0.0413
11 0.0093 0.0104 0.0116 0.0129 0.0143 0.0157 0.0173 0.0190 0.0207 0.0225
12 0.0039 0.0045 0.0051 0.0058 0.0065 0.0073 0.0082 0.0092 0.0102 0.0113
13 0.0015 0.0018 0.0021 0.0024 0.0028 0.0032 0.0036 0.0041 0.0046 0.0052
14 0.0006 0.0007 0.0008 0.0009 0.0011 0.0013 0.0015 0.0017 0.0019 0.0022
15 0.0002 0.0002 0.0003 0.0003 0.0004 0.0005 0.0006 0.0007 0.0008 0.0009
16 0.0001 0.0001 0.0001 0.0001 0.0001 0.0002 0.0002 0.0002 0.0003 0.0003
17 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0001 0.0001
(continued)
www.freebookslides.com
840 A P P E N D I X A | Table 2
Table 2 | Poisson Probabilities (Continued) x 6.10 6.20 6.30 6.40 6.50 6.60 6.70 6.80 6.90 7.00
0 0.0022 0.0020 0.0018 0.0017 0.0015 0.0014 0.0012 0.0011 0.0010 0.0009
1 0.0137 0.0126 0.0116 0.0106 0.0098 0.0090 0.0082 0.0076 0.0070 0.0064
2 0.0417 0.0390 0.0364 0.0340 0.0318 0.0296 0.0276 0.0258 0.0240 0.0223
3 0.0848 0.0806 0.0765 0.0726 0.0688 0.0652 0.0617 0.0584 0.0552 0.0521
4 0.1294 0.1249 0.1205 0.1162 0.1118 0.1076 0.1034 0.0992 0.0952 0.0912
5 0.1579 0.1549 0.1519 0.1487 0.1454 0.1420 0.1385 0.1349 0.1314 0.1277
6 0.1605 0.1601 0.1595 0.1586 0.1575 0.1562 0.1546 0.1529 0.1511 0.1490
7 0.1399 0.1418 0.1435 0.1450 0.1462 0.1472 0.1480 0.1486 0.1489 0.1490
8 0.1066 0.1099 0.1130 0.1160 0.1188 0.1215 0.1240 0.1263 0.1284 0.1304
9 0.0723 0.0757 0.0791 0.0825 0.0858 0.0891 0.0923 0.0954 0.0985 0.1014
10 0.0441 0.0469 0.0498 0.0528 0.0558 0.0588 0.0618 0.0649 0.0679 0.0710
11 0.0244 0.0265 0.0285 0.0307 0.0330 0.0353 0.0377 0.0401 0.0426 0.0452
12 0.0124 0.0137 0.0150 0.0164 0.0179 0.0194 0.0210 0.0227 0.0245 0.0263
13 0.0058 0.0065 0.0073 0.0081 0.0089 0.0099 0.0108 0.0119 0.0130 0.0142
14 0.0025 0.0029 0.0033 0.0037 0.0041 0.0046 0.0052 0.0058 0.0064 0.0071
15 0.0010 0.0012 0.0014 0.0016 0.0018 0.0020 0.0023 0.0026 0.0029 0.0033
16 0.0004 0.0005 0.0005 0.0006 0.0007 0.0008 0.0010 0.0011 0.0013 0.0014
17 0.0001 0.0002 0.0002 0.0002 0.0003 0.0003 0.0004 0.0004 0.0005 0.0006
18 0.0000 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0002 0.0002 0.0002
19 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0001
x 7.10 7.20 7.30 7.40 7.50 7.60 7.70 7.80 7.90 8.00
0 0.0008 0.0007 0.0007 0.0006 0.0006 0.0005 0.0005 0.0004 0.0004 0.0003
1 0.0059 0.0054 0.0049 0.0045 0.0041 0.0038 0.0035 0.0032 0.0029 0.0027
2 0.0208 0.0194 0.0180 0.0167 0.0156 0.0145 0.0134 0.0125 0.0116 0.0107
3 0.0492 0.0464 0.0438 0.0413 0.0389 0.0366 0.0345 0.0324 0.0305 0.0286
4 0.0874 0.0836 0.0799 0.0764 0.0729 0.0696 0.0663 0.0632 0.0602 0.0573
5 0.1241 0.1204 0.1167 0.1130 0.1094 0.1057 0.1021 0.0986 0.0951 0.0916
6 0.1468 0.1445 0.1420 0.1394 0.1367 0.1339 0.1311 0.1282 0.1252 0.1221
7 0.1489 0.1486 0.1481 0.1474 0.1465 0.1454 0.1442 0.1428 0.1413 0.1396
8 0.1321 0.1337 0.1351 0.1363 0.1373 0.1381 0.1388 0.1392 0.1395 0.1396
9 0.1042 0.1070 0.1096 0.1121 0.1144 0.1167 0.1187 0.1207 0.1224 0.1241
10 0.0740 0.0770 0.0800 0.0829 0.0858 0.0887 0.0914 0.0941 0.0967 0.0993
11 0.0478 0.0504 0.0531 0.0558 0.0585 0.0613 0.0640 0.0667 0.0695 0.0722
12 0.0283 0.0303 0.0323 0.0344 0.0366 0.0388 0.0411 0.0434 0.0457 0.0481
13 0.0154 0.0168 0.0181 0.0196 0.0211 0.0227 0.0243 0.0260 0.0278 0.0296
14 0.0078 0.0086 0.0095 0.0104 0.0113 0.0123 0.0134 0.0145 0.0157 0.0169
15 0.0037 0.0041 0.0046 0.0051 0.0057 0.0062 0.0069 0.0075 0.0083 0.0090
16 0.0016 0.0019 0.0021 0.0024 0.0026 0.0030 0.0033 0.0037 0.0041 0.0045
17 0.0007 0.0008 0.0009 0.0010 0.0012 0.0013 0.0015 0.0017 0.0019 0.0021
18 0.0003 0.0003 0.0004 0.0004 0.0005 0.0006 0.0006 0.0007 0.0008 0.0009
19 0.0001 0.0001 0.0001 0.0002 0.0002 0.0002 0.0003 0.0003 0.0003 0.0004
20 0.0000 0.0000 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0002
21 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001
x 8.10 8.20 8.30 8.40 8.50 8.60 8.70 8.80 8.90 9.00
0 0.0003 0.0003 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0001 0.0001
1 0.0025 0.0023 0.0021 0.0019 0.0017 0.0016 0.0014 0.0013 0.0012 0.0011
2 0.0100 0.0092 0.0086 0.0079 0.0074 0.0068 0.0063 0.0058 0.0054 0.0050
www.freebookslides.com
A P P E N D I X A | Table 2 841
Table 2 | Poisson Probabilities (Continued) x 8.10 8.20 8.30 8.40 8.50 8.60 8.70 8.80 8.90 9.00
3 0.0269 0.0252 0.0237 0.0222 0.0208 0.0195 0.0183 0.0171 0.0160 0.0150
4 0.0544 0.0517 0.0491 0.0466 0.0443 0.0420 0.0398 0.0377 0.0357 0.0337
5 0.0882 0.0849 0.0816 0.0784 0.0752 0.0722 0.0692 0.0663 0.0635 0.0607
6 0.1191 0.1160 0.1128 0.1097 0.1066 0.1034 0.1003 0.0972 0.0941 0.0911
7 0.1378 0.1358 0.1338 0.1317 0.1294 0.1271 0.1247 0.1222 0.1197 0.1171
8 0.1395 0.1392 0.1388 0.1382 0.1375 0.1366 0.1356 0.1344 0.1332 0.1318
9 0.1256 0.1269 0.1280 0.1290 0.1299 0.1306 0.1311 0.1315 0.1317 0.1318
10 0.1017 0.1040 0.1063 0.1084 0.1104 0.1123 0.1140 0.1157 0.1172 0.1186
11 0.0749 0.0776 0.0802 0.0828 0.0853 0.0878 0.0902 0.0925 0.0948 0.0970
12 0.0505 0.0530 0.0555 0.0579 0.0604 0.0629 0.0654 0.0679 0.0703 0.0728
13 0.0315 0.0334 0.0354 0.0374 0.0395 0.0416 0.0438 0.0459 0.0481 0.0504
14 0.0182 0.0196 0.0210 0.0225 0.0240 0.0256 0.0272 0.0289 0.0306 0.0324
15 0.0098 0.0107 0.0116 0.0126 0.0136 0.0147 0.0158 0.0169 0.0182 0.0194
16 0.0050 0.0055 0.0060 0.0066 0.0072 0.0079 0.0086 0.0093 0.0101 0.0109
17 0.0024 0.0026 0.0029 0.0033 0.0036 0.0040 0.0044 0.0048 0.0053 0.0058
18 0.0011 0.0012 0.0014 0.0015 0.0017 0.0019 0.0021 0.0024 0.0026 0.0029
19 0.0005 0.0005 0.0006 0.0007 0.0008 0.0009 0.0010 0.0011 0.0012 0.0014
20 0.0002 0.0002 0.0002 0.0003 0.0003 0.0004 0.0004 0.0005 0.0005 0.0006
21 0.0001 0.0001 0.0001 0.0001 0.0001 0.0002 0.0002 0.0002 0.0002 0.0003
22 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001
x 9.10 9.20 9.30 9.40 9.50 9.60 9.70 9.80 9.90 10.00
0 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0000
1 0.0010 0.0009 0.0009 0.0008 0.0007 0.0007 0.0006 0.0005 0.0005 0.0005
2 0.0046 0.0043 0.0040 0.0037 0.0034 0.0031 0.0029 0.0027 0.0025 0.0023
3 0.0140 0.0131 0.0123 0.0115 0.0107 0.0100 0.0093 0.0087 0.0081 0.0076
4 0.0319 0.0302 0.0285 0.0269 0.0254 0.0240 0.0226 0.0213 0.0201 0.0189
5 0.0581 0.0555 0.0530 0.0506 0.0483 0.0460 0.0439 0.0418 0.0398 0.0378
6 0.0881 0.0851 0.0822 0.0793 0.0764 0.0736 0.0709 0.0682 0.0656 0.0631
7 0.1145 0.1118 0.1091 0.1064 0.1037 0.1010 0.0982 0.0955 0.0928 0.0901
8 0.1302 0.1286 0.1269 0.1251 0.1232 0.1212 0.1191 0.1170 0.1148 0.1126
9 0.1317 0.1315 0.1311 0.1306 0.1300 0.1293 0.1284 0.1274 0.1263 0.1251
10 0.1198 0.1210 0.1219 0.1228 0.1235 0.1241 0.1245 0.1249 0.1250 0.1251
11 0.0991 0.1012 0.1031 0.1049 0.1067 0.1083 0.1098 0.1112 0.1125 0.1137
12 0.0752 0.0776 0.0799 0.0822 0.0844 0.0866 0.0888 0.0908 0.0928 0.0948
13 0.0526 0.0549 0.0572 0.0594 0.0617 0.0640 0.0662 0.0685 0.0707 0.0729
14 0.0342 0.0361 0.0380 0.0399 0.0419 0.0439 0.0459 0.0479 0.0500 0.0521
15 0.0208 0.0221 0.0235 0.0250 0.0265 0.0281 0.0297 0.0313 0.0330 0.0347
16 0.0118 0.0127 0.0137 0.0147 0.0157 0.0168 0.0180 0.0192 0.0204 0.0217
17 0.0063 0.0069 0.0075 0.0081 0.0088 0.0095 0.0103 0.0111 0.0119 0.0128
18 0.0032 0.0035 0.0039 0.0042 0.0046 0.0051 0.0055 0.0060 0.0065 0.0071
19 0.0015 0.0017 0.0019 0.0021 0.0023 0.0026 0.0028 0.0031 0.0034 0.0037
20 0.0007 0.0008 0.0009 0.0010 0.0011 0.0012 0.0014 0.0015 0.0017 0.0019
21 0.0003 0.0003 0.0004 0.0004 0.0005 0.0006 0.0006 0.0007 0.0008 0.0009
22 0.0001 0.0001 0.0002 0.0002 0.0002 0.0002 0.0003 0.0003 0.0004 0.0004
23 0.0000 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0002 0.0002
24 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0001
(continued)
www.freebookslides.com
842 A P P E N D I X A | Table 2
Table 2 | Poisson Probabilities (Continued) x 11.00 12.00 13.00 14.00 15.00 16.00 17.00 18.00 19.00 20.00
0 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
1 0.0002 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
2 0.0010 0.0004 0.0002 0.0001 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
3 0.0037 0.0018 0.0008 0.0004 0.0002 0.0001 0.0000 0.0000 0.0000 0.0000
4 0.0102 0.0053 0.0027 0.0013 0.0006 0.0003 0.0001 0.0001 0.0000 0.0000
5 0.0224 0.0127 0.0070 0.0037 0.0019 0.0010 0.0005 0.0002 0.0001 0.0001
6 0.0411 0.0255 0.0152 0.0087 0.0048 0.0026 0.0014 0.0007 0.0004 0.0002
7 0.0646 0.0437 0.0281 0.0174 0.0104 0.0060 0.0034 0.0019 0.0010 0.0005
8 0.0888 0.0655 0.0457 0.0304 0.0194 0.0120 0.0072 0.0042 0.0024 0.0013
9 0.1085 0.0874 0.0661 0.0473 0.0324 0.0213 0.0135 0.0083 0.0050 0.0029
10 0.1194 0.1048 0.0859 0.0663 0.0486 0.0341 0.0230 0.0150 0.0095 0.0058
11 0.1194 0.1144 0.1015 0.0844 0.0663 0.0496 0.0355 0.0245 0.0164 0.0106
12 0.1094 0.1144 0.1099 0.0984 0.0829 0.0661 0.0504 0.0368 0.0259 0.0176
13 0.0926 0.1056 0.1099 0.1060 0.0956 0.0814 0.0658 0.0509 0.0378 0.0271
14 0.0728 0.0905 0.1021 0.1060 0.1024 0.0930 0.0800 0.0655 0.0514 0.0387
15 0.0534 0.0724 0.0885 0.0989 0.1024 0.0992 0.0906 0.0786 0.0650 0.0516
16 0.0367 0.0543 0.0719 0.0866 0.0960 0.0992 0.0963 0.0884 0.0772 0.0646
17 0.0237 0.0383 0.0550 0.0713 0.0847 0.0934 0.0963 0.0936 0.0863 0.0760
18 0.0145 0.0255 0.0397 0.0554 0.0706 0.0830 0.0909 0.0936 0.0911 0.0844
19 0.0084 0.0161 0.0272 0.0409 0.0557 0.0699 0.0814 0.0887 0.0911 0.0888
20 0.0046 0.0097 0.0177 0.0286 0.0418 0.0559 0.0692 0.0798 0.0866 0.0888
21 0.0024 0.0055 0.0109 0.0191 0.0299 0.0426 0.0560 0.0684 0.0783 0.0846
22 0.0012 0.0030 0.0065 0.0121 0.0204 0.0310 0.0433 0.0560 0.0676 0.0769
23 0.0006 0.0016 0.0037 0.0074 0.0133 0.0216 0.0320 0.0438 0.0559 0.0669
24 0.0003 0.0008 0.0020 0.0043 0.0083 0.0144 0.0226 0.0328 0.0442 0.0557
25 0.0001 0.0004 0.0010 0.0024 0.0050 0.0092 0.0154 0.0237 0.0336 0.0446
26 0.0000 0.0002 0.0005 0.0013 0.0029 0.0057 0.0101 0.0164 0.0246 0.0343
27 0.0000 0.0001 0.0002 0.0007 0.0016 0.0034 0.0063 0.0109 0.0173 0.0254
28 0.0000 0.0000 0.0001 0.0003 0.0009 0.0019 0.0038 0.0070 0.0117 0.0181
29 0.0000 0.0000 0.0001 0.0002 0.0004 0.0011 0.0023 0.0044 0.0077 0.0125
30 0.0000 0.0000 0.0000 0.0001 0.0002 0.0006 0.0013 0.0026 0.0049 0.0083
31 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0007 0.0015 0.0030 0.0054
32 0.0000 0.0000 0.0000 0.0000 0.0001 0.0001 0.0004 0.0009 0.0018 0.0034
33 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0005 0.0010 0.0020
34 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0006 0.0012
35 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0007
36 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002 0.0004
37 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0002
38 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
39 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001
www.freebookslides.com
A P P E N D I X A | Table 3 843
Table 3 | Cumulative Probabilities for the Standard Normal Distribution
z 0
Cumulative probability
Table entries represent the shaded area in the �gure
First Digit oF Z seconD Digit oF Z
z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
- 3.7 and lower 0.0001
- 3.6 0.0002 0.0002 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001
- 3.5 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002
- 3.4 0.0003 0.0003 0.0003 0.0003 0.0003 0.0003 0.0003 0.0003 0.0003 0.0002
- 3.3 0.0005 0.0005 0.0005 0.0004 0.0004 0.0004 0.0004 0.0004 0.0004 0.0003
- 3.2 0.0007 0.0007 0.0006 0.0006 0.0006 0.0006 0.0006 0.0005 0.0005 0.0005
- 3.1 0.0010 0.0009 0.0009 0.0009 0.0008 0.0008 0.0008 0.0008 0.0007 0.0007
- 3.0 0.0013 0.0013 0.0013 0.0012 0.0012 0.0011 0.0011 0.0011 0.0010 0.0010
- 2.9 0.0019 0.0018 0.0018 0.0017 0.0016 0.0016 0.0015 0.0015 0.0014 0.0014
- 2.8 0.0026 0.0025 0.0024 0.0023 0.0023 0.0022 0.0021 0.0021 0.0020 0.0019
- 2.7 0.0035 0.0034 0.0033 0.0032 0.0031 0.0030 0.0029 0.0028 0.0027 0.0026
- 2.6 0.0047 0.0045 0.0044 0.0043 0.0041 0.0040 0.0039 0.0038 0.0037 0.0036
- 2.5 0.0062 0.0060 0.0059 0.0057 0.0055 0.0054 0.0052 0.0051 0.0049 0.0048
- 2.4 0.0082 0.0080 0.0078 0.0075 0.0073 0.0071 0.0069 0.0068 0.0066 0.0064
- 2.3 0.0107 0.0104 0.0102 0.0099 0.0096 0.0094 0.0091 0.0089 0.0087 0.0084
- 2.2 0.0139 0.0136 0.0132 0.0129 0.0125 0.0122 0.0119 0.0116 0.0113 0.0110
- 2.1 0.0179 0.0174 0.0170 0.0166 0.0162 0.0158 0.0154 0.0150 0.0146 0.0143
- 2.0 0.0228 0.0222 0.0217 0.0212 0.0207 0.0202 0.0197 0.0192 0.0188 0.0183
- 1.9 0.0287 0.0281 0.0274 0.0268 0.0262 0.0256 0.0250 0.0244 0.0239 0.0233
- 1.8 0.0359 0.0351 0.0344 0.0336 0.0329 0.0322 0.0314 0.0307 0.0301 0.0294
- 1.7 0.0446 0.0436 0.0427 0.0418 0.0409 0.0401 0.0392 0.0384 0.0375 0.0367
- 1.6 0.0548 0.0537 0.0526 0.0516 0.0505 0.0495 0.0485 0.0475 0.0465 0.0455
- 1.5 0.0668 0.0655 0.0643 0.0630 0.0618 0.0606 0.0594 0.0582 0.0571 0.0559
- 1.4 0.0808 0.0793 0.0778 0.0764 0.0749 0.0735 0.0721 0.0708 0.0694 0.0681
- 1.3 0.0968 0.0951 0.0934 0.0918 0.0901 0.0885 0.0869 0.0853 0.0838 0.0823
- 1.2 0.1151 0.1131 0.1112 0.1093 0.1075 0.1056 0.1038 0.1020 0.1003 0.0985
- 1.1 0.1357 0.1335 0.1314 0.1292 0.1271 0.1251 0.1230 0.1210 0.1190 0.1170
- 1.0 0.1587 0.1562 0.1539 0.1515 0.1492 0.1469 0.1446 0.1423 0.1401 0.1379
- 0.9 0.1841 0.1814 0.1788 0.1762 0.1736 0.1711 0.1685 0.1660 0.1635 0.1611
- 0.8 0.2119 0.2090 0.2061 0.2033 0.2005 0.1977 0.1949 0.1922 0.1894 0.1867
- 0.7 0.2420 0.2389 0.2358 0.2327 0.2296 0.2266 0.2236 0.2206 0.2177 0.2148
- 0.6 0.2743 0.2709 0.2676 0.2643 0.2611 0.2578 0.2546 0.2514 0.2483 0.2451
- 0.5 0.3085 0.3050 0.3015 0.2981 0.2946 0.2912 0.2877 0.2843 0.2810 0.2776
- 0.4 0.3446 0.3409 0.3372 0.3336 0.3300 0.3264 0.3228 0.3192 0.3156 0.3121
- 0.3 0.3821 0.3783 0.3745 0.3707 0.3669 0.3632 0.3594 0.3557 0.3520 0.3483
- 0.2 0.4207 0.4168 0.4129 0.4090 0.4052 0.4013 0.3974 0.3936 0.3897 0.3859
- 0.1 0.4602 0.4562 0.4522 0.4483 0.4443 0.4404 0.4364 0.4325 0.4286 0.4247
- 0.0 0.5000 0.4960 0.4920 0.4880 0.4840 0.4801 0.4761 0.4721 0.4681 0.4641
www.freebookslides.com
844 A P P E N D I X A | Table 4
Table 4 | Cumulative Probabilities for the Standard Normal Distribution
z0
Cumulative probability
Table entries represent the shaded area in the �gure
First Digit oF Z seconD Digit oF Z
z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
0.0 0.5000 0.5040 0.5080 0.5120 0.5160 0.5199 0.5239 0.5279 0.5319 0.5359
0.1 0.5398 0.5438 0.5478 0.5517 0.5557 0.5596 0.5636 0.5675 0.5714 0.5753
0.2 0.5793 0.5832 0.5871 0.5910 0.5948 0.5987 0.6026 0.6064 0.6103 0.6141
0.3 0.6179 0.6217 0.6255 0.6293 0.6331 0.6368 0.6406 0.6443 0.6480 0.6517
0.4 0.6554 0.6591 0.6628 0.6664 0.6700 0.6736 0.6772 0.6808 0.6844 0.6879
0.5 0.6915 0.6950 0.6985 0.7019 0.7054 0.7088 0.7123 0.7157 0.7190 0.7224
0.6 0.7257 0.7291 0.7324 0.7357 0.7389 0.7422 0.7454 0.7486 0.7517 0.7549
0.7 0.7580 0.7611 0.7642 0.7673 0.7704 0.7734 0.7764 0.7794 0.7823 0.7852
0.8 0.7881 0.7910 0.7939 0.7967 0.7995 0.8023 0.8051 0.8078 0.8106 0.8133
0.9 0.8159 0.8186 0.8212 0.8238 0.8264 0.8289 0.8315 0.8340 0.8365 0.8389
1.0 0.8413 0.8438 0.8461 0.8485 0.8508 0.8531 0.8554 0.8577 0.8599 0.8621
1.1 0.8643 0.8665 0.8686 0.8708 0.8729 0.8749 0.8770 0.8790 0.8810 0.8830
1.2 0.8849 0.8869 0.8888 0.8907 0.8925 0.8944 0.8962 0.8980 0.8997 0.9015
1.3 0.9032 0.9049 0.9066 0.9082 0.9099 0.9115 0.9131 0.9147 0.9162 0.9177
1.4 0.9192 0.9207 0.9222 0.9236 0.9251 0.9265 0.9279 0.9292 0.9306 0.9319
1.5 0.9332 0.9345 0.9357 0.9370 0.9382 0.9394 0.9406 0.9418 0.9429 0.9441
1.6 0.9452 0.9463 0.9474 0.9484 0.9495 0.9505 0.9515 0.9525 0.9535 0.9545
1.7 0.9554 0.9564 0.9573 0.9582 0.9591 0.9599 0.9608 0.9616 0.9625 0.9633
1.8 0.9641 0.9649 0.9656 0.9664 0.9671 0.9678 0.9686 0.9693 0.9699 0.9706
1.9 0.9713 0.9719 0.9726 0.9732 0.9738 0.9744 0.9750 0.9756 0.9761 0.9767
2.0 0.9772 0.9778 0.9783 0.9788 0.9793 0.9798 0.9803 0.9808 0.9812 0.9817
2.1 0.9821 0.9826 0.9830 0.9834 0.9838 0.9842 0.9846 0.9850 0.9854 0.9857
2.2 0.9861 0.9864 0.9868 0.9871 0.9875 0.9878 0.9881 0.9884 0.9887 0.9890
2.3 0.9893 0.9896 0.9898 0.9901 0.9904 0.9906 0.9909 0.9911 0.9913 0.9916
2.4 0.9918 0.9920 0.9922 0.9925 0.9927 0.9929 0.9931 0.9932 0.9934 0.9936
2.5 0.9938 0.9940 0.9941 0.9943 0.9945 0.9946 0.9948 0.9949 0.9951 0.9952
2.6 0.9953 0.9955 0.9956 0.9957 0.9959 0.9960 0.9961 0.9962 0.9963 0.9964
2.7 0.9965 0.9966 0.9967 0.9968 0.9969 0.9970 0.9971 0.9972 0.9973 0.9974
2.8 0.9974 0.9975 0.9976 0.9977 0.9977 0.9978 0.9979 0.9979 0.9980 0.9981
2.9 0.9981 0.9982 0.9982 0.9983 0.9984 0.9984 0.9985 0.9985 0.9986 0.9986
3.0 0.9987 0.9987 0.9987 0.9988 0.9988 0.9989 0.9989 0.9989 0.9990 0.9990
3.1 0.9990 0.9991 0.9991 0.9991 0.9992 0.9992 0.9992 0.9992 0.9993 0.9993
3.2 0.9993 0.9993 0.9994 0.9994 0.9994 0.9994 0.9994 0.9995 0.9995 0.9995
3.3 0.9995 0.9995 0.9995 0.9996 0.9996 0.9996 0.9996 0.9996 0.9996 0.9997
3.4 0.9997 0.9997 0.9997 0.9997 0.9997 0.9997 0.9997 0.9997 0.9997 0.9998
3.5 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998
3.6 0.9998 0.9998 0.9999 0.9999 0.9999 0.9999 0.9999 0.9999 0.9999 0.9999
3.7 and higher 0.9999
www.freebookslides.com
A P P E N D I X A | Table 5 845
Table 5 | Student’s t-distribution
0.90
0.050.05
0
d f = 11
ta/2 = 1.796– ta/2 = –1.796
1 Tail 0.200 0.100 0.050 0.025 0.010 0.005
2 Tail 0.400 0.200 0.100 0.050 0.020 0.010
Conf Lev 0.600 0.800 0.900 0.950 0.980 0.990
df
1 1.376 3.078 6.314 12.706 31.821 63.657
2 1.061 1.886 2.920 4.303 6.965 9.925
3 0.978 1.638 2.353 3.182 4.541 5.841
4 0.941 1.533 2.132 2.776 3.747 4.604
5 0.920 1.476 2.015 2.571 3.365 4.032
6 0.906 1.440 1.943 2.447 3.143 3.707
7 0.896 1.415 1.895 2.365 2.998 3.499
8 0.889 1.397 1.860 2.306 2.896 3.355
9 0.883 1.383 1.833 2.262 2.821 3.250
10 0.879 1.372 1.812 2.228 2.764 3.169
11 0.876 1.363 1.796 2.201 2.718 3.106
12 0.873 1.356 1.782 2.179 2.681 3.055
13 0.870 1.350 1.771 2.160 2.650 3.012
14 0.868 1.345 1.761 2.145 2.624 2.977
15 0.866 1.341 1.753 2.131 2.602 2.947
16 0.865 1.337 1.746 2.120 2.583 2.921
17 0.863 1.333 1.740 2.110 2.567 2.898
18 0.862 1.330 1.734 2.101 2.552 2.878
19 0.861 1.328 1.729 2.093 2.539 2.861
20 0.860 1.325 1.725 2.086 2.528 2.845
21 0.859 1.323 1.721 2.080 2.518 2.831
22 0.858 1.321 1.717 2.074 2.508 2.819
23 0.858 1.319 1.714 2.069 2.500 2.807
24 0.857 1.318 1.711 2.064 2.492 2.797
25 0.856 1.316 1.708 2.060 2.485 2.787
26 0.856 1.315 1.706 2.056 2.479 2.779
27 0.855 1.314 1.703 2.052 2.473 2.771
28 0.855 1.313 1.701 2.048 2.467 2.763
29 0.854 1.311 1.699 2.045 2.462 2.756
30 0.854 1.310 1.697 2.042 2.457 2.750
(continued)
this table provides values for tA (one- tail test) and tA,2 (two-tail test) that correspond to a given value of A and df. For example, for a two-tail test with A = 0.10 and df = 11, tA,2 = 1.796.
www.freebookslides.com
1 Tail 0.200 0.100 0.050 0.025 0.010 0.005
2 Tail 0.400 0.200 0.100 0.050 0.020 0.010
Conf Lev 0.600 0.800 0.900 0.950 0.980 0.990
df
31 0.853 1.309 1.696 2.040 2.453 2.744
32 0.853 1.309 1.694 2.037 2.449 2.738
33 0.853 1.308 1.692 2.035 2.445 2.733
34 0.852 1.307 1.691 2.032 2.441 2.728
35 0.852 1.306 1.690 2.030 2.438 2.724
36 0.852 1.306 1.688 2.028 2.434 2.719
37 0.851 1.305 1.687 2.026 2.431 2.715
38 0.851 1.304 1.686 2.024 2.429 2.712
39 0.851 1.304 1.685 2.023 2.426 2.708
40 0.851 1.303 1.684 2.021 2.423 2.704
41 0.850 1.303 1.683 2.020 2.421 2.701
42 0.850 1.302 1.682 2.018 2.418 2.698
43 0.850 1.302 1.681 2.017 2.416 2.695
44 0.850 1.301 1.680 2.015 2.414 2.692
45 0.850 1.301 1.679 2.014 2.412 2.690
46 0.850 1.300 1.679 2.013 2.410 2.687
47 0.849 1.300 1.678 2.012 2.408 2.685
48 0.849 1.299 1.677 2.011 2.407 2.682
49 0.849 1.299 1.677 2.010 2.405 2.680
50 0.849 1.299 1.676 2.009 2.403 2.678
51 0.849 1.298 1.675 2.008 2.402 2.676
52 0.849 1.298 1.675 2.007 2.400 2.674
53 0.848 1.298 1.674 2.006 2.399 2.672
54 0.848 1.297 1.674 2.005 2.397 2.670
55 0.848 1.297 1.673 2.004 2.396 2.668
56 0.848 1.297 1.673 2.003 2.395 2.667
57 0.848 1.297 1.672 2.002 2.394 2.665
58 0.848 1.296 1.672 2.002 2.392 2.663
59 0.848 1.296 1.671 2.001 2.391 2.662
60 0.848 1.296 1.671 2.000 2.390 2.660
61 0.848 1.296 1.670 2.000 2.389 2.659
62 0.847 1.295 1.670 1.999 2.388 2.657
63 0.847 1.295 1.669 1.998 2.387 2.656
64 0.847 1.295 1.669 1.998 2.386 2.655
65 0.847 1.295 1.669 1.997 2.385 2.654
66 0.847 1.295 1.668 1.997 2.384 2.652
67 0.847 1.294 1.668 1.996 2.383 2.651
68 0.847 1.294 1.668 1.995 2.382 2.650
69 0.847 1.294 1.667 1.995 2.382 2.649
70 0.847 1.294 1.667 1.994 2.381 2.648
Table 5 | Student’s t-distribution (Continued)
846 A P P E N D I X A | Table 5 www.freebookslides.com
1 Tail 0.200 0.100 0.050 0.025 0.010 0.005
2 Tail 0.400 0.200 0.100 0.050 0.020 0.010
Conf Lev 0.600 0.800 0.900 0.950 0.980 0.990
df
71 0.847 1.294 1.667 1.994 2.380 2.647
72 0.847 1.293 1.666 1.993 2.379 2.646
73 0.847 1.293 1.666 1.993 2.379 2.645
74 0.847 1.293 1.666 1.993 2.378 2.644
75 0.846 1.293 1.665 1.992 2.377 2.643
76 0.846 1.293 1.665 1.992 2.376 2.642
77 0.846 1.293 1.665 1.991 2.376 2.641
78 0.846 1.292 1.665 1.991 2.375 2.640
79 0.846 1.292 1.664 1.990 2.374 2.640
80 0.846 1.292 1.664 1.990 2.374 2.639
81 0.846 1.292 1.664 1.990 2.373 2.638
82 0.846 1.292 1.664 1.989 2.373 2.637
83 0.846 1.292 1.663 1.989 2.372 2.636
84 0.846 1.292 1.663 1.989 2.372 2.636
85 0.846 1.292 1.663 1.988 2.371 2.635
86 0.846 1.291 1.663 1.988 2.370 2.634
87 0.846 1.291 1.663 1.988 2.370 2.634
88 0.846 1.291 1.662 1.987 2.369 2.633
89 0.846 1.291 1.662 1.987 2.369 2.632
90 0.846 1.291 1.662 1.987 2.368 2.632
91 0.846 1.291 1.662 1.986 2.368 2.631
92 0.846 1.291 1.662 1.986 2.368 2.630
93 0.846 1.291 1.661 1.986 2.367 2.630
94 0.845 1.291 1.661 1.986 2.367 2.629
95 0.845 1.291 1.661 1.985 2.366 2.629
96 0.845 1.290 1.661 1.985 2.366 2.628
97 0.845 1.290 1.661 1.985 2.365 2.627
98 0.845 1.290 1.661 1.984 2.365 2.627
99 0.845 1.290 1.660 1.984 2.365 2.626
100 0.845 1.290 1.660 1.984 2.364 2.626
∞ 0.842 1.282 1.645 1.960 2.326 2.576
TABLe 5 | student’s t-distribution (Continued)
A P P E n d i x A | Table 5 847 www.freebookslides.com
Table 6 | F–distribution
Fa
Area in Table
AreA in the right tAil of Distribution = 0.10
D1
D2 1 2 3 4 5 6 7 8 9 10
1 39.863 49.500 53.593 55.833 57.240 58.204 58.906 59.439 59.858 60.195
2 8.526 9.000 9.162 9.243 9.293 9.326 9.349 9.367 9.381 9.392
3 5.538 5.462 5.391 5.343 5.309 5.285 5.266 5.252 5.240 5.230
4 4.545 4.325 4.191 4.107 4.051 4.010 3.979 3.955 3.936 3.920
5 4.060 3.780 3.619 3.520 3.453 3.405 3.368 3.339 3.316 3.297
6 3.776 3.463 3.289 3.181 3.108 3.055 3.014 2.983 2.958 2.937
7 3.589 3.257 3.074 2.961 2.883 2.827 2.785 2.752 2.725 2.703
8 3.458 3.113 2.924 2.806 2.726 2.668 2.624 2.589 2.561 2.538
9 3.360 3.006 2.813 2.693 2.611 2.551 2.505 2.469 2.440 2.416
10 3.285 2.924 2.728 2.605 2.522 2.461 2.414 2.377 2.347 2.323
11 3.225 2.860 2.660 2.536 2.451 2.389 2.342 2.304 2.274 2.248
12 3.177 2.807 2.606 2.480 2.394 2.331 2.283 2.245 2.214 2.188
13 3.136 2.763 2.560 2.434 2.347 2.283 2.234 2.195 2.164 2.138
14 3.102 2.726 2.522 2.395 2.307 2.243 2.193 2.154 2.122 2.095
15 3.073 2.695 2.490 2.361 2.273 2.208 2.158 2.119 2.086 2.059
16 3.048 2.668 2.462 2.333 2.244 2.178 2.128 2.088 2.055 2.028
17 3.026 2.645 2.437 2.308 2.218 2.152 2.102 2.061 2.028 2.001
18 3.007 2.624 2.416 2.286 2.196 2.130 2.079 2.038 2.005 1.977
19 2.990 2.606 2.397 2.266 2.176 2.109 2.058 2.017 1.984 1.956
20 2.975 2.589 2.380 2.249 2.158 2.091 2.040 1.999 1.965 1.937
21 2.961 2.575 2.365 2.233 2.142 2.075 2.023 1.982 1.948 1.920
22 2.949 2.561 2.351 2.219 2.128 2.060 2.008 1.967 1.933 1.904
23 2.937 2.549 2.339 2.207 2.115 2.047 1.995 1.953 1.919 1.890
24 2.927 2.538 2.327 2.195 2.103 2.035 1.983 1.941 1.906 1.877
25 2.918 2.528 2.317 2.184 2.092 2.024 1.971 1.929 1.895 1.866
26 2.909 2.519 2.307 2.174 2.082 2.014 1.961 1.919 1.884 1.855
27 2.901 2.511 2.299 2.165 2.073 2.005 1.952 1.909 1.874 1.845
28 2.894 2.503 2.291 2.157 2.064 1.996 1.943 1.900 1.865 1.836
29 2.887 2.495 2.283 2.149 2.057 1.988 1.935 1.892 1.857 1.827
30 2.881 2.489 2.276 2.142 2.049 1.980 1.927 1.884 1.849 1.819
848 A P P E N D I X A | Table 6 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.10
D1
D2 11 12 13 14 15 16 17 18 19 20
1 60.473 60.705 60.903 61.073 61.220 61.350 61.464 61.566 61.658 61.740
2 9.401 9.408 9.415 9.420 9.425 9.429 9.433 9.436 9.439 9.441
3 5.222 5.216 5.210 5.205 5.200 5.196 5.193 5.190 5.187 5.184
4 3.907 3.896 3.886 3.878 3.870 3.864 3.858 3.853 3.849 3.844
5 3.282 3.268 3.257 3.247 3.238 3.230 3.223 3.217 3.212 3.207
6 2.920 2.905 2.892 2.881 2.871 2.863 2.855 2.848 2.842 2.836
7 2.684 2.668 2.654 2.643 2.632 2.623 2.615 2.607 2.601 2.595
8 2.519 2.502 2.488 2.475 2.464 2.455 2.446 2.438 2.431 2.425
9 2.396 2.379 2.364 2.351 2.340 2.329 2.320 2.312 2.305 2.298
10 2.302 2.284 2.269 2.255 2.244 2.233 2.224 2.215 2.208 2.201
11 2.227 2.209 2.193 2.179 2.167 2.156 2.147 2.138 2.130 2.123
12 2.166 2.147 2.131 2.117 2.105 2.094 2.084 2.075 2.067 2.060
13 2.116 2.097 2.080 2.066 2.053 2.042 2.032 2.023 2.014 2.007
14 2.073 2.054 2.037 2.022 2.010 1.998 1.988 1.978 1.970 1.962
15 2.037 2.017 2.000 1.985 1.972 1.961 1.950 1.941 1.932 1.924
16 2.005 1.985 1.968 1.953 1.940 1.928 1.917 1.908 1.899 1.891
17 1.978 1.958 1.940 1.925 1.912 1.900 1.889 1.879 1.870 1.862
18 1.954 1.933 1.916 1.900 1.887 1.875 1.864 1.854 1.845 1.837
19 1.932 1.912 1.894 1.878 1.865 1.852 1.841 1.831 1.822 1.814
20 1.913 1.892 1.875 1.859 1.845 1.833 1.821 1.811 1.802 1.794
21 1.896 1.875 1.857 1.841 1.827 1.815 1.803 1.793 1.784 1.776
22 1.880 1.859 1.841 1.825 1.811 1.798 1.787 1.777 1.768 1.759
23 1.866 1.845 1.827 1.811 1.796 1.784 1.772 1.762 1.753 1.744
24 1.853 1.832 1.814 1.797 1.783 1.770 1.759 1.748 1.739 1.730
25 1.841 1.820 1.802 1.785 1.771 1.758 1.746 1.736 1.726 1.718
26 1.830 1.809 1.790 1.774 1.760 1.747 1.735 1.724 1.715 1.706
27 1.820 1.799 1.780 1.764 1.749 1.736 1.724 1.714 1.704 1.695
28 1.811 1.790 1.771 1.754 1.740 1.726 1.715 1.704 1.694 1.685
29 1.802 1.781 1.762 1.745 1.731 1.717 1.705 1.695 1.685 1.676
30 1.794 1.773 1.754 1.737 1.722 1.709 1.697 1.686 1.676 1.667
AreA in the right tAil oF Distribution = 0.10
D1
D2 21 22 23 24 25 26 27 28 29 30
1 61.815 61.883 61.945 62.002 62.055 62.103 62.148 62.190 62.229 62.265
2 9.444 9.446 9.448 9.450 9.451 9.453 9.454 9.456 9.457 9.458
3 5.182 5.180 5.178 5.176 5.175 5.173 5.172 5.170 5.169 5.168
4 3.841 3.837 3.834 3.831 3.828 3.826 3.823 3.821 3.819 3.817
5 3.202 3.198 3.194 3.191 3.187 3.184 3.181 3.179 3.176 3.174
6 2.831 2.827 2.822 2.818 2.815 2.811 2.808 2.805 2.803 2.800
7 2.589 2.584 2.580 2.575 2.571 2.568 2.564 2.561 2.558 2.555
8 2.419 2.413 2.409 2.404 2.400 2.396 2.392 2.389 2.386 2.383
9 2.292 2.287 2.282 2.277 2.272 2.268 2.265 2.261 2.258 2.255
10 2.194 2.189 2.183 2.178 2.174 2.170 2.166 2.162 2.159 2.155
11 2.117 2.111 2.105 2.100 2.095 2.091 2.087 2.083 2.080 2.076
Table 6 | F-distribution (Continued)
(continued)
A P P E N D I X A | Table 6 849 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.10
D1
D2 21 22 23 24 25 26 27 28 29 30
12 2.053 2.047 2.041 2.036 2.031 2.027 2.022 2.019 2.015 2.011
13 2.000 1.994 1.988 1.983 1.978 1.973 1.969 1.965 1.961 1.958
14 1.955 1.949 1.943 1.938 1.933 1.928 1.923 1.919 1.916 1.912
15 1.917 1.911 1.905 1.899 1.894 1.889 1.885 1.880 1.876 1.873
16 1.884 1.877 1.871 1.866 1.860 1.855 1.851 1.847 1.843 1.839
17 1.855 1.848 1.842 1.836 1.831 1.826 1.821 1.817 1.813 1.809
18 1.829 1.823 1.816 1.810 1.805 1.800 1.795 1.791 1.787 1.783
19 1.807 1.800 1.793 1.787 1.782 1.777 1.772 1.767 1.763 1.759
20 1.786 1.779 1.773 1.767 1.761 1.756 1.751 1.746 1.742 1.738
21 1.768 1.761 1.754 1.748 1.742 1.737 1.732 1.728 1.723 1.719
22 1.751 1.744 1.737 1.731 1.726 1.720 1.715 1.711 1.706 1.702
23 1.736 1.729 1.722 1.716 1.710 1.705 1.700 1.695 1.691 1.686
24 1.722 1.715 1.708 1.702 1.696 1.691 1.686 1.681 1.676 1.672
25 1.710 1.702 1.695 1.689 1.683 1.678 1.672 1.668 1.663 1.659
26 1.698 1.690 1.683 1.677 1.671 1.666 1.660 1.656 1.651 1.647
27 1.687 1.680 1.673 1.666 1.660 1.655 1.649 1.645 1.640 1.636
28 1.677 1.669 1.662 1.656 1.650 1.644 1.639 1.634 1.630 1.625
29 1.668 1.660 1.653 1.647 1.640 1.635 1.630 1.625 1.620 1.616
30 1.659 1.651 1.644 1.638 1.632 1.626 1.621 1.616 1.611 1.606
AreA in the right tAil oF Distribution = 0.05
D1
D2 1 2 3 4 5 6 7 8 9 10
1 161.448 199.500 215.707 224.583 230.162 233.986 236.768 238.883 240.543 241.882
2 18.513 19.000 19.164 19.247 19.296 19.330 19.353 19.371 19.385 19.396
3 10.128 9.552 9.277 9.117 9.013 8.941 8.887 8.845 8.812 8.786
4 7.709 6.944 6.591 6.388 6.256 6.163 6.094 6.041 5.999 5.964
5 6.608 5.786 5.409 5.192 5.050 4.950 4.876 4.818 4.772 4.735
6 5.987 5.143 4.757 4.534 4.387 4.284 4.207 4.147 4.099 4.060
7 5.591 4.737 4.347 4.120 3.972 3.866 3.787 3.726 3.677 3.637
8 5.318 4.459 4.066 3.838 3.687 3.581 3.500 3.438 3.388 3.347
9 5.117 4.256 3.863 3.633 3.482 3.374 3.293 3.230 3.179 3.137
10 4.965 4.103 3.708 3.478 3.326 3.217 3.135 3.072 3.020 2.978
11 4.844 3.982 3.587 3.357 3.204 3.095 3.012 2.948 2.896 2.854
12 4.747 3.885 3.490 3.259 3.106 2.996 2.913 2.849 2.796 2.753
13 4.667 3.806 3.411 3.179 3.025 2.915 2.832 2.767 2.714 2.671
14 4.600 3.739 3.344 3.112 2.958 2.848 2.764 2.699 2.646 2.602
15 4.543 3.682 3.287 3.056 2.901 2.790 2.707 2.641 2.588 2.544
16 4.494 3.634 3.239 3.007 2.852 2.741 2.657 2.591 2.538 2.494
17 4.451 3.592 3.197 2.965 2.810 2.699 2.614 2.548 2.494 2.450
18 4.414 3.555 3.160 2.928 2.773 2.661 2.577 2.510 2.456 2.412
19 4.381 3.522 3.127 2.895 2.740 2.628 2.544 2.477 2.423 2.378
20 4.351 3.493 3.098 2.866 2.711 2.599 2.514 2.447 2.393 2.348
21 4.325 3.467 3.072 2.840 2.685 2.573 2.488 2.420 2.366 2.321
Table 6 | F-distribution (Continued)
850 A P P E N D I X A | Table 6 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.05
D1
D2 1 2 3 4 5 6 7 8 9 10
22 4.301 3.443 3.049 2.817 2.661 2.549 2.464 2.397 2.342 2.297
23 4.279 3.422 3.028 2.796 2.640 2.528 2.442 2.375 2.320 2.275
24 4.260 3.403 3.009 2.776 2.621 2.508 2.423 2.355 2.300 2.255
25 4.242 3.385 2.991 2.759 2.603 2.490 2.405 2.337 2.282 2.236
26 4.225 3.369 2.975 2.743 2.587 2.474 2.388 2.321 2.265 2.220
27 4.210 3.354 2.960 2.728 2.572 2.459 2.373 2.305 2.250 2.204
28 4.196 3.340 2.947 2.714 2.558 2.445 2.359 2.291 2.236 2.190
29 4.183 3.328 2.934 2.701 2.545 2.432 2.346 2.278 2.223 2.177
30 4.171 3.316 2.922 2.690 2.534 2.421 2.334 2.266 2.211 2.165
AreA in the right tAil oF Distribution = 0.05
D1
D2 11 12 13 14 15 16 17 18 19 20
1 242.983 243.906 244.690 245.364 245.950 246.464 246.918 247.323 247.686 248.013
2 19.405 19.413 19.419 19.424 19.429 19.433 19.437 19.440 19.443 19.446
3 8.763 8.745 8.729 8.715 8.703 8.692 8.683 8.675 8.667 8.660
4 5.936 5.912 5.891 5.873 5.858 5.844 5.832 5.821 5.811 5.803
5 4.704 4.678 4.655 4.636 4.619 4.604 4.590 4.579 4.568 4.558
6 4.027 4.000 3.976 3.956 3.938 3.922 3.908 3.896 3.884 3.874
7 3.603 3.575 3.550 3.529 3.511 3.494 3.480 3.467 3.455 3.445
8 3.313 3.284 3.259 3.237 3.218 3.202 3.187 3.173 3.161 3.150
9 3.102 3.073 3.048 3.025 3.006 2.989 2.974 2.960 2.948 2.936
10 2.943 2.913 2.887 2.865 2.845 2.828 2.812 2.798 2.785 2.774
11 2.818 2.788 2.761 2.739 2.719 2.701 2.685 2.671 2.658 2.646
12 2.717 2.687 2.660 2.637 2.617 2.599 2.583 2.568 2.555 2.544
13 2.635 2.604 2.577 2.554 2.533 2.515 2.499 2.484 2.471 2.459
14 2.565 2.534 2.507 2.484 2.463 2.445 2.428 2.413 2.400 2.388
15 2.507 2.475 2.448 2.424 2.403 2.385 2.368 2.353 2.340 2.328
16 2.456 2.425 2.397 2.373 2.352 2.333 2.317 2.302 2.288 2.276
17 2.413 2.381 2.353 2.329 2.308 2.289 2.272 2.257 2.243 2.230
18 2.374 2.342 2.314 2.290 2.269 2.250 2.233 2.217 2.203 2.191
19 2.340 2.308 2.280 2.256 2.234 2.215 2.198 2.182 2.168 2.155
20 2.310 2.278 2.250 2.225 2.203 2.184 2.167 2.151 2.137 2.124
21 2.283 2.250 2.222 2.197 2.176 2.156 2.139 2.123 2.109 2.096
22 2.259 2.226 2.198 2.173 2.151 2.131 2.114 2.098 2.084 2.071
23 2.236 2.204 2.175 2.150 2.128 2.109 2.091 2.075 2.061 2.048
24 2.216 2.183 2.155 2.130 2.108 2.088 2.070 2.054 2.040 2.027
25 2.198 2.165 2.136 2.111 2.089 2.069 2.051 2.035 2.021 2.007
26 2.181 2.148 2.119 2.094 2.072 2.052 2.034 2.018 2.003 1.990
27 2.166 2.132 2.103 2.078 2.056 2.036 2.018 2.002 1.987 1.974
28 2.151 2.118 2.089 2.064 2.041 2.021 2.003 1.987 1.972 1.959
29 2.138 2.104 2.075 2.050 2.027 2.007 1.989 1.973 1.958 1.945
30 2.126 2.092 2.063 2.037 2.015 1.995 1.976 1.960 1.945 1.932
Table 6 | F-distribution (Continued)
(continued)
A P P E N D I X A | Table 6 851 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.05
D1
D2 21 22 23 24 25 26 27 28 29 30
1 248.309 248.579 248.826 249.052 249.260 249.453 249.631 249.797 249.951 250.095
2 19.448 19.450 19.452 19.454 19.456 19.457 19.459 19.460 19.461 19.462
3 8.654 8.648 8.643 8.639 8.634 8.630 8.626 8.623 8.620 8.617
4 5.795 5.787 5.781 5.774 5.769 5.763 5.759 5.754 5.750 5.746
5 4.549 4.541 4.534 4.527 4.521 4.515 4.510 4.505 4.500 4.496
6 3.865 3.856 3.849 3.841 3.835 3.829 3.823 3.818 3.813 3.808
7 3.435 3.426 3.418 3.410 3.404 3.397 3.391 3.386 3.381 3.376
8 3.140 3.131 3.123 3.115 3.108 3.102 3.095 3.090 3.084 3.079
9 2.926 2.917 2.908 2.900 2.893 2.886 2.880 2.874 2.869 2.864
10 2.764 2.754 2.745 2.737 2.730 2.723 2.716 2.710 2.705 2.700
11 2.636 2.626 2.617 2.609 2.601 2.594 2.588 2.582 2.576 2.570
12 2.533 2.523 2.514 2.505 2.498 2.491 2.484 2.478 2.472 2.466
13 2.448 2.438 2.429 2.420 2.412 2.405 2.398 2.392 2.386 2.380
14 2.377 2.367 2.357 2.349 2.341 2.333 2.326 2.320 2.314 2.308
15 2.316 2.306 2.297 2.288 2.280 2.272 2.265 2.259 2.253 2.247
16 2.264 2.254 2.244 2.235 2.227 2.220 2.212 2.206 2.200 2.194
17 2.219 2.208 2.199 2.190 2.181 2.174 2.167 2.160 2.154 2.148
18 2.179 2.168 2.159 2.150 2.141 2.134 2.126 2.119 2.113 2.107
19 2.144 2.133 2.123 2.114 2.106 2.098 2.090 2.084 2.077 2.071
20 2.112 2.102 2.092 2.082 2.074 2.066 2.059 2.052 2.045 2.039
21 2.084 2.073 2.063 2.054 2.045 2.037 2.030 2.023 2.016 2.010
22 2.059 2.048 2.038 2.028 2.020 2.012 2.004 1.997 1.990 1.984
23 2.036 2.025 2.014 2.005 1.996 1.988 1.981 1.973 1.967 1.961
24 2.015 2.003 1.993 1.984 1.975 1.967 1.959 1.952 1.945 1.939
25 1.995 1.984 1.974 1.964 1.955 1.947 1.939 1.932 1.926 1.919
26 1.978 1.966 1.956 1.946 1.938 1.929 1.921 1.914 1.907 1.901
27 1.961 1.950 1.940 1.930 1.921 1.913 1.905 1.898 1.891 1.884
28 1.946 1.935 1.924 1.915 1.906 1.897 1.889 1.882 1.875 1.869
29 1.932 1.921 1.910 1.901 1.891 1.883 1.875 1.868 1.861 1.854
30 1.919 1.908 1.897 1.887 1.878 1.870 1.862 1.854 1.847 1.841
AreA in the right tAil oF Distribution = 0.025
D1
D2 1 2 3 4 5 6 7 8 9 10
1 647.789 799.500 864.163 899.583 921.848 937.111 948.217 956.656 963.285 968.627
2 38.506 39.000 39.165 39.248 39.298 39.331 39.355 39.373 39.387 39.398
3 17.443 16.044 15.439 15.101 14.885 14.735 14.624 14.540 14.473 14.419
4 12.218 10.649 9.979 9.605 9.364 9.197 9.074 8.980 8.905 8.844
5 10.007 8.434 7.764 7.388 7.146 6.978 6.853 6.757 6.681 6.619
6 8.813 7.260 6.599 6.227 5.988 5.820 5.695 5.600 5.523 5.461
7 8.073 6.542 5.890 5.523 5.285 5.119 4.995 4.899 4.823 4.761
8 7.571 6.059 5.416 5.053 4.817 4.652 4.529 4.433 4.357 4.295
9 7.209 5.715 5.078 4.718 4.484 4.320 4.197 4.102 4.026 3.964
10 6.937 5.456 4.826 4.468 4.236 4.072 3.950 3.855 3.779 3.717
11 6.724 5.256 4.630 4.275 4.044 3.881 3.759 3.664 3.588 3.526
Table 6 | F-distribution (Continued)
852 A P P E N D I X A | Table 6 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.025
D1
D2 1 2 3 4 5 6 7 8 9 10
12 6.554 5.096 4.474 4.121 3.891 3.728 3.607 3.512 3.436 3.374
13 6.414 4.965 4.347 3.996 3.767 3.604 3.483 3.388 3.312 3.250
14 6.298 4.857 4.242 3.892 3.663 3.501 3.380 3.285 3.209 3.147
15 6.200 4.765 4.153 3.804 3.576 3.415 3.293 3.199 3.123 3.060
16 6.115 4.687 4.077 3.729 3.502 3.341 3.219 3.125 3.049 2.986
17 6.042 4.619 4.011 3.665 3.438 3.277 3.156 3.061 2.985 2.922
18 5.978 4.560 3.954 3.608 3.382 3.221 3.100 3.005 2.929 2.866
19 5.922 4.508 3.903 3.559 3.333 3.172 3.051 2.956 2.880 2.817
20 5.871 4.461 3.859 3.515 3.289 3.128 3.007 2.913 2.837 2.774
21 5.827 4.420 3.819 3.475 3.250 3.090 2.969 2.874 2.798 2.735
22 5.786 4.383 3.783 3.440 3.215 3.055 2.934 2.839 2.763 2.700
23 5.750 4.349 3.750 3.408 3.183 3.023 2.902 2.808 2.731 2.668
24 5.717 4.319 3.721 3.379 3.155 2.995 2.874 2.779 2.703 2.640
25 5.686 4.291 3.694 3.353 3.129 2.969 2.848 2.753 2.677 2.613
26 5.659 4.265 3.670 3.329 3.105 2.945 2.824 2.729 2.653 2.590
27 5.633 4.242 3.647 3.307 3.083 2.923 2.802 2.707 2.631 2.568
28 5.610 4.221 3.626 3.286 3.063 2.903 2.782 2.687 2.611 2.547
29 5.588 4.201 3.607 3.267 3.044 2.884 2.763 2.669 2.592 2.529
30 5.568 4.182 3.589 3.250 3.026 2.867 2.746 2.651 2.575 2.511
AreA in the right tAil oF Distribution = 0.025
D1
D2 11 12 13 14 15 16 17 18 19 20
1 973.025 976.708 979.837 982.528 984.867 986.919 988.733 990.349 991.797 993.103
2 39.407 39.415 39.421 39.427 39.431 39.435 39.439 39.442 39.445 39.448
3 14.374 14.337 14.304 14.277 14.253 14.232 14.213 14.196 14.181 14.167
4 8.794 8.751 8.715 8.684 8.657 8.633 8.611 8.592 8.575 8.560
5 6.568 6.525 6.488 6.456 6.428 6.403 6.381 6.362 6.344 6.329
6 5.410 5.366 5.329 5.297 5.269 5.244 5.222 5.202 5.184 5.168
7 4.709 4.666 4.628 4.596 4.568 4.543 4.521 4.501 4.483 4.467
8 4.243 4.200 4.162 4.130 4.101 4.076 4.054 4.034 4.016 3.999
9 3.912 3.868 3.831 3.798 3.769 3.744 3.722 3.701 3.683 3.667
10 3.665 3.621 3.583 3.550 3.522 3.496 3.474 3.453 3.435 3.419
11 3.474 3.430 3.392 3.359 3.330 3.304 3.282 3.261 3.243 3.226
12 3.321 3.277 3.239 3.206 3.177 3.152 3.129 3.108 3.090 3.073
13 3.197 3.153 3.115 3.082 3.053 3.027 3.004 2.983 2.965 2.948
14 3.095 3.050 3.012 2.979 2.949 2.923 2.900 2.879 2.861 2.844
15 3.008 2.963 2.925 2.891 2.862 2.836 2.813 2.792 2.773 2.756
16 2.934 2.889 2.851 2.817 2.788 2.761 2.738 2.717 2.698 2.681
17 2.870 2.825 2.786 2.753 2.723 2.697 2.673 2.652 2.633 2.616
18 2.814 2.769 2.730 2.696 2.667 2.640 2.617 2.596 2.576 2.559
19 2.765 2.720 2.681 2.647 2.617 2.591 2.567 2.546 2.526 2.509
20 2.721 2.676 2.637 2.603 2.573 2.547 2.523 2.501 2.482 2.464
21 2.682 2.637 2.598 2.564 2.534 2.507 2.483 2.462 2.442 2.425
22 2.647 2.602 2.563 2.528 2.498 2.472 2.448 2.426 2.407 2.389
Table 6 | F-distribution (Continued)
(continued)
A P P E N D I X A | Table 6 853 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.025
D1
D2 11 12 13 14 15 16 17 18 19 20
23 2.615 2.570 2.531 2.497 2.466 2.440 2.416 2.394 2.374 2.357
24 2.586 2.541 2.502 2.468 2.437 2.411 2.386 2.365 2.345 2.327
25 2.560 2.515 2.476 2.441 2.411 2.384 2.360 2.338 2.318 2.300
26 2.536 2.491 2.451 2.417 2.387 2.360 2.335 2.314 2.294 2.276
27 2.514 2.469 2.429 2.395 2.364 2.337 2.313 2.291 2.271 2.253
28 2.494 2.448 2.409 2.374 2.344 2.317 2.292 2.270 2.251 2.232
29 2.475 2.430 2.390 2.355 2.325 2.298 2.273 2.251 2.231 2.213
30 2.458 2.412 2.372 2.338 2.307 2.280 2.255 2.233 2.213 2.195
AreA in the right tAil oF Distribution = 0.025
D1
D2 21 22 23 24 25 26 27 28 29 30
1 994.286 995.362 996.346 997.249 998.081 998.849 999.561 1000.22 1000.84 1001.41
2 39.450 39.452 39.454 39.456 39.458 39.459 39.461 39.462 39.463 39.465
3 14.155 14.144 14.134 14.124 14.115 14.107 14.100 14.093 14.087 14.081
4 8.546 8.533 8.522 8.511 8.501 8.492 8.483 8.476 8.468 8.461
5 6.314 6.301 6.289 6.278 6.268 6.258 6.250 6.242 6.234 6.227
6 5.154 5.141 5.128 5.117 5.107 5.097 5.088 5.080 5.072 5.065
7 4.452 4.439 4.426 4.415 4.405 4.395 4.386 4.378 4.370 4.362
8 3.985 3.971 3.959 3.947 3.937 3.927 3.918 3.909 3.901 3.894
9 3.652 3.638 3.626 3.614 3.604 3.594 3.584 3.576 3.568 3.560
10 3.403 3.390 3.377 3.365 3.355 3.345 3.335 3.327 3.319 3.311
11 3.211 3.197 3.184 3.173 3.162 3.152 3.142 3.133 3.125 3.118
12 3.057 3.043 3.031 3.019 3.008 2.998 2.988 2.979 2.971 2.963
13 2.932 2.918 2.905 2.893 2.882 2.872 2.862 2.853 2.845 2.837
14 2.828 2.814 2.801 2.789 2.778 2.767 2.758 2.749 2.740 2.732
15 2.740 2.726 2.713 2.701 2.689 2.679 2.669 2.660 2.652 2.644
16 2.665 2.651 2.637 2.625 2.614 2.603 2.594 2.584 2.576 2.568
17 2.600 2.585 2.572 2.560 2.548 2.538 2.528 2.519 2.510 2.502
18 2.543 2.529 2.515 2.503 2.491 2.481 2.471 2.461 2.453 2.445
19 2.493 2.478 2.465 2.452 2.441 2.430 2.420 2.411 2.402 2.394
20 2.448 2.434 2.420 2.408 2.396 2.385 2.375 2.366 2.357 2.349
21 2.409 2.394 2.380 2.368 2.356 2.345 2.335 2.325 2.317 2.308
22 2.373 2.358 2.344 2.331 2.320 2.309 2.299 2.289 2.280 2.272
23 2.340 2.325 2.312 2.299 2.287 2.276 2.266 2.256 2.247 2.239
24 2.311 2.296 2.282 2.269 2.257 2.246 2.236 2.226 2.217 2.209
25 2.284 2.269 2.255 2.242 2.230 2.219 2.209 2.199 2.190 2.182
26 2.259 2.244 2.230 2.217 2.205 2.194 2.184 2.174 2.165 2.157
27 2.237 2.222 2.208 2.195 2.183 2.171 2.161 2.151 2.142 2.133
28 2.216 2.201 2.187 2.174 2.161 2.150 2.140 2.130 2.121 2.112
29 2.196 2.181 2.167 2.154 2.142 2.131 2.120 2.110 2.101 2.092
30 2.178 2.163 2.149 2.136 2.124 2.112 2.102 2.092 2.083 2.074
Table 6 | F-distribution (Continued)
854 A P P E N D I X A | Table 6 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.01
D1
D2 1 2 3 4 5 6 7 8 9 10
1 4052.2 4999.5 5403.4 5624.6 5763.6 5859.0 5928.4 5981.1 6022.5 6055.8
2 98.503 99.000 99.166 99.249 99.299 99.333 99.356 99.374 99.388 99.399
3 34.116 30.817 29.457 28.710 28.237 27.911 27.672 27.489 27.345 27.229
4 21.198 18.000 16.694 15.977 15.522 15.207 14.976 14.799 14.659 14.546
5 16.258 13.274 12.060 11.392 10.967 10.672 10.456 10.289 10.158 10.051
6 13.745 10.925 9.780 9.148 8.746 8.466 8.260 8.102 7.976 7.874
7 12.246 9.547 8.451 7.847 7.460 7.191 6.993 6.840 6.719 6.620
8 11.259 8.649 7.591 7.006 6.632 6.371 6.178 6.029 5.911 5.814
9 10.561 8.022 6.992 6.422 6.057 5.802 5.613 5.467 5.351 5.257
10 10.044 7.559 6.552 5.994 5.636 5.386 5.200 5.057 4.942 4.849
11 9.646 7.206 6.217 5.668 5.316 5.069 4.886 4.744 4.632 4.539
12 9.330 6.927 5.953 5.412 5.064 4.821 4.640 4.499 4.388 4.296
13 9.074 6.701 5.739 5.205 4.862 4.620 4.441 4.302 4.191 4.100
14 8.862 6.515 5.564 5.035 4.695 4.456 4.278 4.140 4.030 3.939
15 8.683 6.359 5.417 4.893 4.556 4.318 4.142 4.004 3.895 3.805
16 8.531 6.226 5.292 4.773 4.437 4.202 4.026 3.890 3.780 3.691
17 8.400 6.112 5.185 4.669 4.336 4.102 3.927 3.791 3.682 3.593
18 8.285 6.013 5.092 4.579 4.248 4.015 3.841 3.705 3.597 3.508
19 8.185 5.926 5.010 4.500 4.171 3.939 3.765 3.631 3.523 3.434
20 8.096 5.849 4.938 4.431 4.103 3.871 3.699 3.564 3.457 3.368
21 8.017 5.780 4.874 4.369 4.042 3.812 3.640 3.506 3.398 3.310
22 7.945 5.719 4.817 4.313 3.988 3.758 3.587 3.453 3.346 3.258
23 7.881 5.664 4.765 4.264 3.939 3.710 3.539 3.406 3.299 3.211
24 7.823 5.614 4.718 4.218 3.895 3.667 3.496 3.363 3.256 3.168
25 7.770 5.568 4.675 4.177 3.855 3.627 3.457 3.324 3.217 3.129
26 7.721 5.526 4.637 4.140 3.818 3.591 3.421 3.288 3.182 3.094
27 7.677 5.488 4.601 4.106 3.785 3.558 3.388 3.256 3.149 3.062
28 7.636 5.453 4.568 4.074 3.754 3.528 3.358 3.226 3.120 3.032
29 7.598 5.420 4.538 4.045 3.725 3.499 3.330 3.198 3.092 3.005
30 7.562 5.390 4.510 4.018 3.699 3.473 3.304 3.173 3.067 2.979
AreA in the right tAil oF Distribution = 0.01
D1
D2 11 12 13 14 15 16 17 18 19 20
1 6083.3 6106.3 6125.9 6142.7 6157.3 6170.1 6181.4 6191.5 6200.6 6208.7
2 99.408 99.416 99.422 99.428 99.433 99.437 99.440 99.444 99.447 99.449
3 27.133 27.052 26.983 26.924 26.872 26.827 26.787 26.751 26.719 26.690
4 14.452 14.374 14.307 14.249 14.198 14.154 14.115 14.080 14.048 14.020
5 9.963 9.888 9.825 9.770 9.722 9.680 9.643 9.610 9.580 9.553
6 7.790 7.718 7.657 7.605 7.559 7.519 7.483 7.451 7.422 7.396
7 6.538 6.469 6.410 6.359 6.314 6.275 6.240 6.209 6.181 6.155
8 5.734 5.667 5.609 5.559 5.515 5.477 5.442 5.412 5.384 5.359
9 5.178 5.111 5.055 5.005 4.962 4.924 4.890 4.860 4.833 4.808
10 4.772 4.706 4.650 4.601 4.558 4.520 4.487 4.457 4.430 4.405
11 4.462 4.397 4.342 4.293 4.251 4.213 4.180 4.150 4.123 4.099
Table 6 | F-distribution (Continued)
(continued)
A P P E N D I X A | Table 6 855 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.01
D1
D2 11 12 13 14 15 16 17 18 19 20
12 4.220 4.155 4.100 4.052 4.010 3.972 3.939 3.909 3.883 3.858
13 4.025 3.960 3.905 3.857 3.815 3.778 3.745 3.716 3.689 3.665
14 3.864 3.800 3.745 3.698 3.656 3.619 3.586 3.556 3.529 3.505
15 3.730 3.666 3.612 3.564 3.522 3.485 3.452 3.423 3.396 3.372
16 3.616 3.553 3.498 3.451 3.409 3.372 3.339 3.310 3.283 3.259
17 3.519 3.455 3.401 3.353 3.312 3.275 3.242 3.212 3.186 3.162
18 3.434 3.371 3.316 3.269 3.227 3.190 3.158 3.128 3.101 3.077
19 3.360 3.297 3.242 3.195 3.153 3.116 3.084 3.054 3.027 3.003
20 3.294 3.231 3.177 3.130 3.088 3.051 3.018 2.989 2.962 2.938
21 3.236 3.173 3.119 3.072 3.030 2.993 2.960 2.931 2.904 2.880
22 3.184 3.121 3.067 3.019 2.978 2.941 2.908 2.879 2.852 2.827
23 3.137 3.074 3.020 2.973 2.931 2.894 2.861 2.832 2.805 2.781
24 3.094 3.032 2.977 2.930 2.889 2.852 2.819 2.789 2.762 2.738
25 3.056 2.993 2.939 2.892 2.850 2.813 2.780 2.751 2.724 2.699
26 3.021 2.958 2.904 2.857 2.815 2.778 2.745 2.715 2.688 2.664
27 2.988 2.926 2.871 2.824 2.783 2.746 2.713 2.683 2.656 2.632
28 2.959 2.896 2.842 2.795 2.753 2.716 2.683 2.653 2.626 2.602
29 2.931 2.868 2.814 2.767 2.726 2.689 2.656 2.626 2.599 2.574
30 2.906 2.843 2.789 2.742 2.700 2.663 2.630 2.600 2.573 2.549
AreA in the right tAil oF Distribution = 0.01
D1
D2 21 22 23 24 25 26 27 28 29 30
1 6216.1 6222.8 6229.0 6234.6 6239.8 6244.6 6249.1 6253.2 6257.1 6260.6
2 99.452 99.454 99.456 99.458 99.459 99.461 99.462 99.463 99.465 99.466
3 26.664 26.640 26.618 26.598 26.579 26.562 26.546 26.531 26.517 26.505
4 13.994 13.970 13.949 13.929 13.911 13.894 13.878 13.864 13.850 13.838
5 9.528 9.506 9.485 9.466 9.449 9.433 9.418 9.404 9.391 9.379
6 7.372 7.351 7.331 7.313 7.296 7.280 7.266 7.253 7.240 7.229
7 6.132 6.111 6.092 6.074 6.058 6.043 6.029 6.016 6.003 5.992
8 5.336 5.316 5.297 5.279 5.263 5.248 5.234 5.221 5.209 5.198
9 4.786 4.765 4.746 4.729 4.713 4.698 4.685 4.672 4.660 4.649
10 4.383 4.363 4.344 4.327 4.311 4.296 4.283 4.270 4.258 4.247
11 4.077 4.057 4.038 4.021 4.005 3.990 3.977 3.964 3.952 3.941
12 3.836 3.816 3.798 3.780 3.765 3.750 3.736 3.724 3.712 3.701
13 3.643 3.622 3.604 3.587 3.571 3.556 3.543 3.530 3.518 3.507
14 3.483 3.463 3.444 3.427 3.412 3.397 3.383 3.371 3.359 3.348
15 3.350 3.330 3.311 3.294 3.278 3.264 3.250 3.237 3.225 3.214
16 3.237 3.216 3.198 3.181 3.165 3.150 3.137 3.124 3.112 3.101
17 3.139 3.119 3.101 3.084 3.068 3.053 3.039 3.026 3.014 3.003
18 3.055 3.035 3.016 2.999 2.983 2.968 2.955 2.942 2.930 2.919
19 2.981 2.961 2.942 2.925 2.909 2.894 2.880 2.868 2.855 2.844
20 2.916 2.895 2.877 2.859 2.843 2.829 2.815 2.802 2.790 2.778
21 2.857 2.837 2.818 2.801 2.785 2.770 2.756 2.743 2.731 2.720
22 2.805 2.785 2.766 2.749 2.733 2.718 2.704 2.691 2.679 2.667
Table 6 | F-distribution (Continued)
856 A P P E N D I X A | Table 6 www.freebookslides.com
AreA in the right tAil oF Distribution = 0.01
D1
D2 21 22 23 24 25 26 27 28 29 30
23 2.758 2.738 2.719 2.702 2.686 2.671 2.657 2.644 2.632 2.620
24 2.716 2.695 2.676 2.659 2.643 2.628 2.614 2.601 2.589 2.577
25 2.677 2.657 2.638 2.620 2.604 2.589 2.575 2.562 2.550 2.538
26 2.642 2.621 2.602 2.585 2.569 2.554 2.540 2.526 2.514 2.503
27 2.609 2.589 2.570 2.552 2.536 2.521 2.507 2.494 2.481 2.470
28 2.579 2.559 2.540 2.522 2.506 2.491 2.477 2.464 2.451 2.440
29 2.552 2.531 2.512 2.495 2.478 2.463 2.449 2.436 2.423 2.412
30 2.526 2.506 2.487 2.469 2.453 2.437 2.423 2.410 2.398 2.386
Table 6 | F-distribution (Continued)
A P P E N D I X A | Table 6 857 www.freebookslides.com
858 A P P E N D I X A | Table 7
Table 7 | Critical Values of the Studentized Range, Q 0.05 level
D1
D2 2 3 4 5 6 7 8 9 10
1 17.97 26.98 38.32 37.08 40.41 43.12 45.40 47.36 49.07
2 6.09 8.33 9.80 10.88 11.74 12.44 13.03 13.54 13.99
3 4.50 5.91 6.82 7.50 8.04 8.48 8.85 9.18 9.46
4 3.93 5.04 5.76 6.29 6.71 7.05 7.35 7.60 7.83
5 3.64 4.60 5.22 5.67 6.03 6.33 6.58 6.80 6.99
6 3.46 4.34 4.90 5.30 5.63 5.90 6.12 6.32 6.49
7 3.34 4.16 4.68 5.06 5.36 5.61 5.82 6.00 6.16
8 3.26 4.04 4.53 4.89 5.17 5.40 5.60 5.77 5.92
9 3.20 3.95 4.41 4.76 5.02 5.24 5.43 5.59 5.74
10 3.15 3.88 4.33 4.65 4.91 5.12 5.30 5.46 5.60
11 3.11 3.82 4.26 4.57 4.82 5.03 5.20 5.35 5.49
12 3.08 3.77 4.20 4.51 4.75 4.95 5.12 5.27 5.39
13 3.06 3.73 4.15 4.45 4.69 4.88 5.05 5.19 5.32
14 3.03 3.70 4.11 4.41 4.64 4.83 4.99 5.13 5.25
15 3.01 3.67 4.08 4.37 4.59 4.78 4.94 5.08 5.20
16 3.00 3.65 4.05 4.33 4.56 4.74 4.90 5.03 5.15
17 2.98 3.63 4.02 4.30 4.52 4.70 4.86 4.99 5.11
18 2.97 3.61 4.00 4.28 4.49 4.67 4.82 4.96 5.07
19 2.96 3.59 3.98 4.25 4.47 4.65 4.79 4.92 5.04
20 2.95 3.58 3.96 4.23 4.44 4.62 4.77 4.90 5.01
24 2.92 3.53 3.90 4.17 4.37 4.54 4.68 4.81 4.92
30 2.89 3.49 3.85 4.10 4.30 4.46 4.60 4.72 4.82
40 2.86 3.44 3.79 4.04 4.23 4.36 4.52 4.63 4.73
60 2.83 3.40 3.74 3.98 4.16 4.31 4.44 4.55 4.65
120 2.80 3.36 3.68 3.92 4.10 4.24 4.36 4.47 4.56
H 2.77 3.31 3.63 3.86 4.03 4.17 4.29 4.39 4.47
0.05 level
D1
D2 11 12 13 14 15 16 17 18 19 20
1 50.59 51.96 53.20 54.33 55.36 56.32 57.22 58.04 58.83 59.56
2 14.39 14.75 15.08 15.38 15.65 15.91 16.14 16.37 16.57 16.77
3 9.72 9.95 10.15 10.35 10.52 10.69 10.84 10.98 11.11 11.24
4 8.03 8.21 8.37 8.52 8.66 8.79 8.91 9.03 9.13 9.23
5 7.17 7.32 7.47 7.60 7.72 7.83 7.93 8.03 8.12 8.21
6 6.65 6.79 6.92 7.03 7.14 7.24 7.34 7.43 7.51 7.59
7 6.30 6.43 6.55 6.66 6.76 6.85 6.94 7.02 7.10 7.17
8 6.05 6.18 6.29 6.39 6.48 6.57 6.65 6.73 6.80 6.87
9 5.87 5.98 6.09 6.19 6.28 6.36 6.44 6.51 6.58 6.64
10 5.72 5.83 5.93 6.03 6.11 6.19 6.27 6.34 6.40 6.47
11 5.61 5.71 5.81 5.90 5.98 6.06 6.13 6.20 6.27 6.33
12 5.51 5.61 5.71 5.80 5.88 5.95 6.02 6.09 6.15 6.21
13 5.43 5.53 5.63 5.71 5.79 5.86 5.93 5.99 6.05 6.11
14 5.36 5.46 5.55 5.64 5.71 5.79 5.85 5.91 5.97 6.03
15 5.31 5.40 5.49 5.57 5.65 5.72 5.78 5.85 5.90 5.96
www.freebookslides.com
A P P E N D I X A | Table 7 859
0.05 level
D1
D2 11 12 13 14 15 16 17 18 19 20
16 5.26 5.35 5.44 5.52 5.59 5.66 5.73 5.79 5.84 5.90
17 5.21 5.31 5.39 5.47 5.54 5.61 5.67 5.73 5.79 5.84
18 5.17 5.27 5.35 5.43 5.50 5.57 5.63 5.69 5.74 5.79
19 5.14 5.23 5.31 5.39 5.46 5.53 5.59 5.65 5.70 5.75
20 5.11 5.20 5.28 5.36 5.43 5.49 5.55 5.61 5.66 5.71
24 5.01 5.10 5.18 5.25 5.32 5.38 5.44 5.49 5.55 5.59
30 4.92 5.00 5.08 5.15 5.21 5.27 5.33 5.38 5.43 5.47
40 4.82 4.90 4.98 5.04 5.11 5.16 5.22 5.27 5.31 5.36
60 4.73 4.81 4.88 4.94 5.00 5.06 5.11 5.15 5.20 5.24
120 4.64 4.71 4.78 4.84 4.90 4.95 5.00 5.04 5.09 5.13
H 4.55 4.62 4.68 4.74 4.80 4.85 4.89 4.93 4.97 5.01
0.01 level
D1
D2 2 3 4 5 6 7 8 9 10
1 90.03 135.0 164.3 185.6 202.2 215.8 227.2 237.0 245.6
2 14.04 19.02 22.29 24.72 26.63 28.20 29.53 30.68 31.69
3 8.26 10.62 12.17 13.33 14.24 15.00 15.64 16.20 16.69
4 6.51 8.12 9.17 9.96 10.58 11.10 11.55 11.93 12.27
5 5.70 6.98 7.80 8.42 8.91 9.32 9.67 9.97 10.24
6 5.24 6.33 7.03 7.56 7.97 8.32 8.61 8.87 9.10
7 4.95 5.92 6.54 7.01 7.37 7.68 7.94 8.17 8.37
8 4.75 5.64 6.20 6.62 6.96 7.24 7.47 7.68 7.86
9 4.60 5.43 5.96 6.35 6.66 6.91 7.13 7.33 7.49
10 4.48 5.27 5.77 6.14 6.43 6.67 6.87 7.05 7.21
11 4.39 5.15 5.62 5.97 6.25 6.48 6.67 6.84 6.99
12 4.32 5.05 5.50 5.84 6.10 6.32 6.51 6.67 6.81
13 4.26 4.96 5.40 5.73 5.98 6.19 6.37 6.53 6.67
14 4.21 4.89 5.32 5.63 5.88 6.08 6.26 6.41 6.54
15 4.17 4.84 5.25 5.56 5.80 5.99 6.16 6.31 6.44
16 4.13 4.79 5.19 5.49 5.72 5.92 6.08 6.22 6.35
17 4.10 4.74 5.14 5.43 5.66 5.85 6.01 6.15 6.27
18 4.07 4.70 5.09 5.38 5.60 5.79 5.94 6.08 6.20
19 4.05 4.67 5.05 5.33 5.55 5.73 5.89 6.02 6.14
20 4.02 4.64 5.02 5.29 5.51 5.69 5.84 5.97 6.09
24 3.96 4.55 4.91 5.17 5.37 5.54 5.69 5.81 5.92
30 3.89 4.45 4.80 5.05 5.24 5.40 5.54 5.65 5.76
40 3.82 4.37 4.70 4.93 5.11 5.26 5.39 5.50 5.60
60 3.76 4.28 4.59 4.82 4.99 5.13 5.25 5.36 5.45
120 3.70 4.20 4.50 4.71 4.87 5.01 5.12 5.21 5.30
H 3.64 4.12 4.40 4.60 4.76 4.88 4.99 5.08 5.16
Table 7 | Critical Values of the Studentized Range, Q (Continued)
(continued)
www.freebookslides.com
0.01 level
D1
D2 11 12 13 14 15 16 17 18 19 20
1 253.2 260.0 266.2 271.8 277.0 281.8 286.3 290.4 294.3 298.0
2 32.59 33.40 34.13 34.81 35.43 36.00 36.53 37.03 37.50 37.95
3 17.13 17.53 17.89 18.22 18.52 18.81 19.07 19.32 19.55 19.77
4 12.57 12.84 13.09 13.32 13.53 13.73 13.91 14.08 14.24 14.40
5 10.48 10.70 10.89 11.08 11.24 11.40 11.55 11.68 11.81 11.93
6 9.30 9.48 9.65 9.81 9.95 10.08 10.21 10.32 10.43 10.54
7 8.55 8.71 8.86 9.00 9.12 9.24 9.35 9.46 9.55 9.65
8 8.03 8.18 8.31 8.44 8.55 8.66 8.76 8.85 8.94 9.03
9 7.65 7.78 7.91 8.03 8.13 8.23 8.33 8.41 8.49 8.57
10 7.36 7.49 7.60 7.71 7.81 7.91 7.99 8.08 8.15 8.23
11 7.13 7.25 7.36 7.46 7.56 7.65 7.73 7.81 7.88 7.95
12 6.94 7.06 7.17 7.26 7.36 7.44 7.52 7.59 7.66 7.73
13 6.79 6.90 7.01 7.10 7.19 7.27 7.35 7.42 7.48 7.55
14 6.66 6.77 6.87 6.96 7.05 7.13 7.20 7.27 7.33 7.39
15 6.55 6.66 6.76 6.84 6.93 7.00 7.07 7.14 7.20 7.26
16 6.46 6.56 6.66 6.74 6.82 6.90 6.97 7.03 7.09 7.15
17 6.38 6.48 6.57 6.66 6.73 6.81 6.87 6.94 7.00 7.05
18 6.31 6.41 6.50 6.58 6.65 6.73 6.79 6.85 6.91 6.97
19 6.25 6.34 6.43 6.51 6.58 6.65 6.72 6.78 6.84 6.89
20 6.19 6.28 6.37 6.45 6.52 6.59 6.65 6.71 6.77 6.82
24 6.02 6.11 6.19 6.26 6.33 6.39 6.45 6.51 6.56 6.61
30 5.85 5.93 6.01 6.08 6.14 6.20 6.26 6.31 6.36 6.41
40 5.69 5.76 5.83 5.90 5.96 6.02 6.07 6.12 6.16 6.21
60 5.53 5.60 5.67 5.73 5.78 5.84 5.89 5.93 5.97 6.01
120 5.37 5.44 5.50 5.56 5.61 5.66 5.71 5.75 5.79 5.83
H 5.23 5.28 5.35 5.40 5.45 5.49 5.54 5.57 5.61 5.65 Source: H. L. Harter and D. S. Clemm, “The Probability Integrals of the Range and of the Studentized Range—Probability Integral, Percentage Points, and Moments of the Range,” Wright Air Development Technical Report 58-484, Vol. I, 1959.
Table 7 | Critical Values of the Studentized Range, Q (Continued)
860 A P P E N D I X A | Table 7 www.freebookslides.com
A P P E N D I X A | Table 8 861
Table 8 | Chi–Square Distribution
2x a
Area in Table
AreA in right tAil oF Distribution
df 0.995 0.99 0.975 0.95 0.90 0.10 0.05 0.025 0.01 0.005
1 — — 0.001 0.004 0.016 2.706 3.841 5.024 6.635 7.879
2 0.010 0.020 0.051 0.103 0.211 4.605 5.991 7.378 9.210 10.597
3 0.072 0.115 0.216 0.352 0.584 6.251 7.815 9.348 11.345 12.838
4 0.207 0.297 0.484 0.711 1.064 7.779 9.488 11.143 13.277 14.860
5 0.412 0.554 0.831 1.145 1.610 9.236 11.070 12.833 15.086 16.750
6 0.676 0.872 1.237 1.635 2.204 10.645 12.592 14.449 16.812 18.548
7 0.989 1.239 1.690 2.167 2.833 12.017 14.067 16.013 18.475 20.278
8 1.344 1.646 2.180 2.733 3.490 13.362 15.507 17.535 20.090 21.955
9 1.735 2.088 2.700 3.325 4.168 14.684 16.919 19.023 21.666 23.589
10 2.156 2.558 3.247 3.940 4.865 15.987 18.307 20.483 23.209 25.188
11 2.603 3.053 3.816 4.575 5.578 17.275 19.675 21.920 24.725 26.757
12 3.074 3.571 4.404 5.226 6.304 18.549 21.026 23.337 26.217 28.300
13 3.565 4.107 5.009 5.892 7.042 19.812 22.362 24.736 27.688 29.819
14 4.075 4.660 5.629 6.571 7.790 21.064 23.685 26.119 29.141 31.319
15 4.601 5.229 6.262 7.261 8.547 22.307 24.996 27.488 30.578 32.801
16 5.142 5.812 6.908 7.962 9.312 23.542 26.296 28.845 32.000 34.267
17 5.697 6.408 7.564 8.672 10.085 24.769 27.587 30.191 33.409 35.718
18 6.265 7.015 8.231 9.390 10.865 25.989 28.869 31.526 34.805 37.156
19 6.844 7.633 8.907 10.117 11.651 27.204 30.144 32.852 36.191 38.582
20 7.434 8.260 9.591 10.851 12.443 28.412 31.410 34.170 37.566 39.997
21 8.034 8.897 10.283 11.591 13.240 29.615 32.671 35.479 38.932 41.401
22 8.643 9.542 10.982 12.338 14.041 30.813 33.924 36.781 40.289 42.796
23 9.260 10.196 11.689 13.091 14.848 32.007 35.172 38.076 41.638 44.181
24 9.886 10.856 12.401 13.848 15.659 33.196 36.415 39.364 42.980 45.559
25 10.520 11.524 13.120 14.611 16.473 34.382 37.652 40.646 44.314 46.928
26 11.160 12.198 13.844 15.379 17.292 35.563 38.885 41.923 45.642 48.290
27 11.808 12.879 14.573 16.151 18.114 36.741 40.113 43.195 46.963 49.645
28 12.461 13.565 15.308 16.928 18.939 37.916 41.337 44.461 48.278 50.993
29 13.121 14.256 16.047 17.708 19.768 39.087 42.557 45.722 49.588 52.336
30 13.787 14.953 16.791 18.493 20.599 40.256 43.773 46.979 50.892 53.672
www.freebookslides.com
862 A P P E N D I X A | Table 9
Table 9 | Critical Values for the Durbin-Watson Statistic A=0.05
k=1 k=2 k=3 k=4 k=5
n dL dU dL dU dL dU dL dU dL dU
15 1.08 1.36 0.95 1.54 0.82 1.75 .69 1.97 .56 2.21
16 1.10 1.37 0.98 1.54 0.86 1.73 .74 1.93 .62 2.15
17 1.13 1.38 1.02 1.54 0.90 1.71 .78 1.90 .67 2.10
18 1.16 1.39 1.05 1.53 0.93 1.69 .82 1.87 .71 2.06
19 1.18 1.40 1.08 1.53 0.97 1.68 .86 1.85 .75 2.02
20 1.20 1.41 1.10 1.54 1.00 1.68 .90 1.83 .79 1.99
21 1.22 1.42 1.13 1.54 1.03 1.67 .93 1.81 .83 1.96
22 1.24 1.43 1.15 1.54 1.05 1.66 .96 1.80 .86 1.94
23 1.26 1.44 1.17 1.54 1.08 1.66 .99 1.79 .90 1.92
24 1.27 1.45 1.19 1.55 1.10 1.66 1.01 1.78 .93 1.90
25 1.29 1.45 1.21 1.55 1.12 1.66 1.04 1.77 .95 1.89
26 1.30 1.46 1.22 1.55 1.14 1.65 1.06 1.76 .98 1.88
27 1.32 1.47 1.24 1.56 1.16 1.65 1.08 1.76 1.01 1.86
28 1.33 1.48 1.26 1.56 1.18 1.65 1.10 1.75 1.03 1.85
29 1.34 1.48 1.27 1.56 1.20 1.65 1.12 1.74 1.05 1.84
30 1.35 1.49 1.28 1.57 1.21 1.65 1.14 1.74 1.07 1.83
31 1.36 1.50 1.30 1.57 1.23 1.65 1.16 1.74 1.09 1.83
32 1.37 1.50 1.31 1.57 1.24 1.65 1.18 1.73 1.11 1.82
33 1.38 1.51 1.32 1.58 1.26 1.65 1.19 1.73 1.13 1.81
34 1.39 1.51 1.33 1.58 1.27 1.65 1.21 1.73 1.15 1.81
35 1.40 1.52 1.34 1.58 1.28 1.65 1.22 1.73 1.16 1.80
36 1.41 1.52 1.35 1.59 1.29 1.65 1.24 1.73 1.18 1.80
37 1.42 1.53 1.36 1.59 1.31 1.66 1.25 1.72 1.19 1.80
38 1.43 1.54 1.37 1.59 1.32 1.66 1.26 1.72 1.21 1.79
39 1.43 1.54 1.38 1.60 1.33 1.66 1.27 1.72 1.22 1.79
40 1.44 1.54 1.39 1.60 1.34 1.66 1.29 1.72 1.23 1.79
45 1.48 1.57 1.43 1.62 1.38 1.67 1.34 1.72 1.29 1.78
50 1.50 1.59 1.46 1.63 1.42 1.67 1.38 1.72 1.34 1.77
55 1.53 1.60 1.49 1.64 1.45 1.68 1.41 1.72 1.38 1.77
60 1.55 1.62 1.51 1.65 1.48 1.69 1.44 1.73 1.41 1.77
65 1.57 1.63 1.54 1.66 1.50 1.70 1.47 1.73 1.44 1.77
70 1.58 1.64 1.55 1.67 1.52 1.70 1.49 1.74 1.46 1.77
75 1.60 1.65 1.57 1.68 1.54 1.71 1.51 1.74 1.49 1.77
80 1.61 1.66 1.59 1.69 1.56 1.72 1.53 1.74 1.51 1.77
85 1.62 1.67 1.60 1.70 1.57 1.72 1.55 1.75 1.52 1.77
90 1.63 1.68 1.61 1.70 1.59 1.73 1.57 1.75 1.54 1.78
95 1.64 1.69 1.62 1.71 1.60 1.73 1.58 1.75 1.56 1.78
100 1.65 1.69 1.63 1.72 1.61 1.74 1.59 1.76 1.57 1.78
www.freebookslides.com
A P P E N D I X A | Table 9 863
A=0.01
k=1 k=2 k=3 k=4 k=5
n dL dU dL dU dL dU dL dU dL dU
15 .81 1.07 .70 1.25 .59 1.46 .49 1.70 .39 1.96
16 .84 1.09 .74 1.25 .63 1.44 .53 1.66 .44 1.90
17 .87 1.10 .77 1.25 .67 1.43 .57 1.63 .48 1.85
18 .90 1.12 .80 1.26 .71 1.42 .61 1.60 .52 1.80
19 .93 1.13 .83 1.26 .74 1.41 .65 1.58 .56 1.77
20 .95 1.15 .86 1.27 .77 1.41 .68 1.57 .60 1.74
21 .97 1.16 .89 1.27 .80 1.41 .72 1.55 .63 1.71
22 1.00 1.17 .91 1.28 .83 1.40 .75 1.54 .66 1.69
23 1.02 1.19 .94 1.29 .86 1.40 .77 1.53 .70 1.67
24 1.04 1.20 .96 1.30 .88 1.41 .80 1.53 .72 1.66
25 1.05 1.21 .98 1.30 .90 1.41 .83 1.52 .75 1.65
26 1.07 1.22 1.00 1.31 .93 1.41 .85 1.52 .78 1.64
27 1.09 1.23 1.02 1.32 .95 1.41 .88 1.51 .81 1.63
28 1.10 1.24 1.04 1.32 .97 1.41 .90 1.51 .83 1.62
29 1.12 1.25 1.05 1.33 .99 1.42 .92 1.51 .85 1.61
30 1.13 1.26 1.07 1.34 1.01 1.42 .94 1.51 .88 1.61
31 1.15 1.27 1.08 1.34 1.02 1.42 .96 1.51 .90 1.60
32 1.16 1.28 1.10 1.35 1.04 1.43 .98 1.51 .92 1.60
33 1.17 1.29 1.11 1.36 1.05 1.43 1.00 1.51 .94 1.59
34 1.18 1.30 1.13 1.36 1.07 1.43 1.01 1.51 .95 1.59
35 1.19 1.31 1.14 1.37 1.08 1.44 1.03 1.51 .97 1.59
36 1.21 1.32 1.15 1.38 1.10 1.44 1.04 1.51 .99 1.59
37 1.22 1.32 1.16 1.38 1.11 1.45 1.06 1.51 1.00 1.59
38 1.23 1.33 1.18 1.39 1.12 1.45 1.07 1.52 1.02 1.58
39 1.24 1.34 1.19 1.39 1.14 1.45 1.09 1.52 1.03 1.58
40 1.25 1.34 1.20 1.40 1.15 1.46 1.10 1.52 1.05 1.58
45 1.29 1.38 1.24 1.42 1.20 1.48 1.16 1.53 1.11 1.58
50 1.32 1.40 1.28 1.45 1.24 1.49 1.20 1.54 1.16 1.59
55 1.36 1.43 1.32 1.47 1.28 1.51 1.25 1.55 1.21 1.59
60 1.38 1.45 1.35 1.48 1.32 1.52 1.28 1.56 1.25 1.60
65 1.41 1.47 1.38 1.50 1.35 1.53 1.31 1.57 1.28 1.61
70 1.43 1.49 1.40 1.52 1.37 1.55 1.34 1.58 1.31 1.61
75 1.45 1.50 1.42 1.53 1.39 1.56 1.37 1.59 1.34 1.62
80 1.47 1.52 1.44 1.54 1.42 1.57 1.39 1.60 1.36 1.62
85 1.48 1.53 1.46 1.55 1.43 1.58 1.41 1.60 1.39 1.63
90 1.50 1.54 1.47 1.56 1.45 1.59 1.43 1.61 1.41 1.64
95 1.51 1.55 1.49 1.57 1.47 1.60 1.45 1.62 1.42 1.64
100 1.52 1.56 1.50 1.58 1.48 1.60 1.46 1.63 1.44 1.65
Source: Computed from TSP 4.5 based on R. W. Farebrother, “A Remark on Algorithms AS106, AS153, and AS155: The Distribution of a Linear Combination of Chi-Square Random Variables,” Journal of the Royal Statistical Society, Series C (Applied Statistics), 1984, 29, pp. 323–333.
Table 9 | Critical Values for the Durbin-Watson Statistic (Continued)
www.freebookslides.com
A P P E N D I X B | Chapter 2 865
APPENDIX B
Answers to Selected Even-Numbered Problems
Chapter 1 1.2 Quantitative/ratio. The differences between average monthly rainfalls are
meaningful, and there is a true zero point, because there may be a month without any rainfalls.
1.4 Qualitative/nominal. The marital status is just a label without a meaningful difference or ranking.
1.6 Qualitative/nominal. The genders are merely labels with no ranking or meaningful difference)
1.8 Qualitative/nominal. The political affiliations are merely labels with no ranking or meaningful difference)
1.10 Qualitative/ordinal. You can rank the performance rating, but the differences between different performance ratings cannot be measured.
1.12 Qualitative/ordinal. The differences in the data values between class ranks are not meaningful.
1.14 Qualitative/nominal. The state in which the respondents in a survey reside is a label, and it is meaningless to talk about the rating of this value)
1.16 Qualitative/ordinal. You can rank movie ratings, but the differences between the ratings cannot be measured.
1.18 Qualitative/ordinal. The differences in the data values between ratings are not meaningful.
1.20 Time series: closing prices at specific days of the year.
1.22 cross-sectional data: men and women workers’ weekly earnings.
1.24 Time series: the number of 8 * 10 prints sold over the four years. Time series: the number of 11 * 14 prints sold over the four years. Time series: the number of 13 * 19 prints sold over the four years. 1.26 inferential statistics, because the statement comparing the average costs of
a hotel room in two cities is based on results from samples taken from two populations.
1.28 descriptive statistics, because the average rating is based on the sample of reviewers who completed the review of the book.
1.30 descriptive statistics, because this percentage represents the proportion of a specific group of customers arriving before 6 PM and is not making an inference about the entire population of customers.
Chapter 2 2.2 26 = 64 7 50; therefore, use six classes.
Estimated class width = 74 - 16
6 = 9.7 ≈ 10
a. 16–25, 26–35, 36–45, 46–55, 56–65, 66–75
b. 16 to under 26, 26 to under 36, 36 to under 46, 46 to under 56, 56 to under 66, 66 to under 76
2.4 25 = 32 7 30; therefore, use five classes.
Estimated class width = 42.8 - 13.9
5 = 5.8 ≈ 6
Class FrequenCy relative
FrequenCy
Cumulative relative
FrequenCy
13 to less than 19 6 0.200 0.200
19 to less than 25 11 0.367 0.567
25 to less than 31 4 0.133 0.700
31 to less than 37 7 0.233 0.933
37 to less than 43 2 0.067 1.0
Total 30 1.00
2.6 25 = 32 7 25; therefore, use five classes.
Estimated class width = 46 - 18
5 = 5.6 ≈ 6
a., b., c.
Class FrequenCy relative
FrequenCy Cumulative
relative FrequenCy
18–23 2 0.08 0.08
24–29 6 0.24 0.32
30–35 5 0.20 0.52
36–41 5 0.20 0.72
42–47 7 0.28 1.00
Total 25 1.00
d. The following histogram was constructed using bins 23, 29, 35, 41, and 47.
0 18–23 24–29 30–35
Class size
Histogram
36–41 42–47
2 1
3 4 5 6
F re
q u
en cy
7 8
2.8 26 = 64 7 40; therefore, use six classes.
Estimated class width 1current2 = 76 - 19 6
= 9.5 ≈ 10
Results would be similar using the ages of laid-off employees.
Class Bins midpoint
19 to less than 29 28.9 24
29 to less than 39 38.9 34
39 to less than 49 48.9 44
49 to less than 59 58.9 54
59 to less than 69 68.9 64
69 to less than 79 78.9 74
An extra bin (18.9) was added to Excel to provide the open-ended class required by PHStat.
www.freebookslides.com
866 A P P E N D I X B | Answers to Selected Even-Numbered Problems
a.
b.
c. According to these polygons, it appears that the current workforce is younger than the laid-off employees. It appears that the laid-off employees may have a case for age discrimination.
2.10 27 = 128 7 125; therefore, use seven classes.
Estimated class width = 83.2 - 71.0
7 = 1.7 ≈ 2
a., b., c.
Class FrequenCy relative
FrequenCy
Cumulative relative
FrequenCy
71 to less than 73 5 0.040 0.040
73 to less than 75 37 0.296 0.336
75 to less than 77 44 0.352 0.688
77 to less than 79 31 0.248 0.936
79 to less than 81 6 0.048 0.984
81 to less than 83 1 0.008 0.992
83 to less than 85 1 0.008 1.000
Total 125 1.000
d. The following histogram was constructed using bins 72.99, 74.99, 76.99, 78.99, 80.99, 82.99, and 84.99.
71 to
le ss
th an
7 3
0
5
10
15
20
25
30
35
40
45
50
73 to
le ss
th an
7 5
77 to
le ss
th an
7 9
75 to
le ss
th an
7 7
Ocean Temperature
Histogram
F re
q u
en cy
79 to
le ss
th an
8 1
83 to
le ss
th an
8 5
81 to
le ss
th an
8 3
e. For 68.8% of the days, ocean temps were lower than 77 degrees.
2.12 a., b., c.
Category FrequenCy relative
FrequenCy
Cumulative relative
FrequenCy
Excellent 16 0.267 0.267
Good 31 0.517 0.783
Fair 8 0.133 0.917
Poor 5 0.083 1.000
Total 60 1.000
d.
e. 78.3% rated their dining experience as either Excellent or Good.
18.9 0%
20%
40%
60%
80%
100%
120%
28.9 38.9
Cumulative Percentage Polygon
48.9 58.9 68.9 78.9
Laid-off Current
… 0%
10%
20%
30%
40%
50%
60%
24 34
Percentage Polygon
44 54 64 74
Laid-off Current
Dining Experience
E
0 5 10 15 20 25 30 35
G
F
P
Frequency
R at
in g
www.freebookslides.com
A P P E N D I X B | Chapter 2 867
2.14
2.16
2.18
60.90% 15.10%
13.70%
10.30%
Gasoline Price Breakdown
Crude oil Taxes Re�ning Distribution and marketing
2.20 Because we are comparing data from a sample of countries over different time periods, a clustered bar chart would be a good choice to display these data. A stacked bar chart would not be the best choice because adding the GDPs for two time periods that are 10 years apart is not very meaningful.
Business applications
Support for IT Computer security
Electronic storage
0%
20%
10%
30%
40%
50%
60% January May
Se rv
ic e t
oo sl
ow
Lo ng
w ai
t f or
ta bl
e
M ist
ak e w
ith o
rd er
Po or
fo od
q ua
lit y
Po or
at m
os ph
er e
O th
er 0%
20%
10%
30%
0.37 0.53
0.67
0.80
0.91
1.00
40%
50%
60%
70%
80%
90%
100%
Relative frequency
Cumulative relative frequency
2.22 Rating DaRby Exton MEDia total
1 0 2 3 5
2 2 3 8 13
3 6 7 7 20
4 7 3 2 12
Total 15 15 20 50
Darby received 58% (7/12) of the four-star ratings even though they were only 30% (15/50) of the surveyed customers. Darby appears to have higher customer satisfaction when compared with the other two locations.
2.24 10 0 0 2 5 8 8 9 11 0 0 1 2 3 3 4 4 5 12 0 1 1 1 2 3 3 5 6 7 7 9 13 0 0 2 2 6 7 7 7 9 14 0 0 0 2 5 6 15 0 0
2.26 a. 2 0 3 4 6 7 8 3 0 0 0 1 2 2 2 4 4 5 5 5 5 6 7 7 9 4 0 2 2 3 5
b. 2 102 0 3 4 2 152 0 6 7 8 3 102 0 0 0 1 2 2 2 4 4 3 152 0 5 5 5 5 6 7 7 9 4 102 0 2 2 3 4 152 0 5
2.28 There does not appear to be a consistent relationship between order size and time on the Web site.
www.freebookslides.com
868 A P P E N D I X B | Answers to Selected Even-Numbered Problems
2.30 26 = 64 7 40; therefore, use six classes.
Estimated class width = 23 - 0
6 = 3.8 ≈ 4
a., b., c.
Class FrequenCy relative
FrequenCy Cumulative relative
FrequenCy
0–3 8 0.200 0.200
4–7 5 0.125 0.325
8–11 15 0.375 0.700
12–15 3 0.075 0.775
16–19 6 0.150 0.925
20–23 3 0.075 1.000
Total 40 1.000
d. The following histogram was constructed using bins 3, 7, 11, 15, 19, and 23.
0 0–3 4–7 8–11
Complaints per Day
Histogram
12–15 16–19
5
15
10
F re
q u
en cy
20
20–23
2.32 26 = 64 7 48; therefore, use six classes.
Estimated class width = 1,187 - 43
6 = 190.7 ≈ 200
a., b., c.
Class FrequenCy relative
FrequenCy
Cumulative relative
FrequenCy
0 to under 200 15 0.313 0.313
200 to under 400 13 0.271 0.584
400 to under 600 11 0.229 0.813
600 to under 800 4 0.083 0.896
800 to under 1,000 4 0.083 0.979
1,000 to under 1,200 1 0.021 1.000
Total 48 1.000
d. The following histogram was constructed using bins 199.9, 399.9, 599.9, 799.9, 999.9, and 1,199.9.
0 to
u nd
er 2
00
20 0
to u
nd er
4 00
40 0
to u
nd er
6 00
60 0
to u
nd er
8 00
80 0
to u
nd er
1 ,0
00
1, 00
0 to
u nd
er 1
,2 00
2
0
4
6
8
10
12
14
16
Cell Phone Minutes
Histogram
F re
q u
en cy
2.34 25 = 32 7 30; therefore, use five classes.
Estimated class width 1day2 = 100 - 66 5
= 6.8 ≈ 7
Results would be similar using the evening-section grades.
Class Bins midpoint
66–72 72 69
73–79 79 76
80–86 86 83
87–93 93 90
94–100 100 97
An extra bin (65) was added to Excel to provide the open-ended class required by PHStat.
a.
… 0%
10%
20%
30%
40%
50%
60%
69 76
Percentage Polygon
83
Day
90 97
Evening
www.freebookslides.com
A P P E N D I X B | Chapter 2 869
b.
65 0%
20%
40%
60%
80%
100%
120%
72 79
Cumulative Percentage Polygon
86
Day Evening
93 100
c. The evening-section grades appear to be noticeably higher than the day- section grades.
2.36 a.
$10
$0 iPhone Blackberry LG Samsung Motorola Prepaid
$20
$30
$40
$50
$60
$70
$80
$90
$100
Phone Type
R ev
en u
e p
er C
u st
om er
b.
Blackberry
iPhone
$0 $20 $40 $60 $80 $100
LG
Samsung
Prepaid
Motorola
Average Revenue per Customer
2.38 a.
H ig
h co
st of
li vi
ng
D if�
cu lty
sa vi
ng m
on ey
N um
be r o
f � na
nc ia
l d ec
isi on
s
D if�
cu lty
p ay
in g
al l t
he b
ill s
Ch al
le ng
es �
nd in
g a j
ob 0
5
10
15
20
25
30
P er
ce n
ta ge
b.
Percentage
High cost of living
0% 5% 10% 15% 20% 25% 30%
Dif�culty saving money
Number of �nancial decisions
Dif�culty paying all the bills
Challenges �nding a job
2.40
Reason FRequency Relative
FRequency
cumulative Relative
FRequency
Too long on hold 47 0.392 0.392
Not knowledgeable 22 0.183 0.575
Not courteous 18 0.150 0.725
Hard to understand 15 0.125 0.850
Too many transfers 10 0.083 0.933
Other 8 0.067 1.000
Total 120
www.freebookslides.com
870 A P P E N D I X B | Answers to Selected Even-Numbered Problems
To o
lo ng
o n
ho ld
N ot
k no
w le
dg ea
bl e
N ot
co ur
te ou
s
H ar
d to
u nd
er sta
nd
To o
m an
y tra
ns fe
rs O
th er
0%
0.575
0.725
0.850 0.933
1.000
20%
40%
60%
80%
100%
Relative Frequency Cumulative Relative Frequency
0.392
2.42
2.44
Coal Natural Gas Nuclear Hydro Other Oil
Source of Electricity
6%
4% 1%
48%
21%
20%
2.46 A clustered bar chart would be appropriate for these data. A stacked bar chart would also be an option.
2.48 A pie chart is the best choice because all categories are included and the percentages sum to 100%.
Less than $25,000 $25,001 to $100,000 $100,001 to $250,000 $250,001 to $500,000 More than $500,000 Not sure
Retirement Savings
39%
14%9%
7%
7%
24%
2.50 A bar chart is the best display for qualitative data organized in categories.
2.52 Pie charts are a good choice for displaying qualitative data when the proportions add to 100%.
2.54 26 = 64 Ú 55; therefore, use 6 classes.
Estimated Class Width = 66 - 26
6 = 6.7 ≈ 7
a., b., c.
Class FrequenCy relative
FrequenCy
Cumulative relative
FrequenCy
26–32 11 0.200 0.200
33–39 10 0.182 0.382
40–46 16 0.291 0.673
47–53 12 0.218 0.891
54–60 4 0.073 0.964
61–67 2 0.036 1.00
Total 55 1.00
www.freebookslides.com
A P P E N D I X B | Chapter 2 871
d. The following histogram was constructed using bins 32, 39, 46, 53, 60, and 67.
2.56 a., b., c.
Class FrequenCy relative
FrequenCy Cumulative relative
FrequenCy
0 2 0.033 0.033
1 1 0.017 0.050
2 13 0.217 0.267
3 16 0.267 0.534
4 11 0.183 0.717
5 10 0.167 0.884
6 4 0.067 0.951
7 3 0.050 1.001
Total 60 1.001
d. The following histogram was constructed using bins 0, 1, 2, 3, 4, 5, 6, and 7.
2.58 As the number of household members increases, the average monthly food costs also tend to increase
2.60
2.62 1 0 2 3 5 8 2 0 1 1 3 6 6 7 7 8 3 0 0 3 3 5 6 6 9 4 0 0 0 2 2 4 6 7 9 5 0 0 1 7
2.64 Brand diet regular total
Coke 6 6 12
Mt. Dew 2 8 10
Pepsi 4 7 11
Total 12 21 33
50% (6/12) of the Coke customers preferred Diet even though only 36% (12/33) of all the customers prefer Diet soda. Coke customers appear to have a higher percentage of customers who prefer diet soda than customers of other brands.
2.66 a. 1 0 8 9 9 2 0 0 0 0 2 2 3 3 5 5 5 6 8 8 8 8 9 3 0 0 1 1 1 1 2 2 3 5 5 5 6 6 9 9 4 0 1 3 3 5 6 5 0 1 b. 1 152 0 8 9 9 2 102 0 0 0 0 2 2 3 3 2 152 0 5 5 5 6 8 8 8 8 9 3 102 0 0 1 1 1 1 2 2 3 3 152 0 5 5 5 6 6 9 9 4 102 0 1 3 3 4 152 0 5 6 5 102 0 1
2.68
There does not appear to be a consistent relationship between payroll and wins during the 2010 season.
www.freebookslides.com
872 A P P E N D I X B | Answers to Selected Even-Numbered Problems
2.70 a. StatuS
airline late On time tOtal
Delta 5 38 43
Southwest 5 22 27
United 7 23 30
Total 17 83 100
b. StatuS
airline late On time tOtal
Delta 0.05 0.38 0.43
Southwest 0.05 0.22 0.27
United 0.07 0.23 0.30
Total 0.17 0.83 1.00
c. Delta has the highest on-time percentage 138>43 = 0.882 while United has the lowest 123>30 = 0.772
2.72 A line chart would be the best display for these data.
Chapter 3
3.2 a. x = a
n
i = 1 xi
n =
96
8 = 12.0
b. i = 0.51n2 = 0.5182 = 4; median = 114 + 162>2 = 15 c. Mode = 6, 17 d. Because the mean is less than the median, this distribution’s shape would
be described as left-skewed.
3.4 a. x = a
n
i = 1 xi
n =
68
6 = 11.3
b. i = 0.51n2 = 0.5162 = 3; median = 110 + 182>2 = 14 c. There is no mode.
d. Because the mean is lower than the median, this distribution’s shape would be described as left-skewed.
3.6 a.
x = a
n
i = 1 xi
n =
$7.97 + $9.57 + $8.11 + g + $11.61 + $11.32 12
= $107.45
12 = $8.95
b. i = 0.51n2 = 0.51122 = 6
$7.34 $7.35 $7.97 $7.99 $8.11 $8.18
$8.83 $9.32 $9.57 $9.86 $11.32 $11.61
Median = 1$8.18 + $8.832>2 = $8.505
c. There is no mode.
d. Because the mean is higher than the median, this distribution’s shape would be described as right-skewed.
3.8 a.
x = a
n
i = 1 xi
n =
17.7 + 4.0 + 7.0 + g + 1.3 + 8.6 14
= 189.4
14 = 13.53
b. i = 0.51n2 = 0.51142 = 7
1.3 1.4 2.1 4.0 5.8 6.3 7.0
8.4 8.6 11.2 16.2 17.7 19.6 79.8
Median = 17.0 + 8.42>2 = 7.7 c. There is no mode.
d. Because 79.8 could be considered an outlier, the median would be the measurement that best describes the central tendency of these data.
e. Because the mean is higher than the median, this distribution’s shape would be described as right-skewed.
3.10 a. 1986–1993: x = a
n
i = 1 xi
n =
229
8 = 28.6;
1994–2001: x = a
n
i = 1 xi
n =
354
8 = 44.3
b. i = 0.51n2 = 0.5182 = 4 1986–1993: median = 132 + 332>2 = 32.5 1994–2001: median = 139 + 522>2 = 45.5 c. There is no mode in either data set.
d. Because the mean is lower than the median for the first eight years, this distribution’s shape would be described as left-skewed. Because the mean is close to the median for the last eight years, this distribution’s shape would be described as symmetrical.
e. The mean for the second eight-year period is much higher than the mean of the first eight-year period. There seems to be enough evidence to doubt his claim.
3.12 a. Range = 23 - 5 = 18
b. a 8
i = 1 xi = 114, a
8
i = 1 x 2i = 1,826, s
2 = 1,826 -
111422 8
8 - 1 = 28.8
c. s = 228.8 = 5.37 3.14 a. Range = 34 - 1 - 122 = 46
b. a 6
i = 1 xi = 68, a
6
i = 1 x 2i = 2,398, s
2 = 2,398 -
16822 6
6 = 271.2
c. s = 2271.2 = 16.47 3.16 a. Range = 6 - 0 = 6
b. a 9
i = 1 xi = 22, a
9
i = 1 x 2i = 80, s
2 = 80 -
12222 9
9 - 1 = 3.3
c. s = 23.3 = 1.82 3.18 a. Range = 18 - 3 = 15
b. a 10
i = 1 xi = 104, a
10
i = 1 x 2i = 1,280, s
2 = 1,280 -
110422 10
10 - 1 = 22.0
c. s = 222.0 = 4.69
www.freebookslides.com
A P P E N D I X B | Chapter 3 873
3.20 a. Set 1: x = a
n
i = 1 xi
n =
31
5 = 6.2; Set 2: x =
a n
i = 1 xi
n =
34
5 = 6.8
Set 1: s = S207 - 1312255 - 1 = 1.92; Set 2: s = S346 - 1342255 - 1 = 5.36 Set 1: CV = 31.0%; Set 2: CV = 78.8% b. Set 2 has more variability because it has a higher coefficient of variation.
3.22 a. z = 0.83 b. z = 2.08 c. z = - 0.42 d. z = - 2.50 3.24 a. z = - 1.35 b. z = 1.99 c. z = - 2.33 d. z = 0.65 e. z = 2.65 3.26 a. CV = 12.3% b. z = - 0.38 c. x = $325,000 + 1221$40,0002 = $405,000
x = $325,000 - 1221$40,0002 = $245,000 d. x = $325,000 + 1421$40,0002 = $485,000
x = $325,000 - 1421$40,0002 = $165,000 3.28 a. CV = 8.9% b. z = - 1.29 c. x = 31.6 + 13212.82 = 40.0
x = 31.6 - 13212.82 = 23.2 d. x = 31.6 + 14212.82 = 42.8
x = 31.6 - 14212.82 = 20.4 e. z = 2.24
x = 31.6 + 12.24212.82 = 37.9 x = 31.6 - 12.24212.82 = 25.3
3.30 x ≈ 1,297.5
75 = 17.3
value mi fi x 1mi −x 2 1mi − x2 2 1mi − x 2 2 fi 5 to under 10 7.5 15 17.3 - 9.8 96.04 1,440.6
10 to under 15 12.5 9 17.3 - 4.8 23.04 207.36
15 to under 20 17.5 21 17.3 0.2 0.04 0.84
20 to under 25 22.5 24 17.3 5.2 27.04 648.96
25 to under 30 27.5 6 17.3 10.2 104.04 624.24
n = a fi = 75 a 1mi - x22 fi = 2,922 s ≈ A 2,92275 - 1 = 6.28
3.32 x ≈ 14,810
362 = $40.9
value mi fi x 1mi −x 2 1mi − x2 2 1mi − x 2 2 fi $20 to under $30 $25 67 40.9 - 15.9 252.81 16,938.27
$30 to under $40 $35 111 40.9 - 5.9 34.81 3,863.91
$40 to under $50 $45 125 40.9 4.1 16.81 2,101.25
$50 to under $60 $55 21 40.9 14.1 198.81 4,175.01
$60 to under $70 $65 38 40.9 24.1 580.81 22,070.78
n = a fi = 362 a 1mi - x22 fi = 49,149.22 s2 ≈
49,149.22
362 - 1 = 136.15
s ≈ 2136.15 = $11.67
3.34 x ≈ 3,380
100 = 33.8
VALUE mi fi x 1mi −x 2 1mi − x2 2 1mi − x 2 2 fi 0 to under 10 5 6 33.8 - 28.8 829.44 4,976.64
10 to under 20 15 22 33.8 - 18.8 353.44 7,775.68
20 to under 30 25 10 33.8 - 8.8 77.44 774.40
30 to under 40 35 18 33.8 1.2 1.44 25.92
40 to under 50 45 28 33.8 11.2 125.44 3,512.32
50 to under 60 55 16 33.8 21.2 449.44 7,191.04
n = a fi = 100 a 1mi - x22 fi = 24,256 s2 ≈
24,256
100 - 1 = 245.01
s ≈ 2245.01 = 15.65 3.36 a. i =
P
100 1n2 = 20
100 182 = 1.6
20th percentile = 20
b. i = P
100 1n2 = 40
100 182 = 3.2
40th percentile = 38
c. i = P
100 1n2 = 60
100 182 = 4.8
60th percentile = 54
3.38 a. Percentile Rank 1502 = 8 + 0.5 10
11002 = 85
b. Percentile Rank 1302 = 4 + 0.5 10
11002 = 45
c. Percentile Rank 1152 = 3 + 0.5 10
11002 = 35
3.40 a. Q1: i = P
100 1n2 = 25
100 1132 = 3.25
Q1 = 15
Q2: i = P
100 1n2 = 50
100 1132 = 6.5
Q2 = 18
Q3: i = P
100 1n2 = 75
100 1132 = 9.75
Q3 = 22 b. IQR = Q3 - Q1 = 22 - 15 = 7
3.42 a. i = P
100 1n2 = 60
100 1122 = 7.2
60th percentile = 1.53
b. i = P
100 1n2 = 20
100 1122 = 2.4
20th percentile = 0.95
c. i = P
100 1n2 = 85
100 1122 = 10.2
85th percentile = 3.79
3.44 a. Q1: i = P
100 1n2 = 25
100 1202 = 5
Q1 = 158 + 592>2 = 58.5 Q2: i =
P
100 1n2 = 50
100 1202 = 10
Q2 = 171 + 752>2 = 73
www.freebookslides.com
874 A P P E N D I X B | Answers to Selected Even-Numbered Problems
Q3: i = P
100 1n2 = 75
100 1202 = 15
Q3 = 184 + 842>2 = 84 b. IQR = Q3 - Q1 = 84 - 58.5 = 25.5
3.46 a. x = a
n
i = 1 xi
n =
25
5 = 5.0 y =
a n
i = 1 yi
n =
30
5 = 6.0
a 1xi - x21yi - y2 = 11 sxy = a
n
i = 1 1xi - x21yi - y2
n - 1 =
11
5 - 1 = 2.75
b. sx = H ani = 11xi - x22n - 1 = A 164 = 2.0 sy = A 164 = 2.0 rxy =
sxy
sxsy =
2.75
12.0212.02 = 0.688
c. There is a positive linear relationship between these two variables.
3.48 a. x = minutes, y = rating
x = a
n
i = 1 xi
n =
50
10 = 5.0 y =
a n
i = 1 yi
n =
147
10 = 14.7
a 1xi - x21yi - y2 = - 41.0 sxy = a
n
i = 1 1xi - x21yi - y2
n - 1 =
- 41 10 - 1
= - 4.56
b. sx = H ani = 11xi - x22n - 1 = A 849 = 3.06 sy = A 70.19 = 2.79 rxy =
sxy
sxsy =
- 4.56 13.06212.792 = - 0.534
c. There is a negative linear relationship between these two variables.
3.50 a. x = shelf space, y = sales
x = a
n
i = 1 xi
n =
36
9 = 4.0 y =
a n
i = 1 yi
n =
63
9 = 7.0
a 1xi - x21yi - y2 = 30.0 sxy = a
n
i = 1 1xi - x21yi - y2
n - 1 =
30.0
9 - 1 = 3.75
b. sx = H ani = 11xi - x22n - 1 = A 168 = 1.41 sy = A 1968 = 4.95 rxy =
sxy
sxsy =
3.75
11.41214.952 = 0.537
c. There is a positive linear relationship between these two variables.
3.52 Ford: x = 104
17 = 6.1
chevy: x = 111
17 = 6.5
Honda: x = 106
17 = 6.2
choose chevy because it has the highest weighted average.
3.54 a.
x = a
n
i = 1 xi
n =
1.5 + 1.0 + 2.3 + g + 1.5 + 12.4 9
= 93.0
9 = 10.33
b. i = 0.51n2 = 0.5192 = 4.5 1.0 1.5 1.5 2.3 8.8 12.1 12.4 13.2 40.2
Median = 8.8 c. Mode = 1.5 d. Because 40.2 could be considered an outlier, the median would be the
measurement that best describes the central tendency of these data.
e. Because the mean is higher than the median, this distribution’s shape would be described as right-skewed.
3.56 a. x = $207.72 b. Median = $196.87 c. There is no mode in this data set.
d. Because there do not appear to be any an outliers, the mean or the median would adequately describe the central tendency of these data.
e. Because the mean is more than the median, this distribution’s shape would be described as right-skewed.
3.58 a. Range = 25.5 - 4.5 = 21.0
b. s2 = a
n
i = 1 x 2i -
a a n
i = 1 xib
2
n
n - 1 =
1,309.31 - 197.522
10
10 - 1 = 39.85
c. s = 239.85 = 6.31 3.60 a. Range = 5 - 1 - 152 = 20
b. a 10
i = 1 xi = - 69, a
10
i = 1 x 2i = 855, s
2 = 855 -
1 - 6922 10
10 - 1 = 42.1
c. s = 242.1 = 6.49 3.62 a. Store 1:
a 5
i = 1 xi = 29, a
5
i = 1 x 2i = 191, x = 5.8, s = S191 - 1292255 - 1
= 2.39, CV = 41.2% Store 2:
a 5
i = 1 xi = 41, a
5
i = 1 x 2i = 341, x = 8.2, s = S341 - 1412255 - 1
= 1.10, CV = 13.4% b. Store 1 has more variability because it has a higher coefficient of
variation.
3.64 x = a
n
i = 1 xi
n =
$4,469
20 = $223.45
s = a ani = 1x 2i - a a n
i = 1 xib
2
n
n - 1 = H 1,107,003 - 14,469222020 - 1 = $75.53
a. CV = s x 11002 = $75.53
$223.45 11002 = 33.8%
b. z = x - x
s =
$200 - $223.45 $75.53
= - 0.31
www.freebookslides.com
A P P E N D I X B | Chapter 3 875
c. x = x + zs x = $223.45 + 1121$75.532 = $298.98 x = $223.45 - 1121$75.532 = $147.92 16>20 = 80% of the values are within this interval. This exceeds the
68% predicted by the Empirical Rule.
d. x = x + zs x = $223.45 + 1221$75.532 = $374.51 x = $223.45 - 1221$75.532 = $72.39 18>20 = 90% of the values are within this interval. This exceeds the
75% predicted by chebyshev’s Theorem.
3.66 a. x = satisfaction, y = activations
x = a
n
i = 1 xi
n =
62.4
8 = 7.8 y =
a n
i = 1 yi
n =
244
8 = 30.5
a 1xi - x21yi - y2 = 39.3 sxy = a
n
i = 1 1xi - x21yi - y2
n - 1 =
39.3
8 - 1 = 5.61
b. sx = H ani = 11xi - x22n - 1 = A 5.687 = 0.90 sy = A 382.07 = 7.39 rxy =
sxy
sxsy =
5.61
10.90217.392 = 0.843
c. There is a strong positive linear relationship between these two variables.
3.68 a. m ≈ 18,015
62 = 290.6
value mi fi M 1mi − M2 1mi − M2 2 1mi − M2 2 fi 278 to 282 280 6 290.6 - 10.6 112.36 674.16
283 to 287 285 12 290.6 - 5.6 31.36 376.32
288 to 292 290 21 290.6 - 0.6 0.36 7.56
293 to 297 295 16 290.6 4.4 19.36 309.76
298 to 302 300 6 290.6 9.4 88.36 530.16
303 to 307 305 1 290.6 14.4 207.36 207.36
N = a fi = 62 a 1mi - m22 fi = 2,105.32
b. s2 ≈ a
k
i = 1 1mi - m22fi
N =
2,105.32
62 = 33.96
s ≈ 233.96 = 5.83 3.70 a. i =
P
100 1n2 = 30
100 1212 = 6.3
30th percentile = $10.75
b. i = P
100 1n2 = 45
100 1212 = 9.45
45th percentile = $12.15
c. i = P
100 1n2 = 65
100 1212 = 13.65
65th percentile = $14.00
3.72 a. Q1: i = P
100 1n2 = 25
100 1272 = 6.75
Q1 = 668
Q2: i = P
100 1n2 = 50
100 1272 = 13.5
Q2 = 919
Q3: i = P
100 1n2 = 75
100 1272 = 20.25
Q3 = 1,188 IQR = Q3 - Q1 = 1,188 - 668 = 520
3.74 Percentile rank1Freestyle 33 seconds2 = 5 + 0.5 8
11002 = 68.8
Percentile rank1Backstroke 72 seconds2 = 2 + 0.5 10
11002 = 25.0 Because lower times are a measure of better performance, the swimmer performed better in the backstroke relative to the freestyle competition.
3.76 a. Q1: i = P
100 1n2 = 25
100 1252 = 6.25
Q1 = 240
Q2: i = P
100 1n2 = 50
100 1252 = 12.5
Q2 = 271
Q3: i = P
100 1n2 = 75
100 1252 = 18.75
Q3 = 290 IQR = Q3 - Q1 = 290 - 240 = 50 Upper Limit = Q3 + 1.51IQR2 = 290 + 1.51502 = 365 Lower Limit = Q1 - 1.51IQR2 = 240 - 1.51502 = 165 There are no outliers in this data set.
210 230 250 270 290 310 330
b. The five-number summary is 215, 240, 271, 290, 330.
3.78 a. x = age, y = credit score
x = a
n
i = 1 xi
n =
400
10 = 40.0 y =
a n
i = 1 yi
n =
693
10 = 693.0
a 1xi - x21yi - y2 = 4,170.0 sxy = a
n
i = 1 1xi - x21yi - y2
n - 1 =
4,170.0
10 - 1 = 463.3
b.
sx = H ani = 11xi - x22n - 1 = A 1,1649 = 11.37 sy = A 35,0109 = 62.37 rxy =
sxy
sxsy =
463.33
111.372162.372 = 0.653 c. There is a positive linear relationship between these two variables.
www.freebookslides.com
876 A P P E N D I X B | Answers to Selected Even-Numbered Problems
Chapter 4
4.2 13
52 = 0.25
4.4 a. subjective b. empirical
c. classical
d. empirical
e. classical
4.6 a. 32
125 = 0.256
b. 17
125 = 0.136
c. 49
125 = 0.392
d. empirical
4.8 a. 2
b. 2
26 = 0.077
c. 24
26 = 0.923
d. 11
26 = 0.423
4.10 a. 20
50 = 0.40
b. 30
50 = 0.60
c. 15
50 = 0.30
d. 25
50 = 0.50
e. 10
50 = 0.20
4.12 a. 39
50 = 0.78
b. 34
50 = 0.68
c. 23
50 = 0.46
d. 1
4.14 0.42
0.42 + 0.08 =
0.42
0.50 = 0.84
4.16 a. Events are not mutually exclusive. They can occur at the same time. b. Events are independent. The probability of the first event does not
influence the occurrence of the second one.
4.18 75% + 80% - 70% = 85%
4.20 a. 205
309 = 0.663
b. 45
107 = 0.421
c.
2
309
3
309
= 2
3 = 0.667
d. 55
136 = 0.404
e.
a 27 309
b
a 79 309
b =
27
79 = 0.342
f.
P(A and F ) = 55/309 = 0.1780
P(A ) =
136 /30
9 = 0.4
401
1st Do
wn &
101 (A
)
2nd D own
& 61 (B)
2nd Down &52 (C) 3rd Down & 21 (D) 3rd Down & 1 (E)
P(B) = 79/
309 = 0.255
7
P(D) = 63/309 = 0.2039 P(E) = 3/309 = 0.0097
P(C) = 28/309 = 0.0906
Run (F )
Pass (G )
Pass (G )
Pass (G )
Pass (G )
Pass (G )
Run (F )
Run (F )
Run (F )
Run (F )
P(A and G ) = 81/309 = 0.2621
P(B and G ) = 52/309 = 0.1683
P(C and F ) = 18/309 = 0.0583
P(C and G ) = 10/309 = 0.0324
P(D and F ) = 3/309 = 0.0097
P(D and G ) = 60/309 = 0.1942
P(E and F ) = 1/309 = 0.0032
P(E and G ) = 2/309 = 0.0065
P(B and F ) = 27/309 = 0.0874
www.freebookslides.com
A P P E N D I X B | Chapter 4 877
4.22 10.7210.7210.7210.7210.7210.7210.72 = 0.082 4.24
0.20
0.35 = 0.571
4.26 10.37210.37210.372 = 0.051 4.28 a.
12
75 = 0.16
b. 32
75 +
23
75 = 0.733
c. 67
75 = 0.893
d. 20
75 = 0.267
e. 30
75 +
23
75 -
7
75 = 0.613
f.
a 12 75
b
a 30 75
b =
12
30 = 0.40
g.
a 2 75
b
a 8 75
b =
2
8 = 0.25
h.
Ex cel
len t (C
)
Exc elle
nt ( C )
Good (D)
Good (D)
Fair (E )
Fair (E )
Poor (F )
Poor (F )
Men (A) P(A) = 45/75 = 0.60
Women (B) P(B) = 30/75 = 0.40
P(A and D) = 20/75 = 0.267
P(A and C ) = 3/75 = 0.040
P(A and E ) = 16/75 = 0.213
P(A and F ) = 6/75 = 0.080
P(B and C ) = 9/75 = 0.120
P(B and D) = 12/75 = 0.160
P(B and E ) = 7/75 = 0.093
P(B and F ) = 2/75 = 0.027
4.30 10.40210.302
10.15210.672 + 10.45210.362 + 10.40210.302 = 0.12
0.3825 = 0.314
4.32 9P2 = 9!
19 - 22! = 72
4.34 9C2 = 9!
19 - 22!2! = 36 If order of objects is not of importance, combinations are used instead of
permutations.
4.36 8P3 = 8!
18 - 32! = 336
4.38 11324C311224C2
52C5 =
3,744
2,598,960 = 0.00144
4.40 4P4 = 24 4.42 9C3 = 84 4.44 113C62115C62 = 8,588,580
4.46 P1Heart2 = 13 52
= 0.25
4.48 a. empirical b. classical
c. subjective
d. classical
4.50 a. 240
b. 240
1,000 = 0.24
c. 150
1,000 = 0.15
d. 610
1,000 = 0.61
4.52 a. Events are mutually exclusive b. Events are dependent
www.freebookslides.com
878 A P P E N D I X B | Answers to Selected Even-Numbered Problems
4.54 a. Events are mutually exclusive b. Events are dependent
4.56 a. 239
968 = 0.247
b. 243
968 +
707
968 -
180
968 = 0.795
c.
a 130 968
b
a 261 968
b =
130
261 = 0.498
d.
a 68 968
b
a 307 968
b =
68
307 = 0.221
e.
P(A and C ) = 239/968 = 0.247
P(A and D) = 288/968 = 0.298
P(A and E ) = 180/968 = 0.186
P(B and C ) = 68/968 = 0.070
P(B and D) = 130/968 = 0.134
P(B and E ) = 63/968 = 0.065
So uth
we st (
C )
US A irway
s (D)
Air Tran (E )
Sou thw
est (C )
US Airways (D )
Air Tran (E )
On-Time (A) P(A) = 707/968 = 0.730
Late (B) P(B) = 261/968 = 0.270
4.58 a. a 89 165
b100 = 53.9%
b. a 69 165
b100 = 41.8%
c. a 31 165
b100 = 18.8%
d. a 89 165
+ 44
165 -
30
165 b100 = 62.4%
e.
a 20 165
b
a 76 165
b 11002 = 26.3%
f.
a 20 165
b
a 36 165
b 11002 = 55.6%
g. P1A2 = 44 165
= 0.267
P1A � B2 = P1A and B2
P1B2 P1A and B2 = 14
165 = 0.085 P1B2 = 76
165 = 0.461
P1A � B2 = 0.085 0.461
= 0.184
P1A � B2 ≠ P1A2 Events A and B are dependent.
4.60 10.50210.022
10.20210.042 + 10.30210.032 + 10.5210.022 = 0.010
0.027 = 0.370
4.62 10.79210.79210.79210.79210.792 = 0.308 4.64 Define A1 = Order came from Mayfair store, A2 = Order came from
Claymont store, B = Delivery time exceeded 45 minutes. P1A12 = 0.4 P1A22 = 1 - 0.4 = 0.6 P1B � A12 = 0.15 P1B � A22 = 0.05
P1A1 � B2 = 10.4210.152
10.4210.152 + 10.6210.052 = 0.667 There is a 66.7% probability that the late order came from the Mayfair store.
4.66 1
30C5 =
1
142,506 = 0.000007
4.68 10P3 = 10!
110 - 32! = 720 4.70 152172 = 35 4.72 112C42116C52 = (495)(4,368) = 2,162,160
www.freebookslides.com
A P P E N D I X B | Chapter 5 879
Chapter 5 5.2 a. m = 2.61 b. s = 1.019 5.4 a. Not a discrete probability distribution because the sum of the
probabilities of all outcomes is greater than 1
b. Discrete probability distribution
c. Discrete probability distribution
d. Not a discrete probability distribution because the probability of one outcome is greater than 1
e. Not a discrete probability distribution because the sum of the probabilities of all outcomes is less than 1
5.6 a. Stanton: m = 3.7, Newark: m = 3.2 b. Stanton: s = 1.14, Newark: s = 1.39 c. Stanton’s fast-food restaurants have higher average customer
satisfaction rating than ones in Newark. Customer satisfaction ratings for Stanton’s fast-food restaurants are more consistent when compared with ones in Newark.
5.8 EMV = $19,200 5.10 a. P12,72 = 0.0774 b. P1x2 = P10,72 + P11,72 = 0.0016 + 0.0172 = 0.0188 c. P16, 72 + P17, 72 = 0.1306 + 0.0280 = 0.1586 5.12 a. P14, 52 = 0.0146 b. P14, 72 = 0.0577 c. P14, 102 = 0.1460 5.14 P1x Ú 142 = 0.1091 + 0.1746 + 0.2182 + 0.2054 + 0.1369 +
0.0576 + 0.0115 = 0.9133 5.16 a. P17, 82 = 0.3826 b. P18, 82 = 0.4305 c. 1 - 1P16, 82 + P17, 82 + P18, 822
= 1 - 10.1488 + 0.3826 + 0.43052 = 0.0381 d. P14, 82 = 0.0046 The probability of four out of eight customers being satisfied is very
low, assuming that 90% of the customer base is satisfied. Based on this sample, it is not likely that 90% of the customers are satisfied.
5.18 a. P13, 92 = 0.2716 b. P1x 6 42 = P10, 92 + P11, 92 + P12, 92 + P13, 92
= 0.0207 + 0.1004 + 0.2162 + 0.2716 = 0.6089 c. P1x = 6 or 72 = P16, 92 + P17, 92 = 0.0424 + 0.0098 = 0.0522 d. m = 19210.352 = 3.15; s = 219210.35210.652 = 1.43 5.20 a. P10, 152 = 0.3953 b. P10, 152 + P11, 152 + P12, 152 = 0.3953 + 0.3785 +
0.1691 = 0.9429 c. 1 - 1P10, 152 + P11, 1522 = 1 - 10.3953 + 0.37852 = 0.2262 e. P14, 152 = 0.0090 The probability of 4 out of 15 customers making a purchase on
the Web site is very low, assuming that 6% of the customers make a purchase. Based on this sample, it is not likely that 6% of the customers make purchases.
5.22 a. P132 = 0.2240 b. P102 + P112 + P122 = 0.0498 + 0.1494 + 0.2240 = 0.4232 c. 1 - 1P102 + P112 + P122 + P132 + P1422 = 1 - 10.0498 +
0.1494 + 0.2240 + 0.2240 + 0.16802 = 0.1848
5.24 a. P142 = 0.0902 b. P142 = 0.1680 c. P142 = 0.1954 d. As the value of l approached 4.0, the probability that x = 4 increases. 5.26 a. P102 = 0.0743 b. P102 + P112 + P122 + P132 = 0.0743 + 0.1931 +
0.2510 + 0.2176 = 0.7360 c. 1 - 1P102 + P11)2 = 1 - 10.0743 + 0.19312 = 0.7326 5.28 a. P172 = 0.0824 b. P102 + P112 + P122 = 0.0111 + 0.0500 + 0.1125 = 0.1736 c. 1 - 1P102 + P112 + P122 + P132 + P1422 =
1 - 10.0111 + 0.0500 + 0.1125 + 0.1687 + 0.18982 = 0.4679 5.30 a. P1x2 = P12, 222 = 22!122 - 2)!2!10.0152
210.985220 = 0.0384
b. P1x2 = P122 = 1122210.015222 2.71828 - 122210.0152
2! = 0.0391
c. The probabilities are close enough, but fewer calculations were needed to obtain the result when using the Poisson distribution.
5.32 a. P132 = 12 - 6 C5 - 3 # 6C3
12C5 = 0.3788
b. P122 = 12 - 6 C5 - 2 # 6C2
12C5 = 0.3788
c. P102 + P112 = 12 - 6 C5 - 0 # 6C0
12C5 +
12 - 6C5 - 1 # 6C1 12C5
= 0.1212
d. m = 2.5; s = 0.89
5.34 P132 = 14 - 6 C4 - 3 # 6C3
14C4 = 0.1598
5.36 a. P102 = 9 - 2 C2 - 0 # 2C0
9C2 = 0.5833
b. P112 = 9 - 2 C2 - 1 # 2C1
9C2 = 0.3889
c. P122 = 9 - 2 C2 - 2 # 2C2
9C2 = 0.0278
d. m = 0.444; s = 0.55
5.38 a. P132 = 20 - 8 C3 - 3 # 8C3
20C3 = 0.0491
b. P112 = 20 - 8 C3 - 1 # 8C1
20C3 = 0.4632
c. P122 = 20 - 8 C3 - 2 # 8C2
20C3 = 0.2947
d. P102 = 20 - 8 C3 - 0 # 8C0
20C3 = 0.1930
e. m = 1.2; s = 0.80 5.40 a. m = 1.53 b. s = 1.22 5.42 a. 8:00 a.m. class: m = 2.58; 10:00 a.m. class: m = 1.79 b. 8:00 a.m class: s = 1.39; 10:00 a.m. class: s = 1.33 c. More students miss the earlier class which is expected.
www.freebookslides.com
880 A P P E N D I X B | Answers to Selected Even-Numbered Problems
5.44 Portfolio A: EMV = $1,725 Portfolio B: EMV = $1,700 Investor should choose Portfolio A.
5.46 Profit = $14 revenue + $2 revenue - Cost to purchase calendars The $14 revenue is based on the number of calendars sold at $14, which is
the minimum of the supply of calendars and the eventual demand.
DemanD Profit (orDer 100 CalenDars) Probability
100 110021$142 + 1021$22 - 110021$62 = $800 0.25 200 110021$142 + 1021$22 - 110021$62 = $800 0.40 300 110021$142 + 1021$22 - 110021$62 = $800 0.35
EMV = 1$800210.252 + 1$800210.402 + 1$800210.352 = $800
DemanD Profit (orDer 200 CalenDars) Probability
100 110021$142 + 110021$22 - 120021$62 = $400 0.25 200 120021$142 + 1021$22 - 120021$62 = $1,600 0.40 300 120021$142 + 1021$22 - 120021$62 = $1,600 0.35 EMV = 1$400210.252 + 1$1,600210.402 + 1$1,600210.352 = $1,300
DemanD Profit (orDer 300 CalenDars) Probability
100 110021$142 + 120021$22 - 130021$62 = $0 0.25 200 120021$142 + 110021$22 - 130021$62 = $1,200 0.40 300 130021$142 + 1021$22 - 130021$62 = $2,400 0.35 EMV = 1$0210.252 + 1$1,200210.402 + 1$2,400210.352 = $1,320
Bob’s Bookstore should order 300 calendars.
5.48 a. P16, 152 = 0.1914 b. P19, 152 = 0.1048 c. P14, 152 + P15,152 = 0.0780 + 0.1404 = 0.2184 d. m = 6.75; s = 1.926 5.50 a. P14, 72 = 0.1640 b. P1x 7 22 = 1.0 - P10, 72 - P11, 72 - P12, 72 =
1.0 - 0.0394 - 0.1619 - 0.2853 = 0.5134 c. m = 17210.372 = 2.59; s = 217210.37210.632 = 1.28 5.52 a. P112, 122 = 0.0591 b. P1x 7 92 = P110, 122 + P111, 122 + P112, 122 = 0.2756 +
0.1885 + 0.0591 = 0.5232 c. P1x … 72 = 1.0 - P18, 122 - P19, 122 - P110, 122 -
P111, 122 - P112, 122 = 0.0866 d. m = 112210.792 = 9.48; s = 2112210.79210.212 = 1.41 5.54 a. P16, 62 = 0.4046 b. P1x Ú 42 = P14, 62 + P15, 62 + P16, 62 = 0.1608 +
0.3952 + 0.4046 = 0.9606 c. P1x 6 52 = 1.0 - P15, 62 - P16, 62 = 1.0 - 0.3952 -
0.4046 = 0.2002 d. m = 16210.862 = 5.16; s = 216210.86210.142 = 0.85 5.56 a. P112, 202 = 0.0727 b. P113, 202 + P114, 202 + P115, 202 + P116, 202 + P117, 202 +
P118, 202 + P119, 202 + P120, 202 = 0.0580 c. P10, 202 + P11, 202 + P12, 202 + P13, 202 + P14, 202 +
P15, 202 + P16, 202 + P17, 202 + P18, 202 + P19, 202 = 0.5914 d. m = 9; s = 2.2 5.58 a. P12, 82 = 0.0324 b. P1x 7 52 = P16, 82 + P17, 82 + P18, 82 = 0.2297 + 0.1071 +
0.0218 = 0.3586
c. P1x … 32 = P10, 82 + P11, 82 + P12, 82 + P13, 82 = 0.0004 + 0.0057 + 0.0324 + 0.1058 = 0.1443
d. m = 18210.622 = 4.96; s = 218210.62210.382 = 1.37 5.60 a. P162 = 0.0411 b. P132 = 0.1133 c. P1x Ú 72 = 1.0 - P1x 6 72 = 1.0 - 0.0786 = 0.9214 d. P1x 6 102 = 0.3405 5.62 a. l = 10.2521162 = 4; P122 = 0.1465 b. l = 10.2521162 = 4; P142 = 0.1954 c. l = 10.521162 = 8; P162 = 0.1221 d. l = 10.7521162 = 12; P162 = 0.0255 5.64 a. P112 = 0.0098 b. P1x 6 32 = 0.015 + 0.0098 + 0.0318 = 0.0431 c. P1x 7 42 = 1.0 - P1x … 42 = 1.0 - 0.0015 - 0.0098 -
0.0318 - 0.0688 - 0.1118 = 0.7763 d. s = 26.5 = 2.55 5.66 a. P11, 242 = 24!124 - 12!1!10.0252
110.975223 = 0.3352
b. P14, 242 = 24!124 - 42!4!10.0252 410.975220 = 0.0025
c. P112 = 10.601212.71828-0.602
1! = 0.3293
d. P142 = 10.604212.71828-0.602
4! = 0.0030
5.68 a. P13, 242 = 24!124 - 3)!3!10.0352 310.965221 = 0.0411
b. P1x2 = P132 = 1124210.0352232.71828 - 124210.0352
3! = 0.0426
c. The probabilities are very close.
5.70 a. P182 = 19 - 14 C8 - 8 # 14C8
19C8 = 0.0397
b. P162 + P172 + P182 = 19 - 14 C8 - 6 # 14C6
19C8 +
19 - 14C8 - 7 # 14C7 19C8
+
19 - 14C8 - 8 # 14C8 19C8
= 0.6640
c. There are only five returns that are not using the short form. If eight returns are selected, at least three returns must be short forms.
d. m = 5.895; s = 0.9737
5.72 a. P142 = 22 - 8 C10 - 4 # 8C4
22C10 = 0.3251
b. P162 = 22 - 8 C10 - 6 # 8C6
22C10 = 0.0433
c. The proportion of cars (0.636) is much higher than the proportion of trucks (0.364) on the lot. Four trucks out of 10 vehicles have a higher probability than 4 cars out of 10 vehicles because the 0.40 proportion is very close to the proportion of trucks on the lot.
d. m = 3.64; s = 1.150
5.74 a. P102 = 52 - 12 C5 - 0 # 12C0
52C5 = 0.2532
b. P112 = 52 - 12C5 - 1 #
12C1
52C5 = 0.4220
c. P122 = 52 - 12C5 - 2 #
12C2
52C5 = 0.2509
d. P142 = 52 - 12C5 - 4 #
12C4
52C5 = 0.0076
e. m = 1.154; s = 0.9044
www.freebookslides.com
A P P E N D I X B | Chapter 6 881
Chapter 6 6.2 a. P1z 7 1.352 = 1.0 - 0.9115 = 0.0855
b. P1z 7 - 0.422 = 1.0 - 0.3372 = 0.6628 c. P1 - 1.70 … z … - 0.652 = 0.2578 - 0.0446 = 0.2132 d. P1 - 1.69 … z … 0.202 = 0.5793 - 0.0455 = 0.5338
6.4 a. z100 = 100 - 124
27 = - 0.89
z140 = 140 - 124
27 = 0.59
P1100 … x … 1402 = 0.7224 - 0.1867 = 0.5357 b. z130 =
130 - 124 27
= 0.22
z170 = 170 - 124
27 = 1.70
P1130 … x … 1702 = 0.9554 - 0.5871 = 0.3683 c. z65 =
65 - 124 27
= - 2.19
z90 = 90 - 124
27 = - 1.26
P165 … x … 902 = 0.1038 - 0.0143 = 0.0895 d. z120 =
120 - 124 27
= - 0.15
z180 = 180 - 124
27 = 2.07
P1120 … x … 1802 = 0.9808 - 0.4404 = 0.5404 6.6 a. m = 175210.222 = 16.5
s = 2175210.22211 - 0.222 = 3.59 b. z10.5 =
10.5 - 16.5 3.59
= - 1.67
z11.5 = 11.5 - 16.5
3.59 = - 1.39
P110.5 … x … 11.52 = 0.0823 - 0.0475 = 0.0348 c. z9.5 =
9.5 - 16.5 3.59
= - 1.95;
z18.5 = 18.5 - 16.5
3.59 = 0.56
P19.5 … x … 18.52 = 0.7123 - 0.0256 = 0.6867 d. z7.5 =
7.5 - 16.5 3.59
= - 2.51
z15.5 = 15.5 - 16.5
3.59 = - 0.28
P17.5 … x … 15.52 = 0.3897 - 0.0060 = 0.3837 6.8 a. 1. z250 =
$250 - $237.22 $21.45
= 0.60
P1x 6 $2502 = 0.7257 2. z260 =
$260 - $237.22 $21.45
= 1.06
P1x 7 $2602 = 1.0 - 0.8554 = 0.1446 3. z210 =
$210 - $237.22 $21.45
= - 1.27
z240 = $240 - $237.22
$21.45 = 0.13
P1210 … x … 2402 = 0.5517 - 0.1020 = 0.4497 b. Find the closest value to 0.80 in the body of Table 4 in Appendix A.
This will be 0.7995 in row 0.8 and column 0.04. The z-score for the 80th percentile is therefore 0.84. x = $237.22 + 10.8421$21.452 = $255.24
6.10 a. 1. z7 = 7 - 11.4
3.6 = - 1.22
P1x 6 72 = 0.1112 2. z9 =
9 - 11.4 3.6
= - 0.67
P1x 7 92 = 1.0 - 0.2514 = 0.7486
3. z8 = 8 - 11.4
3.6 = - 0.94
z12 = 12 - 11.4
3.6 = 0.17
P18 … x … 122 = 0.5675 - 0.1736 = 0.3939 4. P1x = 102 = 0
b. Find the closest value to 0.60 in the body of Table 4 in Appendix A. This will be 0.5987 in row 0.2 and column 0.05. The z-score for the 60th percentile is therefore 0.25. x = 11.4 + 10.25213.62 = 12.3 lbs
6.12 a. 1. x = $1,600 + 1121$752 = $1,675 x = $1,600 - 1121$752 = $1,525
2. x = $1,600 + 1221$752 = $1,750 x = $1,600 - 1221$752 = $1,450
3. x = $1,600 + 1321$752 = $1,825 x = $1,600 - 1321$752 = $1,375
b. The $1,900 cost of this warranty is much higher than those of competing companies based on the fact that it is more than three standard deviations above the mean.
6.14 a. x = m { zs x = 736 + 1121402 = 776 x = 736 - 1121402 = 696
b. x = 736 + 1221402 = 816 x = 736 - 1221402 = 656
c. x = 736 + 1321402 = 856 x = 736 - 1321402 = 616
6.16 a. 1. z187 = 187 - 185
5 = 0.40
P1x 7 1872 = 1.0 - 0.6554 = 0.3446 2. z181 =
181 - 185 5
= - 0.80
P1x 6 1812 = 0.2119 3. z180 =
180 - 185 5
= - 1.00
z183 = 183 - 185
5 = - 0.40
P1180 … x … 1832 = 0.3446 - 0.1587 = 0.1859 4. z188 =
188 - 185 5
= 0.60
z193 = 193 - 185
5 = 1.60
P1188 … x … 1932 = 0.9452 - 0.7257 = 0.2195 6.18 a. m = 124210.332 = 7.92 adults
s = 2124210.33211 - 0.332 = 2.30 adults z9.5 =
9.5 - 7.92 2.30
= 0.69
P1x … 9.52 = P1z … 0.692 = 0.7549 b. z5.5 =
5.5 - 7.92 2.30
= - 1.05
z10.5 = 10.5 - 7.92
2.30 = 1.12
P15.5 … x … 10.52 = 0.8686 - 0.1469 = 0.7217 c. z10.5 =
10.5 - 7.92 2.30
= 1.12
z14.5 = 14.5 - 7.92
2.30 = 2.86
P110.5 … x … 14.52 = 0.9979 - 0.8686 = 0.1293 d. z6.5 =
6.5 - 7.92 2.30
= - 0.62
z7.5 = 7.5 - 7.92
2.30 = - 0.18
P16.5 … x … 7.52 = 0.4286 - 0.2676 = 0.1610
www.freebookslides.com
882 A P P E N D I X B | Answers to Selected Even-Numbered Problems
6.20 a. m = 130210.3922 = 11.76 s = 2130210.392211 - 0.3922 = 2.67
b. z12.5 = 12.5 - 11.76
2.67 = 0.28
P1x 7 12.52 = 1.0 - 0.6103 = 0.3897 c. z13.5 =
13.5 - 11.76 2.67
= 0.65
z14.5 = 14.5 - 11.76
2.67 = 1.03
P113.5 … x … 14.52 = 0.8485 - 0.7422 = 0.1063 d. z6.5 =
6.5 - 11.76 2.67
= - 1.97
z9.5 = 9.5 - 11.76
2.67 = - 0.85
P16.5 … x … 9.52 = 0.1977 - 0.0244 = 0.1733 e. z13.5 =
13.5 - 11.76 2.67
= 0.65
z16.5 = 16.5 - 11.76
2.67 = 1.78
P113.5 … x … 16.52 = 0.9625 - 0.7422 = 0.2203 6.22 a. m = 7 minutes>customer
l = 1>7 = 0.1429 customers>minute P1x 7 122 = e - 112210.14292 = 0.1800
b. P1x 7 32 = e - 13210.14292 = 0.6514 c. P1x … 102 = 1 - e - 110210.14292 = 0.7605
P1x … 72 = 1 - e - 17210.14292 = 0.6322 P17 … x … 102 = 0.7605 - 0.6322 = 0.1283
d. P1x … 52 = 1 - e - 15210.14292 = 0.5106 P1x … 12 = 1 - e - 11210.14292 = 0.1332 P11 … x … 52 = 0.5106 - 0.1332 = 0.3774
6.24 a. l = a 18 customers 1 hour
b a 1 hour 60 minutes
b = 0.3 customers>minute a = 45 seconds = 0.75 minutes P1x … 0.752 = 1 - e - 10.75210.32 = 1 - 0.7985 = 0.2015
b. P1x … 32 = 1 - e - 13210.32 = 0.5934 P1x … 12 = 1 - e - 11210.32 = 0.2592 P11 … x … 32 = 0.5934 - 0.2592 = 0.3342
c. P1x … 52 = 1 - e - 15210.32 = 0.7769 P1x … 22 = 1 - e - 12210.32 = 0.4512 P12 … x … 52 = 0.7769 - 0.4512 = 0.3257
d. P1x … 102 = 1 - e - 110210.32 = 0.9502 P1x … 42 = 1 - e - 14210.32 = 0.6988 P14 … x … 102 = 0.9502 - 0.6988 = 0.2514
6.26 a. 1. m = 8 minutes
1 student l =
1 student
8 minutes = 0.125 students>minute
P1x … 22 = 1 - e - 12210.1252 = 1 - 0.7788 = 0.2212 2. P1x … 42 = 1 - e - 14210.1252 = 1 - 0.6065 = 0.3935 3. P1x … 52 = 1 - e - 15210.1252 = 0.4647 P1x … 32 = 1 - e - 13210.1252 = 0.3127 P13 … x … 52 = 0.4647 - 0.3127 = 0.1520 4. P1x 7 102 = e - 110210.1252 = 0.2865
6.28 a. 1. m = 2.5 minutes
1 customer
l = 1 customer
2.5 minutes = 0.4 customers>minute
P1x … 22 = 1 - e - 12210.42 = 1 - 0.4493 = 0.5507 2. P1x 7 52 = e - 15210.42 = 0.1353 3. P1x … 42 = 1 - e - 14210.42 = 0.7981 P1x … 12 = 1 - e - 11210.42 = 0.3297 P11 … x … 42 = 0.7981 - 0.3297 = 0.4684
6.30 a. 1. P1x 7 632 = P163 … x … 952 = 95 - 63 95 - 60
= 0.914
2. P1x 7 702 = P170 … x … 952 = 95 - 70 95 - 60
= 0.714
3. P1x 7 882 = P188 … x … 952 = 95 - 88 95 - 60
= 0.20
4. P1x = 752 = 0 b. m =
60 + 95 2
= 77.5
s = 95 - 60212 = 10.12
6.32 a. 1. P1180 … x … 2602 = 260 - 180 300 - 130
= 0.471
2. P1130 … x … 2002 = 200 - 130 300 - 130
= 0.412
3. P1x 7 1502 = P1150 … x … 3002 = 300 - 150 300 - 130
= 0.882
b. m = 130 + 300
2 = 215
s = 300 - 130212 = 49.13
6.34 a. f1x2 = 1 b - a
= 1
30 - 5 =
1
25 = 0.04 if 5 … x … 30
f1x2 = 0 otherwise b. m =
5 + 30 2
= 17.5 minutes
s = 30 - 5212 = 7.23 minutes
c. P1x … 252 = P15 … x … 252 = 25 - 5 30 - 5
= 0.80
d. P1x 7 202 = P120 … x … 302 = 30 - 20 30 - 5
= 0.40
e. P18 … x … 152 = 15 - 8 30 - 5
= 0.28
f. P1x1 … x … x22 = x2 - x1 b - a
= 0.75
x2 - 5 30 - 5
= 0.75
x2 = 23.75 minutes
6.36 a. f1x2 = 1 b - a
= 1
8.2 - 7.4 =
1
0.8 = 1.25 ounces
if 7.4 … x … 8.2 f1x2 = 0 otherwise
b. m = 7.4 + 8.2
2 = 7.8 ounces
s = 8.2 - 7.4212 = 0.231 ounces
c. P1x 7 8.02 = P18.0 … x … 8.22 = 8.2 - 8.0 8.2 - 7.4
= 0.25
d. P1x = 7.52 = 0 e. P1x 6 8.12 = P17.4 … x … 8.12 = 8.1 - 7.4
8.2 - 7.4 = 0.875
f. P17.5 … x … 8.02 = 8.0 - 7.5 8.2 - 7.4
= 0.625
g. P1x1 … x … x22 = x2 - x1 b - a
= 0.15
x2 - 7.4 8.2 - 7.4
= 0.15
x2 = 7.52 ounces
6.38 a. 1. z80 = $80 - $86
$9.50 = - 0.63
P1x 6 $802 = 0.2643
www.freebookslides.com
A P P E N D I X B | Chapter 6 883
2. z90 = $90 - $86
$9.50 = 0.42
P1x 6 $902 = 0.6628 3. P1x = $852 = 0 4. z75 =
$75 - $86 $9.50
= - 1.16
z95 = $95 - $86
$9.50 = 0.95
P1$75 … x … $952 = 0.8289 - 0.1230 = 0.7059 c. Find the closest value to 0.75 in the body of Table 4 in Appendix A.
This will be 0.7486 in row 0.6 and column 0.07. The z-score for the 75th percentile is therefore 0.67. x = $86 + 10.6721$9.502 = $92.37
6.40 a. 1. z195 = 195 - 175
16 = 1.25
P1x 6 1952 = 0.8944 2. z180 =
180 - 175 16
= 0.31
P1x 7 1802 = 1.0 - 0.6217 = 0.3783 3. P1x = 1702 = 0 4. z150 =
150 - 175 16
= - 1.56
z182 = 182 - 175
16 = 0.44
P1150 … x … 1822 = 0.6700 - 0.0594 = 0.6106 c. Find the closest value to 0.20 in the body of Table 3 in Appendix A.
This will be 0.2005 in row - 0.8 and column 0.04. The z-score for the 20th percentile is therefore - 0.84. x = 175 + 1- 0.8421162 = 161.6 euros
6.42 a. x = $285,700 + 1121$46,1002 = $331,800 x = $285,700 - 1121$46,1002 = $239,600
b. x = $285,700 + 1221$46,1002 = $377,900 x = $285,700 - 1221$46,1002 = $193,500
c. x = $285,700 + 1321$46,1002 = $424,000 x = $285,700 - 1321$46,1002 = $147,400
6.44 a. 1. z1,800 = 1,800 - 2,090
420 = - 0.69
P1x 6 1,8002 = 0.2451 2. z2,000 =
2,000 - 2,090 420
= - 0.21
z2,200 = 2,200 - 2,090
420 = 0.26
P12,000 … x … 2,2002 = 0.6026 - 0.4168 = 0.1858 3. z1,200 =
1,200 - 2,090 420
= - 2.12
z1,600 = 1,600 - 2,090
420 = - 1.17
P11,200 … x … 1,6002 = 0.1210 - 0.0170 = 0.1040 4. z2,300 =
2,300 - 2,090 420
= 0.50
z2,500 = 2,500 - 2,090
420 = 0.98
P12,300 … x … 2,5002 = 0.8365 - 0.6915 = 0.1450 c. Find the closest value to 0.90 in the body of Table 4 in Appendix A.
This will be 0.8997 in row 1.2 and column 0.08. The z-score for the 90th percentile is therefore 1.28. x = 2,090 + 11.28214202 = 2,627.6 hours
6.46 a. 1. z900 = $900 - $822
$190 = 0.41
P1x 6 $9002 = 0.6591 2. z800 =
$800 - $822 $190
= - 0.12
z920 = $920 - $822
$190 = 0.52
P1$800 … x … $9202 = 0.6985 - 0.4522 = 0.2463 3. z550 =
$550 - $822 $190
= - 1.43
z700 = $700 - $822
$190 = - 0.64
P1$550 … x … $7002 = 0.2611 - 0.0764 = 0.1847 4. z750 =
$750 - $822 $190
= - 0.38
z1,100 = $1,100 - $822
$190 = 1.46
P1$750 … x … $1,1002 = 0.9279 - 0.3520 = 0.5759 c. Find the closest value to 0.45 in the body of Table 3 in Appendix A.
This will be 0.4483 in row - 0.1 and column 0.03. The z-score for the 45th percentile is therefore - 0.13. x = $822 + 1 - 0.1321$1902 = $797.30
6.48 a. 1. z11 = 11 - 10
3.2 = 0.31
P1x 6 112 = 0.6217 2. z12 =
12 - 10 3.2
= 0.63
P1x 7 122 = 1.0 - 0.7357 = 0.2643 3. z7 =
7 - 10 3.2
= - 0.94
z9 = 9 - 10
3.2 = - 0.31
P17 … x … 92 = 0.3783 - 0.1736 = 0.2047 4. z8 =
8 - 10 3.2
= - 0.63
z15 = 15 - 10
3.2 = 1.56
P18 … x … 152 = 0.9406 - 0.2643 = 0.6763 c. Find the closest value to 0.70 in the body of Table 4 in Appendix A.
This will be 0.6985 in row 0.5 and column 0.02. The z-score for the 70th percentile is therefore 0.52. x = 10 + 10.52213.22 = 11.7
6.50 a. 1. z18,500 = $18,500 - $16,230
$4,740 = 0.48
P1x 6 $18,5002 = 0.6844 2. z11,300 =
$11,300 - $16,230 $4,740
= - 1.04
P1x 7 $11,3002 = 1.0 - 0.1492 = 0.8508 3. z10,000 =
$10,000 - $16,230 $4,740
= - 1.31
z14,000 = $14,000 - $16,230
$4,740 = - 0.47
P1$10,000 6 x 6 $14,0002 = 0.3192 - 0.0951 = 0.2241 4. z12,500 =
$12,500 - $16,230 $4,740
= - 0.79
z17,000 = $17,000 - $16,230
$4,740 = 0.16
P1$12,500 6 x 6 $17,0002 = 0.5636 - 0.2148 = 0.3488 c. Find the closest value to 0.90 in the body of Table 4 in Appendix A.
This will be 0.8997 in row 1.2 and column 0.08. The z-score for the 90th percentile is therefore 1.28. x = $16,230 + 11.2821$4,7402 = $22,297.20
6.52 a. 1. z30 = 30 - 60.3
17.9 = - 1.69
P1x 6 302 = 0.0455 2. z45 =
45 - 60.3 17.9
= - 0.85
P1x 7 452 = 1.0 - 0.1977 = 0.8023
www.freebookslides.com
884 A P P E N D I X B | Answers to Selected Even-Numbered Problems
3. z50 = 50 - 60.3
17.9 = - 0.58
z90 = 90 - 60.3
17.9 = 1.66
P150 6 x 6 902 = 0.9515 - 0.2810 = 0.6705 4. z65 =
65 - 60.3 17.9
= 0.26
z85 = 85 - 60.3
17.9 = 1.38
P165 6 x 6 852 = 0.9162 - 0.6026 = 0.3136 c. Find the closest value to 0.35 in the body of Table 3 in Appendix A.
This will be 0.3483 in row - 0.3 and column 0.09. The z-score for the 35th percentile is therefore - 0.39. x = 60.3 + 1 - 0.392117.92 = 53.3
6.54 a. m = 120210.692 = 13.8 s = 2120210.69211 - 0.692 = 2.07
b. z11.5 = 11.5 - 13.8
2.07 = - 1.11
P1x 7 11.52 = 1.0 - 0.1335 = 0.8665 c. z15.5 =
15.5 - 13.8 2.07
= 0.82
z16.5 = 16.5 - 13.8
2.07 = 1.30
P115.5 … x … 16.52 = 0.9032 - 0.7939 = 0.1093 d. z10.5 =
10.5 - 13.8 2.07
= - 1.59
z13.5 = 13.5 - 13.8
2.07 = - 0.14
P110.5 … x … 13.52 = 0.4443 - 0.0559 = 0.3884 e. z17.5 =
17.5 - 13.8 2.07
= 1.79
z19.5 = 19.5 - 13.8
2.07 = 2.75
P117.5 … x … 19.52 = 0.9970 - 0.9633 = 0.0337 6.56 a. m = 140210.682 = 27.2 teens
s = 2140210.68211 - 0.682 = 2.95 teens b. z28.5 =
28.5 - 27.2 2.95
= 0.44
P1x … 28.52 = 0.6700 c. z23.5 =
23.5 - 27.2 2.95
= - 1.25
z24.5 = 24.5 - 27.2
2.95 = - 0.92
P123.5 … x … 24.52 = 0.1788 - 0.1056 = 0.0732 d. z32.5 =
32.5 - 27.2 2.95
= 1.80
P1x 7 32.52 = 1.0 - 0.9641 = 0.0359 e. z25.5 =
25.5 - 27.2 2.95
= - 0.58
z28.5 = 28.5 - 27.2
2.95 = 0.44
P125.5 … x … 28.52 = 0.6700 - 0.2810 = 0.3890 6.58 a. m = 150210.4752 = 23.75 people
s = 2150210.475211 - 0.4752 = 3.53 people b. z19.5 =
19.5 - 23.75 3.53
= - 1.20
P1x … 19.52 = 0.1151 c. z26.5 =
26.5 - 23.75 3.53
= 0.78
z27.5 = 27.5 - 23.75
3.53 = 1.06
P126.5 … x … 27.52 = 0.8554 - 0.7823 = 0.0731
d. z22.5 = 22.5 - 23.75
3.53 = - 0.35
P1x 7 22.52 = 1.0 - 0.3632 = 0.6368 e. z25.5 =
25.5 - 23.75 3.53
= 0.50
z28.5 = 28.5 - 23.75
3.53 = 1.35
P125.5 … x … 28.52 = 0.9115 - 0.6915 = 0.2200 6.60 a. l =
22.1 fouls
40 minutes = 0.5525 fouls>minute
P1x … 12 = 1 - e - 11210.55252 = 1 - 0.5755 = 0.4245 b. P1x … 42 = 1 - e - 14210.55252 = 0.8903
P1x … 22 = 1 - e - 12210.55252 = 0.6688 P12 … x … 42 = 0.8903 - 0.6688 = 0.2215
c. P1x 7 32 = e - 13210.55252 = 0.1906 e. s =
1
l =
1
0.5525 = 1.81 minutes
6.62 a. m = 32 days
1 accident l =
1 accident
32 days = 0.03125 accidents>day
P1x … 102 = 1 - e - 110210.031252 = 1 - 0.7316 = 0.2684 b. P1x … 252 = 1 - e - 125210.031252 = 0.5422
P1x … 152 = 1 - e - 115210.031252 = 0.3742 P115 … x … 252 = 0.5422 - 0.3742 = 0.1680
c. P1x 7 402 = e - 140210.031252 = 0.2865 e. s = m = 32 days
6.64 a. l = a 10.8 customers 1 hour
b a 1 hour 60 minutes
b = 0.18 customers>minute P1x … 32 = 1 - e - 13210.182 = 1 - 0.5827 = 0.4173
b. P1x … 62 = 1 - e - 16210.182 = 1 - 0.3396 = 0.6604 P1x … 122 = 1 - e - 112210.182 = 1 - 0.1153 = 0.8847 P16 … x … 122 = 0.8847 - 0.6604 = 0.2243
c. P1x 7 102 = e - 110210.182 = 0.1653 e. s =
1
l =
1
0.18 = 5.56 minutes
6.66 a. P1x 7 32 = P13 … x … 92 = 9 - 3 9 - 0.5
= 0.7059
b. P1x 6 5.52 = P10.5 … x … 5.52 = 5.5 - 0.5 9 - 0.5
= 0.5882
c. P14 … x … 82 = 8 - 4 9 - 0.5
= 0.4706
d. m = 0.5 + 9
2 = 4.75 minutes
s = 9 - 0.5212 = 2.45 minutes
e. x2 = 10.80219 - 0.52 + 0.5 = 7.3 minutes Because 7.3 minutes exceeds the 6-minute target, this goal is not being met.
6.68 a. P1x 6 122 = P14 … x … 122 = 12 - 4 18 - 4
= 0.5714
b. P16 … x … 102 = 10 - 6 18 - 4
= 0.2857
c. P1x 7 72 = P17 … x … 182 = 18 - 7 18 - 4
= 0.7857
d. P1x = 152 = 0 e. m =
4 + 18 2
= 11 minutes
s = 18 - 4212 = 4.05 minutes
6.70 Find the closest value to 0.95 in the body of Table 4 in Appendix A. This will be in row 1.6, halfway between 0.9495 and 0.9505 in columns 0.04 and 0.05. The z-score for the 95th percentile is therefore 1.645.
x = 60 + 11.64521122 = 79.7 ≈ 80 boxes of golf balls
www.freebookslides.com
A P P E N D I X B | Chapter 7 885
Chapter 7
7.2 a. m = 684
20 = 34.2
b. x = 95
5 = 19.0
Sampling error = - 15.2
c. x = 286
10 = 28.6
Sampling error = - 5.6 d. Sampling error decreases as the sample size increases.
e. Smallest x = 60
5 = 12.0
Sampling error = - 22.2
Largest x = 297
5 = 59.4
Sampling error = 25.2 Smallest sampling error = - 22.2 Largest sampling error = 25.2
7.4 a. m = 181,200
15 = 12,080.0
b. x = 69,175
5 = 13,835.0
Sampling error = 1,755.0
c. x = 112,155
10 = 11,215.5
Sampling error = - 864.5 d. Sampling error decreases as the sample size increases.
7.8 sx = 15210 = 4.75
z85 = 85 - 80
4.75 = 1.05
P1x … 852 = 0.8531 7.10 sx =
9236 = 1.50 xU = 45 + 11.96211.502 = 47.94 xL = 45 - 11.96211.502 = 42.06 7.12 a. sx =
$0.50230 = $0.0912 b. z7.75 =
$7.75 - $7.96 $0.0912
= - 2.30
P1x 6 $7.752 = 0.0107 c. z8.10 =
$8.10 - $7.96 $0.0912
= 1.54
P1x 6 $8.102 = 0.9382 d. z8.20 =
$8.20 - $7.96 $0.0912
= 2.63
P1x 7 $8.202 = 1.0 - 0.9957 = 0.0043 7.14 a. sx =
$26.00235 = $4.39 b. z160 =
$160 - $156 $4.39
= 0.91
P1x 6 $1602 = 0.8186 c. z163 =
$163 - $156 $4.39
= 1.59
P1x 7 $1632 = 1.0 - 0.9441 = 0.0559
d. z147 = $147 - $156
$4.39 = - 2.05
z151 = $151 - $156
$4.39 = - 1.14
P1$147 … x … $1512 = 0.1271 - 0.0202 = 0.1069 7.16 a. sx =
6.0230 = 1.09 z51 =
51 - 52.7 1.09
= - 1.56
P1x 6 512 = 0.0594 b. sx =
6.0245 = 0.89 z51 =
51 - 52.7 0.89
= - 1.91
P1x 6 512 = 0.0281 c. sx =
6.0260 = 0.77 z51 =
51 - 52.7 0.77
= - 2.21
P1x 6 512 = 0.0136 d. With a larger sample size, standard error decreases and the sample
means tend to move closer to the population mean of 52.7 MPH. Therefore, the probability of observing a sample mean less than 51.0 MPH decreases as the sample size increases.
7.18 a. sx = $33231 = $335.57 = $5.92
z91 = $91 - $108
$5.92 = - 2.87
P1x 6 $912 = 0.0021 There’s a 0.21% chance of observing a sample mean as low as $91,
if the population mean is $108. This probability is low enough (less than 0.05) to contradict the findings of the Harris poll.
b. xU = mx + zsx xU = $108 + 11.9621$5.922 = $119.60 xL = mx - zsx xL = $108 - 11.9621$5.922 = $96.40 Note that the sample mean of $91 is below the lower sample mean,
confirming our answer to part a.
7.20 a. sx = 6.5240 = 1.03
z33 = 33 - 30
1.03 = 2.91
P1x 7 332 = 1.0 - 0.9982 = 0.0018 Thus, there’s less than a 1% chance of observing a sample mean
as high as 33 minutes, if the population mean is 30 minutes. This probability is low enough (less than 0.05) to contradict the claim made by the pizza shop.
b. xU = 30 + 11.96211.032 = 32.0 minutes xL = 30 - 11.96211.032 = 28.0 minutes Note that the sample mean of 33 minutes is above the upper sample
mean of 32 minutes, confirming our answer to part a.
7.22 a. sx = 4.9232 A 80 - 3280 - 1 = 0.68
b. z87 = 87 - 85.4
0.68 = 2.35
P1x 6 872 = 0.9906 c. z86 =
86 - 85.4 0.68
= 0.88
P1x 7 862 = 1.0 - 0.8106 = 0.1894
www.freebookslides.com
886 A P P E N D I X B | Answers to Selected Even-Numbered Problems
d. z84.5 = 84.5 - 85.4
0.68 = - 1.32
z86.5 = 86.5 - 85.4
0.68 = 1.62
P184.5 … x … 86.52 = 0.9474 - 0.0934 = 0.8540 7.24 a. Using Excel, m = 79.024 in. and s = 3.608 in.
(Remember to use =STDEVP).
b. sx = 3.608245 A 335 - 45335 - 1 = 0.501
z78 = 78 - 79.024
0.501 = - 2.04
P1x 6 782 = 0.0207 c. z79.5 =
79.5 - 79.024 0.501
= 0.95
P1x 7 79.52 = 1.0 - 0.8289 = 0.1711 d. z78.5 =
78.5 - 79.024 0.501
= - 1.05
z80 = 80 - 79.024
0.501 = 1.95
P178.5 … x … 802 = 0.9744 - 0.1469 = 0.8275
7.26 a. sp = B 10.65211 - 0.652125 = 0.0427 p =
80
125 = 0.64
z0.64 = 0.64 - 0.65
0.0427 = - 0.23
P1p … 0.642 = 0.4090 b. p =
82
125 = 0.656
z0.656 = 0.656 - 0.65
0.0427 = 0.14
P1p … 0.6562 = 0.5557 c. p =
75
125 = 0.60
z0.60 = 0.60 - 0.65
0.0427 = - 1.17
P1p Ú 0.602 = 1.0 - 0.1210 = 0.8790
7.28 a. sp = B 10.4211 - 0.42150 A 400 - 150400 - 1 = 0.0317 p =
50
150 = 0.333
z0.333 = 0.333 - 0.40
0.0317 = - 2.11
p = 54
150 = 0.36
z0.36 = 0.36 - 0.40
0.0317 = - 1.26
P10.333 … p … 0.362 = 0.1038 - 0.0174 = 0.0864 b. p =
55
150 = 0.367
z0.367 = 0.367 - 0.40
0.0317 = - 1.04
p = 62
150 = 0.413
z0.413 = 0.413 - 0.40
0.0317 = 0.41
P10.367 … p … 0.4132 = 0.6591 - 0.1492 = 0.5099
c. p = 53
150 = 0.353
z0.353 = 0.353 - 0.40
0.0317 = - 1.48
p = 70
150 = 0.467
z0.467 = 0.467 - 0.40
0.0317 = 2.11
P10.353 … p … 0.4672 = 0.9826 - 0.0694 = 0.9132
7.30 a. sp = A 10.31211 - 0.312175 = 0.0350 b. p =
58
175 = 0.331
z0.331 = 0.331 - 0.31
0.0350 = 0.60
P1p 6 0.3312 = 0.7257 c. p =
62
175 = 0.354
z0.354 = 0.354 - 0.31
0.0350 = 1.26
P1p 7 0.3542 = 1.0 - 0.8962 = 0.1038 d. p =
52
175 = 0.297
z0.297 = 0.297 - 0.31
0.0350 = - 0.37
P1p 7 0.2972 = 1.0 - 0.3557 = 0.6443 e. p =
44
175 = 0.251
z0.251 = 0.251 - 0.31
0.0350 = - 1.69
p = 50
175 = 0.286
z0.286 = 0.286 - 0.31
0.0350 = - 0.69
P10.251 … p … 0.2862 = 0.2451 - 0.0455 = 0.1996
7.32 a. sp = B 10.69211 - 0.692140 = 0.0391 b. p =
100
140 = 0.714
z0.714 = 0.714 - 0.69
0.0391 = 0.61
P1p Ú 0.7142 = 1.0 - 0.7291 = 0.2709 c. p =
96
140 = 0.686
z0.686 = 0.686 - 0.69
0.0391 = - 0.10
p = 105
140 = 0.75
z0.75 = 0.75 - 0.69
0.0391 = 1.53
P10.686 … p … 0.752 = 0.9370 - 0.4602 = 0.4768 d. p =
81
140 = 0.579
z0.579 = 0.579 - 0.69
0.0391 = - 2.84
P1p … 0.5792 = 0.0023 Thus, there’s less than a 1% chance of observing a sample proportion as low as 0.579 if the population proportion is 0.69. This probability is low enough (less than 0.05) to contradict the claim made by the survey.
www.freebookslides.com
A P P E N D I X B | Chapter 7 887
7.34 a. sp = A 10.36211 - 0.362125 = 0.0429 b. z0.30 =
0.30 - 0.36 0.0429
= - 1.40
P1p 6 0.302 = 0.0808 c. z0.28 =
0.28 - 0.36 0.0429
= - 1.86
z0.40 = 0.40 - 0.36
0.0429 = 0.93
P10.28 … p … 0.402 = 0.8238 - 0.0314 = 0.7924 d. The standard error would be reduced as follows:
sp = A 10.36211 - 0.362225 = 0.0320 This would, in turn, increase the probabilities that the sample proportions will be closer to the population proportion:
z0.30 = p - p sp
= 0.30 - 0.36
0.0320 = - 1.88
P1p 6 0.302 = P1z 6 - 1.882 = 0.0301
z0.28 = 0.28 - 0.36
0.0320 = - 2.50
z0.40 = 0.40 - 0.36
0.0320 = 1.25
P10.28 … p … 0.402 = P1 - 2.50 … z … 1.252 = 0.8944 - 0.0062 = 0.8882
7.36 a. sp = B 10.56211 - 0.56250 A 200 - 50200 - 1 = 0.0609 z0.60 =
0.60 - 0.56 0.0609
= 0.66
P1p 6 0.602 = 0.7454
b. sp = B 10.56211 - 0.562100 A 200 - 100200 - 1 = 0.0352 z0.60 =
0.60 - 0.56 0.0352
= 1.14
P1p 6 0.602 = 0.8729
sp = B 10.56211 - 0.562150 A 200 - 150200 - 1 = 0.0203 z0.60 =
0.60 - 0.56 0.0203
= 1.97
P1p 6 0.602 = 0.9756 Increasing the sample size reduces the standard error. This, in turn, increases the probabilities that the sample proportions will be closer to the population proportion.
c. sp = B 10.56211 - 0.56250 = 0.0702 z0.60 =
0.60 - 0.56 0.0702
= 0.57
P1p 6 0.602 = 0.7157 Without the finite correction factor the standard error is overestimated, causing the probability to be underestimated.
7.38 a. sx = $15,300234 = $15,3005.83 = $2,624.36
z70,000 = $70,000 - $74,804
$2,624.36 = - 1.83
P1x 6 $70,0002 = 0.0336 b. z74,000 =
$74,000 - $74,804 $2,624.36
= - 0.31
P1x 7 $74,0002 = 1.0 - 0.3783 = 0.6217
c. z76,000 = $76,000 - $74,804
$2,624.36 = 0.46
z81,000 = $81,000 - $74,804
$2,624.36 = 2.36
P1$76,000 6 x 6 $81,0002 = 0.9909 - 0.6772 = 0.3137 7.40 a. sx =
14624 = 73.0 z1,200 =
1,200 - 1,120 73.0
= 1.10
P1x 7 1,2002 = 1.0 - 0.8643 = 0.1357 b. Because the sample size is less than 30, the weekly demand
(population) must be normally distributed.
7.42 a. sp = B 10.10211 - 0.102200 = 0.0212 z0.12 =
0.12 - 0.10 0.0212
= 0.94
P1p 7 0.122 = 1.0 - 0.8264 = 0.1736 b. z0.14 =
0.14 - 0.10 0.0212
= 1.89
P1p 6 0.142 = 0.9706 c. z0.06 =
0.06 - 0.10 0.0212
= - 1.89
z0.09 = 0.09 - 0.10
0.0212 = - 0.47
P10.06 … p … 0.092 = 0.3192 - 0.0294 = 0.2898 d. p =
9
200 = 0.045
z0.045 = 0.045 - 0.10
0.0212 = - 2.59
P1p … 0.0452 = 0.0048 Thus, there’s less than a 1% chance of observing a sample proportion as low as 0.045 if the population proportion is 0.1. This probability is low enough (less than 0.05) to conclude that the population proportion of left-handed golfers is less than 10%.
7.44 a. sx = $7,500230 = $1,368.61
z24,000 = $24,000 - $23,200
$1,368.61 = 0.58
P1x 6 $24,0002 = 0.7190 b. xU = $23,200 + 11.9621$1,368.612 = $25,882.48 xL = $23,200 - 11.9621$1,368.612 = $20,517.52 c. sx =
$7,500260 = $967.74 z24,000 =
$24,000 - $23,200 $967.74
= 0.83
P1x 6 $24,0002 = 0.7967 Increasing the sample size reduces the standard error. This, in turn, increases the probability that the sample mean will be closer to the population mean.
7.46 a. sx = 3.0215 A 90 - 1590 - 1 = 0.71
z11 = 11 - 12
0.71 = - 1.41
P1x 7 112 = 1.0 - 0.0793 = 0.9207 b. z12.5 =
12.5 - 12 0.71
= 0.70
P1x 7 12.52 = 1.0 - 0.7580 = 0.2420 c. z10 =
10 - 12 0.71
= - 2.82
P1x … 102 = 0.0024 Thus, there’s less than a 1% chance of observing a sample mean as low as 10 minutes if the population mean is 12 minutes.
www.freebookslides.com
888 A P P E N D I X B | Answers to Selected Even-Numbered Problems
This probability is low enough (less than 0.05) to contradict the professor’s claim that the average time to grade an exam is 12 minutes.
d. Because the sample size is less than 30, the time to correct exams must be normally distributed.
7.48 a. sx = $95230 = $17.34
z475 = $475 - $460
$17.34 = 0.87
P1x 6 $4752 = 0.8078 b. z450 =
$450 - $460 $17.34
= - 0.58
z465 = $465 - $460
$17.34 = 0.29
P1$450 6 x 6 $4652 = 0.6141 - 0.2810 = 0.3331 c. xU = mx + zsx
xU = $460 + 11.9621$17.342 = $493.99 xL = mx - zsx xL = $460 - 11.9621$17.342 = $426.01
d. z411 = $411 - $460
$17.34 = - 2.83
P1x … $4112 = 0.0023 There’s a 0.23% chance of observing a sample mean as low as $411, if the population mean is $460. This probability is low enough (less than 0.05) to contradict the findings of the HomeAdvisor, Inc.
7.50 a. sx = 5.0230 = 0.912
z35.1 = 35.1 - 34.5
0.912 = 0.66
P1x Ú 35.12 = 1.0 - 0.7454 = 0.2546 There’s a 25% chance of observing a sample mean as high as 35.1, if the population mean is 34.5. This probability is high enough (more than 0.05) to support the findings of the Pew Research Center.
b. xU = mx + zsx xU = 34.5 + 11.96210.9122 = 36.3 xL = mx - zsx xL = 34.5 - 11.96210.9122 = 32.7
7.52 a. sx = $11,700240 = $1,851.27
z88,000 = $88,000 - $85,854
$1,851.27 = 1.16
P1x 6 $88,0002 = 0.8770 b. z81,000 =
$81,000 - $85,854 $1,851.27
= - 2.62
P1x 7 $81,0002 = 1.0 - 0.0044 = 0.9956 c. z83,000 =
$83,000 - $85,854 $1,851.27
= - 1.54
z85,000 = $85,000 - $85,854
$1,851.27 = - 0.46
P1$83,000 … x … $85,0002 = 0.3228 - 0.0618 = 0.2610 d. z87,400 =
$87,400 - $85,854 $1,851.27
= 0.84
P1x Ú $87,4002 = 1.0 - 0.7995 = 0.2005 There’s a 20% chance of observing a sample mean as high as $87,400, if the population mean is $85,854. This probability is high enough (more than 0.05) to support the findings of the Graduate Management Admission Council.
7.54 a. n
N =
42
286 = 0.147 7 0.05
sp = A 10.39211 - 0.39242 A 286 - 42286 - 1 = 0.0697 p =
15
42 = 0.357
z0.357 = 0.357 - 0.39
0.0697 = - 0.47
P1p … 0.3572 = 0.3192 b. p =
18
42 = 0.429
z0.429 = 0.429 - 0.39
0.0697 = 0.56
P1p Ú 0.4292 = 1.0 - 0.7123 = 0.2877 c. p =
17
42 = 0.405
p = 22
42 = 0.524
z0.405 = 0.405 - 0.39
0.0697 = 0.22
z0.524 = 0.524 - 0.39
0.0697 = 1.92
P10.405 … p … 0.5242 = 0.9726 - 0.5871 = 0.3855
7.56 a. sp = A 10.143211 - 0.1432180 = 0.0261 z0.20 =
0.20 - 0.143 0.0261
= 2.18
P1p … 0.202 = 0.9854 b. z0.18 =
0.18 - 0.143 0.0261
= 1.42
P1p Ú 0.182 = 1.0 - 0.9222 = 0.0778 c. z0.10 =
0.10 - 0.143 0.0261
= - 1.65
z0.15 = 0.15 - 0.143
0.0261 = 0.27
P10.10 … p … 0.152 = 0.6064 - 0.0495 = 0.5569 d. p =
29
180 = 0.161
z0.161 = 0.161 - 0.143
0.0261 = 0.69
P1p Ú 0.1612 = 1.0 - 0.7549 = 0.2451 There’s a 24% chance of observing a sample proportion as high as 0.161, if the population proportion is 0.143. This probability is high enough (more than 0.05) to support the findings of Catalyst.
7.58 a. sp = A 10.30211 - 0.302140 = 0.0387 p =
45
140 = 0.321
z0.321 = 0.321 - 0.30
0.0387 = 0.54
P1p … 0.3212 = 0.7054 b. p =
50
140 = 0.357
z0.357 = 0.357 - 0.30
0.0387 = 1.47
P1p Ú 0.3572 = 1.0 - 0.9292 = 0.0708 c. p =
35
140 = 0.250
p = 40
140 = 0.286
www.freebookslides.com
A P P E N D I X B | Chapter 8 889
z0.250 = 0.250 - 0.30
0.0387 = - 1.29
z0.286 = 0.286 - 0.30
0.0387 = - 0.36
P10.250 … p … 0.2862 = 0.3594 - 0.0985 = 0.2609 d. p =
28
140 = 0.20
z0.20 = 0.20 - 0.30
0.0387 = - 2.58
P1p … 0.202 = 0.0049 There’s a 0.49% chance of observing a sample proportion as low as 0.20, if the population proportion is 0.30. This probability is low enough (less than 0.05) to contradict the findings of the University of Michigan Transportation Research Institute.
7.60 a. sx = 0.5230 = 0.09
xU = 16.0 + 13.0210.092 = 16.27 xL = 16.0 - 13.0210.092 = 15.73
b. P1 - 3.0 … z … 3.02 = 0.9987 - 0.0013 = 0.9974
7.62 sx = s2n A N - nN - 1 = 0.9260 A 570 - 60570 - 1 = 0.11
z7.75 = x - mx
sx =
7.75 - 8.0 0.11
= - 2.27
P1x … 7.752 = P1z … - 2.272 = 0.0116 Thus, there’s only a little over a 1% chance of observing a sample mean ranking as low as 7.75, if the population mean ranking is 8. This probability is low enough (less than 0.05) to conclude that the customer satisfaction goal of 8 is not being achieved.
Chapter 8
8.2 sx = 30240 = 4.74
UCL x = 45.00 + 12.575214.742 = 57.21 LCL x = 45.00 - 12.575214.742 = 32.79 8.4 a. sx =
12235 = 2.03 UCL x = 60.00 + 12.330212.032 = 64.73 LCL x = 60.00 - 12.330212.032 = 55.27 b. sx =
12245 = 1.79 UCL x = 60.00 + 12.330211.792 = 64.17 LCL x = 60.00 - 12.330211.792 = 55.83 c. sx =
12255 = 1.62 UCL x = 60.00 + 12.330211.622 = 63.77 LCL x = 60.00 - 12.330211.622 = 56.23 8.6 a. sx =
50230 = 9.13 MEx = 11.280219.132 = 11.69 b. sx =
50245 = 7.45 MEx = 11.280217.452 = 9.54 c. sx =
50260 = 6.45 MEx = 11.280216.452 = 8.26
8.8 sx = 17212 = 4.91
UCL x = 60.00 + 12.575214.912 = 72.64 LCL x = 60.00 - 12.575214.912 = 47.36 The population must be normally distributed.
8.10 a. sx = $35235 = $5.92
UCL x = $311.00 + 11.64521$5.922 = $320.74 LCL x = $311.00 - 11.64521$5.922 = $301.26 b. MEx = 11.64521$5.922 = $9.74 8.12 a. sx =
260232 = 45.96 UCL x = 2,157.00 + 11.9602145.962 = 2,247.08 LCL x = 2,157.00 - 11.9602145.962 = 2,066.92
b. sx = 260232 = 45.96
UCL x = 2,157.00 + 12.5752145.962 = 2,275.35 LCL x = 2,157.00 - 12.5752145.962 = 2,038.65
c. sx = 260232 = 45.96
UCL x = 2,157.00 + 11.752145.962 = 2,237.43 LCL x = 2,157.00 - 11.752145.962 = 2,076.57 8.14 a. sx =
45245 = 6.71 UCL x = 488.90 + 11.960216.712 = 502.05 LCL x = 488.90 - 11.960216.712 = 475.75 Yes, this sample supports HP’s claim that the cartridge will yield an
average of 495 pages.
b. The margin of error: CONFIDENCE.NORM 10.05, 45, 452 = 13.15
8.16 a. sx = 2.3218 = 0.542
UCL x = 27.5 + 11.96210.5422 = 28.56 LCL x = 27.5 - 11.96210.5422 = 26.44 b. No, this sample does not support Toyota’s claim that the average age
of a Scion driver is 26 years.
c. The population must be normally distributed.
d. The margin of error: CONFIDENCE.NORM 10.05, 2.3, 182 = 1.06 8.18 snx =
8.5225 = 1.70; df = 24 UCL x = 38.00 + 12.064211.702 = 41.51 LCL x = 38.00 - 12.064211.702 = 34.49 The population’s standard deviation is unknown, so we substitute the
sample standard deviation and use the t-distribution. The population must be normally distributed.
8.20 a. snx = 32230 = 5.84; df = 29
UCL x = 125.00 + 11.311215.842 = 132.66 LCL x = 125.00 - 11.311215.842 = 117.34 b. snx =
32260 = 4.13; df = 59 UCL x = 125.00 + 11.296214.132 = 130.35 LCL x = 125.00 - 11.296214.132 = 119.65
www.freebookslides.com
890 A P P E N D I X B | Answers to Selected Even-Numbered Problems
c. snx = 32290 = 3.37; df = 89
UCL x = 125.00 + 11.291213.372 = 129.35 LCL x = 125.00 - 11.291213.372 = 120.65 8.22 a. snx =
40210 = 12.65; df = 9 MEx = 12.2622112.652 = 28.61 b. snx =
40230 = 7.30; df = 29 MEx = 12.045217.302 = 14.93
c. snx = 40250 = 5.66; df = 49
MEx = 12.009215.662 = 11.36 8.24 a. snx =
1,755221 = 382.97; df = 20 UCL x = 5,038 + 11.72521382.972 = 5,698.62 LCL x = 5,038 - 11.72521382.972 = 4,377.38 b. = CONFIDENCE.T10.10, 1755, 212 = 660.52 c. The population’s standard deviation is unknown, so we substitute
the sample standard deviation and use the t-distribution. The population must be normally distributed.
8.26 a. x = 4.59; s = 2.31 1from Excel2 snx =
2.31212 = 0.67; df = 11 UCL x = 4.59 + 12.201210.672 = 6.07 LCL x = 4.59 - 12.201210.672 = 3.11 b. = CONFIDENCE.T10.05, 2.31, 122 = 1.47 c. The population’s standard deviation is unknown, so we substitute
the sample standard deviation and use the t-distribution. The population must be normally distributed.
8.28 a. x = $3.64; s = $0.087; n = 15
snx = $0.087215 = $0.0225; df = 14
UCL x = $3.64 + 11.76121$0.02252 = $3.68 LCL x = $3.64 - 11.76121$0.02252 = $3.60 b. Because $3.65 is within the confidence interval, the results from this
sample validate AAA’s findings.
c. CONFIDENCE.T10.10, 0.087, 152 = 0.040 UCL x = $3.64 + $0.040 = $3.68 LCL x = $3.64 - $0.040 = $3.60 d. The population must be normally distributed.
8.30 p = 0.60; sp = B 10.60211 - 0.602150 = 0.04 UCL p = 0.60 + 11.960210.042 = 0.678 LCL p = 0.60 - 11.960210.042 = 0.522
8.32 a. p = 0.70; sp = B 10.70211 - 0.702125 = 0.041 MEp = 11.960210.0412 = 0.080
b. p = 0.70; sp = B 10.70211 - 0.702200 = 0.032 MEp = 11.960210.0322 = 0.063
c. p = 0.70; sp = B 10.70211 - 0.702250 = 0.029 MEp = 11.960210.0292 = 0.057
8.34 a. p = 176
225 = 0.7822; sp = A 10.7822211 - 0.78222225 = 0.0275
UCL p = 0.7822 + 11.960210.02752 = 0.8361 LCL p = 0.7822 - 11.960210.02752 = 0.7283 b. MEp = 11.960210.02752 = 0.0539 c. There is no evidence that the proportion of individual tax returns
that were filed electronically since 2012 has changed, since 81% is within the confidence interval.
8.36 a. p = 127
270 = 0.470; sp = A 10.470211 - 0.4702270 = 0.0304
UCL p = 0.470 + 12.33210.03042 = 0.541 LCL p = 0.470 - 12.33210.03042 = 0.399 b. MEp = 12.33210.03042 = 0.0708 c. There is no evidence to conclude that the homeownership rate in
Germany has changed in 2014 since 44% is within the confidence interval.
8.38 n = 11.6452217522
11222 = 105.7; use n = 106
8.40 a. n = 11.9602218022
11022 = 245.9; use n = 246
b. n = 11.9602218022
11522 = 109.3; use n = 110
c. n = 11.9602218022
12022 = 61.5; use n = 62
8.42 n = 11.6452210.65211 - 0.652
10.0622 = 171.0; use n = 171
8.44 n = 11.960221122
10.222 = 96.04; use n = 97
8.46 n = 11.9602210.0222
10.00522 = 61.5; use n = 62
8.48 n = 11.6452210.50211 - 0.502
10.0422 = 422.8; use n = 423
8.50 n
N =
40
400 = 0.10 7 0.05; B 1N - n21N - 12 = A 360399 = 0.9499
sx = 20240 = 3.16
UCL x = 70.00 + 11.645213.16210.94992 = 74.94 LCL x = 70.00 - 11.645213.16210.94992 = 65.06
8.52 n
N =
75
500 = 0.15 7 0.05; B 1N - n21N - 12 = A 425499 = 0.9229;
p = 22
75 = 0.2933; snp = B 10.2933211 - 0.2933275 = 0.0526
UCL p = 0.2933 + 11.960210.0526210.92292 = 0.3884 LCL p = 0.2933 - 11.960210.0526210.92292 = 0.1982 8.54 a.
n
N =
32
105 = 0.30 7 0.05; B 1N - n21N - 12 = A 73104 = 0.8378
sx = 0.5232 = 0.0884
UCL x = 1.4000 + 11.960210.0884210.83782 = 1.5452 LCL x = 1.4000 - 11.960210.0884210.83782 = 1.2548 b. The average radon level is below the EPA’s recommendation.
8.56 a. sx = $4.30236 = $0.72
UCL x = $21.32 + 12.03021$0.722 = $22.77 LCL x = $21.32 - 12.03021$0.722 = $19.87
www.freebookslides.com
A P P E N D I X B | Chapter 9 891
The results of this sample are consistent with the claim made by the Bureau of Labor Statistics that the average hourly wage was $22.57.
b. MEx = 12.03021$0.722 = $1.46 c. = CONFIDENCE.NORM10.05, 4.3, 362 = 1.41
8.58 a. p = 119
210 = 0.567; sp = A 10.567211 - 0.5672210 = 0.0342
UCL p = 0.567 + 11.96210.03422 = 0.634 LCL p = 0.567 - 11.96210.03422 = 0.500 b. MEp = 11.96210.03442 = 0.0674 c. There is evidence to conclude that the proportion of women that
breast-feed their six-month-old babies has increased since 2012.
8.60 a. p = 5
55 = 0.091
n = 12.3302210.091211 - 0.0912
10.0522 = 179.6 Use n = 180. Sample an additional 125.
8.62 a. snx = 76233 = 13.23
UCL x = 222.00 + 11.6942113.232 = 244.41 LCL x = 222.00 - 11.6942113.232 = 199.59 b. snx =
76233 = 13.23 UCL x = 222.00 + 12.0372113.232 = 248.95 LCL x = 222.00 - 12.0372113.232 = 195.05 c. snx =
76233 = 13.23 UCL x = 222.00 + 12.7382113.232 = 258.22 LCL x = 222.00 - 12.7382113.232 = 185.78 d. The higher the confidence level, the wider the confidence interval.
e. The population must be normally distributed.
8.64 a. n = 11.645221$16022
1$2022 = 173.2; use n = 174
b. n = 11.960221$16022
1$2022 = 245.9; use n = 246
c. n = 12.330221$16022
1$2022 = 347.4; use n = 348 d. To be more confident that the interval contains the true population
parameter given a constant margin of error, a larger sample size is needed.
8.66 a. x = $1,525; s = $1,209.56; n = 20
sn = $1,209.56220 = $270.60; df = 19
UCL x = $1,525 + 12.09321$270.602 = $2,091.37 LCL x = $1,525 - 12.09321$270.602 = $958.63 b. These results do validate the findings of Transparency International
because $1,596 is within the confidence interval.
c. MEx = 12.09321$270.602 = $566.37 d. The reason the margin of error is so large is that the sample standard
deviation is large and the sample size is small.
e. CONFIDENCE.T10.05, 1209.56, 202 = 566.09 UCL x = $1,525 + $566.09 = $2,091.09 LCL x = $1,525 - $566.09 = $958.91
8.68 p = 274
330 = 0.83; sp = B 10.83211 - 0.832330 = 0.0207
UCL p = 0.8300 + 11.645210.02072 = 0.8641 LCL p = 0.8300 - 11.645210.02072 = 0.7959
The results reported by GMAC are validated by this analysis, since 85% is included within the confidence interval.
8.70 a. p = 47
260 = 0.181; snp = A 10.181211 - 0.1812260 = 0.0239
UCL p = 0.181 + 11.645210.02392 = 0.220 LCL p = 0.181 - 11.645210.02392 = 0.142 b. MEp = 11.645210.02392 = 0.0393 c. There is evidence to conclude that the proportion of new car loans
between 73 and 84 months has increased since 2009 because 11% is below this interval.
8.72 a. x = $321.83; s = $90.66; n = 24
sx = $90.66224 = $18.51; df = 23
UCL x = $321.83 + 12.80721$18.512 = $373.79 LCL x = $321.83 - 12.80721$18.512 = $269.87 b. MEx = 12.80721$18.512 = $51.96 c. = CONFIDENCE.T10.01, 90.66, 242 = 51.95
8.74 a. n
N =
27
310 = 0.087 7 0.05; B 1N - n21N - 12 = A 283309 = 0.9570;
x = 38.7; snx = 6.8227 = 1.3087; df = 26
UCL x = 38.70 + 12.056211.3087210.95702 = 41.27 LCL x = 38.70 - 12.056210.3087210.95702 = 36.13 b. Because the population’s standard deviation is unknown, the
t-distribution needs to be used in calculations, and the finite population correction factor. The population also needs to be normally distributed.
8.76 a. n
N =
240
872 = 0.275 7 0.05; A 1N - n21N - 12 = A 632871 = 0.8518
p = 77
240 = 0.321; snp = A 10.321211 - 0.3212240 = 0.0301
UCL p = 0.321 + 11.960210.0301210.85182 = 0.371 LCL p = 0.321 - 11.960210.0301210.85182 = 0.271 b. MEp = 11.960210.0301210.85182 = 0.0503 8.78 a. x = $98.35; s = $61.72; n = 350
snx = $61.722350 = $3.30; df = 349
UCL x = $98.35 + 11.96021$3.302 = $104.82 LCL x = $98.35 - 11.96021$3.302 = $91.88 b. MEx = 11.96021$3.302 = $6.47 c. = CONFIDENCE.T10.05, 61.72, 3502 = 6.49
Chapter 9 9.2 a. p@value = P1zx 7 1.462 = 0.0721
p@value 6 0.10 S Reject H0 b. p@value = P1zx 6 - 2.482 = 0.0066
p@value 6 0.01 S Reject H0 c. p@value = 2 * P1zx 6 - 1.922 = 12210.02742 = 0.0548
p@value 7 0.01 S Do not reject H0 d. p@value = 2 * P1zx 7 2.762 = 12211.0 - 0.99712 = 0.0058
p@value 6 0.02 S Reject H0
9.4 a. zx = 111 - 120
26240 = - 2.19 b. p@value = 2 * P1zx 6 - 2.192 = 12210.01432 = 0.0286 p@value 6 0.05 S Reject H0
www.freebookslides.com
892 A P P E N D I X B | Answers to Selected Even-Numbered Problems
9.6 a. H0: m = 1.7 cups 1status quo2 H1: m ≠ 1.7 cups
za>2 = 1.645; zx = 1.95 - 1.70
0.5234 = 2.92 zx 7 za>2 S Reject H0 The coffee industry’s claim is not supported.
b. p@value = 12211.0 - 0.99822 = 0.0036 9.8 a. H0: m … 40 years 1status quo2
H1: m 7 40 years
za = 2.05; zx = 42.7 - 40
8.0260 = 2.614 zx 7 za S Reject H0 The sample provides enough evidence to refute the claim that the average age is less than or equal to 40 years.
b. p@value = P1zx 7 2.612 = 0.0045 9.10 a. H0: m = 5 minutes 1status quo2
H1: m ≠ 5 minutes
za>2 = 2.33; zx = 5.5 - 5.0
1.7245 = 1.973 � zx � … � za>2 � S Do not reject H0 This sample does not provide enough evidence to refute the claim that the average wait time equals 5 minutes.
b. p@value = 2 * P1zx 7 1.972 = 0.0488
9.12 a. - ta = - 1.711; tx = 58.8 - 65.0
10.4225 = - 2.981 tx 6 - ta S - 2.981 6 - 1.711 S Reject H0
b. p-value = 0.0032 6 a = 0.05 S Reject H0 9.14 a. x = 17.8; s = 3.29 1from Excel2
ta = 1.833; tx = 17.8 - 16.0
3.29210 = 1.73 tx … ta S 1.73 6 1.833 S Do not reject H0
b. p-value = 0.0590 7 a = 0.05 S Do not reject H0 9.16 a. H0: m Ú $186
H1: m 6 $186
- ta = - 1.685; tx = $178.10 - $186.0
$22.4240 = - 2.231 tx 6 - ta S - 2.231 6 - 1.685 S Reject H0 This sample provides evidence that the average utility bill was smaller in the winter of 2013–2014 when compared to the winter of 2012–2013.
b. Yes, changing the value of a to 0.01 affects the conclusion. a = 0.01; - ta = - 2.426; tx = - 2.231 tx Ú - ta S - 2.231 7 - 2.426 S Do not reject H0 A lower value of a makes it more challenging to reject the null hypothesis.
c. a = 0.05: p@value = 0.0158 6 a = 0.05 S Reject H0 a = 0.01: p@value = 0.0158 7 a = 0.01 S Do not reject H0
9.18 a. H0: m Ú $373 1status quo2 H1: m 6 $373 x = $325.5; s = $103.13; 1from Excel2 - ta = - 1.753 tx =
$325.5 - $373.0 $103.13216 = - 1.84
tx 6 - ta S - 1.84 6 - 1.753 S Reject H0 This sample supports the retailers’ concerns.
b. � tx � = � - 1.84 � = 1.84; df = 15; The p-value is between 0.025 and 0.05 which is less than a; therefore, we can reject the null hypothesis.
c. p@value = T.DIST1 - 1.84, 15, TRUE2 = 0.0428 9.20 a. H0: m … 766
H1: m 7 766 x = 771; mH0 = 766; s = 21; n = 35; df = 34
a = 0.05; ta = 1.691; tx = 771 - 766
21235 = 1.41 tx … ta S 1.41 6 1.691 S Do not reject H0
b. tx = 1.41; df = 34; the p-value is between 0.05 and 0.10, which is greater than a; therefore we cannot reject the null hypothesis.
c. p@value = T.DIST.RT11.41, 342 = 0.0838 e. Because the sample standard deviation was used to approximate the
population standard deviation, the population needs to be normally distributed.
9.22 a. p@value = P1zp 6 - 1.362 = 0.0869 p@value 7 0.05 S Do not reject H0
b. p@value = P1zp 7 1.282 = 0.1003 p@value 7 0.10 S Do not reject H0
c. p@value = 2 * P1zp 7 2.292 = 0.0220 p@value 6 0.05 S Reject H0
d. p@value = 2 * P1zp 6 - 0.902 = 0.3682 p@value 7 0.01 S Do not reject H0
9.24 a. za = 1.645; zp = 0.277 - 0.240B 10.24211 - 0.242130 = 0.99
zp … za S Do not reject H0 b. p@value = P1p 7 0.2772 = P1zp 7 0.992 = 1.0 - 0.8389
= 0.1611 9.26 a. H0: p … 0.26 1status quo2
H1: p 7 0.26
p = 35
100 = 0.35; pH0 = 0.26; n = 100
a = 0.05; za = 1.645; zp = 0.35 - 0.26A 10.26211 - 0.262100 = 2.05
zp 7 za S 2.05 7 1.645 S Reject H0 This sample provides evidence that the proportion of admissions officers who visit an applying student’s social network page has increased since 2012.
b. p@value = P1p 7 0.352 = P1zp 7 2.052 = 1.0 - 0.9798 = 0.0202 9.28 a. H0: p = 0.64 1status quo2
H1: p ≠ 0.64
p = 103
170 = 0.606; za>2 = 2.33
zp = 0.606 - 0.640B 10.64211 - 0.642170 = - 0.924
� zp � … � za>2 � S Do not reject H0 We do not have enough evidence to conclude that the percentage of car owners who avoid repairs is different from 64%.
b. p@value = 2 * P1zp 6 - 0.9242 = 0.3576 9.30 a. H0: p Ú 0.26 1status quo2
H1: p 6 0.26
p = 72
360 = 0.20; pH0 = 0.26; n = 360
a = 0.01; - za = - 2.33; zp = 0.20 - 0.26A 10.26211 - 0.262360 = - 2.60
zp 6 - za S - 2.60 6 - 2.33 S Reject H0
www.freebookslides.com
A P P E N D I X B | Chapter 9 893
This sample provides support that the proportion of Germans who feel leaving the Eurozone would be good for Germany has decreased since 2013.
b. p@value = P1p 6 0.202 = P1zp 6 - 2.602 = 0.0047 9.32 a. za = 1.645
Upper xa = 30.00 + 11.6452a 6242 b = 31.52
z = 31.52 - 31.00
6242 = 0.56 b = P1xa … 31.522 = P1z 6 0.562 = 0.7123
b. za = 1.645
Upper xa = 30.00 + 11.6452a 6242 b = 31.52
z = 31.52 - 32.00
6242 = - 0.52 b = P1xa … 31.522 = P1z 6 - 0.522 = 0.3015
9.34 a. za = 1.645
Lower pa = 0.720 - 11.6452B 10.72211 - 0.722100 = 0.646 z =
0.646 - 0.660B 10.72211 - 0.722100 = - 0.31 b = P1pa 7 0.6462 = P1z 7 - 0.312 = 0.6217
b. za = 1.645
Lower pa = 0.72 - 11.6452B 10.72211 - 0.722100 = 0.646 z =
0.646 - 0.620B 10.72211 - 0.722100 = 0.5781 b = P1pa 7 0.6462 = P1z 7 0.582 = 0.2810
9.36 a. za>2 = 1.96
Upper xa>2 = 120.00 + 11.962a 27260 b = 126.83
Lower xa>2 = 120.00 - 11.962a 27260 b = 113.17
Upper z = 126.83 - 131.00
27260 = - 1.20 Lower z =
113.17 - 131.00 27260 = - 5.12
b = P1 - 5.12 … z … - 1.202 = 0.1151 - 0 = 0.1151 b. za>2 = 1.96
Upper xa>2 = 120.00 + 11.962a 27260 b = 126.83
Lower xa>2 = 120.00 - 11.962a 27260 b = 113.17
Upper z = 126.83 - 115.00
27260 = 3.39 Lower z =
113.17 - 115.00 27260 = - 0.53
b = P1 - 0.53 … z … 3.392 = 0.9997 - 0.2981 = 0.7016
9.38 a. H0: m Ú $243,000 H1: m 6 $243,000 A Type I error can occur if the average listing price is above or equal to $243,000 and the null hypothesis is rejected. A Type II error can occur if the average listing price is below $243,000 and the null hypothesis is not rejected.
b. H0: m Ú $243,000 1status quo2 H1: m 6 $243,000 - za = - 1.28
Lower xa = $243,000 - 11.282a $45,000250 b = $234,854
z = $234,854 - $225,000
$45,000250 = 1.55 b = P1z 7 1.552 = 0.0606
c. H0: m Ú $243,000 1status quo2 H1: m 6 $243,000 - za = - 1.645
Lower xa = $243,000 + 11.6452a $45,000250 b = $232,531
z = $232,531 - $225,000
$45,000250 = 1.18 b = P1z 7 1.182 = 0.1190
d. Reducing the value of a increases the value of b.
9.40 a. H0: p Ú 0.15 H1: p 6 0.15 A Type I error can occur if the proportion of unsatisfied customers is above or equal to 0.15 and the null hypothesis is rejected. A Type II error can occur if the proportion of unsatisfied customers is below 0.15 and the null hypothesis is not rejected.
b. H0: p Ú 0.15 1status quo2 H1: p 6 0.15 - za = - 1.645
Lower pa = 0.150 - 11.6452B 10.15211 - 0.15275 = 0.082 z =
0.082 - 0.110B 10.15211 - 0.15275 = - 0.68 b = P1z 7 - 0.682 = 1.0 - 0.2483 = 0.7517
c. H0: p Ú 0.15 1status quo2 H1: p 6 0.15 - za = - 1.645
Lower pa = 0.150 - 11.6452B 10.15211 - 0.15275 = 0.082 z =
0.082 - 0.060B 10.15211 - 0.15275 = 0.53 b = P1z 7 0.532 = 0.2981
9.42 a. H0: p = 0.80 H1: p ≠ 0.80 A Type I error can occur if the proportion of plate appearances that result in the ball being put in play is equal to 0.80 and the null hypothesis is rejected. A Type II error can occur if the proportion of plate appearances that result in the ball being put in play is not equal to 0.80 and the null hypothesis is not rejected.
b. H0: p = 0.80 1status quo2 H1: p ≠ 0.80 za>2 = 1.96
Upper pa>2 = 0.80 + 11.962B 10.80211 - 0.802250 = 0.850
www.freebookslides.com
894 A P P E N D I X B | Answers to Selected Even-Numbered Problems
Lower pa>2 = 0.80 - 11.962B 10.80211 - 0.802250 = 0.750 Upper z =
0.850 - 0.77B 10.80211 - 0.802250 = 3.16 Lower z =
0.750 - 0.77B 10.80211 - 0.802250 = - 0.79 b = P1 - 0.79 … z … 3.162 = 0.7844
c. H0: p = 0.80 1status quo2 H1: p ≠ 0.80 za>2 = 1.96
Upper pa>2 = 0.80 + 11.962B 10.80211 - 0.802250 = 0.85 Lower pa>2 = 0.80 - 11.962B 10.80211 - 0.802250 = 0.75 Upper z =
0.85 - 0.88B 10.80211 - 0.802250 = - 1.19 Lower z =
0.75 - 0.88B 10.80211 - 0.802250 = - 5.14 b = P1 - 5.14 … z … - 1.192 = 0.1170
9.44 a. H0: p … 0.39 1status quo2 H1: p 7 0.39
b. p = 126
275 = 0.458; pH0 = 0.39; n = 275
a = 0.05; za = 1.645; zp = 0.458 - 0.39A 10.39211 - 0.392275 = 2.32
zp 7 za S 2.32 7 1.645 S Reject H0 This sample provides support that the proportion of smartphone using Apple’s operating system has increased since 2013.
c. p@value = P1p 7 0.4582 = P1zp 7 2.322 = 1.0 - 0.9898 = 0.0102 p@value 6 0.05 S Reject H0
9.46 a. H0: m Ú 30 minutes 1status quo2 H1: m 6 30 minutes
b. x = 27.8; s = 6.74 1from Excel2 - ta = - 1.363; tx =
27.8 - 30.00 6.74212 = - 1.13
tx Ú - ta S - 1.13 7 - 1.363 S Do Not Reject H0 This sample does not provide enough evidence to support Seasons Pizza’s claim.
c. � tx � = � - 1.13 � = 1.13; df = 11; the p-value is between 0.10 and 0.20, which is greater than a; therefore we cannot reject the null hypothesis.
d. p-value = T.DIST1- 1.13, 11, TRUE2 = 0.1413 f. Season’s Pizza increased its likelihood of rejecting the null hypothesis
and finding support for its delivery claim by choosing a relatively high value of a = 0.10.
g. Because the sample standard deviation was used to approximate the population standard deviation, the population needs to be normally distributed.
9.48 a. H0: p = 0.32 1status quo2 H1: p ≠ 0.32
b. p = 86
225 = 0.382; za>2 = 1.645
zp = 0.382 - 0.320B 10.32211 - 0.322225 = 1.994
� zp � 7 � za>2 � S Reject H0
This sample provides enough evidence that the proportion of Internet users who maintain the same passwords for all their social-networking sites has changed.
c. p@value = 2 * P1zp 7 1.9942 = 1220.0233 = 0.0466 p@value 6 0.10 S Reject H0 Use of the p-value approach also proves that there is enough evidence to support H1.
9.50 a. H0: m = $77,300 1status quo2 H1: m ≠ $77,300
b. x = $85,200; mH0 = $77,300; s = $21,000; n = 30
a = 0.02; za>2 = 2.33; zx = $85,200 - $77,300
$21,000230 = 2.06 � zx � … � za>2 � S 2.06 6 2.33 S Do not reject H0 This sample does not provide enough evidence to prove that the average 401 1k2 account balance has recently changed.
c. p@value = 2 * P1x 7 $85,2002 = 2 * P1zx 7 2.062 = 12211.0 - 0.98032 = 0.0394
p@value 7 0.02 S Do not reject H0
e. a = 0.05; za>2 = 1.96; zx = $85,200 - $77,300
$21,000230 = 2.06 � zx � Ú � za>2 � S 2.06 7 1.96 S Reject H0 Using a = 0.05 rather than a = 0.02 changes the conclusion. Increasing the value of a increases the likelihood of rejecting the null hypothesis.
9.52 a. H0: m = 6 liters 1status quo2 H1: m ≠ 6 liters
b. x = 7.48; mH0 = 6; s = 3.66; n = 25; df = 24
a = 0.02; ta>2 = 2.492; tx = 7.48 - 6.000
3.66225 = 2.02 � tx � … � ta>2 � S 2.02 6 2.492 S Do not reject H0 This sample does not provide enough evidence to conclude that the average gasoline consumption per car in the United States is different than 6 liters per day.
c. tx = 2.02; df = 24; the p-value is between 0.05 and 0.10, which is greater than a; therefore we cannot reject the null hypothesis.
d. p-value = T.DIST.2T12.02, 242 = 0.0547 f. Because the sample standard deviation was used to approximate the
population standard deviation, the population needs to be normally distributed.
9.54 a. H0: p = 0.12 1status quo2 H1: p ≠ 0.12
b. p = 29
280 = 0.104; pH0 = 0.12; n = 280
a = 0.10; za>2 = 1.645; zp = 0.104 - 0.12A 10.12211 - 0.122280 = - 0.83
� zp � … � za>2 � S 0.83 6 1.645 S Do not reject H0 This sample does not provide enough evidence to conclude that the percentage of American adults who did not own a cell phone has changed since 2012.
c. p@value = 2 * P1p 6 0.1042 = 2 * P1zp 6 - 0.832 = 12210.20332 = 0.4066
p@value 7 0.10 S Do not reject H0 9.56 a. H0: m Ú 700 1status quo2
H1: m 6 700 b. x = 620.15; mH0 = 700; s = 325.97; n = 75; df = 74
a = 0.05; - ta = - 1.666; tx = 620.15 - 700
325.97275 = - 2.12 tx 6 - ta S - 2.12 6 - 1.666 S Reject H0
www.freebookslides.com
A P P E N D I X B | Chapter 9 895
This sample provides enough evidence to conclude that the average number of text messages per month has declined since 2012.
c. � tx � = � - 2.12 � = 2.12; df = 74; the p-value is between 0.01 and 0.025, which is less than a; therefore we can reject the null hypothesis.
d. p-value = T.DIST1 - 2.12, 74, TRUE2 = 0.0187 9.58 a. H0: m … $86
H1: m 7 $86 A Type I error can occur if the average monthly cable bill is below or equal to $86 and the null hypothesis is rejected. A Type II error can occur if the average monthly cable bill is above $86 and the null hypothesis is not rejected.
b. H0: m … $86 H1: m 7 $86 m = 92; mH0 = 86; s = 17; n = 52; a = 0.01; za = 2.33
Upper xa = 86 + 12.332a 17252 b = 91.49
z = 91.49 - 92
17252 = - 0.22 b = P1xa … 91.492 = P1z 6 - 0.222 = 0.4129
c. H0: m … $86 H1: m 7 $86 m = 92; mH0 = 86; s = 17; n = 52; a = 0.05; za = 1.645
Upper xa = 86 + 11.6452a 17252 b = 89.88
z = 89.88 - 92
17252 = - 0.90 b = P1xa … 89.882 = P1z 6 - 0.902 = 0.1841
d. Increasing the probability of a Type I error, with all else constant, will decrease the probability of a Type II error.
9.60 a. H0: m … 4.0 hours H1: m 7 4.0 hours A Type I error can occur if the average operating time per charge is below or equal to 4.0 hours and the null hypothesis is rejected. A Type II error can occur if the average operating time per charge is above 4.0 hours and the null hypothesis is not rejected.
b. H0: m … 4.0 hours 1status quo2 H1: m 7 4.0 hours za = 1.645
Upper xa = 4.00 + 11.6452a 0.7245 b = 4.17
z = 4.17 - 4.40
0.7245 = - 2.20 b = P1z 6 - 2.202 = 0.0139
c. H0: m … 4.0 hours 1status quo2 H1: m 7 4.0 hours za = 2.33
Upper xa = 4.00 + 12.332a 0.7245 b = 4.24
z = 4.24 - 4.40
0.7245 = - 1.53 b = P1z 6 - 1.532 = 0.0630
d. Reducing the value of a increases the value of b.
9.62 a. H0: m = 60 days H1: m ≠ 60 days A Type I error can occur if the average number of days a home is on the market is equal to 60 and the null hypothesis is rejected. A Type II error can occur if the average number of days a home
is on the market is not equal to 60 and the null hypothesis is not rejected.
b. H0: m = 60 days 1status quo2 H1: m ≠ 60 days za>2 = 1.96
Upper xa>2 = 60.0 + 11.962a 25232 b = 68.7
Lower xa>2 = 60.0 - 11.962a 25232 b = 51.3
Upper z = 68.7 - 54
25232 = 3.33 Lower z =
51.3 - 54 25232 = - 0.61
b = P1- 0.61 … z … 3.332 = 0.7285 c. H0: m = 60 days 1status quo2
H1: m ≠ 60 days za>2 = 1.96
Upper xa>2 = 60.0 + 11.962a 25232 b = 68.7
Lower xa>2 = 60.0 - 11.962a 25232 b = 51.3
Upper z = 68.7 - 78
25232 = - 2.10 Lower z =
51.3 - 78 25232 = - 6.04
b = P1 - 6.04 … z … - 2.102 = 0.0179 d. As the true population mean moves away from the hypothesized mean,
the probability of a Type II error decreases.
9.64 a. H0: p = 0.47 1status quo2 H1: p ≠ 0.47
p = 55
100 = 0.55; pH0 = 0.47; n = 100
a = 0.05; za>2 = 1.96; zp = 0.55 - 0.47A 10.47211 - 0.472100 = 1.60
� zp � … � za>2 � S 1.60 6 1.96 S Do not reject H0 This sample does not provide enough evidence to conclude that the percentage of small-business owners with more than a bachelor’s degree is different than 47%.
b. p@value = 2 * P1p 7 0.552 = 2 * P1zp 7 1.602 = 12211.0 - 0.94522 = 0.1096
p@value 7 0.05 S Do not reject H0 9.66 a. H0: m Ú $11 1status quo2
H1: m 6 $11 b. x = $9.804; mH0 = $11; s = $6.599; n = 65; df = 64
a = 0.05; - ta = - 1.998; tx = $9.804 - $11.00
$6.599265 = - 1.46 tx Ú - ta S - 1.46 7 - 1.998 S Do not reject H0 This sample does not provide enough evidence to conclude that the average monthly revenue is less than $11, and Vodafone should invest in the Nigerian market.
c. � tx � = 1.46; df = 64; the p-value is between 0.05 and 0.10, which is greater than a; therefore we cannot reject the null hypothesis.
d. p-value = T.DIST1-1.46, 64, TRUE2 = 0.0746
www.freebookslides.com
896 A P P E N D I X B | Answers to Selected Even-Numbered Problems
Chapter 10 10.2 a. H0: m1 - m2 … 0
H1: m1 - m2 7 0
sx1 - x2 = C1242250 + 1182255 = 4.17 zx =
186 - 782 - 0 4.17
= 1.918
a = 0.10; za = 1.280 zx 7 za S 1.918 7 1.280 S Reject H0
b. p@value = P1zx 7 1.922 = 1 - 0.9726 = 0.0274 p@value 6 a S 0.0274 6 0.10 S Reject H0
10.4 sx1 - x2 = 1.315; za>2 = 1.96 UCL x1 - x2 = 5.58 LCL x1 - x2 = 0.42
10.6 a. H0: m1 - m2 = 0 H1: m1 - m2 ≠ 0
sx1 - x2 = B 1$642233 + 1$582236 = $14.75 zx =
1$390.44 - $359.522 - 0 $14.75
= 2.096
za>2 = 1.960 � zx � 7 � za>2 � S Reject H0
b. p@value = 2 * P1zx 7 2.102 = 0.036 p@value … a S 0.036 6 0.05 S Reject H0 There is enough evidence to conclude that the average monthly utility bills of households in Baltimore and in Houston are different.
10.8 a. H0: m1 - m2 = 0 H1: m1 - m2 ≠ 0
sx1 - x2 = C1$1602235 + 1$1502238 = 36.38 zx =
1$606.40 - $548.722 - 0 36.38
= 1.585
za>2 = 1.645 � zx � … � za>2 � S Do not reject H0
b. p@value = 2 * P1zx 7 1.592 = 0.112 p@value 7 a S 0.112 7 0.10 S Do not reject H0 There is not enough evidence to conclude that the average household back-to-school spending in 2013 was different than it was in 2014.
10.10 a. sx1 - x2 = C1$6,4332240 + 1$7,0122246 = $1,450; za>2 = 1.645 UCL x1 - x2 = $5,729 LCL x1 - x2 = $959
b. The confidence interval does not include zero, so there is enough evidence to conclude that the average salaries of the high school teachers in Pennsylvania and Ohio are different.
10.12 a. H0: m1 - m2 … 10 H1: m1 - m2 7 10
s2p = 116 - 12118.422 + 120 - 12118.722
116 - 12 + 120 - 12 = 344.78
tx = 176.3 - 61.52 - 10B 1344.782a 116 + 120 b = 0.7707
df = 16 + 20 - 2 = 34; ta = 1.691 tx 6 ta S Do not reject H0
b. � tx � = 0.7707; df = 34 The p-value is greater than 0.20. Because this range is greater than a = 0.05, we do not reject the null hypothesis.
c. p-value = T.DIST.RT10.7707, 342 = 0.2231
10.14 a. H0: m1 - m2 Ú 0 H1: m1 - m2 6 0
tx = 1144.0 - 156.32 - 0C116.82227 + 127.02221 = - 12.36.72 = - 1.830
df = a 116.822
27 +
127.022 21
b 2
a 1 27 - 1
b a 116.822
27 b
2
+ a 1 21 - 1
b a 127.022
21 b
2
= 2,039.3
64.5 = 31.62
df = 31; - ta = - 1.309 tx 6 - ta S Reject H0
b. � tx � = 1.83; df = 31 The p-value is between 0.025 and 0.05. Because this range is greater than a = 0.05, we reject the null hypothesis.
c. p-value = T.DIST1 - 1.83, 31, TRUE2 = 0.0384
10.16 s2p = 110 - 12112.522 + 114 - 12111.822
110 - 12 + 114 - 12 = 146.2 df = 10 + 14 - 2 = 22; ta>2 = 1.717 UCL x1 - x2 = 2.20 LCL x1 - x2 = - 15.00
10.18 a. H0: m1 - m2 … 0.5 H1: m1 - m2 7 0.5
s2p = 126 - 121$1.2522 + 131 - 121$1.222
126 - 12 + 131 - 12 = $1.50
tx = 1$9.60 - $8.602 - $0.50B 1$1.502a 126 + 131 b = 1.534
df = 26 + 31 - 2 = 55; ta = 1.673 tx … ta S Do not reject H0 There is not enough evidence that the average hourly wage for day- care workers in the Northeast is $0.50 per hour higher than in the Midwest.
b. � tx � = 1.534; df = 55 The p-value is between 0.05 and 0.010. Because this range is greater than a = 0.05, we do not reject the null hypothesis.
c. p-value = T.DIST.RT(1.534, 552 = 0.0654 d. Both populations need to be normally distributed.
10.20 a. H0: m1 - m2 = 0 H1: m1 - m2 ≠ 0
tx = 138.1 - 32.62 - 0C110.62211 + 113.22212 = 1.107
df = a 110.622
11 +
113.222 12
b 2
a 1 11 - 1
b a 110.622
11 b
2
+ a 1 12 - 1
b a 113.222
12 b
2 = 20.67
df = 20; ta>2 = 2.086 � tx � … � ta>2 � S Do not reject H0 There is not enough evidence that the average class sizes from business and engineering departments are different.
b. � tx � = 1.107; df = 20 The p-value is between 0.20 and 0.40. Because this range is greater than a = 0.05, we do not reject the null hypothesis.
c. p-value = T.DIST.2T1 � 1.107 �, 202 = T.DIST.2T11.107, 202 = 0.2814
d. Both populations need to be normally distributed.
www.freebookslides.com
A P P E N D I X B | Chapter 10 897
10.22 a. s2p = 112 - 121130.822 + 112 - 121133.722
112 - 12 + 112 - 12 = 17,492 df = 12 + 12 - 2 = 22; ta>2 = 2.508 UL x1 - x2 = 13.6 LCL x1 - x2 = - 257.2
b. The confidence interval includes zero, so there is not enough evidence that the average number of words understood by first-born and later- born one-year-old children are different.
c. Both populations need to be normally distributed.
10.24 a. H0: md … 0 H1: md 7 0
b. d = 2.33; sd = 2.338
tx = 2.33 - 0
a 2.33826 b = 2.442 df = 5; ta = 2.015 tx 7 ta S Reject H0
c. The p-value is between 0.025 and 0.050. Because the p-value is less than a = 0.05, we can reject H0.
d. p@value = 0.029; p@value 6 0.05 S Reject H0 e. These samples should be treated as dependent.
10.26 a. d = 3.57; sd = 3.55 df = 6; ta>2 = 2.447
UCL d = 3.57 + 12.4472a 3.5527 b = 6.85
LCL d = 3.57 - 12.4472a 3.5527 b = 0.29
b. The confidence interval does not include zero, so there is enough evidence to conclude that there is a difference in means between two populations.
10.28 a. H0: md = 0 H1: md ≠ 0 d = 4.5; sd = 5.911
tx = 4.5 - 0
a 5.911210 b = 2.408 df = 9; ta>2 = 2.262 � tx � 7 � ta>2 � S Reject H0
b. The p-value is between 0.02 and 0.05. Because the p-value is less than a = 0.05, we can reject H0.
d. p@value = 0.039; p@value 6 0.05 S Reject H0 There is enough evidence to conclude that the average typing speed for the two input methods is different.
e. These samples are dependent and taken from normal populations.
10.30 a. H0: md … 10 H1: md 7 10 d = 13.5; sd = 8.177
tx = 13.5 - 10
a 8.17728 b = 1.211 df = 7; ta = 1.415 tx … ta S Do not reject H0
b. The p-value is between 0.10 and 0.20. Because the p-value is greater than a = 0.10, we cannot reject H0.
c. UCL d = 13.50 + 11.4152a 8.17728 b = 17.59
LCL d = 13.50 - 11.4152a 8.17728 b = 9.41
Because 10 is within the interval, there is not enough evidence that the average weight loss is more than 10 pounds for participants in the weight-loss program.
e. p@value = 0.133; p@value 7 0.05 S Do not reject H0. There is not enough evidence to conclude that the average weight loss was more than 10 lbs for participants in the weight-loss program.
f. These samples should be treated as dependent.
10.32 a. H0: p1 - p2 Ú 0 H1: p1 - p2 6 0
pn = 60 + 72
150 + 160 = 0.426
p1 = 0.40; p2 = 0.45
zp = 10.40 - 0.452 - 0B 10.426211 - 0.4262a 1150 + 1160 b = - 0.893
- za = - 1.280 zp Ú - za S Do not reject H0
b. p@value = P1zp 6 - 0.892 = 0.1867 p@value 7 a S 0.1867 7 0.10 S Do not reject H0
10.34 a. H0: p1 - p2 = 0 H1: p1 - p2 ≠ 0
pn = 18 + 24
85 + 105 = 0.221
p1 = 0.212; p2 = 0.229
zp = 10.212 - 0.2292 - 0B 10.221211 - 0.2212a 185 + 1105 b = - 0.279
za>2 = 1.960 � zp � … � za>2 � S Do not reject H0
b. p@value = 2 * P1zp 6 - 0.282 = 0.779 p@value 7 a S 0.779 7 0.05 S Do not reject H0
10.36 p1 = 92
130 = 0.708; p2 =
76
150 = 0.507
snp1 - p2 = B 10.708211 - 0.7082130 + 10.507211 - 0.5072150 = 0.057; za>2 = 1.645
UCL p1 - p2 = 0.295 LCL p1 - p2 = 0.107
10.38 a. Define Population 1 as women and Population 2 as men. H0: p1 - p2 … 0 H1: p1 - p2 7 0
pn = 73 + 56
170 + 150 =
129
320 = 0.403
p1 = 73
170 = 0.429; p2 =
56
150 = 0.373
zp = 10.429 - 0.3732 - 0A10.403211 - 0.4032a 1170 + 1150 b = 0.0560.054945 = 1.02
a = 0.10; za = 1.28 zp … za S 1.02 6 1.28 S Do not reject H0
b. p@value = P1zp 7 1.022 = 1 - 0.8461 = 0.1539 p@value 7 a S 0.1539 7 0.10 S Do not reject H0 There is not enough evidence to conclude that the proportions of women who leave the store with a purchase are higher than the percentage of men.
10.40 a. p1 = 24
165 = 0.145; p2 =
17
145 = 0.117
snp1 - p2 = B 10.145211 - 0.1452165 + 10.117211 - 0.1172145 = 0.038; za>2 = 1.960
UCL p1 - p2 = 0.102 LCL p1 - p2 = - 0.046 The confidence interval includes zero, so there is not enough evidence to conclude that there is a difference in vacancy rates between Boston and Chicago.
www.freebookslides.com
898 A P P E N D I X B | Answers to Selected Even-Numbered Problems
10.42 a. H0: p1 - p2 … 0 H1: p1 - p2 7 0
pn = 23 + 7
220 + 200 = 0.071
p1 = 0.105; p2 = 0.035
zp = 10.105 - 0.0352 - 0A10.071211 - 0.0712a 1220 + 1200 b = 2.800
za = 1.645 zp 7 za S Reject H0
b. p@value = P1zp 7 2.802 = 0.026 p@value … a S 0.026 6 0.05 S Reject H0 There is enough evidence to conclude that the proportion of loans from for-profit schools is larger than the proportion of loans from nonprofit schools.
c. p1 = 0.105; p2 = 0.035
snp1 - p2 = B 10.105211 - 0.1052220 + 10.035211 - 0.0352200 = 0.024; za>2 = 1.960
UCL p1 - p2 = 0.117 LCL p1 - p2 = 0.023
10.44 a. H0: m1 - m2 … 10 H1: m1 - m2 7 10
tx = 1178.3 - 144.62 - 10B 172.32226 + 156.92223 = 1.282
df = a 172.322
26 +
156.922 23
b 2
a 1 26 - 1
b a 172.322
26 b
2
+ a 1 23 - 1
b a 156.922
23 b
2 = 46.4
df = 46; ta = 1.679 tx 7 ta S Do not reject H0
b. The p-value is between 0.100 and 0.200. Because the p-value is greater than a = 0.05, we cannot reject H0. There is not enough evidence to conclude that the men average 10 more online friends than the women.
c. p-value = T.DIST.RT11.282, 462 = 0.1031 e. Both populations need to be normally distributed.
10.46 a. Define Population 1 as Greece and Population 2 as Spain. H0: p1 - p2 = 0 H1: p1 - p2 ≠ 0
pn = 34 + 33
120 + 135 =
67
255 = 0.263
p1 = 34
120 = 0.283; p2 =
33
135 = 0.244
zp = 10.283 - 0.2442 - 0A10.263211 - 0.2632a 1120 + 1135 b = 0.0390.055236 = 0.71
a = 0.02; za>2 = 2.33 � zp � … � za>2 � S 0.71 6 2.33 S Do not reject H0
b. p@value = 2 * P1zp 7 0.712 = 2 * 11 - 0.76112 = 0.4778 p@value 7 a S 0.4778 7 0.02 S Do not reject H0 There is not enough evidence to conclude that the percentage of unemployed adults in Greece is different than the percentage of unemployed adults in Spain.
c. p1 = 0.283; p2 = 0.263
snp1 - p2 = B 10.283211 - 0.2832120 + 10.244211 - 0.2442135 = 0.0553; za>2 = 2.33
UCL p1 - p2 = 10.283 - 0.2442 + 12.33210.05532 = 0.039 + 0.129 = 0.168
LCL p1 - p2 = 10.283 - 0.2442 - 12.33210.05532 = 0.039 - 0.129 = - 0.090
Because zero is included in this interval, we have further evidence to conclude that the percentage of unemployed adults in Greece is not different than the percentage of unemployed adults in Spain.
10.48 a. H0: m1 - m2 = 0 H1: m1 - m2 ≠ 0 x1 = 3.43; s1 = 1.636 x2 = 3.21; s2 = 1.514 s2p = 2.47
tx = 13.43 - 3.212 - 0B 12.472a 118 + 120 b = 0.431
df = 18 - 20 - 2 = 36; ta>2 = 2.028 � tx � … � ta>2 � S Do not reject H0
b. The p-value is greater than 0.400. Because the p-value is greater than a = 0.05, we cannot reject H0.
c. UCL x1 - x2 = 1.256 LCL x1 - x2 = - 0.816 The confidence interval includes zero, so there is not enough evidence to conclude that the average wait time experienced by drive-through customers is different from that experienced by customers using inside counters.
e. p@value = 0.669; p@value 7 0.05 S Do not reject H0. There is not enough evidence to conclude that the average wait time is different between these two locations of service.
f. Both populations need to be normally distributed.
10.50 a. H0: md … 50 H1: md 7 50 d = 69.92; sd = 14.625
tx = 69.92 - 50
a 14.625212 b = 4.72 df = 11; ta = 2.718 tx 7 ta S Reject H0
b. The p-value is less than 0.005. Because the p-value is less than a = 0.01, we reject H0. There is enough evidence to conclude that the average LDL level is more than 50 points lower for patients who have taken the new medication.
c. UCL d = 69.92 + 13.1062a 14.625212 b = 83.03
LCL d = 69.92 - 13.1062a 14.625212 b = 56.81
The confidence interval does not include 50, so there is enough evidence to conclude that there is a difference of more than 50 points in the LDL-level averages for patients before and after taking the new medication.
e. p@value = 0.019; p@value 6 0.05 S Reject H0 f. Both populations need to be normally distributed.
10.52 a. H0: m1 - m2 = 0 H1: m1 - m2 ≠ 0 x1 = 61.61; s1 = 11.98 x2 = 69.66; s2 = 7.85
tx = 161.61 - 69.662 - 0C111.982215 + 17.852215 = - 2.176
df = a 111.9822
15 +
17.8522 15
b 2
a 1 15 - 1
b a 111.9822
15 b
2
+ a 1 15 - 1
b a 17.8522
15 b
2 = 24.15
www.freebookslides.com
A P P E N D I X B | Chapter 10 899
df = 24; ta>2 = 2.064 � tx � 7 � ta>2 � S Reject H0
b. The p-value is between 0.02 and 0.05. Because the p-value is less than a = 0.05, we can reject H0. There is enough evidence to conclude that the fuel efficiency between Delta and US Airways is different.
d. p@value = 0.0396; p@value 6 0.05 S Reject H0. There is enough evidence to conclude that the fuel efficiency between Delta and US Airways is different.
e. Both populations need to be normally distributed.
10.54 a. H0: md … 0 H1: md 7 0 d = 2.29; sd = 2.66
tx = 2.29 - 0
a 2.66210 b = 2.73 df = 9; ta = 1.833 tx 7 ta S Reject H0
b. The p-value is between 0.01 and 0.025. Because the p-value is less than a = 0.05, we can reject H0. There is evidence to conclude that a difference exists in the gas mileage between the two types of tires.
c. UCL d = 3.83 LCL d = 0.75 The confidence interval does not include zero, so there is evidence to conclude that a difference exists in the gas mileage between the two types of tires.
e. p@value = 0.0117; p@value 6 0.05 S Reject H0. f. These samples are dependent and must be taken from populations that
are normally distributed.
10.56 a. Define Population 1 as Chevrolet owners and Population 2 as Buick owners. H0: p1 - p2 = 0 H1: p1 - p2 ≠ 0
pn = 68 + 76
160 + 150 =
144
310 = 0.465
p1 = 68
160 = 0.425; p2 =
76
150 = 0.507
zp = 10.425 - 0.5072 - 0A10.465211 - 0.4652a 1160 + 1150 b = - 0.0820.056683 = - 1.45
a = 0.05; za>2 = 1.96 � zp � … � za>2 � S 1.45 6 1.96 S Do not reject H0 There is not enough evidence to conclude that there is a difference in brand loyalty between Chevrolet and Buick owners.
b. p1 = 0.425; p2 = 0.507
snp1 - p2 = A 10.425211 - 0.4252160 + 10.507211 - 0.5072150 = 0.0565; za>2 = 1.96
UCL p1 - p2 = 10.425 - 0.5072 + 11.96210.05652 = - 0.082 + 0.111 = 0.029
LCL p1 - p2 = 10.425 - 0.5072 - 11.96210.05652 = - 0.082 - 0.111 = - 0.193
Because zero is included in this interval, we have further evidence to conclude that there is no difference in brand loyalty between Chevrolet and Buick owners.
c. p@value = 2 * P1zp 6 - 1.452 = 2 * 10.07352 = 0.1470 p@value 7 a S 0.1470 7 0.05 S Do not reject H0
10.58 a. Define Population 1 as Millennials and Population 2 as older than 34 years. H0: p1 - p2 … 0 H1: p1 - p2 7 0
pn = 112 + 84
200 + 200 =
196
400 = 0.490
p1 = 112
200 = 0.560; p2 =
84
200 = 0.420
zp = 10.56 - 0.422 - 0A10.49211 - 0.492a 1200 + 1200 b = 0.140.0500 = 2.80
a = 0.02; za = 2.05 zp 7 za S 2.80 7 2.05 S Reject H0 We have evidence to conclude that Millennials are more willing to share personal information online when compared to older individuals.
b. p1 = 0.56; p2 = 0.42
snp1 - p2 = A 10.56211 - 0.562200 + 10.42211 - 0.422200 = 0.0495; za>2 = 2.33
UCL p1 - p2 = 10.56 - 0.422 + 12.33210.04952 = 0.14 + 0.115 = 0.255
LCL p1 - p2 = 10.56 - 0.422 - 12.33210.04952 = 0.14 - 0.115 = 0.025
Because zero is not included in this interval, we have further evidence to conclude that Millennials are more willing to share personal information online when compared to older individuals.
c. p@value = P1zp 7 2.802 = 1 - 0.9974 = 0.0026 p@value 6 a S 0.0026 6 0.02 S Reject H0
10.60 a. Define Population 1 as France and Population 2 as the Unites States. H0: p1 - p2 … 0.05 H1: p1 - p2 7 0.05
pn = 73 + 40
240 + 225 =
113
465 = 0.243
p1 = 73
240 = 0.304; p2 =
40
220 = 0.178
zp = 10.304 - 0.1782 - 0.05A10.243211 - 0.2432a 1240 + 1225 b = 0.0760.03980 = 1.91
a = 0.10; za = 1.28 zp 7 za S 1.91 7 1.28 S Reject H0 We have evidence to conclude that the proportion of women on corporate boards of French companies is more than 5% higher than the proportion of women on boards of U.S. companies.
b. p1 = 0.304; p2 = 0.178
snp1 - p2 = A 10.304211 - 0.3042240 + 10.178211 - 0.1782225 = 0.0391; za>2 = 1.645
UCL p1 - p2 = 10.304 - 0.1782 + 11.645210.03912 = 0.126 + 0.0643 = 0.190
LCL p1 - p2 = 10.304 - 0.1782 - 11.645210.03912 = 0.126 - 0.0643 = 0.062
Because 0.05 is not included in this interval, we have further evidence to conclude that the proportion of women on corporate boards of French companies is more than 5% higher than the proportion of women on boards of U.S. companies.
c. p@value = P1zp 7 1.912 = 1 - 0.9719 = 0.0281 p@value 6 a S 0.0281 6 0.10 S Reject H0
10.62 a. H0: m1 - m2 = 0 H1: m1 - m2 ≠ 0 x1 = $365; s1 = $164.7 x2 = $332; s2 = $172.5 s2p = 28,362
tx = 1$365 - $3322 - 0B 128,3622a 145 + 140 b = 0.902
df = 45 + 40 - 2 = 83; ta>2 = 1.663 � tx � … � ta>2 � S Do not reject H0
www.freebookslides.com
900 A P P E N D I X B | Answers to Selected Even-Numbered Problems
b. The p-value is between 0.200 and 0.400. Because the p-value is greater than a = 0.10, we cannot reject H0. There is not enough evidence to conclude that there is a difference in the average amounts spent by holiday shoppers in 2012 and 2013.
c. UCL x1 - x2 = $93.87 LCL x1 - x2 = - $27.87 The confidence interval includes zero, so there is not enough evidence to conclude that there is a difference in the average amounts spent by holiday shoppers in 2012 and 2013.
e. p@value = 0.36; p@value 7 0.10 S Do not reject H0. There is not enough evidence to conclude that there is a difference in the average amounts spent by holiday shoppers in 2012 and 2013.
f. Both populations need to be normally distributed.
10.64 a. H0: m1 - m2 Ú 0 H1: m1 - m2 6 0 x1 = $1,008.84; s1 = $217.11 x2 = $1,130.24; s2 = $337.79 s2p = 80,619
tx = 1$1,008.84 - $1,130.242 - 0B 180,6192a 125 + 125 b = - 1.512
df = 25 + 25 - 2 = 48; - ta = - 1.677 tx Ú - ta S Do not reject H0
b. UCL x1 - x2 = $13.26 LCL x1 - x2 = - $256.06 The confidence interval includes zero, so there is not enough evidence to conclude that there is difference in average credit card balances for customers unaware and aware of the promotion.
d. p@value = 0.0686; p@value 7 0.05 S Do not reject H0. There is not enough evidence to conclude that the average credit card balance after the promotion is higher than the average credit card balance before the promotion.
e. Both populations need to be normally distributed.
10.66 a. H0: md = 0 H1: md ≠ 0 d = 0.83; sd = 3.06
tx = 0.83 - 0
a 3.06224 b = 1.339 df = 23; ta>2 = 1.714
� tx � … � ta>2 � S Do not reject H0
b. UCL d = 0.83 + 11.7142a 3.06224 b = 1.90
LCL d = 0.83 - 11.7142a 3.06224 b = - 0.24
The confidence interval includes zero, so there is not enough evidence to conclude that a difference exists between the average taste-test scores of the two colas.
d. p@value = 0.195 p@value 7 0.10 S Do not reject H0. There is not enough evidence to conclude that the average scores for Coke and Pepsi are different.
e. Both populations need to be normally distributed.
Chapter 11
11.2 a. a 3
j = 1 a nj
i = 1 xij = 162; a
3
j = 1 a nj
i = 1 x 2ij = 2,436
SST = 2,436 - 116222
12 = 249
b. x1 = 10.5; x2 = 18; x3 = 12; x = 13.5 SSB = 126 SSW = 123
c. MSB = 63; MSW = 13.67; Fx = 4.609 D1 = 2; D2 = 9; Fa = 4.256 Fx 7 Fa S Reject H0 There is enough evidence to conclude that not all three population means are equal.
11.4 a.
b. 3
c. D1 = 2; D2 = 20; Fa = 5.849; Fx = 5.000 Fx … Fa S Do not reject H0 There is not enough evidence to conclude that not all three population means are equal.
11.6 MSW = 10.6; D1 = 4; D2 = 10; Qa = 5.77 � x1 - x2 � = 6.5; CR1,2 = 10.15 S Means are not different � x1 - x3 � = 11.0; CR1,3 = 9.39 S Means are different � x1 - x4 � = 2.5; CR1,4 = 10.15 S Means are not different � x2 - x3 � = 4.5; CR2,3 = 10.15 S Means are not different � x2 - x4 � = 4.0; CR2,4 = 10.85 S Means are not different � x3 - x4 � = 8.5; CR3,4 = 10.15 S Means are not different
11.8 a. H0: m1 = m2 = m3 H1: Not all ms are equal x1 = 300; x2 = 296; x3 = 275; x = 289.2
SST = 1,090,271 - 13,75922
13 = 3,341.7
SSB = 1,659.7 SSW = 1,682.0 MSB = 829.9; MSW = 168.2; Fx = 4.934 D1 = 2; D2 = 10; Fa = 4.103 Fx 7 Fa S 4.934 7 4.103 S Reject H0 There is enough evidence to conclude that there is a difference in the average driving distances of Mickelson, Woods, and Furyk.
b. MSW = 168.2; D1 = 3; D2 = 10; Qa = 3.88 � x1 - x2 � = 4; CR1,2 = 25.16 S Means are not different � x1 - x3 � = 25; CR1,3 = 23.87 S Means are different � x2 - x3 � = 21; CR2,3 = 23.87 S Means are not different There is enough evidence to conclude that the average driving distance by Mickelson is longer than the average driving distance by Furyk. There is not enough evidence to conclude that the average driving distance by Mickelson is different from the average driving distance by Woods and that the average driving distance between Woods is different than the average driving distance by Furyk.
11.10 a. H0: m1 = m2 = m3 = m4 H1: Not all ms are equal x1 = 10.9; x2 = 11.8; x3 = 17.7; x4 = 18.6;
x = 295.0
20 = 14.75; a
4
j = 1 a nj
i = 1 xij = 295; a
4
j = 1 a nj
i = 1 x 2ij = 4,814.6
SST = 463.35 SSB = 235.25 SSW = 228.10 MSB = 78.42; MSW = 14.26; Fx = 5.499 D1 = 3; D2 = 16; Fa = 3.239 Fx 7 Fa S Reject H0 There is enough evidence to conclude that there is a difference in the average mileage of the rental cars from Avis, Hertz, National, and Enterprise.
Source Sum of
SquareS DegreeS of
freeDom mean Sum
of SquareS F
Between 50 2 25 5.000
Within 100 20 5
Total 150 22
www.freebookslides.com
A P P E N D I X B | Chapter 11 901
b. MSW = 14.26; D1 = 4; D2 = 16; Qa = 4.05
CR1,2 = CR1,3 = CR1,4 = 14.052B 14.262 a 15 + 15 b = 6.84 ∙ x1 - x2 ∙ = 0.9; CR1,2 = 6.84 S Means are not different ∙ x1 - x3 ∙ = 6.8; CR1,3 = 6.84 S Means are not different ∙ x1 - x4 ∙ = 7.7; CR1,4 = 6.84 S Means are different There is enough evidence to conclude that the average mileage of the rental cars from Avis is lower than the average mileage of the rental cars Enterprise. There is not enough evidence to conclude that the average mileage of the rental cars from Avis is lower than the average mileage of the rental cars from Hertz or from National.
11.12 a. H0: m1 = m2 = m3 H1: Not all ms are equal x1 = 8; x2 = 10; x3 = 7; x = 8.33
a 3
j = 1 a nj
i = 1 xij = 200; a
3
j = 1 a nj
i = 1 x 2ij = 2,472.54
SST = 2,472.54 - 120022
24 = 805.9
SSB = 37.3 SSW = 768.6 MSB = 18.65; MSW = 36.6; Fx = 0.510 D1 = 2; D2 = 21; Fa = 3.467 Fx … Fa S Do not reject H0 There is not enough evidence to conclude that there is a difference in the average package weights shipped by FedEx, UPS, and DHL.
b. There is no need to perform a multiple comparison test.
11.14 a. H0: m1 = m2 = m3 = m4 H1: Not all ms are equal x1 = 33.8; x2 = 15.0; x3 = 16.6; x4 = 19.0;
x = 21.56; a 4
j = 1 a nj
i = 1 xij = 388; a
4
j = 1 a nj
i = 1 x 2ij = 10,336
SST = 10,336 - 138822
18 = 1,972.44
SSB = 1,070.44 SSW = 902.0 MSB = 356.81; MSW = 64.43; Fx = 5.54 D1 = 3; D2 = 14; Fa = 3.344 Fx 7 Fa S Reject H0 There is enough evidence to conclude that there is a difference in the average pizza-delivery times by the four drivers.
b. MSW = 64.43; D1 = 4; D2 = 14; Qa = 4.11 ∙ x1 - x2 ∙ = 18.8; CR1,2 = 15.65 S Means are different ∙ x1 - x3 ∙ = 17.2; CR1,3 = 14.75 S Means are different ∙ x1 - x4 ∙ = 14.8; CR1,4 = 15.65 S Means are not different ∙ x2 - x3 ∙ = 1.6; CR2,3 = 15.65 S Means are not different ∙ x2 - x4 ∙ = 4.0; CR2,4 = 16.50 S Means are not different ∙ x3 - x4 ∙ = 2.4; CR3,4 = 15.65 S Means are not different There is enough evidence to conclude that the average pizza- delivery time for Driver 2 and Driver 3 is less than the average pizza-delivery time for Driver 1. There is not enough evidence to conclude that the average pizza-delivery time for Driver 4 is different from other drivers, or that the delivery time for Driver 2 is different from that for Driver 3.
11.16 a. a 3
j = 1 a nj
i = 1 xij = 63; a
3
j = 1 a nj
i = 1 x 2ij = 455
SST = 455 - 16322
12 = 124.25
b. Factor means x1 = 8; x2 = 4.75; x3 = 3 Block means x1 = 5; x2 = 4; x3 = 3; x4 = 9 x = 5.25 SSB = 51.5
SSBL = 62.25 SSE = 10.50
c. MSB = 25.75; MSBL = 20.75; MSE = 1.75 Fx = 14.714; D1 = 2; D2 = 6; Fa = 5.143 Fx 7 Fa S Reject H0 FBL = 11.86; D1 = 3; D2 = 6; Fa = 4.757 FBL 7 Fa S Reject H0 There is enough evidence to conclude that the three population means are different.
d. Because the blocking null hypothesis is rejected, there is evidence to conclude that the blocking factor is effective.
11.18 a.
Source
Sum of SquareS
DegreeS of freeDom
mean Sum of SquareS F
Between 72 3 24.0 6.000
Block 168 6 28.0 7.000
Error 72 18 4.0
Total 312 27
b. 4
c. The main factor: D1 = 3; D2 = 18; Fa = 3.160; Fx = 6.000 Fx 7 Fa S Reject H0 There is enough evidence to conclude that not all four population means are equal. The blocking factor: D1 = 6; D2 = 18; Fa = 2.661; FBL = 7.000 FBL 7 Fa S Reject H0 There is enough evidence to conclude that a difference between block means exists.
d. Because the blocking null hypothesis is rejected, there is evidence to conclude that the blocking factor is effective.
11.20 MSE = 2.23; k = 4; b = 5; D1 = 4; D2 = 12; Qa = 4.20 CR1,2 = CR1,3 = CR1,4 = CR2,3 = CR2,4 = CR3,4
= 14.202A 2.235 = 2.8 ∙ x1 - x2 ∙ = 0; CR1,2 = 2.8 S Means are not different ∙ x1 - x3 ∙ = 3.4; CR1,3 = 2.8 S Means are different ∙ x1 - x4 ∙ = 0.2; CR1,4 = 2.8 S Means are not different ∙ x2 - x3 ∙ = 3.4; CR2,3 = 2.8 S Means are different ∙ x2 - x4 ∙ = 0.2; CR2,4 = 2.8 S Means are not different ∙ x3 - x4 ∙ = 3.6; CR3,4 = 2.8 S Means are different
11.22 a. H0: m1 = m2 = m3 H1: Not all ms are equal Factor means x1 = 25.98; x2 = 26.87; x3 = 27.08 Block means x1 = 22.97; x2 = 29.23; x3 = 22.67; x4 = 29.03; x5 = 25.93; x6 = 30.03
x = 26.64; a 3
j = 1 a nj
i = 1 xij = 479.6; a
3
j = 1 a nj
i = 1 x 2ij = 12,950.96
SST = 12,950.96 - 1479.622
18 = 172.28
SSB = 4.07 SSBL = 161.24 SSE = 6.97 MSB = 2.03; MSBL = 32.25; MSE = 0.70 Fx = 2.900; D1 = 2; D2 = 10; Fa = 4.103 Fx … Fa S Do not reject H0 FBL = 46.071; D1 = 5; D2 = 10; Fa = 3.326 FBL 7 Fa S Reject H0
b. By rejecting the blocking null hypothesis, it seems there is evidence that the blocking factor is effective. But the main factor with the
www.freebookslides.com
902 A P P E N D I X B | Answers to Selected Even-Numbered Problems
randomized block design is not significant, and we have to proceed to test the main factor with one-way ANOVA. SST = 172.28 SSB = 4.07 SSW = 168.21 MSB = 2.035; MSW = 11.214; Fx = 0.181 D1 = 2; D2 = 15; Fa = 3.682 Fx … Fa S Do not reject H0 There is not enough evidence to conclude that there is a difference in the averages in gas mileage using different grades of gasoline.
c. There is no need to perform a multiple comparison test, because the null hypothesis is not rejected.
11.24 a. H0: m1 = m2 = m3 H1: Not all ms are equal Factor means x1 = 228; x2 = 247; x3 = 233.75 Block means x1 = 208; x2 = 242; x3 = 229; x4 = 240; x5 = 259; x6 = 237; x7 = 240; x8 = 235
x = 236.25; a 3
j = 1 a nj
i = 1 xij = 5,670; a
3
j = 1 a nj
i = 1 x 2ij = 1,347,526
SST = 1,347,526 - 15,67022
24 = 7,988.5
SSB = 1,519 SSBL = 4,294.5 SSE = 2,175 MSB = 759.5; MSBL = 613.5; MSE = 155.36 Fx = 4.889; D1 = 2; D2 = 14; Fa = 3.739 Fx 7 Fa S Reject H0 FBL = 3.949; D1 = 7; D2 = 14; Fa = 2.764 FBL 7 Fa S Reject H0 There is enough evidence to conclude that there is a difference in the average driving yardage of the Top Flite, Pinnacle, and Titleist golf balls.
b. Because the blocking null hypothesis is rejected, there is evidence to conclude that the blocking factor is effective.
c. MSE = 155.36; k = 3; b = 8; D1 = 3; D2 = 14; Qa = 3.70
CR1,2 = CR1,3 = CR2,3 = 13.702A 155.368 = 16.3 ∙ x1 - x2 ∙ = 19.00; CR1,2 = 16.3 S Means are different ∙ x1 - x3 ∙ = 5.75; CR1,3 = 16.3 S Means are not different ∙ x2 - x3 ∙ = 13.25; CR2,3 = 16.3 S Means are not different There is enough evidence to conclude that the average driving yardage of Pinnacle golf balls is greater than the average driving yardage of Top Flite golf balls. There is not enough evidence to conclude that there are differences in the average driving yardages of golf balls for all other possible pairs of the three companies.
11.26 a. H0: m1 = m2 = m3 H1: Not all ms are equal Factor means x1 = 160; x2 = 170; x3 = 142 Block means x1 = 142; x2 = 160.7; x3 = 157.7; x4 = 139.3; x5 = 147.7; x6 = 176; x7 = 178
x = 157.3; a 3
j = 1 a nj
i = 1 xij = 3,304; a
3
j = 1 a nj
i = 1 x 2ij = 529,536
SST = 529,536 - 13,30422
21 = 9,706.7
SSB = 2,818.7 SSBL = 4,318 SSE = 2,570 MSB = 1,409.3; MSBL = 719.7; MSE = 214.2 Fx = 6.579; D1 = 2; D2 = 12; Fa = 3.885 Fx 7 Fa S Reject H0 FBL = 3.360; D1 = 6; D2 = 12; Fa = 2.996 FBL 7 Fa S Reject H0
There is enough evidence to conclude that there is a difference in the average number of bagels sold per day by three stores of Bagel Boys.
b. Because the blocking null hypothesis was rejected, there is evidence to conclude that the blocking factor is effective.
c. MSE = 214.2; k = 3; b = 7; D1 = 3; D2 = 12; a = 0.05; Qa = 3.77
CR1,2 = CR1,3 = CR2,3 = 13.772A 214.27 = 20.85 ∙ x1 - x2 ∙ = 10; CR1,2 = 20.85 S Means are not different ∙ x1 - x3 ∙ = 18; CR1,3 = 20.85 S Means are not different ∙ x2 - x3 ∙ = 28; CR2,3 = 20.85 S Means are different There is enough evidence to conclude that the average number of bagels sold per day in Store 2 is greater than the average number of bagels sold per day in Store 3. There is not enough evidence to conclude that there are differences in the average number of bagels sold per day when comparing Store 1 with Store 2 and Store 1 with Store 3.
11.28 a.
Source Sum of
SquareS DegreeS
of freeDom mean Sum
of SquareS F
Factor A 100 2 50 5.000
Factor B 120 2 60 6.000
Interaction 60 4 15 1.500
Error 450 45 10
Total 730 53
b. 6
c. Interaction: D1 = 4; D2 = 45; Fa = 2.579; FAB = 1.500 FAB … Fa S Do not reject H0
d. Factor A: D1 = 2; D2 = 45; Fa = 3.204; FA = 5.000 FA 7 Fa S Reject H0
e. Factor B: D1 = 2; D2 = 45; Fa = 3.204; FB = 6.000 FB 7 Fa S Reject H0
11.30 Factor A: MSE = 40.2; a = 3; b = 2; r = 3 D1 = 3; D2 = 12; QA = 3.77
CRA = 13.772A 40.2122132 = 9.76 ∙ x1 - x2 ∙ = 4.6; CRA = 9.76 S Means are not different ∙ x1 - x3 ∙ = 11.6; CRA = 9.76 S Means are different ∙ x2 - x3 ∙ = 7.0; CRA = 9.76 S Means are not different There is enough evidence to conclude that there is difference between Factor A the Level 1 and Level 3 means. There is not enough evidence to conclude that there are differences between the Level 1 and Level 2 means or between the Level 2 and Level 3 means. Determining differences between level means of Factor B is not warranted because no difference in means between Factor B levels was found.
11.32
Source Sum of SquareS
DegreeS of freeDom
mean Sum of SquareS F p-Value Fa
Factor A 401.4 2 200.7 4.318 0.029 3.555
Factor B 1,780.1 2 890.0 19.148 0.00003 3.555
Interaction 98.1 4 24.5 0.528 0.716 2.928
Error 836.7 18 46.5
Total 3,116.3 26
www.freebookslides.com
A P P E N D I X B | Chapter 11 903
a. Interaction hypothesis: p@value = 0.716 S 0.716 7 0.05 S Do not reject H0 There is no interaction between Factors A and B, and we can test them individually.
b. Factor A hypothesis: p@value = 0.029 S 0.029 6 0.05 S Reject H0 There is enough evidence to conclude that the Factor A means are different.
c. Factor B hypothesis: p@value = 0.00003 S 0.00003 6 0.05 S Reject H0 There is enough evidence to conclude that the Factor B means are different.
11.34
Source Sum of
SquareS DegreeS of
freeDom mean Sum
of SquareS F p-Value Fa Factor A 123,215,833 2 61,607,917 5.174 0.017 3.555
Factor B 106,667 1 106,667 0.009 0.926 4.414
Interaction 21,225,833 2 10,612,917 0.891 0.427 3.555
Error 214,310,000 18 11,906,111
Total 358,858,333 23
a. Interaction hypothesis: p@value = 0.427 S 0.427 7 0.05 S Do not reject H0 There is no interaction between gender and major, and we can test them individually.
b. Factor A hypothesis: p@value = 0.017 S 0.017 6 0.05 S Reject H0 There is enough evidence to conclude that the person’s starting salary is based on a person’s major.
c. Factor B hypothesis: p@value = 0.926 S 0.926 7 0.05 S Do not reject H0 There is not enough evidence to conclude that the person’s starting salary is based on a person’s gender.
d. Factor A: MSE = 11,906,111; a = 3; b = 2; r = 4 D1 = 3; D2 = 18; QA = 3.61
CRA = 13.612A 11,906,111122142 = 4.404 ∙ x1 - x2 ∙ = 4,837.5; CRA = 4.404 S Means are different ∙ x1 - x3 ∙ = 62.5; CRA = 4.404 S Means are not different ∙ x2 - x3 ∙ = 4,775.0; CRA = 4.404 S Means are different There is enough evidence to conclude that the starting salaries of finance majors and accounting majors are greater than the starting salary of marketing majors. There is not enough evidence to conclude that there are differences in finance and accounting majors’ starting salaries.
e.
$38,000
$40,000
$42,000
$44,000
$46,000
$48,000
$50,000
Finance Marketing Accounting
Women Men
11.36
Source Sum of SquareS
DegreeS of freeDom
mean Sum of SquareS F p-Value FA
Factor A 7,987.5 3 2,662.5 6.342 0.002 2.901
Factor B 2,205.2 1 2,205.2 5.253 0.029 4.149
Interaction 719.7 3 239.9 0.571 0.638 2.901
Error 13,434.0 32 419.8
Total 24,346.4 39
a. Interaction hypothesis: p-value = 0.638 S 0.638 7 0.05 S Do not reject H0
There is no interaction between the city and time of the week, and we can test them individually.
b. Factor A hypothesis: p-value = 0.002 S 0.002 6 0.05 S Reject H0
There is enough evidence to conclude that the city has an effect on the amount of time stuck in traffic.
c. Factor B hypothesis: p-value = 0.029 S 0.029 6 0.05 S Reject H0
There is enough evidence to conclude that the time of the week has an effect on the amount of time stuck in traffic.
d. Factor A: MSE = 419.8; a = 4; b = 2; r = 5 D1 = 4; D2 = 14212215 - 12 = 32; a = 0.05;QA = 3.84 CRA = 13.842A 419.8122152 = 24.9
∙ x1 - x2 ∙ = ∙ 80.8 - 76.2 ∙ = 4.6; CRA = 24.9 S means are not different ∙ x1 - x3 ∙ = ∙ 80.8 - 73.7 ∙ = 7.1; CRA = 24.9 S means are not different ∙ x1 - x4 ∙ = ∙ 80.8 - 44.8 ∙ = 36.0; CRA = 24.9 S means are different ∙ x2 - x3 ∙ = ∙ 76.2 - 73.7 ∙ = 2.5; CRA = 24.9 S means are not different ∙ x2 - x4 ∙ = ∙ 76.2 - 44.8 ∙ = 31.4; CRA = 24.9 S means are different ∙ x3 - x4 ∙ = ∙ 73.7 - 44.8 ∙ = 28.9; CRA = 24.9 S means are different
There is enough evidence to conclude that the amount of time stuck in traffic in New York is less than the amount of time stuck in traffic in Beijing, New Delhi, and Mexico City. There is not enough evidence to conclude that there are differences in the amount of time stuck in traffic between Beijing, New Delhi, and Mexico City. Factor B: No need for multiple comparisons as there are only two populations.
e.
0
10
20
30
40
50
60
70
80
90
100
Beijing New Delhi Mexico City New York
Weekday Weekend
www.freebookslides.com
904 A P P E N D I X B | Answers to Selected Even-Numbered Problems
11.38
Source Sum of SquareS
DegreeS of freeDom
mean Sum of SquareS F p-Value FA
Factor A 438.2 2 219.1 48.093 0.000 3.259
Factor B 96.8 2 48.4 10.629 0.0002 3.259
Interaction 16.9 4 4.2 0.927 0.459 2.634
Error 164 36 4.6
Total 715.9 44
a. Interaction hypothesis: p-value = 0.459 S 0.459 7 0.05 S Do not reject H0 There is no interaction between city and movie format, and we can test them individually.
b. Factor A hypothesis: p@value = 0 S 0 6 0.05 S Reject H0 There is enough evidence to conclude that the movie format has an effect on the cost of a movie.
c. Factor B hypothesis: p-value = 0.0002 S 0.0002 6 0.05 S Reject H0 There is enough evidence to conclude that the city has an effect on the cost of a movie.
d. Factor A: MSE = 4.6; a = 3; b = 3; r = 5 D1 = 3; D2 = 36; QA = 3.46
CRA = 13.462A 4.6132152 = 1.92 ∙ x1 - x2 ∙ = 5.53; CRA = 1.92 S Means are different ∙ x1 - x3 ∙ = 7.33; CRA = 1.92 S Means are different ∙ x2 - x3 ∙ = 1.80; CRA = 1.92 S Means are not different There is enough evidence to conclude that there is a difference in average movie prices between 2D and 3D formats and between 2D and IMAX formats. There is no difference in average prices between 3D and IMAX formats. Factor B: MSE = 4.6; a = 3; b = 3; r = 5 D1 = 3; D2 = 36; QB = 3.46
CRB = 13.462A 4.6132152 = 1.92 ∙ x1 - x2 ∙ = 1.20; CRB = 1.92 S Means are not different ∙ x1 - x3 ∙ = 3.53; CRB = 1.92 S Means are different ∙ x2 - x3 ∙ = 2.33; CRB = 1.92 S Means are different There is enough evidence to conclude that there is a difference in average movie prices between New York and Dallas and between Atlanta and Dallas. There is no difference in average prices between New York and Atlanta.
e.
0
2
4
6
8
10
12
14
16
18
20
2D 3D IMAX 3D
New York Atlanta Dallas
11.40 a. H0: m1 = m2 = m3 H1: Not all ms are equal x1 = 33; x2 = 40; x3 = 17; x = 30
a 3
j = 1 a nj
i = 1 xij = 450; a
3
j = 1 a nj
i = 1 x 2ij = 16,768
SST = 16,768 - 145022
15 = 3,268
SSB = 1,390 SSW = 1,878 MSB = 695; MSW = 156.5; Fx = 4.441 D1 = 2; D2 = 12; Fa = 3.885 Fx 7 Fa S Reject H0 There is enough evidence to conclude that there are differences in the average number of ER visits during three shifts.
b. MSW = 156.5; D1 = 3; D2 = 12; Qa = 3.77
CR1,2 = CR1,3 = CR2,3 = 13.772A 156.52 a 15 + 15 b = 21.09 ∙ x1 - x2 ∙ = 7; CR1,2 = 21.09 S Means are not different ∙ x1 - x3 ∙ = 16; CR1,3 = 21.09 S Means are not different ∙ x2 - x3 ∙ = 23; CR2,3 = 21.09 S Means are different There is enough evidence to conclude that the average number of ER visits during the 3:00 p.m.–11:00 p.m. shift is greater than the average number of ER visits during the 11:00 p.m.–7:00 a.m. shift. There is not enough evidence to conclude that the average number of ER visits during the 7:00 a.m.–3:00 p.m. shift is different from that of the two other shifts.
c. You can add a blocking factor, such as day of the week.
11.42 a. H0: m1 = m2 = m3 = m4 H1: Not all ms are equal x1 = 198.0; x2 = 206.0; x3 = 163.6; x4 = 180.4;
x = 187.0; a 4
j = 1 a nj
i = 1 xij = 3,740; a
4
j = 1 a nj
i = 1 x 2ij = 707,448
SST = 707,448 - 13,74022
20 = 8,068
SSB = 5,365.6 SSW = 2,702.4 MSB = 1,788.5; MSW = 168,9; Fx = 10.6 D1 = 3; D2 = 16; Fa = 3.239 Fx 7 Fa S Reject H0 There is enough evidence to conclude that there is a difference in the average ticket prices between these four teams.
b. MSW = 168.9; D1 = 4; D2 = 16; Qa = 4.05. ∙ x1 - x2 ∙ = 8.0; CR1,2 = 23.54 S Means are not different ∙ x1 - x3 ∙ = 34.4; CR1,3 = 23.54 S Means are different ∙ x1 - x4 ∙ = 17.6; CR2,3 = 23.54 S Means are not different ∙ x2 - x3 ∙ = 42.4; CR2,3 = 23.54 S Means are different ∙ x2 - x4 ∙ = 25.6; CR2,3 = 23.54 S Means are different ∙ x3 - x4 ∙ = 16.8; CR2,3 = 23.54 S Means are not different There is enough evidence to conclude that the average ticket price for Green Bay is higher than the average price for Indianapolis. The average ticket price for New Orleans is higher than the average price of both Indianapolis and New York.
11.44 a. H0: m1 = m2 = m3 H1: Not all ms are equal Factor means x1 = 870; x2 = 1,112; x3 = 704 Block means x1 = 585.3; x2 = 655; x3 = 821.7; x4 = 1,116.7; x5 = 1,300
x = 895.3; a 3
j = 1 a nj
i = 1 xij = 13,430; a
3
j = 1 a nj
i = 1 x 2ij = 13,811,150
SST = 13,811,150 - 113,43022
15 = 1,786,823.3
SSB = 420,973.3 SSBL = 1,119,823.3 SSE = 246,026.7 MSB = 210,486.7; MSBL = 279,955.8; MSE = 30,753.3 Fx = 6.844; D1 = 2; D2 = 8; Fa = 4.459
www.freebookslides.com
A P P E N D I X B | Chapter 11 905
Fx 7 Fa S Reject H0 FBL = 9.103; D1 = 4; D2 = 8; Fa = 3.838 FBL 7 Fa S Reject H0 There is enough evidence to conclude that there is a difference in the average prices of homes in Avalon, Stone Harbor, and Sea Isle City.
b. MSE = 30,753; k = 3; b = 5; D1 = 3; D2 = 8; Qa = 4.04
CR1,2 = CR1,3 = CR2,3 = 14.042A 30,753.35 = 316.8 ∙ x1 - x2 ∙ = 242; CR1,2 = 316.8 S Means are not different ∙ x1 - x3 ∙ = 166; CR1,3 = 316.8 S Means are not different ∙ x2 - x3 ∙ = 408; CR2,3 = 316.8 S Means are different There is enough evidence to conclude that the average price of homes in Stone Harbor is higher than the average price of homes in Sea Isle City. There is not enough evidence to conclude that there are differences in the average price of homes when comparing Avalon with Stone Harbor or with Sea Isle City.
d. Because the blocking null hypothesis is rejected, there is evidence to conclude that the blocking factor is effective.
11.46 a. H0: m1 = m2 = m3 H1: Not all ms are equal x1 = 97.4; x2 = 106.8; x3 = 100.4; x = 101.5
a 3
j = 1 a nj
i = 1 xij = 1,523; a
3
j = 1 a nj
i = 1 x 2ij = 166,163
SST = 166,163 - 11,52322
15 = 11,527.7
SSB = 230.5 SSW = 11,297.2 MSB = 115.3; MSW = 941.4; Fx = 0.122 D1 = 2; D2 = 12; Fa = 3.885 Fx 6 Fa S Do not reject H0
b. Perform randomized block ANOVA with month as blocks: Block means x1 = 66.7; x2 = 121; x3 = 106.3; x4 = 75; x5 = 138.7
x = 101.5; a 3
j = 1 a nj
i = 1 xij = 1,523; a
3
j = 1 a nj
i = 1 x 2ij = 166,163
SST = 11,527.7 SSB = 230.5 SSBL = 11,107.7 SSE = 195.5 Fx = 4.725; D1 = 2; D2 = 8; Fa = 4.459 Fx 7 Fa S Reject H0 FBL = 113.746; D1 = 4; D2 = 8; Fa = 3.838 FBL 7 Fa S Reject H0 There is enough evidence to conclude that the music has an effect on the average time spent using month as the blocking factor.
c. MSE = 24.4; k = 3; b = 5; D1 = 3; D2 = 8; Qa = 4.04
CR1,2 = CR1,3 = CR2,3 = 14.042A 24.45 = 8.92 ∙ x1 - x2 ∙ = 9.4; CR1,2 = 8.92 S Means are different ∙ x1 - x3 ∙ = 3.0; CR1,3 = 8.92 S Means are not different ∙ x2 - x3 ∙ = 6.4; CR2,3 = 8.92 S Means are not different There is enough evidence to conclude that a difference exists in the amount of time spent at the table between no music and low music.
11.48 a. H0 : m1 = m2 = m3 H1 : Not all ms are equal x1 = 36.0; x2 = 30.0; x3 = 42.0; x = 36.0
SST = 16,102 - 143222
12 = 550
SSB = 288.0; MSB = 144.0 SSW = 262; MSW = 29.11; Fx = 4.95 D1 = 2; D2 = 9; Fa = 4.256
Because Fx = 4.95 is greater than Fa = 4.256, we reject the null hypothesis. Therefore, we can conclude that a difference exists in the average number of hours that an employee works per week between these countries.
b. D1 = 3; D2 = 9; MSW = 29.11 Qa = 3.95
CRi,j = 13.952A 29.112 a 14 + 14 b = 10.7 ∙ x1 - x2 ∙ = 6; CR1,2 = 10.7 S means are not different ∙ x1 - x3 ∙ = 6; CR1,3 = 10.7 S means are not different ∙ x2 - x3 ∙ = 12; CR2,3 = 10.7 S means are different There is evidence that employees in China work more hours per week than employees in Sweden. There is no evidence of differences in worked hours per week between US and Sweden and between the US and China.
11.50 a. H0 : m1 = m2 = m3 H1 : Not all ms are equal x1 = 15.2; x2 = 16.4; x3 = 13.4; x = 15.0
SST = 3,461 - 122522
15 = 86.0
SSB = 22.8; MSB = 11.4 SSBL = 48.0; MSBL = 12.0 SSE = 15.2; MSE = 1.9; Fx = 6.0 D1 = 2; D2 = 8; Fa = 4.459 Because Fx = 6.0 is greater than Fa = 4.459, we reject the null hypothesis. Therefore, we can conclude that a difference exists in the satisfaction scores between these three locations.
b. H0 : mBL1 = mBL2 = mBL3 = mBL4 = mBL5 H1 : Not all mBLs are equal FBL = 6.32 D1 = 4; D2 = 8; Fa = 3.838 Because FBL = 6.32 is greater than Fa = 3.838, we reject the null hypothesis. Therefore, we can conclude that the blocking factor was effective.
c. D1 = 3; D2 = 8; MSE = 1.9 Qa = 4.04
CRi,j = 14.042A 1.95 = 14.04210.6162 = 2.49 ∙ x1 - x2 ∙ = 1.2; CR1,2 = 2.49 S means are not different ∙ x1 - x3 ∙ = 1.8; CR1,3 = 2.49 S means are not different ∙ x2 - x3 ∙ = 3.0; CR2,3 = 2.49 S means are different The average customer satisfaction score from Towson differs from the average customer satisfaction score from Dover.
11.52
anoVa Source of Variation SS df MS F p-value F crit
Sample 225 1 225 18.52699 0.000164 4.170877
Columns 96 2 48 3.952425 0.02995 3.31583
Interaction 12.66667 2 6.333333 0.5215 0.598912 3.31583
Within 364.3333 30 12.14444
Total 698 35
a. Interaction hypothesis: p@value = 0.599 7 0.05 S Do not reject H0 There is no interaction between the type of diet and the reporting status of the individual.
b. Factor B hypothesis: p@value = 0.00016 6 0.05 S Reject H0 There is enough evidence to conclude that the reporting status has an effect on the weight loss experienced by the individual.
c. Factor A hypothesis: p@value = 0.02995 6 0.05 S Reject H0 There is enough evidence to conclude that the type of diet has an effect on the weight loss experienced by the individual.
www.freebookslides.com
906 A P P E N D I X B | Answers to Selected Even-Numbered Problems
d. D1 = 3; D2 = 30; MSW = 12.144 Qa = 3.49
CRi,j = 13.492A 12.144122162 = 3.49 ∙ x1 - x2 ∙ = 2.0; CR1,2 = 3.49 S means are not different ∙ x1 - x3 ∙ = 2.0; CR1,3 = 3.49 S means are not different ∙ x2 - x3 ∙ = 4.0; CR2,3 = 3.49 S means are different The average weight loss from Diet 2 differs from the average weight loss from Diet 3.
11.54
Source Sum of
SquareS DegreeS of
freeDom mean Sum
of SquareS F p-Value FA Factor A 90.94 3 30.31 1.658 0.182 2.708
Factor B 123.49 1 123.49 6.753 0.011 3.949
Interaction 2.33 3 0.78 0.042 0.988 2.708
Error 1,609.1 88 18.29
Total 1,825.85 95
a. Interaction hypothesis: p@value = 0.988 S 0.988 7 0.05 S Do not reject H0 There is no interaction between gender and state for the averages of BMI level, and we can test them individually.
b. Factor A hypothesis: p@value = 0.182 S 0.182 7 0.05 S Do not reject H0 There is not enough evidence to conclude that the state has an effect on BMI level.
c. Factor B hypothesis: p@value = 0.011 S 0.011 6 0.05 S Reject H0 There is enough evidence to conclude that gender has an effect on BMI level.
d. No need to perform a multiple comparison test because Factor B (gender) has only two populations.
e.
0
5
10
15
20
25
30
MI FL NYUT
Male Female
11.56 a. H0: m1 = m2 = m3 H1: Not all ms are equal x1 = 3,617.2; x2 = 5,805.3; x3 = 4,462.4
x = 4,628.3; a 3
j = 1 a nj
i = 1 xij = 40,162; a
3
j = 1 a nj
i = 1 x 2ij = 673,594,727
SST = 673,594,727 - 140,16222
27 = 95,215,052
SSB = 21,916,744 SSW = 73,298,308 MSB = 10,958,372; MSW = 3,054,096 Fx = 3.588; D1 = 2; D2 = 24; Fa = 3.403 Fx 7 Fa S Reject H0 There is enough evidence to conclude that there are differences in the credit card balances of the three groups.
b. MSW = 3,054,096; D1 = 3; D2 = 24; Qa = 3.53
CR1,2 = CR1,3 = CR2,3 = 13.532B 3,054,0962 a 19 + 19 b = 2,056.3 ∙ x1 - x2 ∙ = 2,188.1; CR1,2 = 2,056.3 S Means are different ∙ x1 - x3 ∙ = 845.2; CR1,3 = 2,056.3 S Means are not different ∙ x2 - x3 ∙ = 1,342.9; CR1,4 = 2,056.3 S Means are not different There is enough evidence to conclude that the average credit card balance for the “No promotion” group of customers is less than the average credit card balance for “E-mail promotion” group. There is not enough evidence to conclude that there are differences in the average credit card balance for the other two possible pairs of the three groups.
c. E-mail promotion appears to be an effective way to communicate with customers.
11.58 a. H0 : m1 = m2 = m3 H1 : Not all ms are equal x1 = 278.0; x2 = 226.6; x3 = 205.2; x = 236.6 SST = 339,748.9 SSB = 58,740.1; MSB = 29,370.1 SSW = 281,008.8; MSW = 4,683.5; Fx = 6.27 D1 = 2; D2 = 60; Fa = 3.150 Because Fx = 6.27 is greater than Fa = 3.150, we reject the null hypothesis. Therefore, we can conclude that a difference exists in the average 401(k) balance between the three age groups.
b. D1 = 3; D2 = 60; MSW = 4,683.5 Qa = 3.40
CRi,j = 13.402A 4,683.52 a 121 + 121 b = 50.8 ∙ x1 - x2 ∙ = 51.4; CR1,2 = 50.8 S means are different ∙ x1 - x3 ∙ = 72.8; CR1,3 = 50.8 S means are different ∙ x2 - x3 ∙ = 21.4; CR2,3 = 50.8 S means are not different There is a difference in the average 401(k) balance between the 50- to 59-year age group and the 70 years or older age group. There is also a difference is the average 401(k) balance between the 50- to 59-year age group and the 60- to 69-year age group.
Chapter 12 12.2
PoPulation fo fe 1fo - fe 2 1 fo − fe 2 2 1fo - fe 2
fe
A—yes 20 19 1 1 0.053
A—no 18 19 - 1 1 0.053
B—yes 10 11 - 1 1 0.091
B—no 12 11 1 1 0.091
Total X2 = 0.288
k = 2; df = 1; x20.05 = 3.841 x2 … x20.05 S Do not reject H0 The proportion of “Yes” observations does not differ between Populations A and B.
12.4
PoPulation fo fe 1fo - fe 2 1 fo − fe 2 2 1fo - fe 2
fe
A—yes 10 13.76 - 3.76 14.14 1.027 A—no 22 18.24 3.76 14.14 0.775
B—yes 16 18.06 - 2.06 4.24 0.235 B—no 26 23.94 2.06 4.24 0.177
C—yes 17 11.18 5.82 33.87 3.030
C—no 9 14.82 - 5.82 33.87 2.286 Total X2 = 7.530
2
2
www.freebookslides.com
A P P E N D I X B | Chapter 12 907
k = 3; df = 2; x20.05 = 5.991 x2 7 x20.05 S Reject H0 The proportion of “Yes” observations differs between Populations A, B, and C.
12.6 a. pn = 21 + 41 + 36 + 18
700 = 0.166
HouseHold Income fo fe 1fo - fe 2 1 fo − fe 2 2 1fo - fe 2
fe
Less than $25,000 with health insurance
57 65.07 - 8.07 65.12 1.002
Less than $25,000 without health insurance
21 12.93 8.07 65.12 5.044
$25,000–$49,999 with health insurance
142 152.67 - 10.67 113.85 0.746
$25,000–$49,999 without health insurance
41 30.33 10.67 113.85 3.757
$50,000–$74,999 with health insurance
205 201.06 3.94 15.52 0.077
$50,000–$74,999 without health insurance
36 39.94 - 3.94 15.52 0.388
$75,000 or more with health insurance
180 165.19 14.81 219.34 1.328
$75,000 or more without health insurance
18 32.81 - 14.81 219.34 6.686
Total X2 = 19.028
k = 4; df = 3; x20.01 = 11.345 x2 7 x20.01 S Reject H0 c. p-value = 0.0003. Because the p-value is smaller than a = 0.01,
there is enough evidence to reject the null hypothesis.
d. The proportion of households without health insurance differs by income bracket.
12.8 a. H0: p1 = p2 H1: p1 ≠ p2
pn = 35 + 23 75 + 80
= 0.374
category fo fe 1fo - fe2 1 fo − fe 2 2 1fo - fe 2
fe
2
Men—no sunscreen
35 28.05 6.95 48.303 1.722
Men— sunscreen
40 46.95 - 6.95 48.303 1.029
Women— no sunscreen
23 29.92 - 6.92 47.886 1.600
Women— sunscreen
57 50.08 6.92 47.886 0.956
Total X2 = 5.307
k = 2; df = 1; a = 0.01; x20.01 = 6.635 x2 … x20.01 S 5.307 6 6.635 S Do not reject H0 We have no evidence to conclude that the proportion of men who do not use sunscreen differs from the proportion of women.
b. p-value = CHISQ.DIST.RT (5.307, 1) = 0.0212 Because the p-value = 0.0212 and is greater than a = 0.01, we fail to reject the null hypothesis.
12.10 H0: Random variable follows the Poisson distribution H1: Random variable does not follow the Poisson distribution l = 1.5
random VarIable, x fo P1x2 fe 1fo - fe 2 1 fo − fe 2 2
1fo - fe 2 fe
0 17 0.2231 22.31 - 5.31 28.20 1.264
1 35 0.3347 33.47 1.53 2.341 0.070
2 30 0.2510 25.10 4.90 24.01 0.957
3 and more 18 0.1912 19.12 -1.12 1.25 0.065
Total 100 X2 = 2.356
Note: Because the expected frequency for random variable “4 or more” is less than 5 it was combined with random variable “3” as “3 or more”, and P13 or more2 = 1.0 - 0.2231 - 0.3347 - 0.2510 = 0.1912 k = 4; m = 0; df = 3; x20.05 = 7.815 x2 … x20.05 S Do not reject H0 Conclusion: Random variable follows the Poisson distribution.
12.12 H0: Random variable follows the normal probability distribution H1: Random variable does not follow the normal probability distribution n 6 75 S number of intervals = 4
random VarIable, x InterVal fo P 1x2 fe 1fo − fe 2 1 fo − fo 2 2
1fo - fe 2 fe
Less than 80
z … - 1 10 0.1587 7.93 2.07 4.28 0.540
80 to under 100
- 1 6 z … 0 14 0.3413 17.07 - 3.07 9.42 0.552
100 to under 120
0 6 z … 1 19 0.3413 17.07 1.93 3.73 0.218
120 and more
z 7 1 7 0.1587 7.93 - 0.93 0.86 0.108
Total 50 X2 = 1.418
k = 4; m = 0; df = 3; x20.05 = 7.815 x2 … x20.05 S Do not reject H0 Conclusion: Random variable follows the normal probability distribution.
12.14 a. H0: U.S. market share for cars did not change between 2013 and 2014 H1: U.S. market share for cars changed between 2013 and 2014
brand fo P (x ) fe 1fo − fe2 1 fo − fe 2 2 1fo - fe 2
fe
2
General Motors
35 0.185 40.70 - 5.70 32.49 0.798
Ford Motors
37 0.165 36.30 0.70 0.49 0.013
Toyota 24 0.137 30.14 - 6.14 37.70 1.251
Chrylser 20 0.122 26.84 - 6.84 46.79 1.743
Honda 17 0.102 22.44 - 5.44 29.59 1.319
Other 87 0.289 63.58 23.42 548.50 8.627
Total 220 X2 = 13.751
k = 6; df = 5; a = 0.10; x20.10 = 9.236 x2 7 x20.10 S 13.751 7 9.236 S Reject H0 We have evidence to conclude that the U.S. market share for cars has changed between 2013 and 2014.
2
2
2
www.freebookslides.com
908 A P P E N D I X B | Answers to Selected Even-Numbered Problems
b. p-value = CHISQ.DIST.RT (13.751, 5) = 0.0173 Because the p-value = 0.0173 and is less than a = 0.10, we reject the null hypothesis.
12.16 H0: The number of touchdown passes thrown per game by Aaron Rodgers follows the Poisson probability distribution
H1: The number of touchdown passes thrown per game by Aaron Rodgers does not follow the Poisson probability distribution
l = 1.7
toucHdown Passes fo P (x ) fe 1fo − fe 2 1 fo − fe 2 2
1fo - fe 2 fe
0 4 0.1827 7.31 - 3.31 10.96 1.499
1 12 0.3106 12.42 - 0.42 0.18 0.014
2 14 0.2640 10.56 3.44 11.83 1.120
3 or more 10 0.2427 9.71 0.29 0.08 0.008
Total 40 X2 = 2.641
k = 4; m = 0; df = 3; x20.05 = 7.815 x2 … x20.05 S Do not reject H0 Conclusion: The number of touchdown passes thrown per game by Aaron Rodgers follows the Poisson probability distribution.
The probability of 4 or more (0.0931) was combined with the probability of exactly 3 (0.1496) in the last category to ensure each cell has an expected frequency of at least five.
12.18 H0: The number of correct answers per student follows the binomial probability distribution
H1: The number of correct answers per student does not follow the binomial probability distribution
The probability of a success based on the sample with n = 4 is:
p = 14210.002 + 15210.252 + 112210.502 + 19210.752 + 110211.002
4 + 5 + 12 + 9 + 10 = 0.60
number of correct answers fo P1x2 fe 1fo − fe 2 1 fo − fe 2 2
1fo - fe 2 fe
0 or 1 9 0.1792 7.17 1.83 3.35 0.467
2 12 0.3456 13.82 - 1.82 3.31 0.240 3 9 0.3456 13.82 - 4.82 23.23 1.681 4 10 0.1296 5.18 4.82 23.23 4.485
Total 40 X2 = 6.873
Note: Because the expected frequency for the number of “yes” decisions “0” is less than 5 it was combined with the number of “yes” decisions “1” as “0 or 1,” and P1x2 = 0.0256 + 0.1536 = 0.1792 k = 4; m = 1; df = 2; x20.05 = 5.991. x2 7 x20.05 S Reject H0 Conclusion: The number of correct answers per student does not follow the binomial probability distribution.
12.20 H0: The number of printers sold per week at the electronic store follows the normal probability distribution
H1: The number of printers sold per week at the electronic store does not follow the normal probability distribution
x = 11.2; s = 4.3; n 6 75 S number of intervals = 4 x = 11.2 + 11.0214.32 = 15.5 x = 11.2 - 11.0214.32 = 6.9
x InterVal z InterVal fo P1x2 fe 1fo − fe 2 1 fo − fe 2 2 1fo - fe 2
fe
2
Less than 6.9
z … - 1 7 0.1587 7.14 - 0.14 0.02 0.003
6.9 to 11.2 - 1 6 z … 0 16 0.3413 15.36 0.64 0.41 0.027
11.2 to 15.5
0 6 z … 1 14 0.3413 15.36 - 1.36 1.85 0.120
More than 15
z 7 1 8 0.1587 7.14 0.86 0.74 0.104
Total 45 X2 = 0.254
k = 4; m = 2; df = 1; x20.05 = 3.841 x2 … x20.05 S Do not reject H0 Conclusion: There is enough evidence to conclude that the number of printers sold per week at the electronic store follows the normal probability distribution.
12.22 a. H0: The row variable and column variable are independent of one another H1: The row variable and column variable are not independent of one another
b.
column VarIable
row VarIable c1 c2 c3
R1 12621192 50
= 9.88 12621142
50 = 7.28
12621172 50
= 8.84
R2 12421192 50
= 9.12 12421142
50 = 6.72
12421172 50
= 8.16
c.
cell fo fe 1fo − fe 2 1 fo − fe 2 2 1fo - fe 2
fe
2
R1–C1 9 9.88 - 0.88 0.774 0.078
R1–C2 7 7.28 - 0.28 0.078 0.011
R1–C3 10 8.84 1.16 1.346 0.152
R2–C1 10 9.12 0.88 0.774 0.085
R2–C2 7 6.72 0.28 0.078 0.012
R2–C3 7 8.16 - 1.16 1.346 0.165
Total X2 = 0.503
d. r = 2; c = 3; df = 2; x20.05 = 5.991 x2 … x20.05 S Do not reject H0 Conclusion: The row and column variables are independent of one another.
12.24 a. H0: Student’s grade on the exam and hours spent studying are independent H1: Student’s grade on the exam and hours spent studying are not independent
cell fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Less than 3 hours—A
4 11.1 - 7.1 50.41 4.541
Less than 3 hours—B
18 13.2 4.8 23.04 1.745
2
2
www.freebookslides.com
A P P E N D I X B | Chapter 12 909
cell fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Less than 3 hours—C
8 5.7 2.3 5.29 0.928
3–5 hours—A 15 12.95 2.05 4.20 0.324
3–5 hours—B 14 15.4 - 1.4 1.96 0.127
3–5 hours—C 6 6.65 - 0.65 0.42 0.063
More than 5 hours—A
18 12.95 5.05 25.50 1.969
More than 5 hours—B
12 15.4 - 3.4 11.56 0.751
More than 5 hours—C
5 6.65 - 1.65 2.72 0.409
Total X2 = 10.860
r = 3; c = 3; df = 4; x20.05 = 9.488
x2 7 x20.05 S Reject H0 b. Conclusion: Student’s grade on the exam and hours spent studying
are not independent.
12.26 a. H0: The type of the medal and country that earned it are independent H1: The type of the medal and country that earned it are not independent
cell fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
United States— gold
46 41.99 4.01 16.08 0.383
United States— silver
29 31.74 - 2.74 7.51 0.237
United States— bronze
29 30.27 - 1.27 1.61 0.053
Germany—gold 11 17.77 - 6.77 45.83 2.579
Germany— silver
19 13.43 5.57 31.02 2.310
Germany— bronze
14 12.81 1.19 1.42 0.111
Great Britain— gold
29 26.24 2.76 7.62 0.290
Great Britain— silver
17 19.84 - 2.84 8.07 0.407
Great Britain— bronze
19 18.92 0.08 0.01 0.000
Total X2 = 6.370
r = 3; c = 3; df = (3 - 1)(3 - 1) = 4; a = 0.05; x20.05 = 9.488 x2 … x20.05 S 6.370 6 9.488 S Do not reject H0
b. Conclusion: The type of the medal and country that earned it are independent.
c. p-value = CHISQ.DIST.RT (6.370, 4) = 0.1732 Because the p-value = 0.1732 and is greater than a = 0.05, we fail to reject the null hypothesis.
12.28 a. pn = 9 + 7 + 13
350 = 0.083
InstItutIon fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Public and defaulted on loan
9 9.94 - 0.94 0.88 0.089
Public and not defaulted on loan
111 110.06 0.94 0.88 0.008
Private and defaulted on loan
7 12.43 - 5.43 29.48 2.372
Private and not defaulted on loan
143 137.57 5.43 29.48 0.214
For-profit and defaulted on loan
13 6.63 6.37 40.58 6.121
For-profit and not defaulted on loan
67 73.37 - 6.37 40.58 0.553
Total X2 = 9.360
k = 3; df = 2; x20.05 = 5.991
x2 7 x20.05 S Reject H0 c. p-value = 0.0093. Because the p-value is less than a = 0.05, there
is enough evidence to reject the null hypothesis.
d. The proportion of students who default on their student loans differs by the type of institution.
12.30 a. pn = 134 + 129 + 138
580 = 0.691
PItcHer fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Stephen Strasburg— contacts made
134 145.11 - 11.11 123.43 0.851
Stephen Strasburg— contacts missed
76 64.89 11.11 123.43 1.902
Clayton Kershaw— contacts made
129 124.38 4.62 21.34 0.172
Clayton Kershaw— contacts missed
51 55.62 - 4.62 21.34 0.384
Tim Lincecum— contacts made
138 131.29 6.71 45.02 0.343
Tim Lincecum— contacts missed
52 58.71 - 6.71 45.02 0.767
Total X2 = 4.419
k = 3; df = 2; x20.05 = 5.991 x2 … x20.05 S Do not reject H0 The contact percentage does not differ among these three pitchers.
c. p-value = 0.11. Because the p-value is greater than a = 0.05, there is not enough evidence to reject the null hypothesis.
www.freebookslides.com
910 A P P E N D I X B | Answers to Selected Even-Numbered Problems
12.32 a. pn = 10 + 10 + 13 + 8
157 = 0.261
state fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Delaware— Follow the CDC
10 10.44 - 0.44 0.19 0.018
Delaware— Do not follow
30 29.56 0.44 0.19 0.006
Maryland— Follow the CDC
10 8.35 1.65 2.72 0.326
Maryland— Do not follow
22 23.65 - 1.65 2.72 0.115
New Jersey— Follow the CDC
13 13.05 0.05 0.002 0.000
New Jersey— Do not follow
37 36.95 - 0.05 0.002 0.000
Pennsylvania— Follow the CDC
8 9.14 - 1.14 1.30 0.142
Pennsylvania— Do not follow
27 25.86 1.14 1.30 0.050
Total X2 = 0.657
k = 4; df = 3; x20.05 = 7.815 x2 … x20.05 S Do not reject H0 The proportion of adults who follow the CDC’s guidelines does not differ among these four states.
c. p-value = 0.88. Because the p-value is greater than a = 0.05, there is not enough evidence to reject the null hypothesis.
12.34 a. H0: The proportions of Ohio voters by age group did not change from 2008 to 2014 H1: The proportions of Ohio voters by age group changed from 2008 to 2014
age grouP fo P1x2 fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
18–29 14 0.17 23.8 - 9.8 96.04 4.035
30–44 18 0.27 37.8 - 19.8 392.04 10.371
45–64 73 0.39 54.6 18.4 338.56 6.201
65 and older 35 0.17 23.8 11.2 125.44 5.271
Total 140 X2 = 25.887
k = 4; m = 0; df = 3; x20.05 = 7.815 x2 7 x20.05 S Reject H0
b. The proportions of Ohio voters by age group changed from 2008 to 2014.
12.36 a. H0: The number of attempted shots does not differ across all six segments of the soccer goal H1: The number of attempted shots differs across all six segments of the soccer goal
sHot locatIon fo fe 1fo − fe 2 1 fo − fe 2 2
1fo − fe 2 fe
2
Left 37 32.67 4.33 18.75 0.574
Middle 20 32.67 - 12.67 160.53 4.914
Right 41 32.67 8.33 69.39 2.124
Total 98 X2 = 7.612
df = 2; x20.05 = 5.991 x2 7 x20.05 S Reject H0 Conclusion: The number of attempted shots differs across all six segments of the soccer goal, with a preference toward the right side of the goal.
b. H0: The proportion of successful shots does not differ across all six segments of the soccer goal. H1: The proportion of successful shots differs across all six segments of the soccer goal.
pn = 25 + 12 + 30
98 = 0.684
sHot locatIon fo fe 1fo − fe 2 1 fo − fe 2 2
1fo − fe 2 fe
2
Left—yes 25 25.3 - 0.3 0.09 0.004
Left—no 12 11.7 0.3 0.09 0.008
Middle—yes 12 13.7 - 1.7 2.89 0.211
Middle—no 8 6.3 1.7 2.89 0.459
Right—yes 30 28.0 2.0 4.00 0.143
Right–no 11 13.0 - 2.0 4.00 0.308
Total X2 = 1.133
df = 2; x20.05 = 5.99 x2 … x20.05 S Do not reject H0 Conclusion: The proportion of successful shots does not differ across all six segments of the goal.
c. Even though the preference is to attempt shots toward the right side of the goal, the proportion of successful shots does not differ across these segments.
12.38 H0: The number of employees calling in sick per day follows the Poisson distribution
H1: The number of employees calling in sick per day does not follow the Poisson distribution
l = 1021102 + 112172 + 1221152 + 1321122 + 142132 + 152132
50 = 2.0
number of emPloyees fo P1x2 fe 1fo − fe 2 1 fo − fe 2 2
1fo − fe 2 fe
2
0 10 0.1353 6.77 3.23 10.432 1.541
1 7 0.2707 13.54 - 6.54 42.772 3.159
2 15 0.2707 13.54 1.46 2.132 0.157
3 or more 18 0.3233 16.17 1.84 3.386 0.209
Total 50 X2 = 5.066
Note: Because the expected frequencies for number of employees “4” and “5” are less than those when they were combined with number of employees “3” as “3 or more”, and P1x2 = 1.0 - 0.1353 + 0.2707 + 0.2707 = 0.3233 k = 4; m = 1; df = 2; x20.01 = 9.210 x2 … x20.01 S Do not reject H0 Conclusion: The number of employees calling in sick per day follows the Poisson distribution.
12.40 H0: The number of fairways hit per hole follows the binomial probability distribution
H1: The number of fairways hit per hole does not follow the binomial probability distribution
p = 1021322 + 1121862 + 1221882 + 1321382 + 142162
12502142 = 0.40
www.freebookslides.com
A P P E N D I X B | Chapter 12 911
HIt Per Hole fo P1x2 fe 1fo − fe 2 1 fo − fe 2 2
1fo − fe 2 fe
2
0 32 0.130 32.5 - 0.5 0.25 0.008
1 86 0.346 86.5 - 0.5 0.25 0.003
2 88 0.346 86.5 1.5 2.25 0.026
3 38 0.154 38.5 - 0.5 0.25 0.006
4 6 0.026 6.5 - 0.5 0.25 0.038
Total 250 X2 = 0.081
k = 5; m = 1; df = 3; x20.05 = 7.815 x2 … x20.05 S Do not reject H0 Conclusion: The number of the fairways the players hit per hole while teeing off follows the binomial probability distribution.
x InterVal z InterVal fo P (x ) fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Less than 18.7 z … - 1.5 5 0.0668 8.55 - 3.55 12.60 1.474
18.7 to 37.1 - 1.5 6 z … - 0.5 40 0.2417 30.94 9.06 82.08 2.652
7 37.1 to 55.5 - 0.5 6 z … 0.5 47 0.3830 49.02 - 2.02 4.08 0.083
7 55.5 to 73.9 0.5 6 z … 1.5 25 0.2417 30.94 - 5.94 35.28 1.140
More than 73.9 z 7 1.5 11 0.0668 8.55 2.45 6.00 0.702
Total 128 X2 = 6.051
k = 5; m = 2; df = 5 - 2 - 1 = 2; a = 0.01; x20.01 = 9.210 x2 7 x20.01 S 6.051 7 9.210 S Do not reject H0 Conclusion: There is enough evidence to conclude that the annual snowfall amount in Minneapolis from 1884 until 2012 follows the normal probability distribution.
b. p-value = CHISQ.DIST.RT (6.051, 2) = 0.0485 Because the p-value = 0.0485 and is greater than a = 0.01, we fail to reject the null hypothesis.
12.44 a. H0: Voters’ responses about the economy and their party affiliations are independent H1: Voters’ responses about the economy and their party affiliations are not independent
12.42 a. H0: The number of annual snowfall amount in Minneapolis from 1884 until 2012 follows the normal probability distribution H1: The number of annual snowfall amount in Minneapolis from 1884 until 2012 does not follow the normal probability distribution
x = 46.3; s = 18.4; 75 6 n 6 220 S number of intervals = 5 x = 46.3 + (1.5)(18.4) = 73.9 x = 46.3 + (0.5)(18.4) = 55.5 x = 46.3 - (0.5)(18.4) = 37.1 x = 46.3 - (1.5)(18.4) = 18.7
cell fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Get worse– Democrat
34 30.99 3.01 9.06 0.293
Get worse– Republican
30 32.65 - 2.65 7.02 0.215
Get worse– Independent
19 19.37 - 0.37 0.14 0.007
Stay the same– Democrat
17 17.17 - 0.17 0.03 0.002
Stay the same– Republican
22 18.09 3.91 15.29 0.844
Stay the same– Independent
7 10.73 - 3.73 13.91 1.299
Get better– Democrat
5 7.84 - 2.84 8.07 1.029
Get better– Republican
7 8.26 - 1.26 1.59 0.192
Get better– Independent
9 4.90 4.10 16.81 3.431
Total X2 = 7.312
r = 3; c = 3; df = 4; x20.01 = 13.277 x2 … x20.01 S Do not reject H0
b. Conclusion: Voters’ responses about the economy and their party affiliations are independent.
12.46 a. pn = 7 + 11 + 7 + 8 + 5
382 = 0.099
dealersHIP fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Aston—yes 7 5.64 1.36 1.85 0.328
Aston—no 50 51.36 - 1.36 1.85 0.036
Dover—yes 11 9.01 1.99 3.96 0.440
Dover—no 80 81.99 - 1.99 3.96 0.048
Springfield—yes 7 9.21 - 2.21 4.88 0.530
Springfield—no 86 83.79 2.21 4.88 0.058
Media—yes 8 8.81 - 0.81 0.66 0.075
Media—no 81 80.19 0.81 0.66 0.008
Newark—yes 5 5.15 - 0.15 0.02 0.004
Newark—no 47 46.85 0.15 0.02 0.000
Total X2 = 1.527
www.freebookslides.com
912 A P P E N D I X B | Answers to Selected Even-Numbered Problems
k = 5; m = 0; df = 4; x20.05 = 9.488 x2 … x20.05 S Do not reject H0 The proportion of new cars requiring warranty work does not differ among these five dealerships.
c. p-value = 0.82. Because the p-value is greater than a = 0.05, there is not enough evidence to reject the null hypothesis.
12.48 a. H0: The number of cruises and a customer’s satisfaction rating are independent H1: The number of cruises and a customer’s satisfaction rating are not independent
cell fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Excellent/1–3 20 27.81 - 7.81 61.00 2.193
Excellent/4–6 26 21.89 4.11 16.89 0.771
Excellent/7 or more
25 21.30 3.70 13.69 0.643
Good/1–3 42 32.12 9.88 97.61 3.041
Good/4–6 20 25.28 -5.28 27.88 1.104
Good/7 or more 20 24.60 - 4.60 21.16 0.860
Average/1–3 18 17.62 0.38 0.14 0.008
Average/4–6 15 13.88 1.12 1.25 0.091
Average/7 or more
12 13.50 - 1.5 2.25 0.167
Fair/1–3 10 9.40 0.60 0.36 0.038
Fair/4–6 6 7.40 - 1.40 1.96 0.265
Fair/7 or more 8 7.20 0.80 0.64 0.089
Poor/1–3 4 7.05 - 3.05 9.30 1.320
Poor/4–6 7 5.55 1.45 2.10 0.379
Poor/7 or more 7 5.40 1.60 2.56 0.474
Total X2 = 11.443
r = 5; c = 3; df = 8; x20.05 = 15.507 x2 … x20.05 S Do not reject H0
b. Conclusion: The number of cruises and a customer’s satisfaction rating are independent.
12.50 a. H0: The size of the employee’s organization and his or her paid sick days category are independent H1: The size of the employee’s organization and his or her paid sick days category are not independent
cell fo fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
99 or less—yes
47 58.41 - 11.41 130.19 2.229
99 or less—no
43 31.59 11.41 130.19 4.121
100 to 499—yes
53 51.92 1.08 1.17 0.023
100 to 499—no
27 28.08 - 1.08 1.17 0.042
500 or more—yes
59 48.67 10.33 106.71 2.193
500 or more—yes
16 26.33 - 10.33 106.71 4.053
Total X2 = 12.661
r = 3; c = 2; df = (3 - 1)(2 - 1) = 2; a = 0.05; x20.05 = 5.991 x2 7 x20.05 S 12.661 7 5.991 S Reject H0 The size of the employee’s organization and his or her paid sick days category are not independent.
b. p-value = CHISQ.DIST.RT (12.661, 2) = 0.0018 Because the p-value = 0.0018 and is less than a = 0.05, we reject the null hypothesis.
12.52 a. H0: The observed email frequency distribution is consistent with the Intermedia report H1: The observed email frequency distribution is not consistent with the Intermedia report
day fo P (x ) fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Monday 33 0.15 30.0 3.0 9.0 0.300
Tuesday 51 0.23 46.0 5.0 25.0 0.543
Wednesday 48 0.22 44.0 4.0 16.0 0.364
Thursday 42 0.21 42.0 0.0 0.0 0.000
Friday 26 0.19 38.0 - 12.0 144.0 3.789
Total 200 X2 = 4.996
k = 5; m = 0; df = 5 - 0 - 1 = 4; a = 0.05; x20.05 = 9.488 x2 … x20.05 S 4.996 6 9.488 S Do not reject H0 The observed email frequency distribution is consistent with the Intermedia report.
b. p-value = CHISQ.DIST.RT (4.996, 4) = 0.2877 Because the p-value = 0.2877 and is greater than a = 0.05, we fail to reject the null hypothesis.
12.54 a. H0: The population bedroom distribution follows the stated distribution H1: The population bedroom distribution does not follows the stated distribution
bedrooms fo fe 1fo − fe 2 1 fo − fe 2 2
1fo − fe 2 fe
2
2 4 6.0 - 2.0 4.00 0.667
3 10 14.0 - 4.0 16.00 1.143
4 27 17.5 9.5 90.25 5.157
5 8 7.5 0.5 0.25 0.033
6 1 5.0 - 4.0 16.00 3.200
Total X2 = a 1fo − fe2 2
fe = 10.200
df = k - m - 1 = 5 - 0 - 1 = 4; a = 0.10; x2a = 7.779. Because x2 = 10.2 is more than x2a = 7.779, we reject the null hypothesis and conclude that this sample does not support the stated probability distribution for number of bedrooms of rental properties.
b. p-value = CHISQ.DIST.RT (10.2, 4) = 0.0372 Because the p-value = 0.0372 and is less than a = 0.10, we reject the null hypothesis.
12.56 H0: The number of customers per day visiting Island Art follows the normal probability distribution
H1: The number of customers per day visiting Island Art does not follow the normal probability distribution
x = 503; s = 198; n 7 220 S number of intervals = 6 x = 503 + 12.0211982 = 899 x = 503 + 11.0211982 = 701 x = 503 - 11.0211982 = 305 x = 503 - 12.0211982 = 107
www.freebookslides.com
A P P E N D I X B | Chapter 13 913
Chapter 13 13.2 H0: s
2 … 9.0 H1: s
2 7 9.0
x2 = 125 - 1213.422
9 = 30.827
df = 24; x20.10 = 33.196 x2 6 x20.10 S Do not reject H0
13.4 H0: s 2 = 39.0
H1: s 2 ≠ 39.0
x2 = 140 - 1216.522
39 = 42.250
df = 39; x20.975 = 23.654; x 2 0.025 = 58.120
x20.975 … x2 … x20.025 S Do not reject H0 13.6 a. H0: s
2 Ú 144.0 H1: s
2 6 144.0
s = 8.35; x2 = 124 - 1218.3522
144 = 11.14
df = 23; x20.95 = 13.091 x2 … x20.95 S Reject H0
c. p@value = 0.0182 6 0.05 S Reject H0 There is enough evidence to conclude that the standard deviation for the delivery times by Seasons Pizza is less than 12 minutes after improvements have been made.
13.8 a. H0: s 2 = 16.0
H1: s 2 ≠ 16.0
s = 4.56; x2 = 140 - 1214.5622
16 = 50.68
df = 39; x20.975 = 23.654; x 2 0.025 = 58.120
x20.975 … x2 … x20.025 S Do not reject H0 c. p@value = 0.0996 7 0.05 S Do not reject H0
There is not enough evidence to conclude that the standard deviation of the temperature in the freezer of Amana’s refrigerator is not equal to 4°F.
13.10 H0: s 2 1 … s22
H1: s 2 1 7 s22
F = 11822 11522 = 1.440; D1 = 24; D2 = 19; Fa = 2.114
F … Fa S Do not reject H0
13.12 H0: s 2 1 = s
2 2
H1: s 2 1 ≠ s
2 2
F = 16322 14122 = 2.361; D1 = 24; D2 = 27; a>2 = 0.025; Fa>2 = 2.195
F 7 Fa>2 S Reject H0 13.14 a. H0: s
2 1 … s22
H1: s 2 1 7 s22
F = 110.422 16.522 = 2.560; D1 = 23; D2 = 20; Fa = 2.092
F 7 Fa S Reject H0 c. p@value = 0.0188 6 0.05 S Reject H0
There is enough evidence to conclude that Route 1 provides a more consistent commute time than Route 2.
13.16 a. H0: s 2 1 = s
2 2
H1: s 2 1 ≠ s
2 2
F = 1630022 1520022 = 1.468; D1 = 29; D2 = 26; a>2 = 0.025;
Fa>2 = 2.165 F … Fa>2 S Do not reject H0
c. p@value = 0.326 7 0.05 S Do not reject H0 There is not enough evidence to conclude that there is a difference in the variability of the salaries for high school teachers in Cape May County compared with those for Camden County.
13.18 a. H0: s 2 Ú 64.0
H1: s 2 6 64.0
s = 6.13; x2 = 120 - 1216.1322
64 = 11.156
df = 19; x20.95 = 10.117 x2 7 x20.95 S Do not reject H0
c. p@value = 0.0815 7 0.05 S Do not reject H0 There is not enough evidence to conclude that the standard deviation of doctors’ working hours per week is below 8 hours.
13.20 a. H0: s 2 1 = s
2 2
H1: s 2 1 ≠ s
2 2
s1 = 2.48; n1 = 10; s2 = 2.21; n2 = 10
F = 12.4822 12.2122 = 1.259; D1 = 9; D2 = 9;
a>2 = 0.025; Fa>2 = 4.026 F … Fa>2 S 1.259 6 4.026 S Do not reject H0
x Interval z Interval fo P(x) fe 1fo − fe 2 1 fo − fe 2 2 1fo − fe 2
fe
2
Less than 107 z … - 2.0 4 0.0228 5.5 - 1.5 2.25 0.409
107 to 305 - 2.0 6 z … - 1.0 38 0.1359 32.6 5.4 29.16 0.894
305 to 503 - 1.0 6 z … 0.0 80 0.3413 81.9 - 1.9 3.61 0.044
503 to 701 0.0 6 z … 1.0 79 0.3413 81.9 - 2.9 8.41 0.103
701 to 899 1.0 6 z … 2.0 31 0.1359 32.6 - 1.6 2.56 0.079
More than 899 z 7 2.0 8 0.0228 5.5 2.5 6.25 1.136
Total 240 X2 = 2.665
k = 6; m = 2; df = 3; x20.05 = 7.815 x2 … x20.05 S Do not reject H0 Conclusion: The number of customers per day visiting Island Art follows the normal probability distribution.
www.freebookslides.com
914 A P P E N D I X B | Answers to Selected Even-Numbered Problems
c. p@value = 0.743 7 0.05 S Do not reject H0 There is not enough evidence to conclude that there is a difference in the variability of the mileage obtained by the standard and low-profile types of tires.
13.22 a. H0: s 2 Ú 0.0016
H1: s 2 6 0.0016
s = 0.031; x2 = 112 - 1210.03122
0.0016 = 6.61
df = 11; x20.95 = 4.575 x2 7 x20.95 S Do not reject H0
c. p@value = 0.170 7 0.05 S Do not reject H0 There is not enough evidence to conclude that the standard deviation of the pretzel weights is less than 0.04 ounces.
13.24 a. H0: s 2 … 9.0
H1: s 2 7 9.0
s = 3.37; x2 = 118 - 1213.3722
9 = 21.45
df = 17; x20.05 = 27.587 x2 … x20.05 S Do not reject H0
c. p@value = 0.207 7 0.05 S Do not reject H0 There is not enough evidence to conclude that the standard deviation of the tips at Tony’s Bistro exceeds $3.00, so there is no indication of inconsistent service.
13.26 a. H0: s 2 1 = s
2 2
H1: s 2 1 ≠ s
2 2
s1 = 1.05; s2 = 0.80;
F = 11.0522 10.8022 = 1.72; D1 = 10; D2 = 11;
a>2 = 0.05; Fa>2 = 2.854 F … Fa>2 S Do not reject H0
b. p@value = 0.393 7 0.10 S Do not reject H0 There is not enough evidence to conclude that there is a difference in the variability of the flight times for US Airways and Air France for nonstop flights from Paris to Philadelphia.
13.28 a. H0: s 2 Ú 250,000
H1: s 2 6 250,000
s = 378; n = 28; x2 = 128 - 12137822
250,000 = 15.43
a = 0.05; df = 27; x20.95 = 16.151 x2 6 x20.95 S 15.43 6 16.151 S Reject H0
c. p@value = 0.0371 6 0.05 S Reject H0 There is enough evidence to conclude that the population standard deviation for the life of Edalight’s CFL bulbs is less than 500 hours. Therefore, their goal is being met.
13.30 a. H0: s 2 = 0.09
H1: s 2 ≠ 0.09
s = 0.45; n = 15; x2 = 115 - 1210.4522
0.09 = 31.50
a = 0.05; df = 14; x20.975 = 5.629; x 2 0.025 = 26.119
x2 7 x20.025 S 31.50 7 26.119 S Reject H0 c. p@value = 0.0047 6 0.05 S Reject H0
There is enough evidence to conclude that the standard deviation for the pH readings at 10:00 a.m. does not equal 0.30.
13.32 a. H0: s 2 1 = s
2 2
H1: s 2 1 ≠ s
2 2
s1 = 147; n1 = 23; s2 = 102; n2 = 27
F = 114722 110222 = 2.08; D1 = 22; D2 = 26; a>2 = 0.05; Fa>2 = 1.966
F 7 Fa>2 S 2.08 7 1.966 S Reject H0
c. p@value = 0.0758 6 0.10 S Reject H0 There is enough evidence to conclude that there is a difference in the population variance for the miles driven per month for teenage males and teenage females.
13.34 a. H0: s 2 … 0.0001
H1: s 2 7 0.0001
s = 0.0110; x2 = 125 - 1210.011022
0.0001 = 29.04
df = 24; x20.05 = 36.415 x2 … x20.05 S Do not reject H0
c. p@value = 0.219 7 0.05 S Do not reject H0 There is not enough evidence to conclude that the standard deviation for the thickness of the glass exceeds 0.01 in.; the process does not need to be corrected.
13.36 a. H0: s 2 1 … s22
H1: s 2 1 7 s22
s1 = 2.245; s2 = 1.583;
F = 12.24522 11.58322 = 2.011; D1 = 23; D2 = 23; Fa = 2.014
F … Fa S Do not reject H0 c. p@value = 0.0504 7 0.05 S Do not reject H0
There is not enough evidence to conclude that the variability in the ratings for the Pepsi product is greater than the variability in the ratings for the Coke product.
Chapter 14 14.2 H0: r = 0
H1: r ≠ 0 r = 0.672; df = 3; ta>2 = 3.182
t = 0.672C1 - 10.672225 - 2 = 1.570
∙ t ∙ … ∙ ta>2 ∙ S Do not reject H0 14.4 H0: r Ú 0
H1: r 6 0 r = 0.420; df = 2; - ta = - 2.920
t = - 0.420C1 - 1 - 0.420224 - 2 = - 0.655
t Ú - ta S Do not reject H0 14.6 H0: r = 0
H1: r ≠ 0 r = 0.716; n = 10; df = 8; ta>2 = 2.896
t = 0.716C1 - 10.7162210 - 2 = 2.900
∙ t ∙ 7 ∙ ta>2 ∙ S Reject H0 Conclusion: There is a significant correlation between a person’s age
and credit score.
14.8 H0: r Ú 0 H1: r 6 0 r = - 0.892; n = 7; df = 5; - ta = - 1.476
t = - 0.892C1 - 10.892227 - 2 = - 4.416
t 6 - ta S Reject H0 Conclusion: There is enough evidence to conclude that the correlation
between the selling price and the demand for the camera is less than zero.
www.freebookslides.com
A P P E N D I X B | Chapter 14 915A P P E N D I X B | Chapter 14 915
14.10 H0: r … 0 H1: r 7 0 r = 0.802; n = 8; df = 6; ta = 1.943
t = 0.802C1 - 10.802228 - 2 = 3.287
t 7 ta S Reject H0 Conclusion: There is enough evidence to conclude that the correlation between the starting salary and the GPA of a University of Delaware business graduate is greater than zero.
14.12 H0: r = 0 H1: r ≠ 0 r = 0.740; n = 7; df = 5; ta>2 = 2.015
t = 0.740C1 - 10.740227 - 2 = 2.458
� t � 7 � ta>2 � S Reject H0 Conclusion: There is a significant correlation between a house’s selling price and its square footage.
14.14 R 2 = 5.0625
11.20 = 0.4518
H0: r 2 … 0
H1: r 2 7 0
D1 = 1; D2 = 3; Fa = 10.128
F = 5.0625
a 6.137515 - 22 b = 2.475
F … Fa S Do not reject H0
14.16 R 2 = 10.3137
13.00 = 0.793
H0: r 2 … 0
H1: r 2 7 0
D1 = 1; D2 = 2; Fa = 18.513
F = 10.3137
a 2.686314 - 22 b = 7.679
F … Fa S Do not reject H0
14.18 a. SST = 9,806 - 127022
8 = 693.5
b. SSE = 279.3596 SSR = 414.1404
c. R 2 = 414.1404
693.5000 = 0.5972
d. H0: r 2 … 0
H1: r 2 7 0
D1 = 1; D2 = 6; Fa = 5.987
F = 414.1404
a 279.359618 - 22 b = 8.895
F 7 Fa S Reject H0 14.20 a. a x = 2,360; a y = 26.7; a xy = 7,939;
a x 2 = 701,600; a y 2 = 90.23 b1 =
18217,9392 - 12,3602126.72 1821701,6002 - 12,36022 = 0.01157
b0 = 26.7
8 - 10.011572a 2,360
8 b = - 0.07565
14.22 se = A 9.7275 - 2 = 1.801; x = 5 yn = 3.045 + 10.4092152 = 5.09 a x = 19; a x 2 = 81 x =
19
5 = 3.8; df = 3; ta>2 = 3.182
CI = 5.090 { 13.182211.8012S15 + 15 - 3.82281 - 119225 = 5.090 { 3.458
LCL = 1.632; UCL = 8.548
14.24 se = A 3.5476 - 2 = 0.942; x = 3 yn = 1.679 + 10.5842132 = 3.431 a x = 17; a x 2 = 71 x = 2.833; df = 4; ta>2 = 2.132
CI = 2.833 { 12.132210.9422S16 + 13 - 2.8332271 - 117226 = 2.833 { 0.823
LCL = 2.608; UCL = 4.254 14.26 a. a x = 232; a y = 1,181; a xy = 39,833;
a x 2 = 8,004; a y 2 = 203,415 b1 =
172139,8332 - 1232211,1812 17218,0042 - 123222 = 2.196
b0 = 1,181
7 - 12.19562a 232
7 b = 95.946; SSE = 2,629.5
se = C2,629.57 - 2 = 22.933; x = 30 yn = 95.946 + 12.19621302 = 161.826 x =
232
7 = 33.14; df = 5; ta>2 = 2.571
CI = 161.83 { 12.5712122.9332S17 + 130 - 33.14228,004 - 1232227 = 161.83 { 24.65
LCL = 137.18; UCL = 186.48 14.28 a. a x = 168.8; a y = 62; a xy = 1,400.2;
a x 2 = 3,690.5; a y 2 = 582 b1 =
18211,400.22 - 1168.821622 18213,690.52 - 1168.822 = 0.714
b0 = 62
8 - 10.7142a 168.8
8 b = - 7.315
SSE = 35.787
se = C35.7878 - 2 = 2.442; x = 21 yn = - 7.315 + 10.71421212 = 7.68 x = 21.1; df = 6; ta>2 = 1.943
CI = 7.68 { 11.943212.4422S18 + 121 - 21.1223,690.5 - 1168.8228 = 7.68 { 1.68
LCL = 6.00; UCL = 9.36
www.freebookslides.com
916 A P P E N D I X B | Answers to Selected Even-Numbered Problems
14.30 a. a x = 24,600; a y = 3,360; a xy = 8,376,000; a x 2 = 61,520,000; a y 2 = 1,156,000 b1 =
110218,376,0002 - 124,600213,3602 1102161,520,0002 - 124,60022 = 0.11
b0 = 3,360
10 - 10.112a 24,600
10 b = 65.4
SSE = 14,896
se = C 14,89610 - 2 = 43.15; x = 2,400 yn = 65.4 + 10.11212,4002 = 329.40 x = 2,460; df = 8; ta>2 = 1.860
CI = 329.4 { 11.8602143.152S 110 + 12400 - 2,4602261,520,000 - 124,6002210 = 329.40 { 25.84
LCL = 303.56; UCL = 355.24 14.32 H0: b1 = 0
H1: b1 ≠ 0 SSE = 0.7955; a x 2 = 81; n = 5; x = 3.8 se = C0.79553 = 0.515; sb = 0.515281 - 15213.822 = 0.174 b1 = 0.977; df = 3; ta>2 = 3.182
t = 0.977 - 0
0.174 = 5.615
� t � 7 � ta>2 � S Reject H0 14.34 H0: b1 = 0
H1: b1 ≠ 0 SSE = 7.650; a x 2 = 71; x = 2.83 se = C7.6504 = 1.383; sb = 1.383271 - 16212.8322 = 0.289 b1 = 0.285; df = 4; ta>2 = 2.132
t = 0.285 - 0
0.289 = 0.986
� t � … � ta>2 � S Do not reject H0 14.36 b. a x = 122; a y = 16,900; a xy = 260,500;
a x 2 = 1,888; a y 2 = 36,510,000 b1 =
1821260,5002 - 11222116,9002 18211,8882 - 112222 = 100.91
b0 = 16,900
8 - 1100.912a 122
8 b = 573.62
H0: b1 = 0 H1: b1 ≠ 0 SSE = 528,767 x = 15.25
se = C528,7676 = 296.9; sb = 296.921,888 - 182115.2522 = 56.62 b1 = 100.91; df = 6; ta>2 = 2.447
t = 100.91 - 0
56.62 = 1.782
� t � … � ta>2 � S Do not reject H0 14.38 b. a x = 66; a y = 33.36; a xy = 202.71; a x 2 = 506;
a y 2 = 101.2966 b1 =
11121202.712 - 1662133.362 111215062 - 16622 = 0.023
b0 = 16,900
11 - 10.0232a 66
11 b = 2.895
H0: b1 = 0 H1: b1 ≠ 0 SSE = 0.057 x = 6
se = C0.0579 = 0.08; sb = 0.082506 - 1821622 = 0.0054 b1 = 0.023; df = 9; ta>2 = 2.262
t = 0.023 - 0
0.0054 = 4.259
� t � 7 � ta>2 � S Reject H0 c. There is a significant relationship between GPA and years, which
supports the existence of grade inflation.
14.40 b. a x = 213; a y = 1,510; a xy = 33,598; a x 2 = 5,281; a y 2 = 304,162 b1 =
1122133,5982 - 1213211,5102 112215,2812 - 121322 = 4.53
b0 = 1,510
12 - 14.532a 213
12 b = 45.43
H0: b1 = 0 H1: b1 ≠ 0 SSE = 83,363.8 x = 17.75
se = C83,363.810 = 91.3; sb = 91.325,281 - 1122117.7522 = 2.36 b1 = 4.53; df = 10; ta>2 = 2.228
t = 4.53 - 0
2.36 = 1.919
� t � … � ta>2 � S Do not reject H0 c. There is no significant relationship between a purchaser’s time on
the Web site and his or her order size.
14.42 a. a x = 25; a y = 30; a xy = 106; a x 2 = 121; a y 2 = 178 r =
16211062 - 125213022316211212 - 125224316211782 - 130224 = - 0.875 b. H0: r Ú 0
H1: r 6 0 r = - 0.875; df = 4; - ta = - 2.132
t = - 0.875C1 - 10.875226 - 2 = - 3.616
t 6 - ta S Reject H0
14.44 a. R 2 = 21.44
48 = 0.447
b. H0: r 2 … 0
H1: r 2 7 0
D1 = 1; D2 = 4; Fa = 7.709
F = 21.44
a 6.5616 - 22 b = 13.07
F 7 Fa S Reject H0 14.46 a. H0: b1 = 0
H1: b1 ≠ 0 SSE = 6.56; x = 4.17; se = 1.281
sb = 1.2812121 - 16214.1722 = 0.3138
www.freebookslides.com
A P P E N D I X B | Chapter 14 917
b1 = - 1.1287; df = 4; ta>2 = 2.776
t = - 1.1287 - 0
0.3138 = - 3.597
� t � 7 � ta>2 � S Reject H0 b. b1 = - 1.1287; sb = 0.3138; df = 4; ta>2 = 2.776
CI = - 1.1287 { 12.776210.31382 = - 1.1287 { 0.8711 LCL = - 1.9998; UCL = - 0.2576
14.48 a. R 2 = 76.97
96.89 = 0.794
b. H0: r 2 … 0
H1: r 2 7 0
D1 = 1; D2 = 7; Fa = 5.591
F = 76.97
a 19.9219 - 22 b = 27.048
F 7 Fa S Reject H0
c. se = C 19.929 - 2 = 1.687; x = 2.5 yn = 37.722 - 14.729212.52 = 25.9 x = 2.67; df = 7; ta>2 = 2.365
CI = 25.90 { 12.365211.6872S19 + 12.50 - 2.672267.44 - 124229 = 25.90 { 1.38
LCL = 24.52; UCL = 27.28
d. PI = 25.90 { 12.365211.6872H1 + 19 + 12.5 - 2.672267.44 - 124229 = 25.90 { 4.22
LPL = 21.68; UPL = 30.12 14.50 b. a x = 50; a y = 147; a xy = 694; a x 2 = 334;
a y 2 = 2,231 b1 =
110216942 - 150211472 110213342 - 15022 = - 0.4881
b0 = 147
10 - 1 - 0.48812a 50
10 b = 17.1405
c. Because the slope is negative, we can conclude that a 1-minute increase in the number of minutes the person waited on hold will decrease the company’s customer rating by an average of 0.4881.
d. SST = 2,231 - 114722
10 = 70.1
e. SSE = 50.09 SSR = 20.01
14.52 a. H0: b1 = 0 H1: b1 ≠ 0 SSE = 50.09; x = 5.0; se = 2.502
sb = 2.5022334 - 110215.022 = 0.273
b1 = - 0.4881; df = 8; ta>2 = 2.306
t = - 0.4881 - 0
0.273 = - 1.788
� t � … � ta>2 � S Do not reject H0 b. b1 = - 0.4881; sb = 0.273; df = 8; ta/2 = 2.306
CI = - 0.4881 { 12.306210.2732 = - 0.4881 { 0.6295 LCL = - 1.1176; UCL = 0.1414
c. We are 95% confident that the true regression slope is between - 1.1176 and 0.1414. Because this interval does include zero, we
do not have evidence to conclude that there is a linear relationship between number of minutes on hold and customer rating.
14.54 a. R 2 = 0.32
1.27 = 0.252
b. H0: r 2 … 0
H1: r 2 7 0
D1 = 1; D2 = 6; Fa = 5.987
F = 0.32
a 0.9518 - 22 b = 2.021
F … Fa S Do not reject H0
c. se = C 0.958 - 2 = 0.398; x = 14 yn = 5.4722 - 10.113721142 = 3.88 x = 13.94; df = 6; ta>2 = 2.447
CI = 3.88 { 12.447210.3982S18 + 114.00 - 13.94221,578.37 - 1111.5228 = 3.88 { 0.34
LCL = 3.54; UCL = 4.22
d. PI = 3.88 { 12.447210.3982S1 + 18 + 114.00 - 13.94221,578.37 - 1111.5228 = 3.88 { 1.03
LPL = 2.85; UPL = 4.91 14.56 b. a x = 62.4; a y = 244; a xy = 1,942.5; a x 2 = 492.4;
a y 2 = 7,824 b1 =
18211,942.52 - 162.4212442 1821492.42 - 162.422 = 6.919
b0 = 244
8 - 16.9192a 62.4
8 b = - 23.4682
c. Because the slope is positive, we can conclude that a one-unit increase in the employees’ satisfaction level will increase the number of weekly activations by an average of 6.919.
d. yn = - 23.4682 + 6.91917.52 = 28.4
e. SST = 7,824 - 124422
8 = 382
f. SSE = 110.08 SSR = 271.92
14.58 a. R 2 = 271.92
382 = 0.712
b. H0: r 2 … 0
H1: r 2 7 0
D1 = 1; D2 = 6; Fa = 13.745
F = 271.92
a 110.0818 - 22 b = 14.821; F 7 Fa S Reject H0
c. se = C110.088 - 2 = 4.283; x = 8.0 yn = - 23.4682 + 16.919218.02 = 31.88 x = 7.8; df = 6; ta>2 = 3.707
CI = 31.88 { 13.707214.2832S18 + 18.0 - 7.822492.4 - 162.4228 = 31.88 { 5.76
LCL = 26.12; UCL = 37.64
www.freebookslides.com
918 A P P E N D I X B | Answers to Selected Even-Numbered Problems
d. PI = 31.88 { 13.707214.2832S1 + 18 + 18.0 - 7.822492.4 - 162.4228 = 31.88 { 16.89
LPL = 14.99; UPL = 48.77 14.60 b. a x = 82.5; a y = 81.6; a xy = 676.9; a x 2 = 683.25;
a y 2 = 677.68 b1 =
11021676.92 - 182.52181.62 11021683.252 - 182.522 = 1.4095
b0 = 81.6
10 - 11.40952a 82.5
10 b = - 3.4684
c. Because the slope is positive, we can conclude that a one-unit increase in a mother’s shoe size will correspond with an increase in an infant’s birth weight by an average of 1.4095 lbs.
d. yn = - 3.4684 + 1.409518.52 = 8.51 ounces
e. SST = 677.68 - 181.622
10 = 11.82
f. SSE = 6.61 SSR = 5.21
14.62 a. R 2 = 5.21
11.82 = 0.441
b. H0: r 2 … 0
H1: r 2 7 0
D1 = 1; D2 = 8; Fa = 3.458
F = 5.21
a 6.61110 - 22 b = 6.306
F 7 Fa S Reject H0
c. se = C 6.6110 - 2 = 0.909; x = 8.5 yn = - 3.4684 + 11.4095218.52 = 8.51 x = 8.25; df = 8; ta>2 = 1.860
CI = 8.51 { 11.860210.9092S 110 + 18.5 - 8.2522683.25 - 182.52210 = 8.51 { 0.60
LCL = 7.91; UCL = 9.11
d. PI = 8.51 { 11.860210.9092S1 + 110 + 18.5 - 8.2522683.25 - 182.52210 = 8.51 { 1.79
LPL = 6.72; UPL = 10.30 14.64 a. a x = 91.3; a y = 98.3; a xy = 1,371.92; a x 2 = 1,299.17;
a y 2 = 1,456.51 r =
17211,371.922 - 191.32198.322317211,299.172 - 191.3224317211,456.512 - 198.3224 = 0.989
b. H0: r … 0 H1: r 7 0 r = 0.989; df = 5; ta = 3.365
t = 0.989C1 - 10.989227 - 2 = 14.98
t 7 ta S Reject H0
c. There is enough evidence to conclude that the correlation between domestic and international flights is greater than zero. Customers’ satisfaction with international flights tends to increase with their satisfaction with domestic flights.
14.66 a. r = 19212962 - 136216422319211602 - 136224319215842 - 164224 = 0.881
b. H0: r … 0 H1: r 7 0 r = 0.881; df = 7; ta = 1.895
t = 0.881C1 - 10.881229 - 2 = 4.922
t 7 ta S Reject H0 c. According to this sample, there is enough evidence to conclude
that the correlation coefficient between shelf space and weekly sales is greater than zero. In other words, there is a positive linear relationship between them.
14.68 a. H0: b1 = 0 H1: b1 ≠ 0 SSE = 28.89; x = 4.0; se = 2.032
sb = 2.0322160 - 19214.022 = 0.508
b1 = 2.5; df = 7; ta>2 = 2.365
t = 2.5 - 0 0.508
= 4.921
� t � 7 � ta>2 � S Reject H0 b. b1 = 2.5; sb = 0.508; df = 7; ta>2 = 2.365
CI = 2.50 { 12.365210.5082 = 2.5 { 1.2 LCL = 1.3; UCL = 3.7
c. We are 95% confident that a one-foot increase in shelf space will increase weekly sales between an average of $1.30 and $3.70 per week.
14.70 a. r = 19211,9312 - 1242176722319211022 - 1242243192166,0592 - 1767224
= - 0.704
b. H0: r Ú 0 H1: r 6 0 r = - 0.704; df = 7; - ta = - 1.895
t = - 0.704C1 - 10.704229 - 2 = - 2.627
t 6 - ta S Reject H0 c. According to this sample, there is enough evidence to conclude that
the correlation coefficient between the number of classes missed and the final grade is less than zero. In other words, there is a negative linear relationship between them.
14.72 a. H0: b1 = 0 H1: b1 ≠ 0 SSE = 349.54; x = 2.67; se = 7.066
sb = 7.0662102 - 19212.6722 = 1.149
b1 = - 3.0088; df = 7; ta>2 = 2.365
t = - 3.0088 - 0
1.149 = - 2.619
� t � 7 � ta>2 � S Reject H0
www.freebookslides.com
A P P E N D I X B | Chapter 15 919
b. b1 = - 3.0088; sb = 1.149; df = 7; ta>2 = 2.365 CI = - 3.0088 { 12.365211.1492 = - 3.0088 { 2.7174 LCL = - 5.7262; UCL = - 0.2914
c. We are 95% confident that the true regression slope is between - 5.7262 and - 0.2914. Because this interval does not include zero, we have evidence to conclude that there is a linear relationship between number of missed classes and the final grade.
14.74 a. a x = 271 a y = 294 a xy = 12,034 a x 2 = 11,115 a y 2 = 16,344 b1 =
172112,0342 - 1271212942 172111,1152 - 127122 =
4,564
4,364 = 1.0458
b0 = 294
7 - 11.04582a 271
7 b = 1.5126
b. yn = 1.5126 + 1.04581322 = $34.98 c. Because the slope is positive, we can conclude that the increase of
one year in the customer’s age will increase the order size by an average of $1.0458.
SST = 16,344 - 129422
7 = 3,996
d. SSE = 116,3442 - 11.5126212942 - 11.04582 112,0342 = 3,314.14
e. SSR = 3,996 - 3,314.14 = 681.86 14.76 a. H0: b1 = 0
H1: b1 ≠ 0 SSE = 3,314.14; n = 7; x = 38.71; se = 25.75
sb = 25.75211,115 - 172138.7122 = 25.7525.015 = 1.03
b1 = 1.0458; b1 = 0; df = 5; a = 0.05; ta>2 = 2.571
t = 1.0458 - 0
1.03 = 1.015
� t � 6 � ta>2 � S 1.03 6 2.571 S Do Not Reject H0 b. b1 = 1.0458; sb = 1.03; df = 5; ta>2 = 2.571
CI = 1.0458 { 12.571211.032 = 1.0458 { 2.648 LCL = - $1.602; UCL = $3.694
c. We are 95% confident that the true regression slope is between -$1.602 and $3.694. Because this interval does include zero, we have evidence to conclude that there is not a linear relationship between the order size and age of a GNC customer.
14.78 a. yn = 859.5991 - 10.20061162 = $696.390 The expected selling price is $696,390.
R 2 = 178,208.89
1,975,324.17 = 0.090
b. 9.0% of the variation in selling price is explained by the age of the house.
c. H0: r 2 … 0
H1: r 2 7 0
n = 30; a = 0.01; D1 = 1; D2 = 30 - 2 = 28; Fa = 7.636
F = 178,208.89
a 1,797,115.27 30 - 2
b =
178,208.89
64,182.69 = 2.78
F 6 Fa S 2.78 6 7.636 S Do Not Reject H0 Based on this sample, we have enough evidence to conclude that the age of a house is not useful for predicting average selling price.
14.80 b. b1 = - 0.0644; b0 = 22,789.6 c. An increase in one mile on the odometer will decrease the asking
price by an average of $0.0644.
d. H0: b1 = 0 H1: b1 ≠ 0 se = 0.01985; df = 38; ta>2 = 2.024
t = - 0.0644 - 0
0.01985 = - 3.244
� t � 7 � ta>2 � S Reject H0 Conclusion: The relationship between mileage and asking price is statistically significant.
e. LCL = - 0.1046; UCL = - 0.0242 We are 95% confident that the true regression slope is between - 0.1046 and - 0.0242. Because this interval does not include zero, we have evidence to conclude that there is a linear relationship between mileage and price.
f. LCL = $19,792; UCL = $21,153 g. LPL = $16,853; UPL = $24,092
Chapter 15 15.2 a. yn = 3.7986 + 0.4428 x1 + 0.3618 x2
b. Increasing x1 by 1 unit increases y by an average of 0.4428. Increasing x2 by 1 unit increases y by an average of 0.3618.
c. yn = 3.7986 + 0.4428 1502 + 0.3618 1152 = 31.37 15.4 a. LCL = 17.96; UCL = 30.67
b. We are 90% confident that the average value of y using the given values of x1 and x2 is between 17.96 and 30.67.
c. LPL = 13.07; UPL = 35.57 d. We are 90% confident that a particular value of y using the given
values of x1 and x2 is between 13.07 and 35.57.
15.6 a. Set x1 = Age, x2 = Days, x3 = ICU yn = - 462.495 + 113.556x1 + 1,218.626x2 + 2,213.213x3
b. Each additional year of the patient’s age increases the hospital bill by an average of $114. Each additional day in the hospital increases the hospital bill by an average of $1,219. Each additional day in the ICU increases the hospital bill by an average of $2,213.
c. yn = - 462.495 + 113.5561532 + 1,218.626132 + 2,213.213102 = $9,212
d. LCL = $7,504; UCL = $10,919 We are 95% confident that the average hospital bill of patients
described in part c is between $7,504 and $10,919.
e. LPL = $1,019; UPL = $17,405 We are 95% confident that the hospital bill for a particular patient
described in part c is between $1,019 and $17,405.
15.8 a. Set x1 = Total assets, x2 = ROAA, x3 = Previous EPS, x4 = ROAE yn = 0.1941 - 0.1485x1 + 1.0893x2 + 0.1612x3 - 0.0083x4
b. Each additional $1 billion in assets decreases the current earnings per share by an average of $0.1485. Each additional percent in the previous period’s ROAA increases the current EPS by an average of $1.089. Each additional $1.00 for the previous period’s EPS increases the current EPS by an average of $0.161. Each additional percent in the previous period’s ROAE decreases the current EPS by an average of $0.008.
c. yn = 0.1941 - 0.148512.62 + 1.089311.52 + 0.161211.802 - 0.008318.02 = $1.666 per share
d. LCL = $1.392; UCL = $1.939 We are 95% confident that the average EPS for banks described in
part c is between $1.392 and $1.939.
e. LPL = - $0.528; UPL = $3.860 We are 95% confident that the EPS for a particular bank described
in part c is between - $0.528 and $3.860.
www.freebookslides.com
920 A P P E N D I X B | Answers to Selected Even-Numbered Problems
15.10 a. Each additional square foot in the house will increase the average January heating bill by $0.09. Each additional year in the age of the heating system will increase the average January heating bill by $2.04. Each additional degree for the thermostat setting will increase the average January heating bill by $10.83.
b. yn = - 652.2924 + 0.090412,8502 + 2.0430192 + 10.82501722 = $403.13
15.12 a. SSR = 401.0; SSE = 34.5; SST = 435.5
b. R 2 = 401.0
435.5 = 0.9208
c. F = 200.5
6.9 = 29.06
H0: b1 = b2 = 0 H1: At least one bi ≠ 0 D1 = 2, D2 = 5 F.INV.RT10.05, 2, 52 = 5.786
Because F = 29.06 is greater than Fa = 5.786, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
d. Because the p-value for the overall regression model is 0.0018, which is less than 0.05, the model is significant.
e. R 2A = 1 - c 11 - 0.92082a 8 - 1
8 - 2 - 1 b d = 0.8891
15.14 a. 35 b. 4
c. R 2 = 1,600
2,800 = 0.5714
d. F = 400
40 = 10.0
H0: b1 = b2 = b3 = b4 = 0 H1: At least one bi ≠ 0 D1 = 4, D2 = 30 F.INV.RT10.05, 4, 302 = 2.690
Because F = 10.0 is greater than Fa = 2.690, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
e. R 2A = 1 - c 11 - 0.57142a 35 - 1
35 - 4 - 1 b d = 0.5143
15.16 a. Set x1 = Square feet, x2 = Number of rooms, x3 = Number of bathrooms, x4 = Size of crew yn = 159.6400 - 0.0016x1 + 5.7563x2 - 3.6582x3 - 18.8169x4
b. R 2 = 0.3935 c. F = 10.54
H0: b1 = b2 = b3 = b4 = 0 H1: At least one bi ≠ 0; D1 = 4, D2 = 65 F.INV.RT10.05, 4, 652 = 2.513
Because F = 10.54 is greater than Fa = 2.513, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
d. R 2A = 1 - c 11 - 0.39352a 70 - 1
70 - 4 - 1 b d = 0.3561
15.18 a. Set x1 = Bedrooms, x2 = Age, x3 = Blocks yn = 1,742.863 + 1,092.525x1 + 63.456x2 - 1,750.951x3
b. R 2 = 0.5271 c. F = 31.21
H0: b1 = b2 = b3 = 0
H1: At least one bi ≠ 0 D1 = 3, D2 = 84 F.INV.RT10.05, 3, 842 = 2.713
Because F = 31.21 is greater than Fa = 2.713, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
d. R 2A = 1 - c 11 - 0.52712a 88 - 1
88 - 3 - 1 b d = 0.5102
15.20 a. Set x1 = Age, x2 = Days, x3 = ICU yn = - 462.495 + 113.556x1 + 1,218.626x2 + 2,213.213x3
b. R 2 = 0.7517 c. F = 46.41
H0: b1 = b2 = b3 = 0 H1: At least one bi ≠ 0 D1 = 3, D2 = 46 F.INV.RT10.05, 3, 462 = 2.807
Because F = 46.41 is greater than Fa = 2.807, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
d. R 2A = 1 - c 11 - 0.75172a 50 - 1
50 - 3 - 1 b d = 0.7355
15.22 a. R 2 = 102,454.94
163,613.50 = 0.6262
b. MSR = 102,454.94
3 = 34,151.65
MSE = 61,158.56
32 - 3 - 1 = 2,184.23
F = 34,151.65
2,184.23 = 15.64
H0: b1 = b2 = b3 = 0 H1: At least one bi ≠ 0 D1 = 3, D2 = 28
F.INV.RT10.05, 3, 282 = 2.947 Because F = 15.64 is to the right of Fa = 2.947, we reject H0
and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
c. R 2A = 1 - c 11 - 0.62622a 32 - 1
32 - 3 - 1 b d = 0.5862
15.24 a. yn = 3.7986 + 0.4428x1 + 0.3618x2 b. H0: bi = 0
H1: bi ≠ 0 df = 6; T.INV.2T10.10, 62 = 1.943 x1: t =
0.4428 - 0 0.1076
= 4.12; therefore, reject the null
x2: t = 0.3618 - 0
0.3782 = 0.96; therefore, do not reject the null
c. The p-value for x1 (0.0063) is less than 0.10 and is significant. The p-value for x2 (0.3757) is greater than 0.10 and is not significant.
15.26 a. CI = 0.4428 { 11.943210.10762 LCL = 0.2337, UCL = 0.6519
We are 90% confident that the true regression coefficient for x1 is between 0.2337 and 0.6519. Because this interval does not include zero, the x1 variable is significant.
b. CI = 0.3618 { 11.943210.37822 LCL = - 0.3730, UCL = 1.0966
We are 90% confident that the true regression coefficient for x2 is between -0.3730 and 1.0966. Because this interval includes zero, the x2 variable is not significant.
15.28 a. Set x1 = Assists, x2 = Rebounds, x3 = Turnovers, x4 = Personal fouls yn = - 23.1391 + 1.1690x1 + 0.8630x2 - 0.4041x3 - 0.4209x4
www.freebookslides.com
A P P E N D I X B | Chapter 15 921
b. H0: bi = 0 H1: bi ≠ 0
df = 61; T.INV.2T10.10, 612 = 1.670 Assists: t =
1.1690 - 0 0.3745
= 3.12; therefore, reject the null
Rebounds: t = 0.8630 - 0
0.2126 = 4.06; therefore, reject the null
Turnovers: t = - 0.4041 - 0
0.4315 = - 0.94; therefore, do not reject the
null
Personal fouls: t = - 0.4209 - 0
0.3022 = - 1.39; therefore, do not
reject the null
c. The p-values for both Assists (0.0028) and Rebounds (0.0001) are both less than 0.10 and are significant. The p-values for Turnovers (0.3527) and Personal fouls (0.1687) are both greater than 0.10 and are not significant.
d. CI = - 0.4209 { 11.670210.30222 LCL = - 0.9256, UCL = 0.0838
We are 90% confident that an extra personal foul committed by Villanova will change the average point differential per game between - 0.9256 and 0.0838 points.
e. Because this interval does include zero, the personal foul variable is not significant.
15.30 a. Set x1 = Total assets, x2 = ROAA, x3 = Previous EPS, x4 = ROAE yn = 0.1941 - 0.1485x1 + 1.0893x2 + 0.1612x3 - 0.0083x4
b. H0: bi = 0 H1: bi ≠ 0 df = 216; T.INV.2T10.05, 2162 = 1.971
Total assets: t = - 0.1485 - 0
0.0737 = - 2.01; therefore, reject the null
ROAA: t = 1.0893 - 0
0.0743 = 14.66; therefore, reject the null
Previous EPS: t = 0.1612 - 0
0.0518 = 3.13; therefore, reject the null
ROAE: t = - 0.0083 - 0
0.0046 = - 1.80; therefore, do not reject the null
c. The p-values for Total assets (0.0450), ROAA (3.06E-34), and Previous EPS (0.0021) are less than 0.05 and are significant. The p-value for Previous ROAE (0.0752) is greater than 0.05 and is not significant.
d. CI = 1.0893 { 11.971210.07432 LCL = 0.94, UCL = 1.24
We are 95% confident that an extra 1% to previous ROAA will increase the average EPS between $0.94 and $1.24.
e. Because this interval does not include zero, the Previous ROAA variable is significant.
15.32 a. H0: bi = 0 H1: bi ≠ 0 df = n - k - 1 = 28 - 3 - 1 = 24, T.INV.2T10.05, 242 = 2.064
TV: t = 11.9025 - 0
3.2437 = 3.67, therefore, reject the null
People: t = 7.3994 - 0
2.7922 = 2.65, therefore, reject the null
Years: t = - 0.8577 - 0
1.2931 = - 0.66, therefore, do not reject the null
b. TV:
CI = 11.9025 { 12.064213.24372 LCL = 5.21, UCL = 18.60
We are 95% confident that an extra television in the household will increase the average monthly cable bill between $5.21 and $18.60. Because this interval does not include zero, the TV variable is significant.
People:
CI = 7.3994 { 12.064212.79222 LCL = 1.64, UCL = 13.16
We are 95% confident that an extra person in the household will increase the average monthly cable bill between $1.64 and $13.16. Because this interval does not include zero, the People variable is significant.
Years:
CI = - 0.8577 { 12.064211.29312 LCL = - 3.53, UCL = 1.81
We are 95% confident that an additional year that a household is a customer will result in a change in the average monthly cable bill between a decrease of $3.53 and an increase of $1.81. Because this interval does include zero, the Years variable is not significant.
15.34 a. Create the dummy variable x3, which equals 1 for male and 0 for female student.
yn = 13.2377 + 1.0002x1 - 0.3389x2 + 0.2684x3 b. Increasing x1 by 1 unit increases y by 1.002. Increasing x2 by 1 unit
decreases y by 0.3389. Males increase the average value of y by 0.2684 when compared with females.
15.36 Create the dummy variable Gender, which equals 1 for male and 0 for female student.
a. Set x1 = GPA, x2 = Hours, x3 = Absences, x4 = Gender yn = 55.559 + 7.197x1 + 1.882x2 - 1.141x3 - 0.585x4
b. F = 313.8
40.5 = 7.75
H0: b1 = b2 = b3 = b4 = 0 H1: At least one bi ≠ 0 D1 = 4, D2 = 35 F.INV.RT10.10, 4, 352 = 2.113 Because F = 7.75 is greater than Fa = 2.113, we reject H0 and
conclude that at least one of the population coefficients for our independent variables is not equal to zero.
c. The female students are the base gender. The male students average 0.6 points lower on the exam when compared with female students.
d. The p-values for both GPA (0.0136) and Hours (0.0046) are less than 0.10 and are significant. The p-values for both Absences (0.1123) and Gender (0.7747) are greater than 0.10 and are not significant.
e. Set x1 = GPA, x2 = Hours yn = 51.3632 + 8.035713.452 + 1.808314.02 = 86.3
15.38 Set dummy variable Loc = 1 for a home game and 0 for an away game (this choice is arbitrary).
a. Set x1 = Assists, x2 = Rebounds, x3 = Turnovers, x4 = Personal fouls, x5 = Location yn = - 24.5780 + 0.9294x1 + 0.8448x2 - 0.3340x3 - 0.3556x4
+ 6.5060x5
b. F = 1,306.3
140.3 = 9.31
H0: b1 = b2 = b3 = b4 = 0 H1: At least one bi ≠ 0 D1 = 5, D2 = 60 F.INV.RT10.10, 5, 602 = 1.946
www.freebookslides.com
922 A P P E N D I X B | Answers to Selected Even-Numbered Problems
Because F = 9.31 is greater than Fa = 1.946, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
c. The home game point differential averages 6.5 more points per game than away games.
d. The variables x1 (Assists), x2 (Rebounds), and x5 (Location) all have p-values less than 0.10 and are significant.
e. Set x1 = Assists, x2 = Rebounds, x3 = Location yn = - 37.0615 + 1.0348182 + 0.82791372 + 7.2878112 = 9.1 points
15.40
a. Set x1 = Bedrooms, x2 = Age, x3 = Blocks, x4 = Mon1, x5 = Mon2 yn = 1,119.036 + 984.403x1 + 51.628x2 - 1,655.564x3 + 1,462.510x4 + 1,479.476x5
b. F = 67,615,406.5
2,828,625.8 = 23.90
H0: b1 = b2 = b3 = b4 = b5 = 0 H1: At least one bi ≠ 0 D1 = 5, D2 = 82 F.INV.RT10.05, 5, 822 = 2.326
Because F = 23.90 is greater than Fa = 2.326, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
c. June is the base month. July rentals average $1,463 more per week than June rentals. August rentals average $1,479 more per week than June rentals.
d. The variables x1 (bedrooms), x3 (blocks), x4 (Mon1), and x5 (Mon2) all have p-values less than 0.05 and are significant.
e. Set x1 = Bedrooms, x3 = Blocks, x4 = Mon1, x5 = Mon2 yn = 1,632.018 + 992.244132 - 1,683.708122 + 1,519.933102 + 1,508.962112 = $2,750 per week
15.42
Removing the variable x1 eliminates the presence of multicollinearity.
15.44 a.
yn = 35.8512 + 0.3536x1 + 0.4943x3 - 0.6887x4
b.
–10 x1
–5
0
5
10
40R es
id u
al s
x1 Residual Plot
60 80 10020
–10 x3
–5
0
5
10
10 20R es
id u
al s
x3 Residual Plot
40 5030
–10 x4
–5
0
5
10
10 20R es
id u
al s
x4 Residual Plot
6030 40 50
The residual plots do not show any significant violation of the constant variance assumption.
15.46 a.
b. There is no evidence that multicollinearity is present with these three independent variables.
c.
INdepeNdeNt VarIables
VIF wIth all VarIables
VIF wIthout x1
x1 5.93 —
x2 2.85 2.61
x3 5.91 2.61
dummy VarIables
moNth moN1 moN2
June 0 0
July 1 0
August 0 1
INdepeNdeNt VarIables VIF wIth all VarIables
GPA 1.22
Hours 1.19
Absences 1.04
Gender 1.00
www.freebookslides.com
A P P E N D I X B | Chapter 15 923
d. Set x1 = GPA, x2 = Hours yn = 51.3632 + 8.0357x1 + 1.8083x2
e.
–20 GPA
–10
0
10
20
1.00 2.00R es
id u
al s
GPA Residual Plot
4.00 5.003.00
–20 Hours
–10
0
10
20
2.00R es
id u
al s
Hours Residual Plot
6.00 8.004.00
The residual plots do not show any significant violation of the constant variance assumption.
15.48 a.
b. Removing the Bathroom variable eliminates the presence of multicollinearity.
c. Set x1 = Square feet, x2 = Rooms, x3 = Crew, x4 = Child
The models highlighted in yellow and orange are both candidates.
Orange: yn = 142.6829 - 0.0121x1 + 6.4635x2 - 14.9177x3 + 24.2465x4 The yellow model would be preferable for two reasons. The adjusted R 2 values are very similar, but the yellow model contains one less variable (square feet). In addition, the regression coefficient for square feet for the orange model is negative, which is
counterintuitive. According to this model, a house with more square feet will require less time to clean.
d.
–50 Rooms
0
50
5
R es
id u
al s
Rooms Residual Plot
15 2010
–50 Crew
0
50
1
R es
id u
al s
Crew Residual Plot
52 43
–50 Child
0
50
0.2 0.4 0.6 0.8 1.2
R es
id u
al s
Child Residual Plot
1
The residual plots do not show any significant violation of the constant variance assumption.
15.50 a.
b. There is no evidence that multicollinearity is present with these four independent variables.
c. Set x1 = Income, x2 = Age, x3 = Educ1, x4 = Educ2
INdepeNdeNt VarIables
VIF wIth all VarIables
VIF wIthout bathroom
Square feet 4.88 3.80
Rooms 5.10 3.79
Bathroom 5.34 —
Crew 1.12 1.08
Children 1.08 1.07
dummy VarIables
moNth eduC1 eduC2
High school 0 0
Bachelor 1 0
Graduate 0 1
INdepeNdeNt VarIables VIF wIth all VarIables
Income 1.16
Age 1.15
Educ1 1.33
Educ2 1.28
www.freebookslides.com
924 A P P E N D I X B | Answers to Selected Even-Numbered Problems
d. yn = 481.0039 + 0.03179x1 + 2.3984x2 + 39.6920x3 + 54.5480x4 e.
–200
–100
Income
0
200
100
2,000
R es
id u
al s
Income Residual Plot
500 1,000 1,500
–200
–100
Age
0
200
100
20 60 80
R es
id u
al s
Age Residual Plot
40
–200
–100
Educ1
0
200
100
0.2 0.4 0.6 0.8 1.2
R es
id u
al s
Educ1 Residual Plot
1
–200
–100
Educ2
0
200
100
0.2 0.4 0.6 0.8 1.2
R es
id u
al s
Educ2 Residual Plot
1
The residual plots do not show any significant violation of the constant variance assumption.
15.52 a. Set x1 = People, x2 = Income, x3 = Teenagers yn = 592.6149 + 44.2289x1 + 0.2522x2 + 27.8032x3
b. Each additional person in the household increases the monthly food expenditures by an average of $44.23. Each additional $1 in the household weekly income increases the monthly food expenditures by an average of $0.25. Each additional teenager in the household increases the monthly food expenditures by an average of $27.80.
c. F = 193,252
18,213.5 = 10.61
H0: b1 = b2 = b3 = 0 H1: At least one bi ≠ 0 D1 = 3, D2 = 51 F.INV.RT10.05, 3, 512 = 2.7862
Because F = 10.61 is greater than Fa = 2.7862, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
d. yn = 592.6149 + 44.2289152 + 0.252211,2002 + 27.8032112 = $1,144.20 per month
e. LCL = $1,096.83, UCL = $1,191.64 We are 95% confident that the average monthly food expenditure
for the sample of families described in part d is between $1,096.83 and $1,191.64.
f. LPL = $869.18; UPL = $1,419.29 We are 95% confident that the monthly food expenditure for
the particular family described in part d is between $869.18 and $1,419.29.
g. H0: bi = 0 H1: bi ≠ 0 df = 51, T.INV.2T10.05, 512 = 2.008
People: t = 44.2289 - 0
12.2088 = 3.62; therefore, reject the null
Income: t = 0.2522 - 0
0.0698 = 3.61; therefore, reject the null
Teenagers: t = 27.8032 - 0
24.5021 = 1.13; therefore, do not reject the null
h. CI = 27.8032 { 12.0082124.50212 LCL = - 21.40, UCL = 77.00
We are 95% confident that an extra teenager in the household will increase the average monthly food expenditures between $21.40 less and $77 more per week. Because this interval does include zero, the teenager variable is not significant.
i.
The models highlighted in yellow and orange are both candidates with adjusted R 2 values around 35%.
Yellow: yn = 591.5999 + 45.0267x1 + 0.2692x2 The yellow model would be preferable because it contains one less
variable (teenager).
15.54 a. INdepeNdeNt VarIables VIF wIth all VarIables
Bill 1.40
Diners 1.22
Table minutes 1.21
Day 1.24
www.freebookslides.com
A P P E N D I X B | Chapter 15 925
There is no evidence that multicollinearity is present with these four independent variables.
b. Create the dummy variable Day, which equals 1 for a weekend and 0 for a weekday.
Set x1 = Bill, x2 = Diners, x3 = Table minutes, x4 = Day yn = 1.1826 + 0.0854x1 + 0.6563x2 + 0.0490x3 + 0.7076x4
c. Each additional $1 on the total bill increases the tip by an average of $0.085. Each additional diner at the table increases the tip by an average of $0.656. Each additional minute that the diners are at their table increases the tip by an average of $0.049. Weekend tips average $0.708 more than weekday tips.
d. F = 322.02
5.71 = 56.44
H0: b1 = b2 = b3 = b4 = 0 H1: At least one bi ≠ 0 D1 = 4, D2 = 75 F.INV.RT10.02, 4, 752 = 3.112
Because F = 56.44 is greater than Fa = 3.112, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
e. The p-values for Bill (2.04E-15), Diners (0.0113), and Table minutes (0.0112) are all less than 0.02 and are significant. The p-value for Day (0.2638) is greater than 0.02 and is not significant.
f. df = 75, T.INV.2T10.02, 752 = 2.377 CI = 0.0854 { 12.377210.0085572 LCL = 0.0651, UCL = 0.1057
We are 98% confident that an additional $1 in the total bill increases the average tip between $0.065 and $0.106.
g.
The models highlighted in yellow and orange are both candidates with adjusted R 2 values around 74%. The yellow model would be preferable because it contains one less variable (teenager).
Yellow: yn = 0.9664 + 0.0886x1 + 0.6576x2 + 0.0527x3 h. yn = 0.9664 + 0.088611252 + 0.6576142 + 0.05271952 = $19.68
15.56 a.
College is a dummy variable which equals 1 for business and 0 for arts and science. Gender is a dummy variable which equals 1 for male and 0 for female. Removing the variable Experience eliminates the presence of multicollinearity.
b. yn = - 13,092.751 + 1,867.843x1 + 20,237.204x2 + 641.323x3 + 321.285x4 + 3,159.078x6
c. Increasing the performance score by one point corresponds to an average salary increase of $1,868. Associate professors in the business college average $20,237 more in annual salary than associate professors in the arts and science college. Increasing the faculty’s age by one year corresponds to an average salary increase of $641. Increasing the average student evaluation score by one percentage point corresponds to an average salary increase of $321. Male associate professors earn an average of $3,159 more in salary than female associate professors.
d. F = 2,793,294,896.3
140,880,400.1 = 19.83
H0: b1 = b2 = b3 = b4 = b5 = 0 H1: At least one bi ≠ 0 D1 = 5, D2 = 79 F.INV.RT10.01, 5, 792 = 3.258
Because F = 19.83 is greater than Fa = 3.258, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
e. The p-values for Performance (0.0034), College (5.36E-11), and Age (0.0005) are all less than 0.01 and are significant. The p-value for Student (0.0931) and Gender (0.2327) is greater than 0.01 and is not significant.
f.
yn = 15,411.185 + 1,845.067x1 + 20,910.329x2 + 646.871x3 g. yn = 15,411.185 + 1,845.0671172 + 20,910.329112
+ 646.8711412 = $94,209 h. LCL = $88,934
UCL = $99,485 We are 99% confident that the average salary for faculty members
that fit this description will be between these limits.
i. LPL = $62,036 UPL = $126,383
We are 99% confident that the salary from a particular faculty member that fits this description will be between these limits.
INdepeNdeNt VarIables
VIF wIth all VarIables
VIF wIthout experIeNCe
Performance 1x12 1.08 1.08 College 1x22 1.07 1.07 Age 1x32 10.30 1.12 Student Eval 1x42 1.07 1.04 Experience 1x52 10.44 — Gender 1x62 1.04 1.04
www.freebookslides.com
926 A P P E N D I X B | Answers to Selected Even-Numbered Problems
j.
5
60,000
40,000
20,000
0
–20,000
–40,000
–60,000
Performance Residual Plot
Performance
R es
id u
al s
10 15 20 25
0.2
60,000
40,000
20,000
0
–20,000
–40,000
College Residual Plot
College
R es
id u
al s
0.4 0.6 0.8 1 1.2
20
60,000
40,000
20,000
0
–20,000
–40,000
Age Residual Plot
Age
R es
id u
al s
40 60 80
The residual plots do not show any significant violation of the constant variance assumption.
15.58 Create the dummy variable Location, which equals 0 for a wooded lot and 1 for a lot on the golf course.
INdepeNdeNt VarIables
VIF wIth all VarIables
VIF wIthout askINg prICe
Bedrooms 1x12 4.84 4.45 Bathrooms 1x22 2.42 2.41 Days on market 1x32 1.21 1.20 Age 1x42 2.77 2.41 Square feet 1x52 4.94 3.11 Location 1x62 1.34 1.34 Asking price 1x72 6.60 —
Removing the Asking price variable eliminates the presence of multicollinearity.
Performing best subsets regression on the remaining six independent variables produces the following results. The following figure shows only the models with adjusted R 2 values exceeding 83%.
The models with the five highest adjusted R 2 values are highlighted in the previous figure. The yellow model would be the best choice because it has the fewest independent variables with essentially the same adjusted R 2 values as the other four models.
yn = 168.2365 + 74.2955x1 - 6.1373x4 + 0.1529x5 Test the significance of the overall model using a = 0.01:
F = 1,679,052.7
9,132.3 = 183.86
H0: b1 = b4 = b5 = 0 H1: At least one bi ≠ 0 D1 = k = 3, D2 = n - k - 1 = 100 - 3 - 1 = 96 F.INV.RT10.01, 3, 962 = 3.992
Because F = 183.86 is greater than Fa = 3.992, we reject H0 and conclude that at least one of the population coefficients for our independent variables is not equal to zero.
The p-values for Bedrooms (0.0002), Age (0.0005), and Square feet (4.04E-12) are all less than 0.01 and are significant.
Each additional bedroom increases the selling price by an average of $74,296. Each additional year in age of the house decreases the selling price by an average of $6,137. Each additional square foot of space in the house increases the selling price by an average of $152.90.
The predicted selling price of the home described in the problem is as follows:
yn = 168.2365 + 74.2955142 - 6.13731182 + 0.152912,8002 = $783,067 LCL = $752,816 UCL = $813,575
We are 99% confident that the average selling price for homes that fit this description will be between these limits.
LPL = $530,223 UPL = $1,036,168 We are 99% confident that the selling price for a specific home that fits
this description will be between these limits.
1 6
400
200
0
–200
–400
Bedrooms Residual Plot
Bedrooms
R es
id u
al s
2 3 4 5
www.freebookslides.com
A P P E N D I X B | Chapter 16 927
40
400
200
0
–200
–400
Age Residual Plot
Age
R es
id u
al s
10 20 30
600050004000300020001000
400
200
0
–200
–400
Square Feet Residual Plot
Square Feet
R es
id u
al s
The residual plots do not show any significant violation of the constant variance assumption.
Chapter 16 16.2 a. WMA1p = 3, Period 8, Demand) =
1121192 + 1321162 + 1421102 1 + 3 + 4
= 13.38
b. MAD = 18.25
4 = 4.56
16.4 a.
perIod t
aCtual demaNd
At
smoothed ForeCast demaNd
Ft
treNd Tt
ForeCast w/treNd
FITt
absolute ForeCastINg
error ∣ At − FITt ∣
1 15 15 0 15
2 24 15 0 15 9
3 26 18.6 2.5 21.1 4.9
4 33 23.1 3.9 27.0 6.0
5 20 29.4 5.6 35.0 15.0
6 22 29.0 1.4 30.5 8.4
7 27 27.0 - 1.0 26.1 0.9
8 20 26.4 - 0.7 25.8 5.8
F9 = 25.8 + 10.42120 - 25.82 = 23.2; T9 = 0.7123.5 - 26.42 + 0.31 - 0.72 = - 2.2 FIT9 = 23.5 - 2.2 = 21.3
b. MAD = 50.0
7 = 7.14
16.6 a.
aC-
tual CpI At
smoothed ForeCast
CpI Ft
treNd Tt
ForeCast w/treNd
FITt
absolute ForeCastINg
error ∣ At − FITt ∣
184.0 184.0 0 184.0
188.9 184.0 0 184.0 4.9
195.3 185.5 0.8 186.3 9.0
201.6 189.0 2.1 191.1 10.5
207.3 194.3 3.7 198.0 9.3
215.3 200.8 5.1 205.9 9.4
214.5 208.7 6.5 215.2 0.7
218.1 215.0 6.4 221.4 3.3
224.9 220.4 5.9 226.3 1.4
229.6 225.9 5.7 231.6 2.0
F2013 = 231.6 + 10.321229.6 - 231.62 = 231.0 T2013 = 0.51231.0 - 225.92 + 0.515.72 = 5.4 FIT2013 = 231.0 + 5.4 = 236.4
b. MAD = 50.5
9 = 5.61
16.8 a. WMA1p = 3, 20142 = 112120.62 + 122114.92 + 132112.12
1 + 2 + 3 = 14.45
b.
year t
VIewers
At
ForeCast VIewers
Ft
absolute ForeCastINg error
� At − Ft �
2005 30.3
2006 31.8
2007 25.3
2008 27.1 28.30 1.20
2009 23.8 27.28 3.48
2010 20.1 25.15 5.05
2011 20.6 22.50 1.90
2012 14.9 20.97 6.07
2013 12.1 17.67 5.57
MAD = 23.27
6 = 3.88
c. F2014 = 16.4 + 10.42112.1 - 16.42 = 14.7 T2014 = 0.2114.7 - 18.12 + 0.81 - 1.72 = - 2.0 FIT2014 = 14.7 - 2.0 = 12.7
d. MAD = 28.5
8 = 3.56
e. The forecast using exponential smoothing with trend adjustment would be preferable to the three-period weighted moving average because its MAD is lower.
www.freebookslides.com
928 A P P E N D I X B | Answers to Selected Even-Numbered Problems
16.10 a. SMA1p = 4, Year 2011, Enrollment2 =
630 + 625 + 641 + 656 4
= 638
b. MAD = 55.0
4 = 13.75
c.
Year t
actual
enrollment At
Smoothed ForecaSt
enrollment Ft
abSolute ForecaSting
error ∣ At − Ft ∣
2006 624 624
2007 645 624 21
2008 659 632.4 26.6
2009 643 643 0
2010 630 643 13
2011 625 637.8 12.8
2012 641 632.7 8.3
2013 656 636 20
F2014 = 636 + 10.421656 - 6362 = 644
d. MAD = 101.7
7 = 14.52
e. The forecast using four-period simple moving average would be preferable because its MAD is lower than the forecast that uses exponential smoothing.
16.12 a. SMA1p = 3, Month 11, Expenses2 =
$312 + $364 + $345 3
= $340.3
MAD = 153.0
7 = 21.86
b. WMA1p = 3, Month 11, Expenses2 =
10.121$3122 + 10.221$3642 + 10.721$3452 0.1 + 0.2 + 0.7
= 345.5
MAD = 159.2
7 = 22.74
c. F11 = 340.0 + 10.121345 - 3402 = 340.5 MAD =
174.3
9 = 19.36
d. The forecast using exponential smoothing would be preferable because its MAD is lower than the forecast that uses either three- period simple moving average or three-period weighted moving average.
16.14 a. n = 8; a t = 36; a y = 87; a ty = 330; a t 2 = 204 b1 =
18213302 - 13621872 18212042 - 13622 = - 1.464
b0 = 87
8 - 1 - 1.4642a 36
8 b = 17.463
yn9 = 17.463 + 1 - 1.4642192 = 4.29 c.
Period t
actual demand
At
ForecaSt demand
Ft
abSolute ForecaSting
error ∣ At − Ft ∣
1 15 16.00 1.00
2 17 14.54 2.46
3 14 13.07 0.93
Period t
actual demand
At
ForecaSt demand
Ft
abSolute ForecaSting
error ∣ At − Ft ∣
4 7 11.61 4.61
5 10 10.14 0.14
6 12 8.68 3.32
7 7 7.22 0.22
8 5 5.75 0.75
MAD = 13.43
8 = 1.68
16.16 a. d = 330.09
166.84 = 1.978; dL = 1.08; dU = 1.36
Because d 7 dU, we fail to reject the null hypothesis and conclude that no positive autocorrelation is present in this time series.
16.18 b. n = 9; a t = 45; a y = 903.3; a ty = 4, 712.5; a t 2 = 285 b1 =
19214, 712.52 - 14521903.32 19212852 - 14522 = 3.2667
b0 = 903.3
9 - 13.26672a 45
9 b = 84.0332
yn2014 = 84.0332 + 12.86521102 = 112.68 c. MAD =
17.26
9 = 1.92
16.20 b. n = 8; a t = 36; a y = 3,130; a ty = 14,828; a t 2 = 204 b1 =
182114,8282 - 136213,1302 18212042 - 13622 = 17.690
b0 = 3,130
8 - 117.6902a 36
8 b = 311.645
yn9 = 311.645 + 117.692192 = 470.9 c. MAD =
140.19
8 = 17.524
d. t = 500 - 311.645
17.69 = 10.6 ≈ 11
The number of minutes will exceed the plan’s limit in the 11th’s month.
16.22 b. n = 21; a t = 231; a y = 12, 449; a ty = 178, 744; a t 2 = 3, 311 b1 =
12121178, 7442 - 12312112, 4492 121213, 3112 - 123122 = 54.2922
b0 = 12, 449
21 - 154.29222a 231
21 b = - 4.4047
yn2013 = - 4.4047 + 154.292221222 = $1, 190.02 c. MAD =
4, 596
21 = $218.86
d. d = 196, 683.5
1, 368, 963.5 = 0.144; n = 21; a = 0.05; dL = 1.22;
dU = 1.42 Because d 6 dL, we reject the null hypothesis and conclude that a
positive autocorrelation is present in this time series.
e. The graph of the data from part a does not appear to follow a linear pattern and positive autocorrelation is present. This forecasting method does not appear to be appropriate for this data.
www.freebookslides.com
A P P E N D I X B | Chapter 16 929
16.24 a.
Period
SeaSon
demand Yt
SeaSonal comPonent
St
deSeaSonalized demand
1 Y1-Q1 6 0.7929 7.6
2 Y1-Q2 11 1.4425 7.6
3 Y1-Q3 9 1.1001 8.2
4 Y1-Q4 5 0.6645 7.5
5 Y2-Q1 8 0.7929 10.1
6 Y2-Q2 14 1.4425 9.7
7 Y2-Q3 10 1.1001 9.1
8 Y2-Q4 7 0.6645 10.5
9 Y3-Q1 7 0.7929 8.8
10 Y3-Q2 15 1.4425 10.4
11 Y3-Q3 14 1.1001 12.7
12 Y3-Q4 9 0.6645 13.5
Tt = 6.5964 + 0.47t FY4@Q1 = T13 * S13 = 36.5964 + 0.471132410.79292 = 10.1 FY4@Q2 = T14 * S14 = 36.5964 + 0.471142411.44252 = 19.0 FY4@Q3 = T15 * S15 = 36.5964 + 0.471152411.10012 = 15.0 FY4@Q4 = T16 * S16 = 36.5964 + 0.471162410.66452 = 9.4
b. Quarter 2 has the highest demand, followed by Quarters 3, 1, and 4, in that order.
c. MAD = 8.49
12 = 0.71
16.26 a. dummY VariableS
Sd1 Sd2 Sd3
Quarter 1 0 0 0
Quarter 2 1 0 0
Quarter 3 0 1 0
Quarter 4 0 0 1
Set x1 = Period, x2 = SD1, x3 = SD2, x4 = SD3
Ft = 4.812 + 0.438t + 5.896SD1 + 3.125SD2 - 1.312SD3 FY4@Q1 = 4.812 + 0.4381132 + 5.896102 + 3.125102 - 1.312102 = 10.5 FY4@Q2 = 4.812 + 0.4381142 + 5.896112 + 3.125102 - 1.312102 = 16.8 FY4@Q3 = 4.812 + 0.4381152 + 5.896102 + 3.125112 - 1.312102 = 14.5 FY4@Q4 = 4.812 + 0.4381162 + 5.896102 + 3.125102 - 1.312112 = 10.5
b. Quarter 2 has an average demand that is 5.9 units above that for Quarter 1. Quarter 3 has an average demand that is 3.1 units above that for Quarter 1. Quarter 4 has an average demand that is 1.3 units below that for Quarter 1.
c. MAD = 7.81
12 = 0.651
16.28 a. dummY VariableS
Sd1 Sd2
Fall 0 0
Spring 1 0
Summer 0 1
Set x1 = Period, x2 = SD1, x3 = SD2 b.
Ft = 262.717 + 1.733t - 193.983SD1 - 235.967SD2 FY5@Fall = 262.717 + 1.7331132 - 193.983102 - 235.967102
= 285.25 ≈ 285 FY5@Spring = 262.717 + 1.7331142 - 193.983112 - 235.967102 = 93 FY5@Summer = 262.717 + 1.7331152 - 193.983102 - 235.967112
= 52.75 ≈ 53 c. The spring semester has an average enrollment that is 194.0 students
below that of the fall semester. The summer semester has an average enrollment that is 236.0 students below that of the fall semester.
d. MAD = 68.4
12 = 5.7
16.30 b.
Period SeaSon reVenue
yt
SeaSonal comPonent
St
deSeaSonalized reVenue
1 10-Q1 346 0.9799 353.1
2 10-Q2 297 0.9778 303.7
3 10-Q3 293 0.9644 303.8
4 10-Q4 332 1.0779 308.0
5 11-Q1 313 0.9799 319.4
6 11-Q2 319 0.9778 326.2
7 11-Q3 318 0.9644 329.7
8 11-Q4 364 1.0779 337.7
9 12-Q1 330 0.9799 336.8
10 12-Q2 338 0.9778 345.7
11 12-Q3 340 0.9644 352.6
12 12-Q4 411 1.0779 381.3
Tt = 304.8485 + 4.3566t F2013@Q1 = T13 * S13 = 3304.8485 + 4.35661132410.97992 = $354.21 F2013@Q2 = T14 * S14 = 3304.8485 + 4.35661142410.97782 = $357.72 F2013@Q3 = T15 * S15 = 3304.8485 + 4.35661152410.96442 = $357.02 F2013@Q4 = T16 * S16 = 3304.8485 + 4.35661162411.07792 = $403.73
www.freebookslides.com
930 A P P E N D I X B | Answers to Selected Even-Numbered Problems
c. AOL’s advertising revenue is highest during Quarter 4.
d. MAD = 136.92
12 = 11.41
e. AOL’s advertising revenue is increasing by an average of $4.36 million per quarter.
16.32 b.
Set x1 = Period, x2 = SD1, x3 = SD2, x4 = SD3, x5 = SD4
Ft = 177.733 - 1.9t - 35.433SD1 - 37.867SD2 - 22.967SD3 + 9.267SD4 FMonday@Week4 = 177.733 - 1.91162 - 35.433102 - 37.867102
- 22.967102 + 9.267102 = 147.33 FTuesday@Week4 = 177.733 - 1.91172 - 35.433112 - 37.867102
- 22.967102 + 9.267102 = 110.00 FWednesday@Week4 = 177.733 - 1.91182 - 35.433102 - 37.867112
- 22.967102 + 9.267102 = 105.67 FThursday@Week4 = 177.733 - 1.91192 - 35.433102 - 37.867102
- 22.967112 + 9.267102 = 118.67 FFriday@Week4 = 177.733 - 1.91202 - 35.433102 - 37.867102
- 22.967102 + 9.267112 = 149.00 c. Tuesday has an average chlorine demand that is 35.4 tons below
that for Monday. Wednesday has an average chlorine demand that is 37.9 tons below that for Monday. Thursday has an average chlorine demand that is 23.0 tons below that for Monday. Friday has an average chlorine demand that is 9.3 tons above that for Monday.
d. MAD = 76.67
15 = 5.111
16.34 b. Tt = 589.2219 + 4.5064t FMonday@Week4 = T16 * S16 = 3589.2219 + 4.50641162411.15382
= $763.04 FTuesday@Week4 = T17 * S17 = 3589.2219 + 4.50641172410.88942
= $592.19 FWednesday@Week4 = T18 * S18 = 3589.2219 + 4.50641182411.21342
= $813.39 FThursday@Week4 = T19 * S19 = 3589.2219 + 4.50641192410.84032
= $567.07 FFriday@Week4 = T20 * S20 = 3589.2219 + 4.50641202410.90292
= $613.39
c. The highest sales occur on Wednesday, followed by Monday, Friday, Tuesday, and Thursday, in that order.
d. MAD = $310.68
15 = $20.71
16.36 a.
Year t
actual Percent
At
ForecaSt Percent
Ft
abSolute ForecaSting
error ∙ At − Ft ∙
2005 32
2006 29
2007 41
2008 59 34.0 25.0
2009 51 43.0 8.0
2010 38 50.3 12.3
2011 42 49.3 7.3
2012 37 43.7 6.7
SMA1p = 3, Year 2013, Percent2 = 37 + 42 + 38 3
= 39.0
b. MAD = 59.3
5 = 11.9
c.
WMA1p = 3, Year 2013, Percent2 = 1521372 + 1321422 + 1121382
5 + 3 + 1 = 38.8
d. MAD = 46.3
5 = 9.3
e. The forecast using three-period weighted moving average would be preferable because its MAD is lower than the forecast that uses three-period simple moving average.
16.38 a.
daY t
cuStomerS At
ForecaSt cuStomerS
Ft
abSolute ForecaSting
error ∣ At − Ft ∣
1 260
2 243
3 232
4 277 245.0 32.0
5 270 250.7 19.3
6 285 259.7 25.3
7 248 277.3 29.3
8 254 267.7 13.7
dummY VariableS
Sd1 Sd2 Sd3 Sd4
Monday 0 0 0 0
Tuesday 1 0 0 0
Wednesday 0 1 0 0
Thursday 0 0 1 0
Friday 0 0 0 1
Year t
actual Percent
At
ForecaSt Percent
Ft
abSolute ForecaSting
error ∙ At − Ft ∙
2005 32
2006 29
2007 41
2008 59 36.0 23.0
2009 51 49.7 1.3
2010 38 52.6 14.6
2011 42 44.7 2.7
2012 37 41.7 4.7
www.freebookslides.com
A P P E N D I X B | Chapter 16 931
SMA1p = 3, Day 9, Customers2 = 285 + 248 + 254 3
= 262.3
b. MAD = 119.6
5 = 23.92
c.
daY t
cuStomerS At
Smoothed ForecaSt
cuStomerS Ft
ForecaSting error At − Ft
abSolute ForecaSting
error ∣ At − Ft ∣
1 260 260
2 243 260 - 17 17
3 232 258.3 - 26.3 26.3
4 277 255.7 21.3 21.3
5 270 257.8 12.2 12.2
6 285 259.0 26.0 26.0
7 248 261.6 - 13.6 13.6
8 254 260.2 - 6.2 6.2
F9 = 260.2 + 10.121254 - 260.22 = 259.6 d. MAD =
122.6
7 = 17.51
e. The forecast using exponential smoothing would be preferable because its MAD is lower than the forecast that uses three-period simple moving average.
16.40 b. n = 8; a t = 36; a y = 23.8; a ty = 108.7; a t 2 = 204 b1 =
1821108.72 - 1362123.82 18212042 - 13622 = 0.038
b0 = 23.8
8 - 10.0382a 36
8 b = 2.804
yn2014 = 2.804 + 10.0382192 = 3.15 c.
Year Period
t
actual gPa At
ForecaSt gPa
Ft
abSolute ForecaSting
error ∣ At − Ft ∣
2006 1 2.94 2.84 0.10
2007 2 2.82 2.88 0.06
2008 3 2.90 2.92 0.02
2009 4 2.96 2.96 0.00
2010 5 2.85 2.99 0.14
2011 6 3.08 3.03 0.05
2012 7 3.15 3.07 0.08
2013 8 3.10 3.11 0.01
There is an indication that grade inflation is present at Newark College because the actual GPA and forecasted GPA are constantly growing over time.
16.42 a. dummY VariableS
Sd1 Sd2
Fall 0 0
Spring 1 0
Summer 0 1
Set x1 = Period, x2 = SD1, x3 = SD2
Ft = 2.65 + 0.0087t + 0.1651SD1 + 0.4139SD2 FFall@2014 = 2.65 + 0.00871252 + 0.1651102 + 0.4139102 = 2.87 FSpring@2014 = 2.65 + 0.00871262 + 0.1651112 + 0.4139102 = 3.04 FSummer@2014 = 2.65 + 0.00871272 + 0.1651102 + 0.4139112 = 3.30
b. The spring semester has an average GPA that is 0.17 points higher than the fall semester.
c. The summer semester has an average GPA that is 0.41 points higher than the fall semester.
d. MAD = 2.357
24 = 0.098
16.44 a.
Year Period
t
actual bonuS
At
Smoothed ForecaSt
bonuS Ft
abSolute ForecaSting
error ∣ At − Ft ∣
2005 1 149.8 149.80
2006 2 191.4 149.80 41.60
2007 3 177.8 170.60 7.20
2008 4 100.9 174.20 73.30
2009 5 140.6 137.55 3.05
2010 6 139.0 139.08 0.08
2011 7 111.3 139.04 27.74
2012 8 121.9 125.17 3.27
F2013 = 125.17 + 10.521121.9 - 125.172 = 123.54 b. MAD =
156.24
7 = 22.32
c.
Period t
actual bonuS
At
Smoothed ForecaSt
bonuS Ft
trend Tt
ForecaSt w/trend
FITt
abSolute ForecaSting
error ∣ At − FITt ∣
1 149.8 149.80 0.00 149.80
2 191.4 149.80 0.00 149.80 41.60
3 177.8 170.60 10.40 181.00 3.20
4 100.9 179.40 9.60 189.00 88.10
5 140.6 144.95 - 12.43 132.52 8.08 6 139.0 136.56 - 10.41 126.15 12.85 7 111.3 132.58 - 7.19 125.39 14.09 8 121.9 118.35 - 10.71 107.64 14.26
F2013 = 107.64 + 10.521121.9 - 107.642 = 114.77 T2013 = 0.51114.77 - 118.352 + 0.51 - 10.712 = - 7.15 FIT2013 = 114.77 - 7.15 = 107.62
d. MAD = 182.18
7 = 26.03
e. The forecast using exponential smoothing would be preferable because its MAD is lower than the forecast using exponential smoothing with trend adjustment.
www.freebookslides.com
932 A P P E N D I X B | Answers to Selected Even-Numbered Problems
16.46 b. n = 9; a t = 45; a y = 132.1; a ty = 790.1; a t 2 = 285 b1 =
1921790.12 - 14521132.12 19212852 - 14522 = 2.1600
b0 = 132.1
9 - 12.16002a 45
9 b = 3.8778
yn10 = 3.8778 + 12.160021102 = 25.48 c.
Year Period
t
actual rate
At
ForecaSt rate
Ft
abSolute ForecaSting
error ∙ At − Ft ∙
2004 1 10.4 6.04 4.36
2005 2 9.2 8.20 1.00
2006 3 8.1 10.36 2.26
2007 4 8.3 12.52 4.22
2008 5 11.3 14.68 3.38
2009 6 18.0 16.84 1.16
2010 7 20.1 19.00 1.10
2011 8 21.7 21.16 0.54
2012 9 25.0 23.32 1.68
MAD = 19.7
9 = 2.19
16.48 a. SMA1p = 4, 20132 = 9.69 + 9.01 + 9.46 + 9.49 4
= 9.413
b. MAD = 3.852
12 = 0.321
c. F2013 = 9.138 + 10.7219.69 - 9.1382 = 9.524 d. MAD =
3.639
16 = 0.243
e. The forecast using exponential smoothing would be preferable because its MAD is lower than the forecast using a four-period simple moving average.
16.50 a.
Ft = 5.1775 + 0.0425t - 1.1825SD1 + 0.8150SD2 + 3.7725SD3 F6 - Q1 = 5.1775 + 0.04251212 - 1.1825102 + 0.8150102 + 3.7725102 = 6.07 F6 - Q2 = 5.1775 + 0.04251222 - 1.1825112 + 0.8150102 + 3.7725102 = 4.93 F6 - Q3 = 5.1775 + 0.04251232 - 1.1825102 + 0.8150112 + 3.7725102 = 6.97 F6 - Q4 = 5.1775 + 0.04251242 - 1.1825102 + 0.8150102 + 3.7725112 = 9.97
b. Quarter 2 has average sales that are $1.18 million below Quarter 1. Quarter 3 has average sales that are $0.815 million above Quarter 1. Quarter 4 has average sales that are $3.77 million above Quarter 1.
c. MAD = 6.20
20 = 0.31
16.52 a. n = 24; a t = 300; a y = 32,006; a ty = 407,255; a t 2 = 4,900
b1 = 12421407,2552 - 13002132,0062
124214,9002 - 130022 = 6.2435
b0 = 32,006
24 - 16.24352a 300
24 b = 1,255.5396
ynJan@2013 = 1,255.5396 + 16.243521252 = 1,411.6 b. d =
53,496.4
87,393.7 = 0.612; n = 24; a = 0.05; dL = 1.27; dU = 1.45
Because d 6 dL, we should reject the null hypothesis and conclude that there is a positive autocorrelation in this time series.
c. The trend projection method is not appropriate for the forecast of the S&P 500 Index because of the presence of autocorrelation that can lead to unreliable forecasts.
16.54 b. n = 28; a t = 406; a y = 398; a ty = 4,299; a t 2 = 7,714 b1 =
128214,2992 - 1406213982 128217,7142 - 140622 = - 0.8057
b0 = 398
28 - 1 - 0.80572a 406
28 b = 25.8969
yn2014 = 25.8969 - 10.805721292 = 2.53 ≈ 3 MAD =
216.7
28 = 7.7
c. d = 8, 617.4
2, 742.7 = 3.142; n = 28; a = 0.05; dL = 1.33; dU = 1.48
Because d 7 dU, we fail to reject the null hypothesis and conclude that no positive autocorrelation is present in this time series, so the trend projection method is appropriate.
d. The limitation is that the downward trend can’t continue because the point spread cannot be negative. The winning team must have more winning points than the losing team.
www.freebookslides.com
Contents Photo Credits
C h a p t e r 1 Pages 1 and 16, Fotolia; Page 2, Ruslan Ivantsov/Shutterstock; Page 3, Shutterstock; Page 7, Robert Donnelly; Page 12, Oliver Hoffmann/ Shutterstock; Page 13, Picture-Factory/Fotolia; Page 15, Fotolia.
C h a p t e r 2 Pages 21 and 66, Shutterstock; Page 23, Laborant/Shutterstock; Page 26, Fotolia; Page 42, Alexander Raths/Shutterstock; Page 50, Shutterstock; Page 61, Fotolia.
C h a p t e r 3 Pages 77 and 132, Shutterstock; Page 81, Michael Jung/Fotolia; Page 84, Shutterstick; Page 100, Robert Donnelly; Page 105, Shutterstock; Page 117, Dan Race/Fotolia; Page 122, Robert Donnelly; Page 126, Andres Rodriguez/Fotolia.
C h a p t e r 4 Pages 147 and 183, Volodymyr Krasyuk/Shutterstock; Page 151, Monkey Business Images/Shutterstock; Page 161, Valerie Potapova/ Fotolia; Page 170, Fotolia.
C h a p t e r 5 Page 193 and 235, Shutterstock; Page 194, Danny E. Hooks/ Shutterstock; Page 196, Shutterstock; Page 205, VikOl/Shutterstock; Page 214, C. A. Carrigan/Shutterstock; Page 226, Ersler Dmitry/ Shutterstock.
C h a p t e r 6 Pages 247 and 279, Pitrs/Fotolia; Page 248, Robert Donnelly; Page 257, Fotolia; Page 263, Fotolia; Page 272, Tyler Olson/Fotolia.
C h a p t e r 7 Pages 289 and 323, Tom Hauck/AP Images; Page 291, Alysta/ Shutterstock; Page 296, Monkey Business/Fotolia; Page 308, Dmitry Kalinovsky/Shutterstock; Page 313, Fotolia.
C h a p t e r 8 Pages 333 and 371, Shutterstock; Page 338, R. Gino Santa Maria/ Shutterstock; Page 342, Andy Dean/Fotolia; Page 346, Teekaygee/ Shutterstock; Page 362, Robert Donnelly; Page 367, Tyler Olson/ Fotolia.
C h a p t e r 9 Pages 383 and 425, Harry Hu/Shutterstock; Page 385, R. Mackay Photography/Shutterstock; Page 389, Ever/Fotolia; Page 401, Xy/Fotolia; Page 412, Pressmaster/Shutterstock; Page 417, Boykov/ Shutterstock.
C h a p t e r 1 0 Pages 437 and 484, Moodboard/Getty Images; Page 438, Robert Donnelly; Page 462, Jose Gil/Shutterstock; Page 471, Lichtmeister/ Fotolia; Page 475, Amy Walters/Shutterstock; Page 481, Iofoto/ Shutterstock.
C h a p t e r 1 1 Pages 501 and 557, iStockphoto/Thinkstock; Page 507, Carmen Steiner/Shutterstock; Page 526, Minerva Studio/Fotolia; Page 541, Pink Badger/Fotolia; Page 548, Floydine/Fotolia.
C h a p t e r 1 2 Pages 575 and 612, Marcio Jose Bastos Silva/Shutterstock; Page 577, Sedin/Shutterstock; Page 585, Beth Ponticello/Shutterstock; Page 597, R Mackay/Fotolia; Page 609, Monkey Business/Fotolia.
C h a p t e r 1 3 Pages 625 and 644, Arsel/Fotolia; Page 626, Tyler Olson/Fotolia; Page 631, Sixninepixels/Shutterstock; Page 634, Ministr-84/ Shutterstock; Page 639, Shutterstock.
C h a p t e r 1 4 Pages 651 and 697, Scanrail/Fotolia; Page 657, Robert Donnelly; Page 667, Jack Hollingsworth/Photodisc/Thinkstock; Page 689, Danny Hooks/Fotolia.
C h a p t e r 1 5 Pages 709 and 756, Egd/Shutterstock; Page 714, Waynerd/Fotolia; Page 732, Pangfolio.com/Shutterstock; Page 739, Kadmy/Fotolia.
C h a p t e r 1 6 Pages 767 and 814, Diego Cervo/Fotolia; Page 774, Lightpoet/Fotolia; Page 795, Trekandshoot/Fotolia.
C o v e r p h o t o s Trading screen financial data, Simon Smith/Getty Images; Red empty stadium seats, Ollo/Getty Images; Apples and red peppers ready to be bought, Antonio Rosario/Getty Images; Jet plane in a sunset sky. Panoramic composition in high resolution, Mo Ses/Shutterstock; Row of different cars parked in a crowded city, Radu Razvan/Shutterstock; Touching stock market graph on a touch screen device, Bloomua/ Shutterstock; FitBit image, Courtesy of FitBit, Inc.
933 www.freebookslides.com
Index
A Addition rule, 159–161, 184, 185, 208 Adjusted multiple coefficient of determina-
tion, 722–724, 746–748, 757–758 Advertising, 2 a
b affected by, 389–390, 420–422 definition of, 389, 426 in hypothesis testing, 389–390
Alternatives, 17-2, 17-33 Alternative hypothesis, 384, 426, 584 Analysis of variance. See ANOVA
alternative hypothesis for, 503 decision rules for, 512 definition of, 502–503, 559 factor, 502, 559 level, 502, 559 null hypothesis for, 503 one-way comparing pairs of populations means,
516–519 critical range for,
definition of, 559 description of, 502, 503 Excel used for, 514–516 formulas, 560–561 F-test statistic for, 510–511, 561 mean square between, 509, 559, 560 mean square total, 506, 559, 560 mean square within, 510, 559, 561 summary of, 514 sum of squares between, 508, 559,
560 sum of squares within, 510, 560, 561 total sum of squares, 505, 560 Tukey-Kramer multiple comparison
test, 516–519, 560 randomized block
blocking factor, 524, 559 critical range for, 537, 562 definition of, 524, 559 description of, 502, 523–529 Excel used to perform, 530–531 formulas, 561–562 F-test statistic for, 529, 561 mean square block for, 528, 561 mean square error for, 528, 561 partitioning of total sum of squares for,
526, 561 summary of, 535–536 sum of square block for, 527, 561 sum of squares error for, 528, 561 Tukey-Kramer multiple comparison test
for, 536–537 two-way, 540–551
cell in, 541 551–553 definition of, 540, 560
description of, 503, 540–541 Excel used for, 542–543 interaction plot, 549–551 interpreting the output of, 545–548 mean squares error for, 545, 562 mean sum of squares for factors A and
B, 544, 559, 562 mean sum of squares for interaction of
factors A and B, 545, 559, 562 replications in, 541, 559 summary of, 548 sum of squares error, 545 sum of squares for factor A, 543, 559 sum of squares for factor B, 544, 559 sum of squares for interaction of factors
A and B, 544–545, 560 Tukey-Kramer multiple comparison test
for, 551–553, 560 Approximate standard error of the difference
between population proportions, 476, 487
Autocorrelation, 789–794, 815 Average. See Mean
B Backward elimination regression, 749, 757 Bar charts, 44–47, 67 Bayes’ theorem, 170–173, 183, 184,
185 Best subsets regression, 745–748, 757 b
a effects on, 420–422 definition of, 426
Biased sample, 14, 17 Bimodal distribution, 84 Binomial distributions formulas, 236
goodness-of-fit test for, 593–596 mean of, 211, 237 normal distribution used to approximate,
263–266 Poisson distributions used to approximate,
225–227 standard deviation of, 211–212, 237 uses of, 207–210
Binomial experiment, 207, 236 Binomial probabilities
Excel used to calculate, 214–216 Poisson equation used to calculate,
237 tables, 212–213
Binomial probability distribution, 207, 236, 263–266, 601, 620
Blocking factor, 524, 531–534, 559 Blocks, 524, 559 Bootstrapping, 296–297, 324 Box-and-whisker plots, 122–124 Business statistics, 2–3
C Categorical data, 85, 133 Cell, 549, 566 Census, 311, 324 Centered moving average, 799, 815 Central limit theorem
applications of, 307–308 definition of, 301, 324, 335 description of, 301–306 testing claims using, 308–310
Central tendency measures definition of, 78, 134 mean. See Mean median, 83–84, 87–90, 134 mode, 84–85, 87–90, 134
Charts bar, 44–47, 68 line, 63–64, 67 Pareto, 47–50, 67 pie, 51–53, 67
Chebyshev’s theorem, 109–110, 133 Chi-square critical values, 580–581, 587,
592, 596, 602, 606–607, 628–629, 632
Chi-square distribution definition of, 576
Chi-square test of independence, 605–607 Chi-square test statistic, 579–580, 586–587,
591–592, 596, 601, 606, 613, 627–628, 632
Class(es) definition of, 26, 67 number of, 32 too few vs. too many, 35–36 width of, 32
Class boundaries, 32–33 Class frequencies, 33 Classical probability, 149–150, 183, 184 Clustered bar charts, 46, 67 Cluster sampling, 295, 324 Coefficient of determination, 668–671,
698 adjusted multiple, 722–724, 746–748,
757–758 calculation of, 669 definition of, 668, 698 formula for, 669, 700 F-test statistic for, 669, 700 multiple, 717–719, 757, 758 population, 669
Coefficient of variation, 101–102, 128 Collectively exhaustive events, 150, 172,
184 Combinations, 179–181, 184, 186 Complement, 154, 184 Conditional probability, 162–163, 183,
184
935 www.freebookslides.com
936 I n d e x
Confidence interval for average value of y based on a value of
x, 673–675, 692–693, 700 for comparing two population means
with dependent samples, 471–472, 487 with independent samples, unknown
population standard deviations (s1 and s2), and equal population variances, 452–454, 486
with independent samples and known population standard deviations (s1 and s2), 445–446, 485
for comparing two population proportion with independent samples, 477, 487
for finite populations, 366–369 for the mean when the standard deviation
of a population is known business applications of, 343 changing confidence levels, 340–342 definition of, 335 Excel used to determine, 343–344 formulas, 336, 372 interpretation of, 338–340 margin of error, 337–338 PHStat used to determine, 343–344 small samples, 345 summary of, 374
for the mean when the standard deviation of a population is unknown
description of, 347–348 Excel used to determine, 351–352 formulas, 351, 372–373 PHStat used to determine, 352–353 Student’s t-distribution, 348–351 summary of, 374
for the proportions calculation of, 354–357 definition of, 355, 372 formulas, 356, 373 PHStat to determine, 357
purpose of calculating, 334 for regression coefficients, 729–730, 758 for the population slope, 681–682, 700 z-scores for, 342
Confidence level definition of, 340, 372 significance level and, 341, 372
Consumer’s risk, 390, 426 Contingency tables
definition of, 55, 67, 157 Excel used to construct, 55–58 expected frequencies for, 605–607 with probabilities, 167–169
Continuity correction factor, 264, 320 Continuous data
definition of, 26, 68 discrete data versus, 26, 36–37
Continuous random variables definition of, 248 description of, 195–196, 236 normal probability distributions, 249
Continuous uniform distribution function, 275, 281
Continuous uniform probability density function, 274, 280
Continuous uniform probability distribution, 273–277, 280
Convenience sample, 297, 324 Correlation analysis
correlation coefficient. See Correlation coefficient
overview of, 653–655 Correlation coefficient
calculation of sample, 655–656, 699 definition of sample, 653, 698 Excel used to calculate sample, 656 formula for sample, 663, 699 hypothesis test used to determine
significance of population, 657–658 population, 657, 698 significance of, 665–666 test statistic for, 657, 699
Counting principles combinations, 179–181, 183, 184, 186 fundamental, 176–177, 183, 184, 185 permutations, 178–179, 183, 184, 185,
186 Covariance, sample, 127–128
definition of, 127, 134 formula, 127, 137
Critical range, 517, 537, 552, 553 Critical sample mean, 417, 426 Critical t-score, 404, 450 Critical z-score
definition, 391 for various values of a, 399
Cross-sectional data, 10, 17 Cumulative percentage polygon, 39–40, 67 Cumulative relative frequency distribution,
27, 67 CV. See Coefficient of variation Cyclical component, of time series, 770, 826
D Data
categorical, 85, 89, 133 continuous. See Continuous data cross-sectional, 10, 17 definition of, 4, 17 discrete. See Discrete data grouped. See Grouped data Internet sources of, 4 interval, 8, 17, 18-3 measurement levels for, 7–9 nominal, 7, 17, 18-3 ordinal, 7, 17, 18-3 primary, 5, 17 qualitative, 6, 15 quantitative. See Quantitative data ratio, 9, 17, 18-3 secondary, 4, 17 sources of, 4–6 tabular presentation of, 20–20t time series, 10, 17, 65, 69 types of, 7
Data collection errors, 300
Decision analysis decision making under risk, 17-12–17-14 decision making under uncertainty,
17-6–17-10 decision making using decision trees,
17-16–17-26 decision table, 17-3–17-5 introduction, 17-2–17-3 using Bayes’ theorem to calculate posterior
probabilities, 17-27–17-29 Decision making under risk, 17-12–17-14,
17-33 Decision making under uncertainty, 17-6–17-
10, 17-33 Decision making using decision trees,
17-16–17-26 Decision table, 17-3 Decision trees, 169, 184, 17-16
sequential decisions, 17-17–17-26 Degrees of freedom
definition of, 372, 515 description of, 348, 450 for t-distribution when testing for the
difference between two means (s
1 and s2 unknown and equal), 450 for t-distribution when testing for the
difference between two means (s1 and s2 unknown and unequal), 456–457
Dependent events definition of, 184 description of, 164–165 formula for, 185 multiplication rule for, 165
Dependent samples definition of, 464, 485 hypothesis testing comparing two
population means with confidence interval for, 471–472
description of, 464–465 Excel for, 469–470 formulas, 486–487 hypothesis test for, 464–469
Dependent variables definition of, 710, 757 description of, 61, 67, 653–654, 698 variation of, 717–724
Descriptive statistics, 11, 17 Deseasonalized time series, 803–804, 817 Direct observation, 5, 17 Discrete data
continuous data versus, 26, 36–37 definition of, 26, 67
Discrete probability distributions expected value of, 198, 236 formulas, 236 goodness-of-fit test for, 585–588 mean of, 197–198, 236 overview of, 195–196 rules for, 196–197 standard deviation of, 198–203 variance of, 198–203, 236
Discrete random variables, 195–196
www.freebookslides.com
I n d e x 937
Dummy variables definition of, 732, 757 in multiple regression, 732–737 seasonality representation with, 808–811
Durbin-Watson statistic, 790–794, 815, 817
E ei. See Residual Empirical probability, 150–152, 183, 184 Empirical rule, 107–109, 133, 257, 280 EMV. See Expected monetary value Equally likely criterion, 17-7, 17-33 Ethics, 14–15 Event(s)
collectively exhaustive, 150, 172, 184 definition of, 149, 184 dependent, 164–165 independent, 164–165 intersection of, 157, 164, 184 mutually exclusive, 159, 160, 169–170,
184, 295 simple, 149, 184 union of, 158–159, 184
EVPI. See Expected value of perfect information
EVSI. See Expected value of sample information
EVwSI. See Expected value with sample information
EVwoSI. See Expected value without sample information
EVUC. See Expected value under certainty EVUR. See Expected value under risk Excel 2013
binomial probability calculations, 214–216 confidence interval determinations
for the mean when the standard deviation of a population is known, 343–344
for the mean when the standard deviation of a population is unknown, 351–353
contingency table created using, 56–58 correlation coefficient calculations using,
656 Data Analysis ToolPak, 23–25 Durbin-Watson statistic determined using,
793 exponential probability distribution
calculations using, 272 horizontal bar chart constructed with, 45 hypergeometric probabilities calculated
using, 232–233 for hypothesis testing comparing two
population means with dependent samples, 469–471 with independent samples, unknown
population standard deviations (s
1 and s2), and unequal population variances, 457–459
line charts, 63 mean calculations, 87–89 median calculations, 87–89
mode calculations, 87–89 normal probabilities calculated using,
260–263 one-way ANOVA using, 514–516 Poisson probability calculations using,
223–225 quartile calculations using, 121 randomized ANOVA performed using,
530–531 residual analysis using, 749–753 simple random sample generated using,
292–293 slope calculation using, 664–666 standard deviation calculations using,
98–99 statistical analysis using, 22–23 systematic sample generated using,
293–294 total sum of squares calculations, 506 two population variances, 637–638 two-way ANOVA using, 542–543 variance calculations using, 98–99, 628,
632, 635 y-intercept calculation using, 664–666
Excel 2013 functions AVERAGE, 87 BINOM.DIST, 214, 216, 263–266 CHISQ.DIST.RT, 583, 587 CHISQ.INV.RT, 581, 629, 632 CONFIDENCE.NORM , 343 CONFIDENCE.T, 352 CORREL, 656 COUNTIF, 42 EXPON.DIST, 272 F.DIST.RT, 516, 531, 671 F.INV.RT, 512, 529, 636, 640, 670, 721 FREQUENCY, 28 HYPGEOM.DIST, 232 MEDIAN, 87 MODE, 87 NORM.DIST, 260–261 NORM.S.DIST, 261, 394, 415, 480, 599 PERCENTILE.EXC, 117 PERCENTRANK.EXC, 119 POISSON.DIST, 223, 235 QUARTILE.EXC, 121 STANDARDIZE, 107 STDEV.P, 98 STDEV.S, 98, 348 T.DIST, 407 T.DIST.2T, 410, 459, 681 T.DIST.RT, 407, 454, 658, 682 T.INV, 405, 658 T.INV.2T, 351, 408, 728 VAR.P, 98 VAR.S, 98
Expected frequencies, 578, 586, 589, 594– 595, 597–602, 605–606, 613
Expected monetary value, 204–205, 236, 17-12, 17-33
Expected value, 198, 236 Expected value of perfect information, 17-13,
17-33
Expected value of sample information, 17-26, 17-33
Expected value under certainty, 17-13, 17-33 Expected value under risk, 17-13, 17-33 Expected value with sample information,
17-25, 17-33 Expected value without sample information,
17-26, 17-33 Experiment
binomial, 207, 236 definition of, 5, 17, 148, 184
Experiment-wide error rate, 519, 559 Exponential cumulative distribution function,
270–271, 280 Exponential probability density function,
269–270, 280 Exponential probability distribution, 269–272
calculation of, 270–272 definition of, 269–270, 280 Excel used to calculate, 272 formulas, 280 normal probability distribution versus, 270 shapes of, 270 standard deviation of, 271–272, 280
Exponential smoothing, 776–778 definition of, 776, 815 formula for, 776, 816
Exponential smoothing with trend adjustment, 778–781
definition of, 778, 815 formula for, 779, 816
F Factor, in ANOVA test, 502, 559 F-distribution, 511–513, 636 Finance, 3 Finite population
confidence intervals for, 366–369, 373–374
sampling distribution of mean with, 313–315
sampling distribution of the proportion with, 319–320
Finite population correction factor, 313, 324, 366, 373
Five-number summary, 124, 133 Focus group, 5, 17 Forecasting
components of a time series, 769–770 description of, 768 mean absolute deviation, 770–771 multiplicative decomposition method for,
797–802, 816 qualitative, 768, 816 quantitative, 768, 816 with regression analysis, 783–794
autocorrelation, 789–794 description of, 783 formulas, 816–817 trend projection, 783–787
with seasonality description of, 797 dummy variables, 808–811
www.freebookslides.com
938 I n d e x
Forecasting (continued) formulas for, 817 multiplicative decomposition, 797–807 summary of, 811
smoothing methods exponential smoothing forecast, 776–778 exponential smoothing with trend
adjustment forecast, 778–781 simple moving average forecast,
770–773, 816 summary of, 781 weighted moving average forecast,
774–775, 816 Formula(s)
addition rule, 160, 185 adjusted multiple coefficient of determina-
tion, 722, 758 approximate standard error for the dif-
ference in population proportions, 476, 487
Bayes’ theorem, 171, 185, 17-27, 17-34 binomial probability distribution, 209, 236,
601, 620 blocking factor F-test statistic for rand-
omized block ANOVA, 532, 561 central tendency measures, 78–90 chi-square test statistic, 579, 613 classical probability, 149, 184 combinations, 179, 185 complement rule, 154, 185 conditional probability, 163, 185 confidence interval
for a proportion, 356, 373 for average value of y based on a value
of x, 673–674, 700 for the difference between the means of
two dependent samples, 472, 487 for the difference between the means
of two independent populations (s1 and s2 known), 466, 485
for the difference between the means of two independent populations (s1 and s2 unknown), 452, 486
for the difference between the propor- tions of two independent popula- tions, 477, 487
for regression coefficients, 729, 758 for the regression of a slope, 681, 700
continuous uniform probability density function, 274, 280
correlation coefficient, 663, 706 test statistic for, 666, 707
critical sample mean, 417, 427 degrees of freedom for the t-distribution
when testing for the difference between two means (s
1 and s2 unknown and unequal), 456, 486
deseasonalized time series, 803, 817 discrete probability distributions, 236 Durbin-Watson statistic, 790, 817 empirical probability, 150, 184 expected frequencies for a contingency
table, 605, 613
expected monetary value, 17-12, 17-34 expected value of discrete probability
distributions, 198, 236 expected value of perfect information,
17-13, 17-34 expected value of sample information,
17-26, 17-34 exponential cumulative distribution func-
tion, 269, 280 exponential smoothing forecast, 776, 817
with trend adjustment, 779, 817 factor A test statistic, 546, 562 factor B test statistic, 547, 562 finite population correction factor, 366, 373 F-test statistic for overall regression
model, 720, 758 F-test statistic for one-way ANOVA, 510,
561 fundamental counting principle, 177, 185 Hurwicz criterion, 17-8, 17-34 hypergeometric distribution, 229, 237 index point, 83, 134 interaction test statistic, 546, 562 main factor F-test statistic for randomized
block ANOVA, 529, 561 margin of error
for confidence interval for the mean when the standard deviation of a population is known, 337, 372
matched-pair difference, 466, 487 mean
binomial probability distribution, 211, 237
continuous uniform distribution, 276, 281 of discrete probability distributions,
197, 236 of frequency distribution, 590, 613 hypergeometric distribution, 231, 237 matched-pair differences, 466, 486 sampling distribution for the difference
in means, 440, 485 sign test (large sample), 18-9, 18-39
mean absolute deviation, 770, 816 mean square between, 509, 560 mean square block, 528, 561 mean square error, 528, 545, 561, 562,
720, 758 mean square regression, 720, 758 mean square total, 506, 560 mean square within, 510, 561 mean sum of squares for factor A, 544, 562 mean sum of squares for factor B, 544, 562 mean sum of squares for interaction of
factors A and B, 545, 562 measures of central tendency, 79, 80, 83 measures of relative position, 117, 118,
121, 123 measures of association of two variables,
127, 128 measures of variability, 92–97 multiple coefficient of determination, 719,
758 adjusted, 722, 758
multiplication rule, 165, 185 multiplicative decomposition, 797, 817 normal probability density function, 251,
280 one-sample variance test, 627, 644 partitioning of the total sum of squares,
508, 526, 560, 561 permutations, 178, 185, 186 Poisson equation to calculate binomial
probabilities, 219, 237 Poisson probability distribution, 216, 235 pooled estimate for the overall proportion,
478, 487 pooled variance, 450, 486 population mean, 79 population variance, 96 prediction interval for specific value of y
based on a value of x, 676, 700 ratio-to-moving-average, 800, 8147 regression equation for a population using
k independent variables, 711, 758 regression equation for a sample using k
independent variables, 710, 758 regression intercept, 663, 699 regression slope, 663, 699 residual, 661, 699, 749, 759, 786, 817 sample mean, 79 sample proportion, 317, 325, 335, 373 sample size needed to estimate population
mean, 360, 373 sample size needed to estimate population
proportion, 363, 373 sample standard deviation, 94, 95, 135,
347, 372 sample variance, 93, 95, 627, 644 sampling error of sample mean, 298, 325 simple regression analysis, 699–700 Spearman rank-order correlation coeffi-
cient, 18-31, 18-39 standard deviation
binomial probability distribution, 211, 237
continuous uniform distribution, 277, 281
exponential distribution, 271, 280 hypergeometric distribution, 231, 237 matched-pair differences, 467, 487 sample, 94, 95, 135, 347, 372 sign test (large sample), 18-9, 18-39
standard error for the difference in popula- tion proportions, 476, 487
standard error of a slope, 680, 700 standard error of the difference between
two means, 440, 485 standard error of the estimate, 673 standard error of the mean, 306, 325, 335,
372 standard error of the proportion, 318, 325,
355, 373 straight line through ordered pairs, 660,
699 sum of squares between, 508, 560 sum of squares block, 527, 561
www.freebookslides.com
I n d e x 939
sum of squares error, 528, 561, 662, 668, 699, 718, 758
sum of squares regression, 668, 700, 718, 758
sum of squares within, 510, 561 total sum of squares, 505, 560, 666–667,
699, 718, 758 partitioning, 508, 526, 560, 561, 718,
758 trend projection, 784, 816 t-test statistic
for hypothesis test for the difference between two means from dependent sample, 468, 487
for hypothesis test for the difference between two means with s1 and s2 unknown and equal, 450, 486
for hypothesis test for the difference between two means with s1 and s2 unknown and unequal, 456, 486
for the Kruskal-Wallis test, 18-27, 18-39
for regression coefficient, 735, 758 for the sign test (large sample), 18-9,
18-39 for the Wilcoxon rank-sum test (large
sample), 18-17, 18-39 two-sample variance test, 635, 644 uniform cumulative distribution function,
275, 281 variance
of discrete probability distributions, 199–200, 236
of Poisson distribution, 221, 237 variance inflation factor, 759 z-score, 252, 280 z-test statistic for hypothesis test for the
difference between two means, 441, 485
z-test statistic for hypothesis test for the difference between two proportions, 478, 487
Forward selection regression, 748, 757 Frequency distribution
class, 26 constructing of, 25–26 cumulative relative, 27, 67 definition of, 25, 67 Excel used to create, 28–28f grouped quantitative data, 31–33 histogram for graphing of, 28–30 left-skewed, 87, 133 mean of, 590, 613 qualitative data used to construct, 42–53 relative, 27, 67 right-skewed, 87, 134 shapes of, 86–87 symmetrical, 31, 68, 86
F-test statistic for blocking factor for randomized block
ANOVA, 532, 561 for coefficient of determination, 669, 700
for main factor for randomized block ANOVA, 529, 561
for one-way ANOVA, 510, 561 for overall regression model, 720–722, 758
Fundamental counting principle, 176–177, 183, 184
G General stepwise regression, 743–745, 757 Goodness-of-fit test
binomial distribution, 593–597 definition of, 585, 613 discrete probability distribution testing,
585–588 normal distribution, 593–602 Poisson distribution, 588–593
Gosset, William, 350 Grouped data
mean of, 112–113 quantitative data
frequency distribution constructed using, 31–33
histogram constructed using, 34–35 standard deviation of, 113–114 variance of, 114 working with, 112–115
H Histogram
bar chart versus, 45 bell-shaped curve of, 107, 127 definition of, 28, 67 Excel used to create, 30f frequency distribution graphed using, 28–30 grouped quantitative data used to construct,
31–33 hypergeometric probabilities, 233 Poisson distribution, 225 purpose of, 35 shape of, 30–31 symmetrical distribution, 31, 67
Homoscedasticity, 686, 698 Horizontal bar charts, 45–46, 67 Hypergeometric distribution
calculating probabilities for, 229–231 definition of, 229, 236 formulas, 237
Hypergeometric probabilities calculating of, 229–231 Excel used to calculate, 232–233
Hypothesis alternative, 384, 426 null. 384, 426 stating the, 384–385
Hypothesis errors decision rules for, 390 Type I, 389–390 Type II, 389–390
Hypothesis statements purpose of, 387 setting up, 387–388
Hypothesis test median (large sample), 18-9–18-11
one-tail definition, 386 description of, 386–387 for population mean when s is known,
391–393 for population median (small sample),
18-4–18-6 for population proportion,
412–413 p-value, 393–395
power of, 419 purpose of, 385 two-tail
definition, 385 description of, 385–386 for population mean when s is known,
396–397 for population median (small sample),
18-7–18-9 p-value, 397–398
Hypothesis testing a in, 389–390 business applications of, 384 comparing two population means with
dependent samples confidence interval for, 471–472 definition of, 464–465 description of, 464–465 Excel for, 469–471 formulas, 486–487 hypothesis test for, 465–469 summary of, 488
comparing two population means with independent samples, unknown population standard deviations (s
1 and s2), and equal population variances, 448–452
confidence interval for, 455–457 formulas, 486 hypothesis test for, 448–452 PHStat for, 453–454 summary of, 488
comparing two population means with independent samples, unknown population standard deviations (s1 and s2), and unequal population variances, 455–459
Excel for, 457–459 formulas, 486 hypothesis test for, 455–457 summary of, 488
comparing two population means with independent samples and known population standard deviations (s1 and s2), 439–445
confidence interval for, 455–456 formulas, 485 PHStat for, 453–455 summary of, 488
introduction to, 384–390 logic of, 387 for population mean PHStat for, 400–401,
409–410
www.freebookslides.com
940 I n d e x
Hypothesis testing (continued) when population standard deviation is
known, 390–398 when population standard deviation is
unknown, 403–408 for the proportion of a population,
412–414 p-value approach, 393–395, 397–398
406–407, 413–414 testing a difference other than zero,
460–462 Hurwicz criterion, 17-8, 17-33
I Independent events
definition of, 184 description of, 164–165 formula for, 185 multiplication rule for, 166, 208 mutually exclusive events and, 169–170
Independent samples comparing two population means using,
439–445 definition of, 440, 485
Independent variables definition of, 710, 757 description of, 61, 67, 653, 698 inferences about, 726–730 qualitative, 732–737
Index of optimism, 17-8, 17-33 Index point
definition of, 83, 133 formula for, 83 for pth percentile, 117
Information, 4, 17 Interaction test statistic, 546, 562 Intercept
description, 660 formula for, 663, 699 trend projection, 784, 817
Internet data from, 4 IP addresses, 178
Internet polls, 14–15, 297 Interquartile range, 121, 133 Intersection of events, 157, 183, 184 Interval data, 7–9, 15, 18-3 IP addresses, 178 IQR. See Interquartile range
J Joint probability, 157, 183, 184
K Kruskal-Wallis test, 18-27–18-29
critical value, 18-29 decision rules for, 18-29 definition, 18-27, 18-38 test statistic, 18-28–18-29
L Law of large numbers, 152, 184 Least squares method, 662, 698 Left-skewed frequency distribution, 87, 133
Level, in ANOVA test, 502, 559 Level of significance
definition of, 389, 426 observed, 393, 426
Likert scales, 203 Line charts, 63–64, 67
M Marginal probability, 157, 183, 184 Margin of error
for confidence interval for the mean when the standard deviation of a popula- tion is known, 337–338, 372
for confidence interval for the proportion, 356, 373
definition of, 337, 372 Marketing research, 2 Matched-pair test, 465–469, 485 Maximiax criterion, 17-6, 17-33 Maximin criterion, 17-6, 17-33 Mean, 79–80
advantages of, 81–82 of binomial distributions, 211, 237 continuous uniform distribution, 276, 281 definition of, 79, 134 of discrete probability distributions,
197–198, 236 Excel used to calculate, 87–89 of frequency distribution, 590, 613 grouped data, 112–113 of hypergeometric distribution, 231, 237 of Poisson distribution, 218 standard error of, 305–306, 325 weighted, 80–81, 134
Mean absolute deviation, 770–771, 815, 816 Mean square between, 509, 559, 560 Mean square block, 528, 559, 561 Mean square error, 528, 545, 559, 561, 566,
570, 728, 765, 767 Mean square regression, 720, 757, 758 Mean square total, 506, 559, 560 Mean square within, 510, 559, 561 Mean sum of squares
for Factor A, 544, 559, 562 for Factor B, 544, 559, 562 for interaction of Factors A and B, 545,
559, 562 Measures of association between two
variables definition of, 126 formulas, 137 sample correlation coefficient, 128–129 sample covariance, 127–128
Measures of central tendency definition of, 78, 134 formulas, 134 mean. See Mean median. See Median mode. See Mode
Measures of relative position definition of, 116, 134 formulas for, 137 percentiles, 116–119, 134
quartiles, 120–121, 134 Measures of variability
definition of, 91, 134 formulas, 135 overview of, 91 range, 92, 134 standard deviation. See Standard deviation variance. See Variance
Median advantages of, 89–90 definition of, 83, 134 description of, 83–84 Excel used to calculate, 87–89
Midpoint, 112, 134 Minimax regret criterion, 17-7, 17-33 Misuse of statistics, 14–15 Mode
advantages of, 89–90 definition of, 84, 134 description of, 84–85 Excel used to calculate, 87–89
Model building backward elimination regression, 749, 757 best subsets regression, 745–748, 757 definition of, 739, 757 forward selection regression, 748, 757 general stepwise regression, 743–745, 757 multicollinearity, 739–743, 757 residual analysis, 749–753 summary of, 753–754
MSB. See Mean square between MSBL. See Mean square block MSE. See Mean square error MST. See Mean square total MSW. See Mean square within Multicollinearity, 739–743, 757 Multiple coefficient of determination
adjusted, 722–724, 747–748 definition of, 722, 757 description of, 722–724 formula for, 722, 758
Multiple regression model developing of, 710–715 dummy variables in, 732–737
Multiplication rule, 165–167, 183, 184, 208 Multiplicative decomposition of a time series,
797–807, 816, 817 Mutually exclusive events, 159, 169–170, 183,
184, 197, 208, 295
N Negative autocorrelation, 790–791 Negative correlation
confidence intervals for, 692–694 description of, 687–688 partitioning the sum of squares for,
690–691 prediction intervals for, 693 significance of regression of a slope with,
693–694 simple regression example with, 687–694
Newsvendor problem, 17-2, 17-33 Nominal data, 7, 17, 18-3
www.freebookslides.com
I n d e x 941
Nonparametric statistics definition, 18-3, 18-38 introduction, 18-2–18-4
Nonparametric tests Kruskal-Wallis test, 18-27–18-29, 18-38 Sign test, 18-4–18-13, 18-38 Spearman rank-order correlation coefficient,
18-31–18-34, 18-38 summary of, 18-37 Wilcoxon rank-sum test, 18-14–18-20,
18-38 Wilcoxon signed rank test, 18-22–18-25,
18-38 Nonprobability sampling, 297–298, 324 Nonsampling errors, 300, 324 Normalized seasonal factors, 802, 816 Normal probability density function, 251, 280 Normal probability distributions
binomial distributions approximated using, 263–266
characteristics of, 250–251 definition of, 250 empirical rule, 257 Excel used to calculate, 260–263 exponential probability distribution versus,
270 formulas, 280 goodness-of-fit test for, 597–602 illustration of, 250–251 normal probability tables used to calculate,
252–256 t-distribution versus, 348
Normal probability plot, 753, 757 Normal probability tables, 252–256 Null hypothesis
for chi-square test of independence, 605 definition of, 384, 426 description of, 384–385
O Observed frequencies
definition of, 577, 613 following a known probability distribution,
585–602 Observed level of significance, 393, 426 Ogive, 39, 67 One-tail hypothesis test
definition of, 426 description of, 386–387 for population mean when s is known,
391–393 for population mean when s is unknown,
403–407 for population proportion, 412–413 for population variances
single population, 626–629 two populations, 634–637
p-value, 393–395 One-way ANOVA
comparing pairs of populations means, 516–520
definition of, 559 description of, 502, 503
Excel used for, 514–516 formulas, 560–561 F-test statistic for, 510, 568 mean square between, 509, 559, 560 mean square total, 506, 559, 560 mean square within, 510, 559, 561 summary of, 514 sum of squares between, 508, 559, 560 sum of squares within, 510, 560, 561 total sum of squares, 505, 560 Tukey-Kramer multiple comparison test,
516–520, 560 Operations, 3 Ordinal data, 7, 17, 18-3 Outcomes, 148 Outliers
definition of, 82, 134 description of, 106 lower limits of, 123, 137 upper limits of, 123, 137
P Parameters, 13, 17, 297, 324 Parametric statistics, 18-2, 18-38 Pareto charts, 47–50, 67 Partitioning the total sum of squares,
508–508, 526, 531–532, 560, 561, 666–668, 690–691, 718, 758
Payoffs, 17-3, 17-33 Percentage polygon, 37–40, 67 Percentile rank, 118–119, 134 Percentiles, 116–118, 134 Periodicity, 294, 324 Permutations, 178–179, 183, 184 PHStat
adjusted multiple coefficient of determina- tion, 722–723
best subsets regression, 746–748 binomial probability calculations, 214–216 chi-square test of independence, 607–608 confidence interval determinations
for a proportion, 357 for average value of y based on a value
of x, 676–678 for the mean of finite populations,
368–369 for the mean when the standard
deviation of a population is known, 343–344
for the mean when the standard deviation of a population is unknown, 351–353
cumulative percentage polygons created with, 38–40
description of, 23 deseasonalized trend projection, 804–805 dummy variables used to forecast season-
ality, 809–810 Durbin-Watson statistic determined using,
792 hypergeometric probabilities calculated
using, 223–225 for hypothesis testing
comparing the difference between two means with independent samples and s
1 and s2 known, 443–445 comparing two population means with
independent samples, unknown population standard deviations (s1 and s2), and equal population variances, 453–454
comparing two population proportions with independent samples, 480–481
for population mean performed using when a is known, 400–401
for population mean performed using when a is unknown, 409–410
hypothesis testing for population propor- tion, 414–415
multiple comparison between population means using, 519–520, 530–531
multicollinearity, 741–742 normal probabilities calculated using, 262 Poisson probability calculations using,
223–225 population proportion
hypothesis testing for, 414–415 sample size calculations, 364–365
prediction interval for specific value of y based on a value of x, 676–678
qualitative independent variables, 733, 735 regression coefficient, 721–714 sample size for population mean calculated
with, 361–362 sample size for population proportion
calculated with, 364–365 single population variance testing using,
629–630 stepwise regression, 744–745 trend projection with, 787–789 two or more population proportions
compared using, 582–583 two population variances, comparing of,
640–642 Pie charts, 51–53, 67 Pivot table, 56–58 Plots
box-and-whisker, 122–124, 133 scatter, 61–63, 67
Point estimate, 334–335, 372 Poisson distributions
binomial distributions approximated using, 225–227
formulas, 219, 221, 237 goodness-of-fit test for, 588–593 histogram of, 225 mean of, 218 overview of, 218 probability of arrivals calculated using,
221 Poisson probabilities
Excel used to calculate, 223–225 tables, 222
Poisson probability distribution, 219–221, 237, 597
Poisson process, 218–219, 236, 596
www.freebookslides.com
942 I n d e x
Polygon, percentage, 37–40, 67 Pooled variance, 456, 491–492 Population
coefficient of variation, 103 definition of, 12, 17 finite. See Finite population mean for, 79 standard deviation for, 96 variance for, 96 z-score, 105
Population coefficient of determination, 669
Population correlation coefficient, 657 Population distributions, 301, 312 Population mean
formula for, 79, 134 for grouped data, 113, 136 hypothesis testing of
comparing two population means with dependent samples, 464–469
confidence interval for, 471–472
Excel for, 469–471 formulas, 486–487 summary of, 488 comparing two population means with
independent samples, unknown population standard deviations (s1 and s2), and equal population variances, 448–452
confidence interval for, 452–453 formulas, 486 PHStat for, 453–454 summary of, 488 comparing two population means with
independent samples, unknown population standard deviation (s1 and s2), and unequal population variances, 455–457
Excel for, 457–459 formulas, 486 summary of, 488 comparing two population means with
independent samples and known population standard deviations (s1 and s2), 440–443
confidence interval for, 445–446 formulas, 485 PHStat for, 443–445 summary of, 488 testing a difference other than zero,
460–462 multiple comparison between, 516–521,
536–538, 551–553 one-tail hypothesis test for, 391–393 sample size calculation used to estimate,
359–361, 373 two-tail hypothesis test for, 396–397
Population proportions approximate standard error of the
difference between, 476, 487 comparing two or more, chi-square
distribution for, 577–583
comparing two population proportion with independent samples
confidence interval for, 477 formulas, 487 hypothesis test for, 478–479 overview of, 474–477 PHStat for, 480–481 summary of, 488
hypothesis testing for, 412–415 one-tail hypothesis test for, 412–413 PHStat for, 414–415 p-value approach, 413–414
sample size calculations used to estimate, 362–364, 373
standard error of the difference between, 476, 487
Population standard deviation (s) hypothesis testing for population mean
when s is known, 390–401 hypothesis testing for population mean
when s is unknown, 403–410 Population variances
formula for, 96–97, 135 for grouped data, 114, 136 single
one-tail hypothesis test for, 626–629 PHStat used to test, 629–630 testing of, 626–633 two-tail hypothesis test for, 631–633
two Excel used to compare, 637–638 one-tail test for, 634–637 PHStat for comparing, 640–642 two-tail test for, 639–640
Positive autocorrelation, 790–794 Posterior probability, 163, 184, 17-20, 17-33 Power curve, 420, 426 Power of hypothesis test, 419–420, 426, 18-3,
18-38 Prediction intervals
for negative correlation, 693 for specific value of y based on a value of
x, 675–676 Primary data, 5, 17 Prior probability, 163, 171, 184, 17-21, 17-33 Probability
classical, 149–150, 184 conditional, 162–163, 184 contingency tables with, 164 definition of, 148, 184 empirical, 150–152, 184 joint, 157, 184 marginal, 157, 184 posterior, 163, 184 prior, 163, 184 properties of, 153–154 simple, 149, 184 subjective, 152–153, 184
Probability rules addition rule, 159–161, 184 dependent events, 164–165 description of, 153–154 independent events, 164–165
intersection of events, 157, 184 for more than one event, 156–173 multiplication rule, 165–167, 184 union of events, 158–159, 184
Probability sampling, 291–297, 324 Producer’s risk, 390, 426 Proportion margin of error, 356, 373 pth percentile, 117, 134, 137 p-value
definition of, 393, 426 one-tail hypothesis test, 393–395 population proportion, 413–414 sign test (large sample, one-tail), 18-10 sign test (large sample, two-tail), 18-11 sign test (small sample, one-tail), 18-6 sign test (small sample, two-tail), 18-8 student’s t-distribution used to estimate,
406–407 two-tail hypothesis test, 397–398
Q Qualitative data
definition of, 7, 17 displaying of, 42–53 frequency distribution constructed from,
42–43 Qualitative forecasting, 768, 816 Qualitative independent variables, 732–737 Quality control
hypothesis testing application to, 388 inferential statistics used for, 12 standard deviation applications, 81–82,
101–102 Quantitative data
definition of, 7, 17 displaying of, 24–40 grouped
frequency distribution constructed using, 31–33
histogram constructed using, 34–35 Quantitative forecasting, 768, 816 Quartiles, 120–121, 134
R R2. See Coefficient of determination Random component, of time series, 770, 816 Randomized block ANOVA
blocking factor, 524, 559 critical range for, 537, 562 definition of, 559 description of, 502, 523–524 Excel used to perform, 530–531 formulas, 561–562 F-test statistic for, 529, 561 mean square block for, 528, 559, 561 mean square error for, 536–537, 559, 561 mean square total, 526, 559 partitioning of total sum of squares for,
526 summary of, 535 sum of squares between, 527, 559 sum of squares block, 527–528, 559, 561 sum of squares error for, 528, 559, 561
www.freebookslides.com
I n d e x 943
total sum of squares, 525, 560 Tukey-Kramer multiple comparison test
for, 536–538 Random variables
continuous, 195–196, 236 discrete, 195–196, 236
Range, 92, 134 Ratio data, 8, 17, 18-3 Ratio-to-moving-average, 800, 816, 817 Regression analysis
assumptions for, 684–687 forecasting with
autocorrelation, 789–794 description of, 783 formulas, 816–817 trend projection, 783–787
simple coefficient of determination, 668–669,
698 definition of, 660, 698 least squares method, 662, 698 partitioning the sum of squares,
666–668 slope, 663–664 y-intercept, 663–664
Regression coefficients confidence intervals for, 729–730, 758 definition of, 711, 757 identifying of, 711–714 significance test for, 726–728 standard error of, 727–728, 757 t-test statistic for, 727, 758
Regression equation multiple regression model for a population,
711, 758 multiple regression model for a sample,
710, 758 predictions made using, 663–664, 672–676 slope of, testing the significance of, 679–682
Regression intercept, 660 Regression line, 660 Regression model
F-test statistic for, 720–721, 758 making predictions using, 714–715 PHStat used to create, 712–714 purpose of, 740 testing the significance of, 728–730
Regression slope, 660 Relative frequency distributions, 25, 68 Replications, 541, 559 Resampling, 296–297, 324 Research hypothesis, 388 Residual, 660, 698, 699, 749, 757, 759, 786,
816, 817 Residual analysis, 749–753 Residual plot, 751 Right-skewed frequency distribution, 87, 134
S Sample
cluster, 295, 324 coefficient of variation, 103 convenience, 297, 324
definition of, 12, 17 nonprobability, 297, 324 probability, 294–297, 324 reasons for using, 290–291 simple random, 292–293, 324 standard deviation of, 94, 95 stratified, 295, 324 systematic, 293–294, 324 z-score, 105
Sample correlation coefficient definition, 128, 134 formula for, 128, 137
Sample covariance, definition, 127, 134 formula for, 127, 137
Sample mean critical, 417, 426 formula for, 79, 134 for grouped data, 113, 136 sample error of, 305–306, 325 z-score for, 307, 325
Sample proportion formula for, 317, 325, 355, 373, 412, 427 z-score for, 318, 325
Sample size calculation of
to estimate population mean, 359–361, 373
to estimate population proportion, 362–364, 373
PHStat for, 361–362, 364–365 confidence level and, 338 sampling distribution affected by, 311–312
Sample space definition of, 150, 184
Sample standard deviation, 94, 95, 135, 347, 373
Sample variance formula for, 93, 95, 135, 627, 644 for grouped data, 114, 136
Sampling cluster, 295, 324 nonprobability, 297, 324 probability, 291–297, 324 resampling, 296–297, 324 simple random, 292–293, 324 stratified, 295, 324 systematic, 293–294, 324 types of, 291–298
Sampling distribution for the difference in means, 439, 485 for the difference in proportions, 476, 485 of the mean, 308, 324 of mean with a finite population, 313 of the proportion
definition of, 324 description of, 318–319 with finite population, 319–320
sample size effects on, 311–312 Sampling error, 298–300, 324, 325, 389 Sampling error of sample mean, 298, 324, 325 Sampling without replacement, 292–293 Scatter plots, 61–63, 67
Seasonal components, of time series, 769, 797–807, 816
Seasonal factors, 812, 827 Seasonality
dummy variables used to represent, 808–811
forecasting with description of, 797 formulas for, 817 multiplicative decomposition, 797–807
Secondary data, 4, 17 Sign test, 18-4–18-13
definition, 18-4, 18-38 for the median (large sample),
18-9–18-11 mean (large sample), 18-9 one-tail test for median (small sample),
18-4–18-6 p-value
large sample, one-tail, 18-10 large sample, two-tail, 18-11 small sample, one-tail, 18-6 small sample, two-tail, 18-8
standard deviation (large sample), 18-9 test statistic (large sample), 18-9 to determine preferences, 18-11–18-13 two-tail test for median (small sample),
18-7–18-9 Significance level
confidence level and, 340–341 definition of, 336, 341, 372 z-score for, 342
Significance test for regression coefficients, 726–728 for regression model, 719–722
Simple event, 149, 184 Simple moving average forecast, 770–773,
816 Simple probability, 149, 184 Simple random sampling, 292–293, 324 Simple regression analysis
coefficient of determination, 668–669, 698 definition of, 660, 698 formulas, 699–700 least squares method, 662, 698 partitioning the sum of squares, 666–668 slope, 663–664 y-intercept, 663–664
Single population variance one-tail hypothesis test for, 626–629 PHStat used to test, 629–630 testing of, 626–633 two-tail hypothesis test for, 631–633
Slope manual calculation of, 663–664, 690 regression
confidence interval for, 681–682, 694, 700
formula for, 681, 700 of regression equation, testing the
significance of, 679–682, 693–694 standard error of, 680, 698, 700 trend projection, 784, 816
www.freebookslides.com
944 I n d e x
Smoothing forecasting exponential smoothing forecast, 776–778,
815, 816 exponential smoothing with trend adjust-
ment forecast, 778–781, 815, 816 simple moving average forecast, 770–773,
816 weighted moving average forecast,
774–775, 816 Spearman rank-order correlation coefficient
critical value for, 18-33 decision rules for, 18-34 definition, 18-31, 18-38 description, 18-31–18-34 formula for, 18-31–18-32
SSB. See Sum of squares between SSE. See Sum of squares error SST. See Total sum of squares SSW. See Sum of squares within Stacked bar charts, 47, 68 Standard deviation
of binomial distributions, 211–212, 237 coefficient of variation, 103, 136 continuous uniform distribution, 277, 281 definition of, 94, 134 discrete probability distribution, 198–203,
236 Excel used to calculate, 98–99 grouped data, 114–115 of hypergeometric distribution, 231, 237 mean and, 101–111, 136 population, 96–97, 135 quality control applications of, 101 sample, 94, 95, 135, 377
Standard error of the difference between population pro-
portions, 476, 487 of the difference between two means, 440,
485 of the estimate, 672–673, 698, 700 of the mean, 305–306, 313–315, 324, 325,
372 of the proportion, 318–319, 319–320, 324,
325, 373 of the regression coefficient, 727, 757 of the slope, 680, 698, 700
Standard normal distribution, 253, 280 States of nature, 17-2, 17-33 Statistics
decision making based on, 15 definition of, 2, 17, 291, 324 descriptive, 11, 17 ethics and, 14–15 inferential, 12, 17 misuse of, 14–15 technology’s role in, 23–25 uses of, 2–3
Stem and leaf display, 59–60, 67 Straight line through ordered pairs, 661 Stratified sampling, 295, 324 Student’s t-distribution
description of, 348–351, 372 p value estimation using, 406–407
Subjective probability, 152–153, 184 Sum of squares, total
calculation of, 504–506, 666–667 definition of, 504, 560, 666, 698 formula for, 505, 560, 666–667, 699, 718,
758 partitioning of, 507–508, 526, 531–532,
543, 666–668, 718, 758 Sum of squares between, 509, 559, 560 Sum of squares block, 526, 559, 561 Sum of squares error, 528, 531, 545, 559, 561,
668, 699, 718, 758 Sum of squares for factor A, 544, 559 Sum of squares for factor B, 544, 559 Sum of squares for interaction of factors A
and B, 545, 560 Sum of squares regression, 668, 698, 718, 758 Sum of squares within, 509–510, 560, 561 Survey
administering of, 5 definition of, 5, 17
Symmetrical frequency distribution, 31, 68, 86 Systematic sampling, 293–294, 324
T Table
binomial probability, 212–213 data presentation in, 22–22t normal probability, 252–256 Poisson probability, 222
t-distribution, 348–351, 372 Technology, 23–25 Time series
autocorrelation in, 789–794, 815 data, 10, 17, 65, 69 definition of, 769, 816 description of, 769–770 deseasonalized, 803–804 multiplicative decomposition of a,
797–807, 816 Total sum of squares
calculation of, 504–506, 666–667 definition of, 504, 560, 666, 698, 718 formula for, 505, 560, 666–667, 699, 718,
758 partitioning of, 507–508, 526, 531–532,
543, 666–668, 718, 758 Trend adjustment, exponential smoothing
with, 778–781, 815, 816 Trend component, of time series, 779,
815–817, 826 Trend projection
definition of, 783, 816 deseasonalized, 815–816 formula for, 784, 816–817 PHStat for, 787–789 regression analysis with, 783–789
True zero point, 8 t-test statistic
critical t-score and, 451 for hypothesis test for the difference
between two means (s 1 and s2
unknown and unequal), 456, 486
for hypothesis test for the difference between two means (s1 and s2 unknown but equal), 450, 486
for matched-pair hypothesis test for the mean, 468, 487
for regression coefficient, 727, 758 Tukey, John, 59 Tukey-Kramer multiple comparison test
for one-way ANOVA, 516–518, 560 for randomized block ANOVA, 536–537,
560 for two-way ANOVA, 551–553, 560
Two population variance Excel used to compare, 637–638 one-tail test for, 634–637 PHStat for comparing, 640–642 two-tail test for, 639–640
Two-tail hypothesis test definition of, 426 description of, 385–386 for population mean
when s is known, 396–397 when s is unknown, 407–408
p-value, 397–398, 443 for single population variance, 639–640 for two population variance, 647–648
Two-way ANOVA, 540–551, 560 cell in, 541 comparing pairs of population means,
551–553 definition of, 540, 560 description of, 503 Excel used for, 542–543 interaction plot, 549–551 interpreting the output of, 545–548 mean squares error for, 545, 562 replications in, 541, 559 summary of, 548 sum of squares error, 545 sum of squares for factor A, 543–544 sum of squares for factor B, 544 sum of squares for interaction of factors A
and B, 544–545 Tukey-Kramer multiple comparison test
for, 551–553 Type I error
definition of, 389, 426 description of, 389–390
Type II error calculating the probability of, 417–420 definition of, 389, 426 description of, 389–390
U Unbiased estimator, 100 Uniform cumulative distribution function,
275, 281 Uniform distribution, 273 Uniform probability distribution formulas,
285 Union of events, 158–159, 184 Upper-tail hypothesis test, 386, 426 U.S. Geological Survey, 5
www.freebookslides.com
I n d e x 945
V Variables
continuous random definition of, 248, 280 description of, 195–196, 236
dependent definition of, 653, 698, 710, 757 description of, 61, 67, 653 variation of, 717–724
dummy definition of, 732, 757 seasonality representation with,
808–811 independent
definition of, 653, 698, 710, 757 description of, 63, 69, 653 inferences about, 726–730 qualitative, 739–744
Variance definition of, 92, 134 discrete probability distribution, 198–203,
236 Excel used to calculate, 98–99 grouped data, 114–115 Poisson distribution, 237 pooled, 450, 485, 486 population. See Population variance sample, 93–99, 135, 627, 644
Variance inflation factor, 740–743, 757, 759 Venn diagram, 154, 157, 158, 160
W Weighted mean, 80–81, 134 Weighted moving average forecast, 774–775,
816 Wilcoxon rank-sum test, 18-14–18-20
critical values for, 18-16 decision rules for, 18-16 definition, 18-14, 18-38 large sample case, 18-17–18-20
test statistic, 18-17 small sample case, 18-15–18-17
test statistic, 18-16 Wilcoxon signed-rank test, 18-22–18-25
critical value, 18-23–18-24 decision rules for, 18-24 definition, 18-22, 18-38 test statistic, 18-23
Y y based on a value of x
confidence interval for average value of, 673–675, 700
prediction interval for specific value of, 675–676, 700
y-intercept, 660–661, 663–664, 699
Z z-score
for confidence intervals, 336, 342 definition of, 105 description of, 105–107, 134, 136 formula for, 252, 280 for sample mean, 307, 325 for sample proportion, 318, 325
z-test statistic critical z-score and, 392, 395, 397, 442 definition of, 391 for hypothesis test for population mean,
391–392, 396, 426 for hypothesis test for population
proportion, 413, 427 for hypothesis test for the difference
between two means, 441, 485 for hypothesis test for the difference
between two proportions, 478, 487
www.freebookslides.com
TABLE 3 | Cumulative Probabilities for the Standard Normal Distribution
z 0
Cumulative probability
Table entries represent the shaded area in the figure
FIRST DIGIT OF Z SECOND DIGIT OF Z
z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
- 3.7 and lower 0.0001
- 3.6 0.0002 0.0002 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001 0.0001
- 3.5 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002 0.0002
- 3.4 0.0003 0.0003 0.0003 0.0003 0.0003 0.0003 0.0003 0.0003 0.0003 0.0002
- 3.3 0.0005 0.0005 0.0005 0.0004 0.0004 0.0004 0.0004 0.0004 0.0004 0.0003
- 3.2 0.0007 0.0007 0.0006 0.0006 0.0006 0.0006 0.0006 0.0005 0.0005 0.0005
- 3.1 0.0010 0.0009 0.0009 0.0009 0.0008 0.0008 0.0008 0.0008 0.0007 0.0007
- 3.0 0.0013 0.0013 0.0013 0.0012 0.0012 0.0011 0.0011 0.0011 0.0010 0.0010
- 2.9 0.0019 0.0018 0.0018 0.0017 0.0016 0.0016 0.0015 0.0015 0.0014 0.0014
- 2.8 0.0026 0.0025 0.0024 0.0023 0.0023 0.0022 0.0021 0.0021 0.0020 0.0019
- 2.7 0.0035 0.0034 0.0033 0.0032 0.0031 0.0030 0.0029 0.0028 0.0027 0.0026
- 2.6 0.0047 0.0045 0.0044 0.0043 0.0041 0.0040 0.0039 0.0038 0.0037 0.0036
- 2.5 0.0062 0.0060 0.0059 0.0057 0.0055 0.0054 0.0052 0.0051 0.0049 0.0048
- 2.4 0.0082 0.0080 0.0078 0.0075 0.0073 0.0071 0.0069 0.0068 0.0066 0.0064
- 2.3 0.0107 0.0104 0.0102 0.0099 0.0096 0.0094 0.0091 0.0089 0.0087 0.0084
- 2.2 0.0139 0.0136 0.0132 0.0129 0.0125 0.0122 0.0119 0.0116 0.0113 0.0110
- 2.1 0.0179 0.0174 0.0170 0.0166 0.0162 0.0158 0.0154 0.0150 0.0146 0.0143
- 2.0 0.0228 0.0222 0.0217 0.0212 0.0207 0.0202 0.0197 0.0192 0.0188 0.0183
- 1.9 0.0287 0.0281 0.0274 0.0268 0.0262 0.0256 0.0250 0.0244 0.0239 0.0233
- 1.8 0.0359 0.0351 0.0344 0.0336 0.0329 0.0322 0.0314 0.0307 0.0301 0.0294
- 1.7 0.0446 0.0436 0.0427 0.0418 0.0409 0.0401 0.0392 0.0384 0.0375 0.0367
- 1.6 0.0548 0.0537 0.0526 0.0516 0.0505 0.0495 0.0485 0.0475 0.0465 0.0455
- 1.5 0.0668 0.0655 0.0643 0.0630 0.0618 0.0606 0.0594 0.0582 0.0571 0.0559
- 1.4 0.0808 0.0793 0.0778 0.0764 0.0749 0.0735 0.0721 0.0708 0.0694 0.0681
- 1.3 0.0968 0.0951 0.0934 0.0918 0.0901 0.0885 0.0869 0.0853 0.0838 0.0823
- 1.2 0.1151 0.1131 0.1112 0.1093 0.1075 0.1056 0.1038 0.1020 0.1003 0.0985
- 1.1 0.1357 0.1335 0.1314 0.1292 0.1271 0.1251 0.1230 0.1210 0.1190 0.1170
- 1.0 0.1587 0.1562 0.1539 0.1515 0.1492 0.1469 0.1446 0.1423 0.1401 0.1379
- 0.9 0.1841 0.1814 0.1788 0.1762 0.1736 0.1711 0.1685 0.1660 0.1635 0.1611
- 0.8 0.2119 0.2090 0.2061 0.2033 0.2005 0.1977 0.1949 0.1922 0.1894 0.1867
- 0.7 0.2420 0.2389 0.2358 0.2327 0.2296 0.2266 0.2236 0.2206 0.2177 0.2148
- 0.6 0.2743 0.2709 0.2676 0.2643 0.2611 0.2578 0.2546 0.2514 0.2483 0.2451
- 0.5 0.3085 0.3050 0.3015 0.2981 0.2946 0.2912 0.2877 0.2843 0.2810 0.2776
- 0.4 0.3446 0.3409 0.3372 0.3336 0.3300 0.3264 0.3228 0.3192 0.3156 0.3121
- 0.3 0.3821 0.3783 0.3745 0.3707 0.3669 0.3632 0.3594 0.3557 0.3520 0.3483
- 0.2 0.4207 0.4168 0.4129 0.4090 0.4052 0.4013 0.3974 0.3936 0.3897 0.3859
- 0.1 0.4602 0.4562 0.4522 0.4483 0.4443 0.4404 0.4364 0.4325 0.4286 0.4247
- 0.0 0.5000 0.4960 0.4920 0.4880 0.4840 0.4801 0.4761 0.4721 0.4681 0.4641
www.freebookslides.com
TABLE 4 | Cumulative Probabilities for the Standard Normal Distribution
z0
Cumulative probability
Table entries represent the shaded area in the figure
FIRST DIGIT OF Z SECOND DIGIT OF Z
z 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
0.0 0.5000 0.5040 0.5080 0.5120 0.5160 0.5199 0.5239 0.5279 0.5319 0.5359
0.1 0.5398 0.5438 0.5478 0.5517 0.5557 0.5596 0.5636 0.5675 0.5714 0.5753
0.2 0.5793 0.5832 0.5871 0.5910 0.5948 0.5987 0.6026 0.6064 0.6103 0.6141
0.3 0.6179 0.6217 0.6255 0.6293 0.6331 0.6368 0.6406 0.6443 0.6480 0.6517
0.4 0.6554 0.6591 0.6628 0.6664 0.6700 0.6736 0.6772 0.6808 0.6844 0.6879
0.5 0.6915 0.6950 0.6985 0.7019 0.7054 0.7088 0.7123 0.7157 0.7190 0.7224
0.6 0.7257 0.7291 0.7324 0.7357 0.7389 0.7422 0.7454 0.7486 0.7517 0.7549
0.7 0.7580 0.7611 0.7642 0.7673 0.7704 0.7734 0.7764 0.7794 0.7823 0.7852
0.8 0.7881 0.7910 0.7939 0.7967 0.7995 0.8023 0.8051 0.8078 0.8106 0.8133
0.9 0.8159 0.8186 0.8212 0.8238 0.8264 0.8289 0.8315 0.8340 0.8365 0.8389
1.0 0.8413 0.8438 0.8461 0.8485 0.8508 0.8531 0.8554 0.8577 0.8599 0.8621
1.1 0.8643 0.8665 0.8686 0.8708 0.8729 0.8749 0.8770 0.8790 0.8810 0.8830
1.2 0.8849 0.8869 0.8888 0.8907 0.8925 0.8944 0.8962 0.8980 0.8997 0.9015
1.3 0.9032 0.9049 0.9066 0.9082 0.9099 0.9115 0.9131 0.9147 0.9162 0.9177
1.4 0.9192 0.9207 0.9222 0.9236 0.9251 0.9265 0.9279 0.9292 0.9306 0.9319
1.5 0.9332 0.9345 0.9357 0.9370 0.9382 0.9394 0.9406 0.9418 0.9429 0.9441
1.6 0.9452 0.9463 0.9474 0.9484 0.9495 0.9505 0.9515 0.9525 0.9535 0.9545
1.7 0.9554 0.9564 0.9573 0.9582 0.9591 0.9599 0.9608 0.9616 0.9625 0.9633
1.8 0.9641 0.9649 0.9656 0.9664 0.9671 0.9678 0.9686 0.9693 0.9699 0.9706
1.9 0.9713 0.9719 0.9726 0.9732 0.9738 0.9744 0.9750 0.9756 0.9761 0.9767
2.0 0.9772 0.9778 0.9783 0.9788 0.9793 0.9798 0.9803 0.9808 0.9812 0.9817
2.1 0.9821 0.9826 0.9830 0.9834 0.9838 0.9842 0.9846 0.9850 0.9854 0.9857
2.2 0.9861 0.9864 0.9868 0.9871 0.9875 0.9878 0.9881 0.9884 0.9887 0.9890
2.3 0.9893 0.9896 0.9898 0.9901 0.9904 0.9906 0.9909 0.9911 0.9913 0.9916
2.4 0.9918 0.9920 0.9922 0.9925 0.9927 0.9929 0.9931 0.9932 0.9934 0.9936
2.5 0.9938 0.9940 0.9941 0.9943 0.9945 0.9946 0.9948 0.9949 0.9951 0.9952
2.6 0.9953 0.9955 0.9956 0.9957 0.9959 0.9960 0.9961 0.9962 0.9963 0.9964
2.7 0.9965 0.9966 0.9967 0.9968 0.9969 0.9970 0.9971 0.9972 0.9973 0.9974
2.8 0.9974 0.9975 0.9976 0.9977 0.9977 0.9978 0.9979 0.9979 0.9980 0.9981
2.9 0.9981 0.9982 0.9982 0.9983 0.9984 0.9984 0.9985 0.9985 0.9986 0.9986
3.0 0.9987 0.9987 0.9987 0.9988 0.9988 0.9989 0.9989 0.9989 0.9990 0.9990
3.1 0.9990 0.9991 0.9991 0.9991 0.9992 0.9992 0.9992 0.9992 0.9993 0.9993
3.2 0.9993 0.9993 0.9994 0.9994 0.9994 0.9994 0.9994 0.9995 0.9995 0.9995
3.3 0.9995 0.9995 0.9995 0.9996 0.9996 0.9996 0.9996 0.9996 0.9996 0.9997
3.4 0.9997 0.9997 0.9997 0.9997 0.9997 0.9997 0.9997 0.9997 0.9997 0.9998
3.5 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998 0.9998
3.6 0.9998 0.9998 0.9999 0.9999 0.9999 0.9999 0.9999 0.9999 0.9999 0.9999
3.7 and higher 0.9999
www.freebookslides.com
TABLE 5 | Student’s t-distribution
0.90
0.050.05
0
df = 11
ta/2 = 1.796–ta/2 = –1.796
1 Tail 0.200 0.100 0.050 0.025 0.010 0.005
2 Tail 0.400 0.200 0.100 0.050 0.020 0.010
Conf Lev 0.600 0.800 0.900 0.950 0.980 0.990
df
1 1.376 3.078 6.314 12.706 31.821 63.657
2 1.061 1.886 2.920 4.303 6.965 9.925
3 0.978 1.638 2.353 3.182 4.541 5.841
4 0.941 1.533 2.132 2.776 3.747 4.604
5 0.920 1.476 2.015 2.571 3.365 4.032
6 0.906 1.440 1.943 2.447 3.143 3.707
7 0.896 1.415 1.895 2.365 2.998 3.499
8 0.889 1.397 1.860 2.306 2.896 3.355
9 0.883 1.383 1.833 2.262 2.821 3.250
10 0.879 1.372 1.812 2.228 2.764 3.169
11 0.876 1.363 1.796 2.201 2.718 3.106
12 0.873 1.356 1.782 2.179 2.681 3.055
13 0.870 1.350 1.771 2.160 2.650 3.012
14 0.868 1.345 1.761 2.145 2.624 2.977
15 0.866 1.341 1.753 2.131 2.602 2.947
16 0.865 1.337 1.746 2.120 2.583 2.921
17 0.863 1.333 1.740 2.110 2.567 2.898
18 0.862 1.330 1.734 2.101 2.552 2.878
19 0.861 1.328 1.729 2.093 2.539 2.861
20 0.860 1.325 1.725 2.086 2.528 2.845
21 0.859 1.323 1.721 2.080 2.518 2.831
22 0.858 1.321 1.717 2.074 2.508 2.819
23 0.858 1.319 1.714 2.069 2.500 2.807
24 0.857 1.318 1.711 2.064 2.492 2.797
25 0.856 1.316 1.708 2.060 2.485 2.787
26 0.856 1.315 1.706 2.056 2.479 2.779
27 0.855 1.314 1.703 2.052 2.473 2.771
28 0.855 1.313 1.701 2.048 2.467 2.763
29 0.854 1.311 1.699 2.045 2.462 2.756
30 0.854 1.310 1.697 2.042 2.457 2.750
This table provides values for tA (one– tail test) and tA,2 (two–tail test) that correspond to a given value of A and
df. For example, for a two-tail test with A = 0.10 and df = 11, tA,2 = 1.796.
www.freebookslides.com
- Cover
- Title Page
- Copyright Page
- ABOUT THE Author
- Supplements
- Table of Contents
- Preface
- Acknowledgments
- Dear Students
- Index of Applications
- A
- B
- C
- D
- E
- F
- G
- H
- L
- M
- P
- S
- T
- 1 An Introduction to Business Statistics
- 1.1 Business Statistics and Their Uses
- 1.2 Data
- 1.3 Descriptive and Inferential Statistics
- 1.4 Ethics and Statistics—It’s a Dangerous World of Data Out There
- Summary
- Key Terms
- Problems
- Solutions to YOUR TURN
- 2 Displaying Descriptive Statistics
- 2.1 The Role Technology Plays in Statistics
- 2.2 Displaying Quantitative Data
- 2.3 Displaying Qualitative Data
- 2.4 Contingency Tables
- 2.5 Stem and Leaf Display
- 2.6 Scatter Plots
- Summary
- Key Terms
- Problems
- Solutions to YOUR TURN
- 3 Calculating Descriptive Statistics
- 3.1 Measures of Central Tendency
- 3.2 Measures of Variability
- 3.3 Using the Mean and Standard Deviation Together
- 3.4 Working with Grouped Data
- 3.5 Measures of Relative Position
- 3.6 Measures of Association Between Two Variables
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 4 Introduction to Probabilities
- 4.1 An Introduction to Probabilities
- 4.2 Probability Rules for More Than One Event
- 4.3 Counting Principles
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 5 Discrete Probability Distributions
- 5.1 Introduction to Discrete Probability Distributions
- 5.2 Binomial Distributions
- 5.3 Poisson Distributions
- 5.4 The Hypergeometric Distribution
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 6 Continuous Probability Distributions
- 6.1 Continuous Random Variables
- 6.2 Normal Probability Distributions
- 6.3 Exponential Probability Distributions
- 6.4 Uniform Probability Distributions
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 7 Sampling and Sampling Distributions
- 7.1 Why Sample?
- 7.2 Types of Sampling
- 7.3 Sampling and Nonsampling Errors
- 7.4 The Central Limit Theorem
- 7.5 The Sampling Distribution of the Proportion
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 8 Confidence Intervals
- 8.1 Point Estimates
- 8.2 Calculating Confidence Intervals for the Mean when the Standard Deviation (σ) of a Population Is Known
- 8.3 Calculating Confidence Intervals for the Mean when the Standard Deviation (σ) of a Population Is Unknown
- 8.4 Calculating Confidence Intervals for Proportions
- 8.5 Determining the Sample Size
- 8.6 Calculating Confidence Intervals for Finite Populations
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 9 Hypothesis Testing for a Single Population
- 9.1 An Introduction to Hypothesis Testing
- 9.2 Hypothesis Testing for the Population Mean When σ Is Known
- 9.3 Hypothesis Testing for the Population Mean when σ Is Unknown
- 9.4 Hypothesis Testing for the Proportion of a Population
- 9.5 Type II Errors
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 10 Hypothesis Tests Comparing Two Populations
- 10.1 Comparing Two Population Means with
- Independent Samples
- Known Population Standard Deviations (σ[sub(1)] and ((σ[sub(2)])
- 10.2 Comparing Two Population Means with
- Independent Samples
- Unknown Population Standard Deviations ((σ[sub(1)] and (σ[sub(2)])
- 10.3 Hypothesis Testing With Dependent Samples
- 10.4 Comparing Two Population Proportions with Independent Samples
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 11 Analysis of Variance (ANOVA) Procedures
- 11.1 One-Way ANOVA: Examining the Effect a Single Factor Has on theEffect a Single Factor Has on the Means of Populations
- 11.2 Randomized Block ANOVA: Examining the Effects of a Single Factor by Blocking a Second Factor
- 11.3 Two-Way ANOVA: Examining the Effects Two Factors Have on the Means of Populations
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 12 Chi-Square Tests
- 12.1 Comparing Two or More Population Proportions
- 12.2 Determining If Observed Frequencies Follow a Known Probability Distribution
- 12.3 Testing the Independence of Two Variables
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 13 Hypothesis Tests for the Population Variance
- 13.1 Testing the Variance of a Single Population
- 13.2 Comparing the Variances of Two Populations
- Summary
- Equations
- Problems
- Solutions to YOUR TURN
- 14 Correlation and Simple Linear Regression
- 14.1 Dependent and Independent Variables
- 14.2 Correlation Analysis
- 14.3 Simple Linear Regression Analysis
- 14.4 Using a Regression to Make a Prediction
- 14.5 Testing the Significance of the Slope of the Regression Equation
- 14.6 Assumptions for Regression Analysis
- 14.7 A Simple Regression Example with a Negative Correlation
- 14.8 Some Final (but Very Important) Thoughts
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 15 Multiple Regression and Model Building
- 15.1 Developing the Multiple Regression Model
- 15.2 Explaining the Variation of the Dependent Variable
- 15.3 Inferences about the Independent Variables
- 15.4 Using Qualitative Independent Variables
- 15.5 Model Building
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 16 Forecasting
- 16.1 Introduction to Forecasting
- 16.2 Smoothing Forecasting Methods
- 16.3 Forecasting with Regression Analysis
- 16.4 Forecasting with Seasonality
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 17 Decision Analysis (online)
- 17.1 Introduction to Decision Analysis
- 17.2 Constructing a Decision Table
- 17.3 Decision Making Under Uncertainty
- 17.4 Decision Making Under Risk
- 17.5 Decision Making Using Decision Trees
- 17.6 Using Bayes’ Theorem to Calculate Posterior Probabilities
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- 18 Nonparametric Statistics (online)
- 18.1 Introduction to Nonparametric Statistics
- 18.2 The Sign Test
- 18.3 The Wilcoxon Rank-Sum Test for Two Independent Samples
- 18.4 The Wilcoxon Signed-Rank Test for Two Dependent Samples
- 18.5 The Kruskal-Wallis One-Way ANOVA
- 18.6 The Spearman Rank-Order Correlation Coefficient
- Appendix C: Tables for Chapter
- Summary
- Key Terms
- Equations
- Problems
- Solutions to YOUR TURN
- Appendix A
- Table 1 Binomial Probabilities
- Table 2 Poisson Probabilities
- Table 3 Cumulative Probabilities for the Standard Normal Distribution
- Table 4 Cumulative Probabilities for the Standard Normal Distribution
- Table 5 Student’s t-distribution
- Table 6 F-distribution
- Table 7 Critical Values of the Studentized Range, Q
- Table 8 Chi–Square Distribution
- Table 9 Critical Values for the Durbin-Watson Statistic
- Appendix B: Answers to Selected Even-Numbered Problems
- Credits
- Index
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- Y
- Z