The Two Sample t Review significance testing Review t distribution

Slides:



Advertisements
Similar presentations
Inferential Statistics and t - tests
Advertisements

Chapter 12: Testing hypotheses about single means (z and t) Example: Suppose you have the hypothesis that UW undergrads have higher than the average IQ.
T-Tests.
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
1. Estimation ESTIMATION.
Review: What influences confidence intervals?
Chapter 8 The t Test for Independent Means Part 1: March 6, 2008.
PSY 307 – Statistics for the Behavioral Sciences
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.
Lecture 8 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
Tuesday, October 22 Interval estimation. Independent samples t-test for the difference between two means. Matched samples t-test.
T-Tests Lecture: Nov. 6, 2002.
PPA 415 – Research Methods in Public Administration Lecture 6 – One-Sample and Two-Sample Tests.
Lecture 7 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
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.
The Two Sample t Review significance testing Review t distribution
Inferential Statistics
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
INFERENTIAL STATISTICS – Samples are only estimates of the population – Sample statistics will be slightly off from the true values of its population’s.
AM Recitation 2/10/11.
Statistics 11 Hypothesis Testing Discover the relationships that exist between events/things Accomplished by: Asking questions Getting answers In accord.
Hypothesis Testing:.
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.
Hypothesis Testing II The Two-Sample Case.
Copyright © 2012 by Nelson Education Limited. Chapter 8 Hypothesis Testing II: The Two-Sample Case 8-1.
Single-Sample T-Test Quantitative Methods in HPELS 440:210.
Education 793 Class Notes T-tests 29 October 2003.
The Hypothesis of Difference Chapter 10. Sampling Distribution of Differences Use a Sampling Distribution of Differences when we want to examine a hypothesis.
T tests comparing two means t tests comparing two means.
Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case.
Chapter 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Chapter 9: Testing Hypotheses
Inferential Statistics 2 Maarten Buis January 11, 2006.
1 Psych 5500/6500 t Test for Two Independent Means Fall, 2008.
DIRECTIONAL HYPOTHESIS The 1-tailed test: –Instead of dividing alpha by 2, you are looking for unlikely outcomes on only 1 side of the distribution –No.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
PPA 501 – Analytical Methods in Administration Lecture 6a – Normal Curve, Z- Scores, and Estimation.
Psych 230 Psychological Measurement and Statistics
Chapter 8 Parameter Estimates and Hypothesis Testing.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
Testing Differences between Means, continued Statistics for Political Science Levin and Fox Chapter Seven.
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.
Introduction to the t Test Part 1: One-sample t test
Review I A student researcher obtains a random sample of UMD students and finds that 55% report using an illegally obtained stimulant to study in the past.
Welcome to MM570 Psychological Statistics
 Terminology Confidence Interval Confidence level (relation to alpha) We can be X% sure that in the population…  Procedure How many SE to go out? (1.96,
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
AGENDA Review In-Class Group Problems Review. Homework #3 Due on Thursday Do the first problem correctly Difference between what should happen over the.
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.
T tests comparing two means t tests comparing two means.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
Chapter 13 Understanding research results: statistical inference.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
CHAPTER 7: TESTING HYPOTHESES Leon-Guerrero and Frankfort-Nachmias, Essentials of Statistics for a Diverse Society.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Chapter 9 Introduction to the t Statistic
Lecture Nine - Twelve Tests of Significance.
1. Estimation ESTIMATION.
Review: What influences confidence intervals?
Elementary Statistics
Statistics for the Social Sciences
What are their purposes? What kinds?
Reasoning in Psychology Using Statistics
Presentation transcript:

The Two Sample t Review significance testing Review t distribution Introduce 2 Sample t test / SPSS

Significance Testing State a Null Hypothesis Calculate the odds of obtaining your sample finding if the null hypothesis is correct Compare this to the odds that you set ahead of time (e.g., alpha) If odds are less than alpha, reject the null in favor of the research hypothesis The sample finding would be so rare if the null is true that it makes more sense to reject the null hypothesis

Significance the old fashioned way Find the “critical value” of the test statistic for your sample outcome Z tests always have the same critical values for given alpha values (e.g., .05 alpha  +/- 1.96) Use if N >100 t values change with sample size Use if N < 100 As N reaches 100, t and z values become almost identical Compare the critical value with the obtained value  Are the odds of this sample outcome less than 5% (or 1% if alpha = .01)?

Critical Values/Region for the z test ( = .05)

Directionality Research hypothesis must be directional Predict how the IV will relate to the DV Males are more likely than females to… Southern states should have lower scores…

Non-Directional & Directional Hypotheses Ho: there is no effect: (X = µ) H1: there IS an effect: (X ≠ µ) APPLY 2-TAILED TEST 2.5% chance of error in each tail Directional H1: sample mean is larger than population mean (X > µ) Ho x ≤ µ APPLY 1-TAILED TEST 5% chance of error in one tail -1.96 1.96 1.65

STUDENT’S t DISTRIBUTION Find the t (critical) values in App. B of Healey “degrees of freedom” # of values in a distribution that are free to vary Here, df = N-1 Practice: ALPHA TEST N t(Critical) .05 2-tailed 57 .01 1-tailed 25 .10 2-tailed 32 .05 1-tailed 15

Example: Single sample means, smaller N A random sample of 16 UMD students completed an IQ test. They scored an average of 104, with a standard deviation of 9. The IQ test has a national average of 100. IS the UMD students average different form the national average? Professor Fred hypothesizes that Duluthians are more polite than the average American. A random sample of 50 Duluth residents yields an average score on the Fred politeness scale (FPS) of 31 (s = 9). The national average is known to be 29. Write the research an null hypotheses. What can you conclude? USE ALPHA = .05 for both

Answer #1 Conceptually Under the null hypothesis (no difference between means), there is more than a 5% chance of obtaining a mean difference this large. Sampling distribution for one sample t-test (a hypothetical plot of an infinite number of mean differences, assuming null was correct) t (obtained) = 1.72 Critical Region Critical Region -2.131 (t-crit, df=15) 2.131 (t-crit, df=15)

“2-Sample” t test Apply when… Components Null Hypothesis (Ho) You have a hypothesis that the means (or proportions) of a variable differ between 2 populations Components 2 representative samples – Don’t get confused here (usually both come from same “sample”) One interval/ratio dependent variable Examples Do male and female differ in their aggression (# aggressive acts in past week)? Is there a difference between MN & WI in the proportion who eat cheese every day? Null Hypothesis (Ho) The 2 pops. are not different in terms of the dependent variable

2-SAMPLE HYPOTHESIS TESTING Assumptions: Random (probability) sampling Groups are independent Homogeneity of variance the amount of variability in the D.V. is about equal in each of the 2 groups The sampling distribution of the difference between means is normal in shape

2-SAMPLE HYPOTHESIS TESTING We rarely know population S.D.s Therefore, for 2-sample t-testing, we must use 2 sample S.D.s, corrected for bias: “Pooled Estimate” Focus on the t statistic: t (obtained) = (X – X) σ x-x we’re finding the difference between the two means… …and standardizing this difference with the pooled estimate

2-SAMPLE HYPOTHESIS TESTING 2-Sample Sampling Distribution – difference between sample means (closer sample means will have differences closer to 0) t-test for the difference between 2 sample means: Does our observed difference between the sample means reflects a real difference in the population means or is due to sampling error? - t critical 0 t critical ASSUMING THE NULL!

Applying the 2-Sample t Formula Example: Research Hypothesis (H1): Soc. majors at UMD drink more beers per month than non-soc. majors Random sample of 205 students: Soc majors: N = 100, mean=16, s=2.0 Non soc. majors: N = 105, mean=15, s=2.5 Alpha = .01 FORMULA: t(obtained) = X1 – X2 pooled estimate

Answers Null Hypothesis (Ho): Soc. majors at UMD DO NOT drink more beers per month than non-soc. Majors Directional  1 tailed test tcritical for 1 tailed test with 203 df and  = .05 (use infinity) = 1.645 tobtained = 3.13 Reject null hypothesis: there is less than a 1% chance of obtaining a mean difference of 1 beer if the null hypothesis is true. 3.13 standard errors separates soc and non-soc majors with respect to their average beer consumption

Example 2 Dr. Phil believes that inmates with tattoos will get in more fights than inmates without tattoos. Tattooed inmates  N = 25, s = 1.06, mean = 1.00 Non-Tattooed inmates  N = 37, s =.5599, mean = 0.5278 Null hypothesis? Directional or non? tcritical? Difference between means? Significant at the .01 level?

Answers Null hypothesis: Use a 1 or 2-tailed test? Inmates with tattoos will NOT get in more fights than inmates without tattoos. Use a 1 or 2-tailed test? One-tailed test because the theory predicts that inmates with tattoos will get into MORE fights. tcritical (60 df) = 2.390 tobtained = 2.23

Answers Reject the null? SPSS DEMO No, because the t(obtained) (2.23) is less than the t(critical, one-tail, df=398) (1.658) This t value indicates there are 2.23 standard error units that separate the two mean values Greater than a 1% chance of getting this finding under null SPSS DEMO

2-Sample Hypothesis Testing in SPSS Independent Samples t Test Output: Testing the Ho that there is no difference in number of adult arrests between a sample of individuals who were abused/neglected as children and a matched control group.

Interpreting SPSS Output Difference in mean # of adult arrests between those who were abused as children & control group

Interpreting SPSS Output t statistic, with degrees of freedom

Interpreting SPSS Output “Sig. (2 tailed)” gives the actual probability of obtaining this finding if the null is correct a.k.a. the “p value” – p = probability The odds are NOT ZERO (if you get .ooo, interpret as <.001)

“Sig.” & Probability Number under “Sig.” column is the exact probability of obtaining that t-value (finding that mean difference) if the null is true When probability > alpha, we do NOT reject H0 When probability < alpha, we DO reject H0 As the test statistics (here, “t”) increase, they indicate larger differences between our obtained finding and what is expected under null Therefore, as the test statistic increases, the probability associated with it decreases

Example 2: Education & Age at which First Child is Born H0: There is no relationship between whether an individual has a college degree and his or her age when their first child is born. Okay, let’s go through an example. Here we’re looking at the same data set. Except this time, we’re testing this null hypothesis… There you see the mean age of these college men and women. Women are slightly older. Is this difference statistically significant?

Education & Age at which First Child is Born What is the mean difference in age? What is the probability that this t statistic is due to sampling error? Do we reject H0 at the alpha = .05 level? Do we reject H0 at the alpha = .01 level?