and (2) hypothesis testing.

Slides:



Advertisements
Similar presentations
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Advertisements

1 1 Slide STATISTICS FOR BUSINESS AND ECONOMICS Seventh Edition AndersonSweeneyWilliams Slides Prepared by John Loucks © 1999 ITP/South-Western College.
Chapter 10 Section 2 Hypothesis Tests for a Population Mean
Inferential Statistics & Hypothesis Testing
QM Spring 2002 Business Statistics Introduction to Inference: Hypothesis Testing.
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
Chapter 9 Hypothesis Testing.
BCOR 1020 Business Statistics Lecture 20 – April 3, 2008.
BCOR 1020 Business Statistics
Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
Chapter 5For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 Suppose we wish to know whether children who grow up in homes without access to.
AM Recitation 2/10/11.
Confidence Intervals and Hypothesis Testing
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
Chapter 9 Section 2 Testing the Difference Between Two Means: t Test 1.
The Practice of Statistics Third Edition Chapter 10: Estimating with Confidence Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Dan Piett STAT West Virginia University Lecture 10.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 8 Hypothesis Testing.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Overview.
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Inferences from sample data Confidence Intervals Hypothesis Testing Regression Model.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
1 Definitions In statistics, a hypothesis is a claim or statement about a property of a population. A hypothesis test is a standard procedure for testing.
A.P. STATISTICS EXAM REVIEW TOPIC #2 Tests of Significance and Confidence Intervals for Means and Proportions Chapters
4-1 Statistical Inference Statistical inference is to make decisions or draw conclusions about a population using the information contained in a sample.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Tutorial 11: Hypothesis Testing
Chapter 10 Hypothesis Testing 1.
Chapter 9 Hypothesis Testing.
Chapter 5 STATISTICAL INFERENCE: ESTIMATION AND HYPOTHESES TESTING
Normal Distribution and Parameter Estimation
Assumptions For testing a claim about the mean of a single population
Chapter 5: Introduction to Statistical Inference
Unit 5: Hypothesis Testing
P-values.
Review and Preview and Basics of Hypothesis Testing
Inference and Tests of Hypotheses
CHAPTER 9 Testing a Claim
Business Statistics Topic 7
Hypothesis Testing and Confidence Intervals (Part 1): Using the Standard Normal Lecture 8 Justin Kern October 10 and 12, 2017.
CHAPTER 9 Testing a Claim
Hypothesis Testing: Hypotheses
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing.
Testing Hypotheses about Proportions
CHAPTER 9 Testing a Claim
Problems: Q&A chapter 6, problems Chapter 6:
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Chapter 4 One-Group t-Test for the Mean
Daniela Stan Raicu School of CTI, DePaul University
Statistical Inference about Regression
Significance Tests: The Basics
Interval Estimation and Hypothesis Testing
Virtual University of Pakistan
Lecture 5 Introduction to Hypothesis tests
CHAPTER 9 Testing a Claim
Testing Hypotheses about a Population Proportion
Chapter 8 Hypothesis Tests
Intro to Confidence Intervals Introduction to Inference
CHAPTER 9 Testing a Claim
Ch 11 實習 (2).
Last Update 12th May 2011 SESSION 41 & 42 Hypothesis Testing.
Chapter 9: Significance Testing
Section 11.1: Significance Tests: Basics
Statistical Test A test of significance is a formal procedure for comparing observed data with a claim (also called a hypothesis) whose truth we want to.
Testing Hypotheses about a Population Proportion
Presentation transcript:

and (2) hypothesis testing. Chapter 3 Confidence Interval About the Mean Using the TINV Function and Hypothesis Testing Chapter focuses: (1) finding the 95 % confidence interval about the mean, and (2) hypothesis testing.

3.1 Confidence Interval About the Mean In statistics, we are always interested in estimating the population mean. However, measuring the entire population may be impossible or non-economical. Hence, we take a sample in the population and use the sample mean to estimate the population mean.

Inferential statistics (推論統計) To infer the population mean from a sample mean is called “inferential statistics”

3.1.1 How to Estimate the Population Mean Take a sample: n = the size of the sample X_bar = the mean of our sample, STDEV = the standard deviation of the sample estimate the “confidence interval about the population mean”

“We are 95 % confident that the population mean in miles per gallon (mpg) for the Chevy Impala automobile is between 26.92 miles per gallon and 29.42 miles per gallon.” Chevy Impala Impala: 黑斑羚(產於非洲中南部)

3.1.2 Estimating the Lower Limit and the Upper Limit of the 95% Confidence Interval About the Mean [ (X_bar - 1.96 s.e.) , (X_bar + 1.96 s.e.) ] , where X_bar = sample mean, and s.e. = STDEV/sqrt(n). We are 95 % confident that the population mean is inside this interval. In other word, 5 % of the time we will be wrong in assuming that.

