Hypothesis Testing CSCE 587.

Slides:



Advertisements
Similar presentations
Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
Advertisements

Chapter 10 Two-Sample Tests
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 10 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.
PSY 307 – Statistics for the Behavioral Sciences
Chapter 14 Conducting & Reading Research Baumgartner et al Chapter 14 Inferential Data Analysis.
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
IEEM 3201 Two-mean Hypothesis Testing: Two means, Two proportions.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Overview of Lecture Parametric Analysis is used for
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
Statistics 101 Class 9. Overview Last class Last class Our FAVORATE 3 distributions Our FAVORATE 3 distributions The one sample Z-test The one sample.
T-Tests Lecture: Nov. 6, 2002.
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
S519: Evaluation of Information Systems
 What is t test  Types of t test  TTEST function  T-test ToolPak 2.
S519: Evaluation of Information Systems
PSY 307 – Statistics for the Behavioral Sciences
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing: Two Sample Test for Means and Proportions
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 10-1 Chapter 10 Two-Sample Tests Basic Business Statistics 10 th Edition.
AM Recitation 2/10/11.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Chapter 13 – 1 Chapter 12: Testing Hypotheses Overview Research and null hypotheses One and two-tailed tests Errors Testing the difference between two.
Week 9 Chapter 9 - Hypothesis Testing II: The Two-Sample Case.
Chapter 9.3 (323) A Test of the Mean of a Normal Distribution: Population Variance Unknown Given a random sample of n observations from a normal population.
Education 793 Class Notes T-tests 29 October 2003.
Inference about Two Population Standard Deviations.
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.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
Sampling Distribution of the Mean Central Limit Theorem Given population with and the sampling distribution will have: A mean A variance Standard Error.
The Hypothesis of Difference Chapter 10. Sampling Distribution of Differences Use a Sampling Distribution of Differences when we want to examine a hypothesis.
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: Testing Hypotheses
Mid-Term Review Final Review Statistical for Business (1)(2)
COURSE: JUST 3900 TIPS FOR APLIA Developed By: Ethan Cooper (Lead Tutor) John Lohman Michael Mattocks Aubrey Urwick Chapter : 10 Independent Samples t.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 10: t test.
Hypothesis Testing Using the Two-Sample t-Test
Chap 9-1 Two-Sample Tests. Chap 9-2 Two Sample Tests Population Means, Independent Samples Means, Related Samples Population Variances Group 1 vs. independent.
Warsaw Summer School 2011, OSU Study Abroad Program Difference Between Means.
Testing Means with small samples Critical Value from the T-table –Use the one-tail heading for left or right tail Make negative for left-tail –Use the.
Testing Differences in Population Variances
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
Chapter Twelve The Two-Sample t-Test. Copyright © Houghton Mifflin Company. All rights reserved.Chapter is the mean of the first sample is the.
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.
© Copyright McGraw-Hill 2004
1 Testing of Hypothesis Two Sample test Dr. T. T. Kachwala.
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.
Inferences Concerning Variances
t Test Assumptions: Paired/dependent/matched Samples:
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
366_7. T-distribution T-test vs. Z-test Z assumes we know, or can calculate the standard error of the distribution of something in a population We never.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 10-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
Testing Differences in Means (t-tests) Dr. Richard Jackson © Mercer University 2005 All Rights Reserved.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Psychology 290 Lab z-tests & t-tests March 5 - 7, 2007 –z-test –One sample t-test –SPSS – Chapter 7.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 9: t test.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
When the means of two groups are to be compared (where each group consists of subjects that are not related) then the excel two-sample t-test procedure.
T-tests Comparing the means of 2 independent similar populations.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Hypothesis testing March 20, 2000.
Statistical Inference for the Mean: t-test
Presentation transcript:

Hypothesis Testing CSCE 587

Background Assumptions: Samples reflect an underlying distribution If two distributions are different, the samples should reflect this. A difference should be testable

Model Evaluation Issue: limited observations Questions: What is the appropriate test What level of significance is appropriate

Test Selection One sample test: Two sample test: compare sample to population Actually: sample mean vs population mean Does the sample match the population Two sample test: compare two samples Sample distribution of the difference of the means

Selecting the Test Type of problem: Comparing a sample to a population “Does the sample come from the population?” Test: One Sample t-test

One Sample t-Test Test: One Sample t-test Used only for tests of the population mean Null hypothesis: the means are the same Compare the mean of the sample with the mean of the population What do we know about the population?

Example Historically, the mean score for juniors on a test is 81.3 Six students take the test resulting in a mean score of 87.6 and a standard deviation of 13.14 The t-value is:

Example Given t= 1.176, how do we test the hypothesis? Compare to critical values in t-table. To do so we need: to know the degrees of freedom To select a confidence interval One-tailed or two-tailed test?

One-Tailed vs Two-Tailed allots all of the alpha in one direction Makes sense if we want to know a difference in one direction or

One-Tailed vs Two-Tailed Two-tailed: we only care if the means are different Splits alpha into two tails Makes sense if we are only asking if the means are different

Example The degrees of freedom To select a confidence interval DoF for one sample test is n-1 = 5 in this case To select a confidence interval We select 95% confidence interval One-tailed or two-tailed test? One-tail allots all of the alpha in one direction Makes sense if we want to know a difference in one direction Two-tailed: we only care if the means are different We choose two-tailed

Example Parameters: t= 1.176, DoF=5, 95%, 2-tailed

Decision Compare t= 1.176, and = 2.571 Accept or reject the null hypothesis? If  Reject null hypothesis If p-value <  Reject null hypothesis

Steps We Took Selected the test Selected confidence level Calculated the test statistic Determined the degree of freedom Compared the computed test statistic to the table value Accepted/Rejected the hypothesis

Test Selection One sample test: Two sample test: compare sample to population Does the sample match the population Two sample test: compare two samples Sample distribution of the difference of the means

Two Sample Tests Independent two-sample t-test Independently sampled Identically distributed What does this mean? Paired two-sample t-test Paired, not independently sampled Example: sample, treat, resample same subjects

Independent two-sample t-test Must have same variance Numerator: difference between samples Denominator: estimated standard error of the difference between the two means Note the above version allow unequal sample sizes

Independent two-sample t-test Denominator: estimated standard error of the difference between the two means Where: And are the unbiased variances of the two samples

Degrees of Freedom One sample test: n1 + n2 – 1 Two sample test: n1 + n2 – 2 Why the difference? For a sample: DoF = n-1 We have two samples: (n1-1) & (n2-1)

Independent t-test, unequal sizes, unequal variances Use Welch’s t-test Difference is in the denominator Where, are the unbiased variances of the two samples