Hypothesis Testing Comparisons Among Two Samples.

Slides:



Advertisements
Similar presentations
Comparing One Sample to its Population
Advertisements

Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Ethan Cooper (Lead Tutor)
Confidence Interval and Hypothesis Testing for:
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.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
PSY 307 – Statistics for the Behavioral Sciences
12.5 Differences between Means (s’s known)
The t-test:. Answers the question: is the difference between the two conditions in my experiment "real" or due to chance? Two versions: (a) “Dependent-means.
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Overview of Lecture Parametric Analysis is used for
Statistical Methods in Computer Science Hypothesis Testing I: Treatment experiment designs Ido Dagan.
S519: Evaluation of Information Systems
 What is t test  Types of t test  TTEST function  T-test ToolPak 2.
Chapter 11: Inference for Distributions
Statistical Methods in Computer Science Hypothesis Testing I: Treatment experiment designs Ido Dagan.
Two-sample problems for population means BPS chapter 19 © 2006 W.H. Freeman and Company.
Today Concepts underlying inferential statistics
Major Points Formal Tests of Mean Differences Review of Concepts: Means, Standard Deviations, Standard Errors, Type I errors New Concepts: One and Two.
CHAPTER 19: Two-Sample Problems
Chapter 9: Introduction to the t statistic
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Psy B07 Chapter 1Slide 1 ANALYSIS OF VARIANCE. Psy B07 Chapter 1Slide 2 t-test refresher  In chapter 7 we talked about analyses that could be conducted.
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.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Review of Statistical Inference Prepared by Vera Tabakova, East Carolina University ECON 4550 Econometrics Memorial University of Newfoundland.
Section #4 October 30 th Old: Review the Midterm & old concepts 1.New: Case II t-Tests (Chapter 11)
Education 793 Class Notes T-tests 29 October 2003.
T-distribution & comparison of means Z as test statistic Use a Z-statistic only if you know the population standard deviation (σ). Z-statistic converts.
September 15. In Chapter 11: 11.1 Estimated Standard Error of the Mean 11.2 Student’s t Distribution 11.3 One-Sample t Test 11.4 Confidence Interval for.
Comparing Two Population Means
Statistical inference. Distribution of the sample mean Take a random sample of n independent observations from a population. Calculate the mean of these.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Chapter 9: Testing Hypotheses
Hypothesis Testing CSCE 587.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
COURSE: JUST 3900 TIPS FOR APLIA Developed By: Ethan Cooper (Lead Tutor) John Lohman Michael Mattocks Aubrey Urwick Chapter : 10 Independent Samples t.
One-sample In the previous cases we had one sample and were comparing its mean to a hypothesized population mean However in many situations we will use.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Hypothesis Testing Using the Two-Sample t-Test
1 Psych 5500/6500 t Test for Two Independent Means Fall, 2008.
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
6/4/2016Slide 1 The one sample t-test compares two values for the population mean of a single variable. The two-sample t-test of population means (aka.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
© Copyright McGraw-Hill 2000
Two-Sample Hypothesis Testing. Suppose you want to know if two populations have the same mean or, equivalently, if the difference between the population.
Lesson Comparing Two Means. Knowledge Objectives Describe the three conditions necessary for doing inference involving two population means. Clarify.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
Chapter Twelve The Two-Sample t-Test. Copyright © Houghton Mifflin Company. All rights reserved.Chapter is the mean of the first sample is the.
KNR 445 Statistics t-tests Slide 1 Introduction to Hypothesis Testing The z-test.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Chapter 9: Introduction to the t statistic. The t Statistic The t statistic allows researchers to use sample data to test hypotheses about an unknown.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
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.
Chapter 10: The t Test For Two Independent Samples.
Chapter 9 Introduction to the t Statistic
Chapter 11 Inference for Distributions AP Statistics 11.2 – Inference for comparing TWO Means.
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.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
What are their purposes? What kinds?
Hypothesis Testing: The Difference Between Two Population Means
Chapter 9 Test for Independent Means Between-Subjects Design
Presentation transcript:

Hypothesis Testing Comparisons Among Two Samples

Hypothesis Testing w/Two Samples By far a more common statistic to use than any other covered so far If we have access to an entire population to calculate its mean (μ), why do we need to get a sample to infer its characteristics? We can just measure them directly 99% of the time we don’t have this kind of access

Hypothesis Testing w/Two Samples Also, most experiment employ two groups – a treatment group and a control group The Treatment Group – gets the IV The Control Group – identical to the Tx Group, minus the IV Since Control = Tx + IV, if our Tx Group has a different mean than our Control Group, we can attribute this to the IV

Hypothesis Testing w/Two Samples Ex. If we want to know what effect fire has on water, we have two groups, one that has water over an open flame (the Tx Group), and one that has water unheated (the Control Group). If all other factors that could influence the heat of water are kept constant between the two groups (i.e. the water in the two groups has the same salinity, the air pressure is the same, etc.), if the water in the heated condition is hotter, we can conclude that the difference is due to the fire, and not the other factors that we kept constant

Hypothesis Testing w/Two Samples Assumptions of the Two-Samples T- Test: 1. Normally-distributed data Like all other t-tests, and according to the Central Limit Theorem, as long as sample sizes are large, you can ignore this requirement

Hypothesis Testing w/Two Samples 2. Homogenous Variances (s 2 ) As long as your samples have similar sample sizes (n) and your data is not significantly non- normal, you’re OK If, however: you have unequal sample sizes or non-normal data then you have to use a slightly different procedure for calculating t We’ll go into more detail about how to quantitatively detect, and cope with, non- homogenous variances in the next SPSS lab

Hypothesis Testing w/Two Samples 3. Independent Samples As stated previously, your groups have to be independent – i.e. a subject can only be in one group and the group cannot be yolked Yolked Groups = you assign subjects to groups that look similar on a variable or variables that you’re interested in Ex. You’re interested in sociability ratings, so since subject 1 in Group A has a sociability rating of 45, the next subject that has a similar rating you assign to Group B Here, membership in Group B is dependent on the subjects in Group A, i.e. the groups are not independent

Hypothesis Testing w/Two Samples How to compute a Two-Samples T- Test? Instead of subtracting μ from, you subtract from +t = < -t = >

Hypothesis Testing w/Two Samples Also, instead of using s 2, we use n for grp 1 variance for grp 1 n for grp. 2 variance for grp 2 This is what is called our Pooled Variance

Hypothesis Testing w/Two Samples This formula averages the variances from our two samples, however… First it multiplies the variance by the sample size [s 2 x (n-1)], which gives more importance to variances from larger samples

Hypothesis Testing w/Two Samples This is an example of what is called a weighted average Weighted Average = average where our values to be average are multiplied by a factor that we think is important (in this case, n is this factor)

Hypothesis Testing w/Two Samples Therefore, our formula for our Two- Samples T-Test is:

Hypothesis Testing w/Two Samples Since we’re using two samples, our df = Also, the form of our hypothesis changes: For a One-Tailed Test: H 0 = (μ 1  μ 2 ) (or visa-versa) H 1 = (μ 1 < μ 2 ) (or visa-versa) For a Two-Tailed Test: H 0 = (μ 1 = μ 2 ) H 1 = (μ 1 ≠ μ 2 )

Hypothesis Testing w/Two Samples We would apply the Two-Samples T- Test in the same way as previous tests: 1. Identify H 0 and H 1 2. Calculate df and identify the critical t 3. Determine whether to use one- or two- tailed test, determine what value of α to use (usually.05), and identify the rejection region(s) that the critical t is the boundary of

Hypothesis Testing w/Two Samples 4. Calculate the variances for both samples (s 1 and s 2 ), and use them to calculate the pooled variance 5. Calculate the mean of both samples 6. Utilizing this information, calculate t 7. Compare your value of t to your critical value and rejection region to determine whether or not to reject H 0

Hypothesis Testing w/Two Samples Confidence Intervals: The formula is the same as the one-sample t-test, once again all that is different is that we use two sample means instead of a sample mean and a population mean, and a pooled variance instead of a regular, sample variance CI = ± Critical t (two-tailed at p=.05) x pooled standard deviation

Hypothesis Testing w/Two Samples Example: Much has been made of the concept of experimenter bias, which refers to the fact that for even the most conscientious experimenters there seems to be a tendency for the data to come out in the desired direction. Suppose we use students as experimenters. All the experimenters are told that subjects will be given caffeine before the experiment, but half the experimenters are told that we expect caffeine to lead to good performance, and half are told that we expect it to lead to poor performance. The dependent variable is the number of simple arithmetic problems the subject can solve in 2 minutes. The obtained data are as follows:

Hypothesis Testing w/Two Samples What are the H o and H 1 ? What is the df and critical t? What are your alpha, type of test (one- vs. two-tailed), and rejection region(s)? What is your t? Will you reject or fail to reject the null hypothesis? Expect Good Performance Expect Poor Performance

Hypothesis Testing w/Two Samples Assuming a one-tailed test, H 1 = (μ 1 > μ 2 ); H 0 = (μ 1 ≤ μ 2 ), where μ 1 = “Expect Good Performance” df = 15; critical t(15) = t =.587 Fail to reject the null hypothesis Our data do not support the theory that experimenter bias influences data.