The t Tests Independent Samples.

Slides:



Advertisements
Similar presentations
Introduction to Hypothesis Testing
Advertisements

Hypothesis Tests: Two Independent Samples
Statistics for the Social Sciences Psychology 340 Fall 2006 Using t-tests.
T-tests. The t Test for a Single Sample: Try in pairs Odometers measure automobile mileage. How close to the truth is the number that is registered? Suppose.
PTP 560 Research Methods Week 9 Thomas Ruediger, PT.
Hypothesis: It is an assumption of population parameter ( mean, proportion, variance) There are two types of hypothesis : 1) Simple hypothesis :A statistical.
Lecture 8 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
Evaluating Hypotheses Chapter 9 Homework: 1-9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics ~
1 Statistical Inference Note: Only worry about pages 295 through 299 of Chapter 12.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
T-Tests Lecture: Nov. 6, 2002.
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
Chapter 9 Hypothesis Testing.
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 6 Chicago School of Professional Psychology.
Independent Sample T-test Classical design used in psychology/medicine N subjects are randomly assigned to two groups (Control * Treatment). After treatment,
Chapter 8: Hypothesis Testing and Inferential Statistics What are inferential statistics, and how are they used to test a research hypothesis? What is.
Hypothesis Testing :The Difference between two population mean :
Chapter 10 The t Test for Two Independent Samples PSY295 Spring 2003 Summerfelt.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Overview Definition Hypothesis
Hypothesis Testing.
Introduction to Hypothesis Testing for μ Research Problem: Infant Touch Intervention Designed to increase child growth/weight Weight at age 2: Known population:
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.
Hypothesis Testing II The Two-Sample Case.
Mid-semester feedback In-class exercise. Chapter 8 Introduction to Hypothesis Testing.
Chapter 8 Introduction to Hypothesis Testing
T tests comparing two means t tests comparing two means.
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.
The t Tests Independent Samples. The t Test for Independent Samples Observations in each sample are independent (not from the same population) each other.
1 Statistical Inference. 2 The larger the sample size (n) the more confident you can be that your sample mean is a good representation of the population.
Chapter 8 Introduction to Hypothesis Testing
Inferential Statistics 2 Maarten Buis January 11, 2006.
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.
Single Sample Dependent Samples Independent Samples
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
I. Statistical Tests: A Repetive Review A.Why do we use them? Namely: we need to make inferences from incomplete information or uncertainty þBut we want.
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.
ANOVA Assumptions 1.Normality (sampling distribution of the mean) 2.Homogeneity of Variance 3.Independence of Observations - reason for random assignment.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
Chapter 10 The t Test for Two Independent Samples
- 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.
T Test for Two Independent Samples. t test for two independent samples Basic Assumptions Independent samples are not paired with other observations Null.
T-test for dependent Samples (ak.a., Paired samples t-test, Correlated Groups Design, Within-Subjects Design, Repeated Measures, ……..) Next week: Read.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
366_8. Estimation: Chapter 8 Suppose we observe something in a random sample how confident are we in saying our observation is an accurate reflection.
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.
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.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Inferential Statistics Psych 231: Research Methods in Psychology.
Chapter 10: The t Test For Two Independent Samples.
Introduction to Hypothesis Test – Part 2
Lecture Nine - Twelve Tests of Significance.
Hypothesis Testing.
Psychology 202a Advanced Psychological Statistics
Central Limit Theorem, z-tests, & t-tests
Hypothesis Testing: Hypotheses
Chapter 9 Hypothesis Testing.
Reasoning in Psychology Using Statistics
I. Statistical Tests: Why do we use them? What do they involve?
Hypothesis Testing.
Reasoning in Psychology Using Statistics
Statistics for the Social Sciences
Reasoning in Psychology Using Statistics
What are their purposes? What kinds?
Psych 231: Research Methods in Psychology
Presentation transcript:

The t Tests Independent Samples

The t Test for Independent Samples Observations in each sample are independent (not from the same population) each other. We want to compare differences between sample means.

Sampling Distribution of the Difference Between Means Imagine gathering two samples from the same population. And then subtracting the mean of one from the mean of the other… If you create a sampling distribution of the difference between the means… Given the null hypothesis, we expect the mean of the sampling distribution of differences, 1- 2, to be 0. We must estimate the standard deviation of the sampling distribution of the difference between means (i.e., the standard error of the difference between means).

