HIM 3200 Chapters 8 & 9 Hypothesis Testing and T-Tests 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.
Chapter 9 Hypothesis Tests. The logic behind a confidence interval is that if we build an interval around a sample value there is a high likelihood that.
Hypothesis Testing and Comparison of Two Populations Dr. Burton.
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
Lecture 11 Psyc 300A. Null Hypothesis Testing Null hypothesis: the statistical hypothesis that there is no relationship between the variables you are.
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
Lecture 13: Review One-Sample z-test and One-Sample t-test 2011, 11, 1.
= == Critical Value = 1.64 X = 177  = 170 S = 16 N = 25 Z =
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.
Descriptive Statistics
Inferential 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.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Overview of Statistical Hypothesis Testing: The z-Test
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
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.
1 Level of Significance α is a predetermined value by convention usually 0.05 α = 0.05 corresponds to the 95% confidence level We are accepting the risk.
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.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Hypothesis Testing CSCE 587.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Statistics for the Behavioral Sciences Second Edition Chapter 11: The Independent-Samples t Test iClicker Questions Copyright © 2012 by Worth Publishers.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 10: t test.
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.
Chapter 8 Introduction to Hypothesis Testing ©. Chapter 8 - Chapter Outcomes After studying the material in this chapter, you should be able to: 4 Formulate.
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.
Chapter 8 Parameter Estimates and Hypothesis Testing.
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
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 7 Making Sense of Statistical.
© 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.
Introduction to Hypothesis Testing
Sampling Distribution (a.k.a. “Distribution of Sample Outcomes”) – Based on the laws of probability – “OUTCOMES” = proportions, means, test statistics.
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.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
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.
Chapter 9 Hypothesis Testing.
Hypothesis Testing: Hypotheses
Chapter 9: Hypothesis Tests Based on a Single Sample
Reasoning in Psychology Using Statistics
Presentation transcript:

HIM 3200 Chapters 8 & 9 Hypothesis Testing and T-Tests Dr. Burton

BP Z % 40%

xZxZ x = (1.65)100 = 665 5% of 1,000,000 = 50,000

xZxZ x = (.25)100 = 525 x = (1.28)100 = % of 1,000,000 = 300,

xZxZ x = (1.65)100 = 665 x = (-1.65)100 = % betweem 335 and

xZxZ Z = 350 – 500/100 = or about 7% would score less than

6.19  = 200  = 25 < 165 = /25 = -1.4 = = =.9192

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

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

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

7.16a Height Z 2500 % t = x -  s / n / 64 Z = =.0228 = 2.3%= 0.50

7.16b Height Z % t = x -  s / n / / 64 Z= -2.0 =.4772 Z= 2.0 = = 95.4%

7.16c Height Z 2350 % t = x -  s / n / 64 Z = =.1587 = 16%= 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