Hypothesis Testing and Comparison of Two Populations Dr. Burton.

Slides:



Advertisements
Similar presentations
Topics Today: Case I: t-test single mean: Does a particular sample belong to a hypothesized population? Thursday: Case II: t-test independent means: Are.
Advertisements

Hypothesis Testing Steps in Hypothesis Testing:
Statistics 101 Class 8. Overview Hypothesis Testing Hypothesis Testing Stating the Research Question Stating the Research Question –Null Hypothesis –Alternative.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Hypothesis testing Week 10 Lecture 2.
Business 205. Review Sampling Continuous Random Variables Central Limit Theorem Z-test.
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Lecture 13: Review One-Sample z-test and One-Sample t-test 2011, 11, 1.
HIM 3200 Chapters 8 & 9 Hypothesis Testing and T-Tests Dr. Burton.
= == Critical Value = 1.64 X = 177  = 170 S = 16 N = 25 Z =
T-Tests Lecture: Nov. 6, 2002.
Business 205. Review Survey Designs Survey Ethics.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Hypothesis Testing.
Richard M. Jacobs, OSA, Ph.D.
Descriptive Statistics
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Statistical hypothesis testing – Inferential statistics I.
AM Recitation 2/10/11.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
1/2555 สมศักดิ์ ศิวดำรงพงศ์
1 1 Slide © 2005 Thomson/South-Western Chapter 9, Part B Hypothesis Tests Population Proportion Population Proportion Hypothesis Testing and Decision Making.
7 Elementary Statistics Hypothesis Testing. Introduction to Hypothesis Testing Section 7.1.
Statistical Power The ability to find a difference when one really exists.
The Hypothesis of Difference Chapter 10. Sampling Distribution of Differences Use a Sampling Distribution of Differences when we want to examine a hypothesis.
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.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Introduction To Biological Research. Step-by-step analysis of biological data The statistical analysis of a biological experiment may be broken down into.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Statistics for the Behavioral Sciences Second Edition Chapter 11: The Independent-Samples t Test iClicker Questions Copyright © 2012 by Worth Publishers.
Testing of Hypothesis Fundamentals of Hypothesis.
CONFIDENCE INTERVAL It is the interval or range of values which most likely encompasses the true population value. It is the extent that a particular.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
1 When we free ourselves of desire, we will know serenity and freedom.
Chapter 9: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Type I and II Errors Testing the difference between two means.
Monday, October 22 Hypothesis testing using the normal Z-distribution. Student’s t distribution. Confidence intervals.
Chapter 10 The t Test for Two Independent Samples
1 URBDP 591 A Lecture 12: Statistical Inference Objectives Sampling Distribution Principles of Hypothesis Testing Statistical Significance.
© 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.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Sampling Distribution (a.k.a. “Distribution of Sample Outcomes”) – Based on the laws of probability – “OUTCOMES” = proportions, means, test statistics.
Course Overview Collecting Data Exploring Data Probability Intro. Inference Comparing Variables Relationships between Variables Means/Variances Proportions.
Monday, October 21 Hypothesis testing using the normal Z-distribution. Student’s t distribution. Confidence intervals.
ENGR 610 Applied Statistics Fall Week 7 Marshall University CITE Jack Smith.
Psychology 290 Lab z-tests & t-tests March 5 - 7, 2007 –z-test –One sample t-test –SPSS – Chapter 7.
1 Lecture 5: Section B Class Web page URL: Data used in some examples can be found in:
Lec. 19 – Hypothesis Testing: The Null and Types of Error.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 9: t test.
 What is Hypothesis Testing?  Testing for the population mean  One-tailed testing  Two-tailed testing  Tests Concerning Proportions  Types of Errors.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Slide 9-1 Copyright © 2012, 2008, 2005 Pearson Education, Inc. Chapter 9 Hypothesis Tests for One Population Mean.
Hypothesis Testing. Steps for Hypothesis Testing Fig Draw Marketing Research Conclusion Formulate H 0 and H 1 Select Appropriate Test Choose Level.
Jacek Wallusch _________________________________ Statistics for International Business Lecture 10: Introduction to Hypothesis Testing.
Chapter 9 Hypothesis Testing.
Hypothesis Testing: Hypotheses
Monday, October 19 Hypothesis testing using the normal Z-distribution.
Chapter 9: Hypothesis Tests Based on a Single Sample
Reasoning in Psychology Using Statistics
Presentation transcript:

Hypothesis Testing and Comparison of Two Populations Dr. Burton

If the heights of male teenagers are normally distributed with a mean of 60 inches and standard deviation of 10, And the sample size was 25, what percentage of boy’s heights in inches would be: Between 57 and 63 Lass than or larger

7.2a 60 0 Height Z 5763 % Z = x -  s / n / / 25 Z= -1.5 =.4332 Z= 1.5 = = 86.8%

7.2b 60 0 Height Z 58 % Z = x -  s / n / 25 Z = -1.0 = = 16%