Pooled Estimate of the Population Variance Using the assumption of homogeneity of variance, both s1 and s2 are estimates of the same population variance. If this is so, rather than make two separate estimates, each based on some small sample, it is preferable to combine the information from both samples and make a single pooled estimate of the population variance.

Pooled Estimate of the Population Variance The pooled estimate of the population variance becomes the average of both sample variances, once adjusted for their degrees of freedom. Multiplying each sample variance by its degrees of freedom ensures that the contribution of each sample variance is proportionate to its degrees of freedom. You know you have made a mistake in calculating the pooled estimate of the variance if it does not come out between the two estimates. You have also made a mistake if it does not come out closer to the estimate from the larger sample. The degrees of freedom for the pooled estimate of the variance equals the sum of the two sample sizes minus two, or (n1-1) +(n2-1).

Estimating Standard Error of the Difference Between Means

The t Test for Independent Samples: An Example Stereotype Threat “This test is a measure of your academic ability.” “Trying to develop the test itself.”

The t Test for Independent Samples: An Example State the research question. Does stereotype threat hinder the performance of those individuals to which it is applied? State the statistical hypotheses.

The t Test for Independent Samples: An Example Set the decision rule.

The t Test for Independent Samples: An Example Calculate the test statistic.

The t Test for Independent Samples: An Example Calculate the test statistic.

The t Test for Independent Samples: An Example Calculate the test statistic.

The t Test for Independent Samples: An Example Decide if your result is significant. Reject H0, - 2.37< - 1.721 Interpret your results. Stereotype threat significantly reduced performance of those to whom it was applied.

Assumptions 1) The observations within each sample must be independent. 2) The two populations from which the samples are selected must be normal. 3) The two populations from which the samples are selected must have equal variances. This is also known as homogeneity of variance, and there are two methods for testing that we have equal variances: a) informal method – simply compare sample variances b) Levene’s test – We’ll see this on the SPSS output Random Assignment To make causal claims Random Sampling To make generalizations to the target population

Handout Example

Effect Size 1) Simply report the actual results of the study. (a) Most direct method. (b) Can be misleading. 2) Calculate Cohen’s d or Δ (preferred). (a) Magnitude of effect size is standardized by measuring the mean difference between two treatments in terms of the standard deviation. (b) d = (M1-M2)/sp2 (c) Evaluate using the following criteria: i) .20 small effect ii) .50 medium effect iii) > .80 large effect

Effect Size: Example In the study evaluating stereotype threat, the null hypothesis was rejected, with M1=6.58, M2=9.64, and sp2 = 9.59. Calculate Cohen’s d, and evaluate the magnitude of this measure (small, medium, or large). Compare effect size to z table to determine where the mean of one group is relative to the other.

Reject null hypothesis Fail to reject null hypothesis Type 1 Error & Type 2 Error Scientist’s Decision Reject null hypothesis Fail to reject null hypothesis Type 1 Error Correct Decision probability =  Probability = 1-  Correct decision Type 2 Error probability = 1 -  probability =  Null hypothesis is true is false Type 1 Error =  Type 2 Error =  Cases in which you reject null hypothesis when it is really true Cases in which you fail to reject null hypothesis when it is false

Power and sample size estimation Power is the probability of correctly rejecting a null hypothesis. In social sciences we typically use .80. What determines the power of a study Effect size Sample size Variance α One vs. two tailed tests

If you want to know Sample Size Power Need to know α β Δ N per condition

Calculating sample size Remember stereotype threat example Δ = .99 Say we want to perform a test with power (1-β) = .80 Two tailed alpha = .05

Solving for n: 1-β = .80

Solving for n: 1-β = .80 one tailed

Solving for n: 1-β = .90

Solving for n: 1-β = .90 one tailed

Calculating power Say we did the same study with n of 5 in each condition (N =10) We want to know how much power we have to find d or Δ = .99. Again we are using a two tailed test with α = .05.

Using Piface

What if I did a one tailed test?

Spss: Homework Hint For the two sample t tests you will need to create two variables, cond (X) and score (Y)