3.1.3 Estimating the Confidence Interval for the Chevy Impala in Miles Per Gallon Example: Let’s suppose that you have been asked to be a part of a larger study looking at the carbon footprint of Chevy Impala drivers. You are interested in the average miles per gallon (mpg) of a Chevy Impala. You asked owners of the Chevy Impala to keep track of their mileage and the number of gallons used for two tanks of gas. Let’s suppose that 49 owners did this, and that they average 27.83 miles per gallon (mpg) with a standard deviation of 3.01 mpg. Please estimate the 95% confidence interval for the Chevy Impala in miles per gallon. Sol: The standard error (s.e.) would be 3.01 divided by the square root of 49 (i.e., 7), which gives a s.e. equal to 0.43. The 95 % confidence interval for these data would be: 2.83  1.96  0.43 mpg The upper limit would be: 27.83 + 1.96  0.43 = 27.83 + 0.84 = 28.67 mpg The lower limit would be: 27.83  1.96  0.43 = 27.83  0.84 = 26.99 mpg “We are 95 % confident that the population mean for the Chevy Impala is somewhere between 26.99 mpg and 28.67 mpg.”

3.1.4 Where Did the Number “1.96” Come From? Assumption: that the data in the population are “normally distributed” The 95 % confidence interval about the mean = [ (X_bar - 1.96 s.e.) , (X_bar + 1.96 s.e.) ] , where X_bar = sample mean, and s.e. = STDEV/sqrt(n). 1. If we wanted to be 80 % confident of our results, this number would be 1.282. 2. If we wanted to be 90 % confident of our results, this number would be 1.645. 3. If we wanted to be 95 % confident of our results, this number would be 1.960. 4. If we wanted to be 99 % confident of our results, this number would be 2.576. Note: These numbers are for an n that is large enough. For a smaller n, the numbers will be different.

EXCEL usage: Function for finding the number 1.96 NORM.INV function Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. Syntax NORM.INV(probability,mean,standard_dev) Aarguments: Probability     Required. A probability corresponding to the normal distribution. Mean     Required. The arithmetic mean of the distribution. Standard_dev     Required. The standard deviation of the distribution.

EXCEL usage: Function for finding the number 1.96 NORM.INV function Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation. Syntax NORM.INV(probability,mean,standard_dev) Aarguments: Probability     Required. A probability corresponding to the normal distribution. Mean     Required. The arithmetic mean of the distribution. Standard_dev     Required. The standard deviation of the distribution.

EXCEL usage: Finding pdf of normal distribution pdf: probability density function NORM.DIST function Returns the normal distribution for the specified mean and standard deviation. This function has a very wide range of applications in statistics, including hypothesis testing. Syntax NORM.DIST(x,mean,standard_dev,cumulative) Arguments: X     Required. The value for which you want the distribution. Mean     Required. The arithmetic mean of the distribution. Standard_dev     Required. The standard deviation of the distribution. Cumulative     Required. A logical value that determines the form of the function. If cumulative is TRUE, NORM.DIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.

3.1.5 Finding the Value for t in the Confidence Interval Formula The correct formula for the confidence interval about the mean for different sample sizes: The 95 % confidence interval about the mean = [ (X_bar - t s.e.) , (X_bar + t s.e.) ] , where X_bar = sample mean, and s.e. = STDEV/sqrt(n). t = ? (1) t for 95% confidence level can be find from the “critical t column” on the t-table in Appendix E. (For n = 10, …, 40, and infinity) (2) Use EXCEL’s TINV function, see Section 3.1.6. (For any n)

3.1.6 Using Excel’s TINV Function to Find the Confidence Interval About the Mean [ (X_bar - TINV(1 – 95%, n – 1) × s.e.) , (X_bar + TINV(1 – 95%, n – 1) × s.e.) ] , where X_bar = sample mean, and s.e. = STDEV/sqrt(n).

3.1.7 Using Excel to Find the 95% Confidence Interval for a Car’s mpg Claim

EXCEL usage: Number format

3.2 Hypothesis Testing Examples of hypothesis: 1)“If we use this new method fertilizing the soil, the corn yield of the plot will increase by 3 percent.” 2) “If we use this new method of teaching science to ninth graders, then our science achievement scores will go up by 5 percent.” 3) “If we change the format for teaching Introductory Biology to our undergraduates, then their final exam scores will increase by 8 percent.”

3.2.1 Hypotheses Always Refer to the Population of People, Plants, or Animals That You Are Studying Our hypotheses always refer to the population. i. e., we make a hypotheses on some parameters of the population. In testing our hypotheses, we are trying to decide which one of two competing hypotheses about the population mean we should accept given our data set.