7.2c Height Z 61 % Z = x -  s / n / 25 Z = =.3085 = 30.9%= 0.50

Hypothesis Testing Hypothesis: A statement of belief… Null Hypothesis, H 0 : …there is no difference between the population mean  and the hypothesized value  0. Alternative Hypothesis, H a : …reject the null hypothesis and accept that there is a difference between the population mean  and the hypothesized value  0.

Probabilities of Type I and Type II errors H 0 TrueH 0 False Accept H 0 Reject H 0 Type I Error Type II Error Correct results Correct results Truth Test result  1 -   1 -  H 0 True = statistically insignificant H 0 False = statistically significant Accept H 0 = statistically insignificant Reject H 0 = statistically significant Differences ab cd

SE Probability Distribution for a two-tailed test SE Magnitude of (X E – X C ) 1.96 SE X E < X C X E > X C  =

SE Probability Distribution for a one-tailed test SE Magnitude of (X E – X C ) SE X E < X C X E > X C  = 0.05

Box t = A Distance between the means Variation around the means

Box t = A B Distance between the means Variation around the means

Box t = A B C Distance between the means Variation around the means

t-Tests Students t-test is used if: –two samples come from two different groups. –e.g. A group of students and a group of professors Paired t-test is used if: –two samples from the sample group. –e.g. a pre and post test on the same group of subjects.

One-Tailed vs. Two Tailed Tests The Key Question: “Am I interested in the deviation from the mean of the sample from the mean of the population in one or both directions.” If you want to determine whether one mean is significantly from the other, perform a two-tailed test. If you want to determine whether one mean is significantly larger, or significantly smaller, perform a one-tailed test.

t-Test (Two Tailed) Independent Sample means x A - x B - 0 t = Sp [ ( 1/N A ) + ( 1/N B ) ] d f = N A + N B - 2

Independent Sample Means Sample A(A – Mean) Mean =  A 2 = 2913 N = 7 (A – Mean) 2 = Var = s = 3.48 Sample B(B – Mean) Mean =  B 2 = 4656 N = 6 (B – Mean) 2 = Var = s = 5.89

Standard error of the difference between the means (SED) SED of  E -  C = s A 2 Estimate of the s B 2 N AN A N BN B + SED of x E - x C =  A 2  B 2 N AN A N BN B + Theoretical Population Sample

Pooled estimate of the SED (SEDp) 1 Estimate of the 1 N AN A N BN B + SEDp of x A - x B = Sp s 2 (n A -1) + s 2 (n B – 1) Sp= n A + n B ( 6 ) ( 5 ) Sp= = = 4.73

t-Test (Two Tailed) d f = N E + N C - 2 = 11 x A - x B - 0 t = Sp [ ( 1/N A ) + ( 1/N B ) ] = 4.73 ( 1/7 ) + ( 1/6) = Critical Value 95% = 2.201

One-tailed and two-tailed t-tests A two-tailed test is generally recommended because differences in either direction need to be known.

Paired t-test t paired = t p = d - 0 Standard error of d = d - 0 S d 2 N df = N - 1 d =  D/N  d 2 =  D 2 – (  D) 2 / N S d 2 =  d 2 / N - 1

Pre/post attitude assessment StudentBeforeAfterDifferenceD squared Total  D = 37  D 2 = 511

Pre/post attitude assessment StudentBeforeAfterDifference D squared Total t paired = t p = d - 0 Standard error of d = d - 0 S d 2 N d =  D/N N = 10  d 2 =  D 2 – (  D) 2 / N S d 2 =  d 2 / N - 1 = 37/10 = 3.7 = /10 = = / 10 – 1 = = 3.7 / = = 3.7 / / 10 = 3.7 / df = N – 1 = > 1.833

Probabilities of Type I and Type II errors H 0 TrueH 0 False Accept H 0 Reject H 0 Type I Error Type II Error Correct results Correct results Truth Test result  1 -   1 -  H 0 True = statistically insignificant H 0 False = statistically significant Accept H 0 = statistically insignificant Reject H 0 = statistically significant Differences

Standard 2 X 2 table a = subjects with both the risk factor and the disease b = subjects with the risk factor but not the disease c = subjects with the disease but not the risk factor d = subjects with neither the risk factor nor the disease a + b = all subjects with the risk factor c + d = all subjects without the risk factor a + c = all subjects with the disease b + d = all subjects without the disease a + b + c + d = all study subjects PresentAbsent Present Absent Disease status Risk Factor Status ab cd a + b c + d a + c b + d a+b+c+d Total

Standard 2 X 2 table Sensitivity = a/a+c Specificity = d/b+d PresentAbsent Present Absent Disease status Risk Factor Status ab cd a + b c + d a + c b + d a+b+c+d Total

Diabetic Screening Program Sensitivity = a/a+c = 100 X 5/6 = 83.3% (16.7% false neg.) Specificity = d/b+d = 100 X 81/94 = 86.2%(13.8% false pos.) DiabeticNondiabetic >125mg/100ml <125mg/100ml Disease status Risk Factor Status Total