1 T-test for the Mean of a Population: Unknown population standard deviation Here we will focus on two methods of hypothesis testing: the critical value.

Slides:



Advertisements
Similar presentations
1 T-test for the Mean of a Population: Unknown population standard deviation Here we will focus on two methods of hypothesis testing: the critical value.
Advertisements

Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Hypothesis: It is an assumption of population parameter ( mean, proportion, variance) There are two types of hypothesis : 1) Simple hypothesis :A statistical.
Hypothesis Testing A hypothesis is a claim or statement about a property of a population (in our case, about the mean or a proportion of the population)
1 One Tailed Tests Here we study the hypothesis test for the mean of a population when the alternative hypothesis is an inequality.
1 1 Slide Hypothesis Testing Chapter 9 BA Slide Hypothesis Testing The null hypothesis, denoted by H 0, is a tentative assumption about a population.
Significance Testing Chapter 13 Victor Katch Kinesiology.
1 Matched Samples The paired t test. 2 Sometimes in a statistical setting we will have information about the same person at different points in time.
1 Test for the Population Proportion. 2 When we have a qualitative variable in the population we might like to know about the population proportion of.
1 Analysis of Variance This technique is designed to test the null hypothesis that three or more group means are equal.
1 Difference Between the Means of Two Populations.
1 More Regression Information. 2 3 On the previous slide I have an Excel regression output. The example is the pizza sales we saw before. The first thing.
An Inference Procedure
Hypothesis Testing: Type II Error and Power.
1 Hypothesis Testing In this section I want to review a few things and then introduce hypothesis testing.
More Simple Linear Regression 1. Variation 2 Remember to calculate the standard deviation of a variable we take each value and subtract off the mean and.
Chapter 8 Introduction to Hypothesis Testing
1 Matched Samples The paired t test. 2 Sometimes in a statistical setting we will have information about the same person at different points in time.
1 Confidence Interval for Population Mean The case when the population standard deviation is unknown (the more common case).
Section 7-2 Hypothesis Testing for the Mean (n  30)
Section 7-3 Hypothesis Testing for the Mean (Small Samples) Objective: SWBAT How to find critical values in a t- distribution. How to use the t-test to.
Hypothesis Testing with One Sample
An Inference Procedure
P-value Method 2 means, sigmas unknown. Sodium levels are measured in millimoles per liter (mmol/L) and a score between 136 and 145 is considered normal.
P-value method 1 mean, σ unknown. A student claims that the average statistics textbook has fewer than 650 pages. In a sample of 52 statistics texts,
P-value Method 2 proportions. A resident of a small housing complex has a pet monkey who likes to sit out on the porch and smoke cigarettes. Some of the.
Traditional Method One mean, sigma known. The Problem In 2004, the average monthly Social Security benefit for retired workers was $ with a standard.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 9 Hypothesis Testing.
Overview Definition Hypothesis
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
Sections 8-1 and 8-2 Review and Preview and Basics of Hypothesis Testing.
Fundamentals of Hypothesis Testing: One-Sample Tests
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Hypothesis Testing (Statistical Significance). Hypothesis Testing Goal: Make statement(s) regarding unknown population parameter values based on sample.
Means Tests Hypothesis Testing Assumptions Testing (Normality)
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Section 7.3 Hypothesis Testing for the Mean (  Unknown).
Section 9-4 Hypothesis Testing Means. This formula is used when the population standard deviation is known. Once you have the test statistic, the process.
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
1 Power and Sample Size in Testing One Mean. 2 Type I & Type II Error Type I Error: reject the null hypothesis when it is true. The probability of a Type.
Hypothesis Testing with One Sample Chapter 7. § 7.3 Hypothesis Testing for the Mean (Small Samples)
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
1 Lecture note 4 Hypothesis Testing Significant Difference ©
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.
1 Chapter 9 Hypothesis Testing. 2 Chapter Outline  Developing Null and Alternative Hypothesis  Type I and Type II Errors  Population Mean: Known 
Hypothesis Testing for the Mean (Small Samples)
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall 9-1 σ σ.
Unit 8 Section 8-3 – Day : P-Value Method for Hypothesis Testing  Instead of giving an α value, some statistical situations might alternatively.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Aim: How do we use a t-test?
Welcome to MM570 Psychological Statistics
© Copyright McGraw-Hill 2004
Formulating the Hypothesis null hypothesis 4 The null hypothesis is a statement about the population value that will be tested. null hypothesis 4 The null.
Aim: What is the P-value method for hypothesis testing? Quiz Friday.
1 Section 8.2 Basics of Hypothesis Testing Objective For a population parameter (p, µ, σ) we wish to test whether a predicted value is close to the actual.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
Hypothesis Testing Steps for the Rejection Region Method State H 1 and State H 0 State the Test Statistic and its sampling distribution (normal or t) Determine.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Welcome to MM570 Psychological Statistics Unit 5 Introduction to Hypothesis Testing Dr. Ami M. Gates.
Copyright © 2009 Pearson Education, Inc t LEARNING GOAL Understand when it is appropriate to use the Student t distribution rather than the normal.
Section 7.3 Hypothesis Testing for the Mean (Small Samples) © 2012 Pearson Education, Inc. All rights reserved. 1 of 15.
Hypothesis Testing: Preliminaries
Business Statistics Topic 7
Hypothesis Testing: Hypotheses
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Test Review: Ch. 7-9
Chapter 9: Hypothesis Testing
HYPOTHESIS TESTS ABOUT THE MEAN AND PROPORTION
Lecture 10/24/ Tests of Significance
Presentation transcript:

1 T-test for the Mean of a Population: Unknown population standard deviation Here we will focus on two methods of hypothesis testing: the critical value approach and the p-value approach.

2 We saw in the standard deviation in the population known case that when we do not know the true value of the population mean for a quantitative variable an hypothesis test can be carried out utilizing the z calculation (x bar minus mu under Ho:)/standard error of the mean. When the population standard deviation, sigma, of the variable is unknown we have to rely on the t distribution. Plus in the calculation of the standard error we will use the sample standard deviation. The t statistic = (x bar minus mu under Ho:)/ standard error of the mean. Let’s work a few problems.

Example 3 For a company when they look at the past the have seen the average dollar amount on an invoice be $120. Over time this will be monitored and they will see if this changes. The question now is about whether or not the population mean is still 120. We will make this the null hypothesis. So we have Ho: μ = 120 and H1: μ ≠ 120 a) With the critical value approach the value of alpha has to be determined and say we have alpha =.05. When the alternative hypothesis has a not equal to sign we have a two tail test. This means we have.025 in each tail. But since we do not know the population standard deviation we have to use the t distribution. With a sample size of 12 we look in the df = n – 1 = 12 – 1 = 11 row. The critical t’s are thus and Let’s see what this looks like in a graph on the next slide

4 Let’s review what we have done. We have a null and alternative hypothesis. We have an alpha value and a sample size we will use. The critical values of t break up the t distribution into rejection and acceptance of the null hypothesis regions. Our decision rule will be this: If when we take a sample and calculate both a sample mean and the associated t value, called the t test statistic (and I will write tstat), if the tstat is less than the lower critical value or greater than the upper critical value we will reject the null. If the tstat is in the middle of the critical values we do not reject the null. alpha/2 =.025 Upper Critical t = lower Critical t =

Now say we get an actual sample of 12 invoices and we see the sample mean is and the sample standard deviation is The tstat from the sample is ( – 120)/(20.804/sqrt(12)) = Since the value of the tstat is and since this value is in the middle of the critical values we do not reject the null. b) To proceed with the p-value approach to hypothesis testing I would like us to explore the t distribution with df = 11 row. Let’s see this on the next slide.

6 T distribution with DF = is area under curve.10 is area under curve.05 is area under curve. 025 is area under curve. 01 is area under curve. 005 is area under curve Here I have marked off on the t distribution the positive and negative values. On the next slide I reproduce this with the tails colored in for when alpha is picked to be.05.

7 T distribution with DF = is area under curve.10 is area under curve.05 is area under curve. 025 is area under curve. 01 is area under curve. 005 is area under curve So, with alpha =.05 the critical t’s are and Next we take the sample mean and calculate the tstat. Again, in our example we had The occurs here on the number line. This falls between and The tail areas for these two values are 0.10 and 0.25, respectively.

8 The tail area for is thus between 0.10 and This is the basis for the p-value. But, because of the way the t distribution shows up in our book the best we can say about the tail area for the tstat is between 0.10 and Since our alternative hypothesis H1 is a not equal to sign we have to double the tail area for and so we say the p-value is between 0.20 and (A computer or better table would have us see the tail area doubled would be.259 – we do not need that here.) Here is how we use the p-value approach. If the p-value is less than or equal to alpha reject the null, otherwise do not reject the null. In our example the p-value is at least 0.20 which is >.05 so we do not reject the null.

Problem 62a pages 296, What is viscosity? Is it like elasticity? From the problem we see Ho: μ = 15.5 and H1: μ ≠ With alpha =.10 and a two tail test we put.05 in each tail and see with df = 119 the critical values are and (hey Parker, dude, these are values with df=120 – you are correct, but our book does not have a df = 119 so go to the closest df we do have). We see this set up on the next slide. Now, if from the sample we get a tstat less than or greater than we will reject the null.

10 To get our tstat we have to use the data given and find the sample mean and sample standard deviation. Using the computer, I find the mean to be and the standard deviation to be So, the tstat is ( – 15.5)/(1.01/sqrt(120)) = This is to the left of the lower critical value so we can reject the null. b. Notice in the t table that in the df = 120 row (the closest df we have) the value On the negative side we would have The tail area is.005. Our tstat is even farther out and thus has a tail area less than.005 and when we double this we have a p-value less than.01 Since the p-value < alpha (0.10 here) we reject the null. alpha =.10/2 Critical t =