3.2.2 The Null Hypothesis and the Research (Alternative) Hypothesis (1) The null hypothesis is what we accept as true unless we have compelling evidence that it is not true. (2) The research hypothesis (alternative hypothesis) is what we accept as true whenever we reject the null hypothesis as true. Hypothesis testing: to decide which one of these two hypotheses you will accept as true, and which one you will reject as true

3.2.2.1 Determining the Null Hypothesis and the Research Hypothesis When Rating Scales Are Used 5-point rating scale Null hypothesis: µ = 3 Alternative hypothesis: µ ≠ 3 H0: µ = 3 H1: µ ≠ 3 7-point rating scale Null hypothesis: µ = 4 Alternative hypothesis: µ ≠ 4 10-point rating scale Null hypothesis: µ = 5.5 Alternative hypothesis: µ ≠ 5.5

3.2.3 The 7 Steps for Hypothesis-Testing Using the Confidence Interval About the Mean 3.2.3.1 STEP 1: State the Null Hypothesis and the Research Hypothesis Null hypothesis H0: μ= 4 Research hypothesis H1: μ ≠ 4 3.2.3.2 STEP 2: Select the Appropriate Statistical Test 3.2.3.3 STEP 3: Calculate the Formula for the Statistical Test You will recall (see Section 3.1.5) that the formula for the confidence interval about the mean is X-bar  t  s.e. We discussed the procedure for computing this formula for the confidence interval about the mean using Excel earlier in this chapter, and the steps involved in using that formula are: 1. Use Excel’s COUNT function to find the sample size. 2. Use Excel’s AVERAGE function to find the sample mean, X. 3. Use Excel’s STDEV function to find the standard deviation, STDEV. 4. Find the standard error of the mean (s.e.) by dividing the standard deviation (STDEV) by the square root of the sample size, n. 5. Use Excel’s TINV function to find the lower limit of the confidence interval. 6. Use Excel’s TINV function to find the upper limit of the confidence interval.

3.2.3.4 STEP 4: Draw a Picture of the Confidence Interval about the Mean , Including the Mean, the Lower Limit of the Interval, the Upper Limit of the Interval, and the Reference Value given in the Null Hypothesis, H0 . 3.2.3.5 STEP 5: Decide on a Decision Rule (a) If the reference value is inside the confidence interval, accept the null hypothesis, H0 (b) If the reference value is outside the confidence interval, reject the null hypothesis, H0, and accept the research hypothesis, H1 3.2.3.6 STEP 6: State the Result of your Statistical Test There are two possible results when you use the confidence interval about the mean, and only one of them can be accepted as “true.” So your result would be one of the following: Either: Since the reference value is inside the confidence interval, we accept the null hypothesis, H0 Or: Since the reference value is outside the confidence interval, we reject the null hypothesis, H0, and accept the research hypothesis, H1 3.2.3.7 STEP 7: State the Conclusion of your Statistical Test in Plain English!

3.3 Alternative Ways to Summarize the Result of a Hypothesis Test There are many other ways to summarize the result of an hypothesis test , and all of them are correct theoretically , even though the terminology differs.

3.3.1 Different Ways to Accept the Null Hypothesis The following quotes are typical of the language used in statistics and research books when the null hypothesis is accepted: “The null hypothesis is not rejected.” (Black 2010, p. 310) “The null hypothesis cannot be rejected.” (McDaniel and Gates 2010, p. 545) “The null hypothesis . . . claims that there is no difference between groups.” (Salkind 2010, p. 193) “The difference is not statistically significant.” (McDaniel and Gates 2010, p. 545) “. . . the obtained value is not extreme enough for us to say that the difference between Groups 1 and 2 occurred by anything other than chance.” (Salkind 2010, p. 225) “If we do not reject the null hypothesis, we conclude that there is not enough statistical evidence to infer that the alternative (hypothesis) is true.” (Keller 2009, p. 358) “The research hypothesis is not supported.” (Zikmund and Babin 2010, p. 552)

3.3.2 Different Ways to Reject the Null Hypothesis The following quotes are typical of the quotes used in statistics and research books when the null hypothesis is rejected: “The null hypothesis is rejected.” (McDaniel and Gates 2010, p. 546) “If we reject the null hypothesis, we conclude that there is enough statistical evidence to infer that the alternative hypothesis is true.” (Keller 2009, p. 358) “If the test statistic’s value is inconsistent with the null hypothesis, we reject the null hypothesis and infer that the alternative hypothesis is true.” (Keller 2009, p. 348) “Because the observed value . . . is greater than the critical value . . ., the decision is to reject the null hypothesis.” (Black 2010, p. 359) “If the obtained value is more extreme than the critical value, the null hypothesis cannot be accepted.” (Salkind 2010, p. 243)