Hypothesis Test II: t tests

Slides:



Advertisements
Similar presentations
(Hypothesis test for small sample sizes)
Advertisements

0 - 0.
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
1 Session 8 Tests of Hypotheses. 2 By the end of this session, you will be able to set up, conduct and interpret results from a test of hypothesis concerning.
SADC Course in Statistics Tests for Variances (Session 11)
STATISTICAL INFERENCE ABOUT MEANS AND PROPORTIONS WITH TWO POPULATIONS
Type I and Type II errors
1 BA 275 Quantitative Business Methods Statistical Inference: Hypothesis Testing Type I and II Errors Power of a Test Hypothesis Testing Using Statgraphics.
Chapter 17/18 Hypothesis Testing
Elementary Statistics
9.4 t test and u test Hypothesis testing for population mean Example : Hemoglobin of 280 healthy male adults in a region: Question: Whether the population.
6. Statistical Inference: Example: Anorexia study Weight measured before and after period of treatment y i = weight at end – weight at beginning For n=17.
Chapter 13: Chi-Square Test
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 22 Comparing Two Proportions.
Hypothesis Tests: Two Independent Samples
Small differences. Two Proportion z-Interval and z-Tests.
Comparing Two Population Parameters
Module 16: One-sample t-tests and Confidence Intervals
Using the P-Value Section P-Value (Observed Significance Level)  It’s the measure of the inconsistency between the hypothesized value for a population.
Statistical tests for Quantitative variables (z-test & t-test) BY Dr.Shaikh Shaffi Ahamed Ph.D., Associate Professor Dept. of Family & Community Medicine.
Addition 1’s to 20.
McGraw-Hill, Bluman, 7th ed., Chapter 9
Week 1.
Statistical Inferences Based on Two Samples
ABOUT TWO INDEPENDENT POPULATIONS
CHAPTER 15: Tests of Significance: The Basics Lecture PowerPoint Slides The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner.
Unit 4 – Inference from Data: Principles
AP Statistics – Chapter 9 Test Review
Significance Testing Chapter 13 Victor Katch Kinesiology.
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
© 2010 Pearson Prentice Hall. All rights reserved Hypothesis Testing Using a Single Sample.
HYPOTHESIS TESTING Four Steps Statistical Significance Outcomes Sampling Distributions.
Hypothesis Testing Steps of a Statistical Significance Test. 1. Assumptions Type of data, form of population, method of sampling, sample size.
Statistical Significance What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant? How Do We Know Whether a Result.
Inferences About Means of Single Samples Chapter 10 Homework: 1-6.
Chapter 9 Hypothesis Testing.
CHAPTER 2 Statistical Inference 2.1 Estimation  Confidence Interval Estimation for Mean and Proportion  Determining Sample Size 2.2 Hypothesis Testing:
8 - 1 © 2003 Pearson Prentice Hall Chi-Square (  2 ) Test of Variance.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
More About Significance Tests
The Probability of a Type II Error and the Power of the Test
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
1 If we live with a deep sense of gratitude, our life will be greatly embellished.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
STEP BY STEP Critical Value Approach to Hypothesis Testing 1- State H o and H 1 2- Choose level of significance, α Choose the sample size, n 3- Determine.
AP Process Test of Significance for Population Proportion.
© 2013 Pearson Education, Inc. Active Learning Lecture Slides For use with Classroom Response Systems Introductory Statistics: Exploring the World through.
Tests of Significance: The Basics ESS chapter 15 © 2013 W.H. Freeman and Company.
If we fail to reject the null when the null is false what type of error was made? Type II.
Ex St 801 Statistical Methods Part 2 Inference about a Single Population Mean (HYP)
Chapter 9 Hypothesis Testing.
Significance Test for the Difference of Two Proportions
Lecture Nine - Twelve Tests of Significance.
Hypothesis Testing for Proportions
Chapter 8 Hypothesis Testing with Two Samples.
Hypothesis Tests: One Sample
Hypothesis Tests for 1-Sample Proportion
اختبار الفرضيات اختبارالفرضيات المتعلقة بالوسط
Section 11.2: Carrying Out Significance Tests
Inferences on Two Samples Summary
Hypothesis Tests for Proportions
CHAPTER 12 Inference for Proportions
Testing Hypotheses about a Population Proportion
CHAPTER 12 Inference for Proportions
Section 11.1: Significance Tests: Basics
Statistical Inference for the Mean: t-test
Testing Claims about a Population Standard Deviation
Presentation transcript:

Hypothesis Test II: t tests Test for one population mean Test for the difference of two population means

Hypothesis Tests for Population Parameters Population proportion Population mean Difference between two population means

5 Steps in Hypothesis Tests Step 1. Determine the null (Ho) and alternative (Ha) hypotheses Ho : the population parameter = a constant (called the null value) Ha : upper or lower or two-tailed

5 Steps in Hypothesis Tests Step 2. Find an appropriate test statistic and pre-set the level of significance (called a level) Test statistic = (Sample estimate – null value) (S.E. of sample estimate@ null value) a= 0.05 (or 0.01 or 0.10)

5 Steps in Hypothesis Tests Step 3. Check the conditions and find the p-value assuming Ho is true The calculation of the p-value depends on the Ha.

5 Steps in Hypothesis Tests Step 4. Decide whether or not reject Ho based on the p-value p-value > a  fail to reject Ho p-value < a  reject Ho (= accept Ha)

5 Steps in Hypothesis Tests Step 5. Report the result in the context of the situation Reject Ho  There is sufficient evidence to support (Ha). Fail to reject Ho  There is not sufficient evidence to support (Ha).

Hypothesis Test for a Population Mean Step 1. Ho: m = mo Three possible Ha’s: Ha: m = mo (two-tailed) or Ha: m < mo (lower-tailed) Ha: m > mo (upper-tailed)

Hypothesis Test for a Population Mean Step 2. test statistic

Hypothesis Test for a Population Mean Step 3: Condition: Must be a random sample and the data must be bell-shaped (or normal) When the above conditions are met, use t-Table to find p-value (the required df = n-1) This test is called “one-sample t-test.”

Examples The average cost of 30 randomly selected used cars in a used car lot was $5,000 with sample standard deviation of $1,000. Find the p-value for testing Ho: m = $4,500 vs. Ha: m = $4,500. Answer: t = 2.74 and 0.006 < p-value < 0.016

Examples Find the p-value for testing Ho: m = $4,500 vs. Ha: m > $4,500. Ho: m = $4,500 vs. Ha: m < $4,500.

Hypothesis Test for the Difference of Two Population Means Step 1. Ho: m1 = m2 Three possible Ha’s: Ha: m1 = m2 (two-tailed) or Ha: m1 < m2 (lower-tailed) Ha: m1 > m2 (upper-tailed)

Hypothesis Test for the Difference between Two Population Means Step 2. test statistic

Hypothesis Test for the Difference between Two Population Means Step 3: Must be two independent random samples; the both samples must be bell-shaped (or normal) When the above conditions are met, use t-Table to find the p-value (the required df is the smaller one of (n1-1) and (n2-1)) This test is called “Two-sample t-test.”

Examples The average waiting time for 50 students to connect to the college server from the dormitories was 5 seconds, while the average time to connect for 20 students living off-campus apartments was 10 seconds. Assume the times to connect in the dormitories and the apartments are both bell-shaped. The sample standard deviations were 2 seconds for dormitories and 8 seconds for apartments

Examples Find the p-value for testing Ho: m1 = m2 vs. Ha: m1 = m2 Answer: t = -2.76 1: dormitories; 2: apartments