Education 793 Class Notes T-tests 29 October 2003.

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

PSY 307 – Statistics for the Behavioral Sciences Chapter 20 – Tests for Ranked Data, Choosing Statistical Tests.
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.
T-Tests.
t-Tests Overview of t-Tests How a t-Test Works How a t-Test Works Single-Sample t Single-Sample t Independent Samples t Independent Samples t Paired.
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
T-Tests.
Chapter Seventeen HYPOTHESIS TESTING
PSY 307 – Statistics for the Behavioral Sciences
Statistics Are Fun! Analysis of Variance
Tuesday, October 22 Interval estimation. Independent samples t-test for the difference between two means. Matched samples t-test.
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.
S519: Evaluation of Information Systems
Chapter 11: Inference for Distributions
Chapter 9 Hypothesis Testing.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
PSY 307 – Statistics for the Behavioral Sciences
Hypothesis Testing Using The One-Sample t-Test
Getting Started with Hypothesis Testing The Single Sample.
Chapter 9 Hypothesis Testing II. Chapter Outline  Introduction  Hypothesis Testing with Sample Means (Large Samples)  Hypothesis Testing with Sample.
PSY 307 – Statistics for the Behavioral Sciences
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 8 Introduction to the t Test.
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.
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.
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.
Single-Sample T-Test Quantitative Methods in HPELS 440:210.
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.
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
More About Significance Tests
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
The Hypothesis of Difference Chapter 10. Sampling Distribution of Differences Use a Sampling Distribution of Differences when we want to examine a hypothesis.
Comparing Two Population Means
Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case.
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.
Chapter 9: Testing Hypotheses
Hypothesis Testing CSCE 587.
Chapter 11 Inference for Distributions AP Statistics 11.1 – Inference for the Mean of a Population.
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
t(ea) for Two: Test between the Means of Different Groups When you want to know if there is a ‘difference’ between the two groups in the mean Use “t-test”.
Inference and Inferential Statistics Methods of Educational Research EDU 660.
Two sample problems:  compare the responses in two groups  each group is a sample from a distinct population  responses in each group are independent.
Warsaw Summer School 2011, OSU Study Abroad Program Difference Between Means.
© Copyright McGraw-Hill 2000
I271B The t distribution and the independent sample t-test.
Psych 230 Psychological Measurement and Statistics
Chapter 8 Parameter Estimates and Hypothesis Testing.
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.
AGENDA Review In-Class Group Problems Review. Homework #3 Due on Thursday Do the first problem correctly Difference between what should happen over the.
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.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
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.
Psychology 290 Lab z-tests & t-tests March 5 - 7, 2007 –z-test –One sample t-test –SPSS – Chapter 7.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Chapter 7 Inference Concerning Populations (Numeric Responses)
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.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. Part Four ANALYSIS AND PRESENTATION OF DATA.
Quantitative Methods in HPELS HPELS 6210
Chapter 10: The t Test For Two Independent Samples
What are their purposes? What kinds?
Presentation transcript:

Education 793 Class Notes T-tests 29 October 2003

Today’s Agenda Class and lab announcements Questions? Hypothesis testing where  needs to be estimated and for dependent samples

Review: One sample tests Uses the general form for testing whether or not the statistic observed is unusual: In practice, can be tested in two ways:  known  estimated

Differences in the Two Tests For the z-test, the critical value comes from a known distribution (normal) and can be obtained directly from a table. In the t-test, the mean and standard error vary from sample to sample. Simulated sample of the t-distribution show that it is like the normal distribution –symmetric –can be interpreted as a probability distribution Unlike the normal distribution, there is a different t-distribution for every sample size greater than 2. The tails of the t-distribution are higher, thus there is more area under the tails than the normal distribution. –Implication is that the critical values for the t-test are slightly higher (the adjustment for sampling variation) than the normal distribution As sample size increases (greater than 30), the t-distribution approximates the normal distribution.

Degrees of Freedom Members of the t-distribution differ based on their degrees of freedom, not sample size. DF=the number of values in the final calculation of a statistic that are free to vary or the number of independent pieces of information. The definition of df varies according to the statistic being calculated. In the case of a mean, df = number of cases – 1. If we have a mean calculated from 5 cases, once we know the values associated with 4 of the cases we can algebraically figure out the value of the 5 th case.

Assumptions of t-test Scores are randomly sampled from some population Scores are normally distributed –How do we examine this. For larger samples, with histograms. For samples greater than 30 we know the t-distribution approaches normality. For smaller samples we use prior information. If prior information is not available, then we may violate the normality assumption in which case non-parametric test are a better option (See later chapters).

Review: z and t z – The normal curve Symmetric Unimodal Asymptotic t – A nearly normal curve Symmetric Unimodal Asymptotic Slightly different shape than the normal curve, meaning that the critical values are similar but slightly larger.

Comparing critical values One-tailTwo-tail df = One-tailTwo-tail p <.0510 p <.05 p < p <.05 p < p <.05 p <.01  p <.05 p <.01 z distribution t distribution

Four Steps 1.State the hypothesis H 0 vs. H Alternate 2.Identify your criterion for rejecting H 0 Directional ornon-directional test One-tailedortwo-tailed Set alpha level (Prob. incorrectly rejecting H 0 ) 3.Compute test statistic General form: Test = statistic – expected parameter standard error of statistic 4.Decide about H 0

Example: One Sample Random sample of 9 subjects from freshman population. Mean score was 625 with SD of 90. Ho:  =500, H1:  500  =.05 What are the degrees of freedom? What is the t-critical value?

Example Reject the Null in favor of the alternative,  not equal to 500  =500 t-critical, df=8 =  =.05 t-observed=4.17

Confidence Intervals Computed the same as with normal curve but replace the critical value with the appropriate critical t-value.

Two Independent Means Review: In this case  ’s are known In order to test if the difference between two independent means is statistically significant we need an estimate of the standard error for the difference. When the variances can be assumed equal:

Assumptions The scores in two groups are randomly sampled from their respective populations The scores in the respective populations are normally distributed The variances are equal (homogeneity of variance)

Example: Two-Sample Testing: Assumptions: Normality, Equality of variance, sample sizes equal  men =20,  women =25, s men =5, s women =5, n men =20, n women =20 t = df= =38

Example: Two-Sample Testing: Assumptions: Normality, Equality of variance, NOTE: sample sizes unequal  men =20,  women =25, s men =5, s women =5, n men =20, n women =30

Example: Two-Sample Testing:  men =20,  women =25, s men =5, s women =5, n men =20, n women =30 = ? df=? Reject ?

Two-Sample: Dependent Means Used to examine data when two observations are made on the same subject or when one observation is made on each of two members of a matched pair. The observations are correlated we therefore do not have two pieces of independent information In our case we will compute the differences for each matched pair and treat them as one sample of differences (Second set of formulas in the chapter)

Example: Dependent Means Ho: No difference in the matched pairs Note we have 20 matched pairs (40 subjects in total) Compute test statistic df=? Reject?

LUCKY US We will have SPSS compute all of these test statistics for us. Laptop exersize if time

Next Week Chi-Square Tests –Chapter 19 p One Way ANOVA –Chapter 13 p