T-tests Quantitative Data One group  1-sample t-test Two independent groups  2-sample t-test Two dependent groups  Matched Pairs t-test t-TestsSlide.

Slides:



Advertisements
Similar presentations
One-sample T-Test Matched Pairs T-Test Two-sample T-Test
Advertisements

Review of the Basic Logic of NHST Significance tests are used to accept or reject the null hypothesis. This is done by studying the sampling distribution.
Comparing Two Groups’ Means or Proportions Independent Samples t-tests.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Significance Testing Chapter 13 Victor Katch Kinesiology.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Significance Tests Chapter 13.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
Inference for distributions: - Comparing two means IPS chapter 7.2 © 2006 W.H. Freeman and Company.
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
Stat 350 Lab Session GSI: Yizao Wang Section 016 Mon 2pm30-4pm MH 444-D Section 043 Wed 2pm30-4pm MH 444-B.
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
5-3 Inference on the Means of Two Populations, Variances Unknown
Chapter 9 Comparing Means
Inferential Statistics: SPSS
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.
Inference for Distributions
Things that I think are important Chapter 1 Bar graphs, histograms Outliers Mean, median, mode, quartiles of data Variance and standard deviation of.
Education 793 Class Notes T-tests 29 October 2003.
Laws of Logic and Rules of Evidence Larry Knop Hamilton College.
Comparing the Means of Two Dependent Populations The Paired T-test ….
Two-Sample Inference Procedures with Means. Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to.
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.
Statistical Power The ability to find a difference when one really exists.
Confidence Intervals and Hypothesis Tests for the Difference between Two Population Means µ 1 - µ 2 : Independent Samples Inference for  1  2 1.
Comparing Two Population Means
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
Overview Two paired samples: Within-Subject Designs
Chapter 8 Hypothesis Testing with Two Samples 1. Chapter Outline 8.1 Testing the Difference Between Means (Large Independent Samples) 8.2 Testing the.
t-tests Quantitative Data One group  1-sample t-test
Hypothesis Testing with Two Samples
STATISTICAL INFERENCE PART VIII HYPOTHESIS TESTING - APPLICATIONS – TWO POPULATION TESTS 1.
7. Comparing Two Groups Goal: Use CI and/or significance test to compare means (quantitative variable) proportions (categorical variable) Group 1 Group.
Two sample problems:  compare the responses in two groups  each group is a sample from a distinct population  responses in each group are independent.
Objectives (BPS chapter 19) Comparing two population means  Two-sample t procedures  Examples of two-sample t procedures  Using technology  Robustness.
Two Sample t test Chapter 9.
Chapter 9: Inferences Based on Two Samples: Confidence Intervals and Tests of Hypotheses Statistics.
AP Statistics Chapter 24 Comparing Means.
1.2 Describing Distributions with Numbers Is the mean a good measure of center? Ex. Roger Maris’s yearly homerun production:
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.
Comparison of 2 Population Means Goal: To compare 2 populations/treatments wrt a numeric outcome Sampling Design: Independent Samples (Parallel Groups)
T-TestsSlide #1 1-sample t-test H o :  =  o (where  o = specific value) Statistic: Test Statistic: Assume: –  is UNknown – n is large (so that the.
The t-distribution William Gosset lived from 1876 to 1937 Gosset invented the t -test to handle small samples for quality control in brewing. He wrote.
Statistics: Unlocking the Power of Data Lock 5 Inference for Means STAT 250 Dr. Kari Lock Morgan Sections 6.4, 6.5, 6.6, 6.10, 6.11, 6.12, 6.13 t-distribution.
Tuesday, September 24, 2013 Independent samples t-test.
Student’s t test This test was invented by a statistician WS Gosset ( ), but preferred to keep anonymous so wrote under the name “Student”. This.
T-TestsSlide #1 2-Sample t-test -- Examples Do mean test scores differ between two sections of a class? Does the average number of yew per m 2 differ between.
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches. We also have a population of adult women.
Linear Models -- Foundation. What Type of Variable? 1.Temperature ( o F) 2.Habitat complexity (low, medium, high) 3.Home range size (m 2 ) 4.Brood size.
T-tests Quantitative Data One group  1-sample t-test Two independent groups  2-sample t-test Two dependent groups  Matched Pairs t-test t-TestsSlide.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Difference Between Two Means.
T-tests Chi-square Seminar 7. The previous week… We examined the z-test and one-sample t-test. Psychologists seldom use them, but they are useful to understand.
Inference for distributions: - Comparing two means.
Chapter 9 Lecture 3 Section: 9.3. We will now consider methods for using sample data from two independent samples to test hypotheses made about two population.
Chapter 7 Inference Concerning Populations (Numeric Responses)
Objectives (PSLS Chapter 18) Comparing two means (σ unknown)  Two-sample situations  t-distribution for two independent samples  Two-sample t test 
AP Statistics Chapter 24 Comparing Means. Objectives: Two-sample t methods Two-Sample t Interval for the Difference Between Means Two-Sample t Test for.
T-tests Quantitative Data One group  1-sample t-test Two independent groups  2-sample t-test Two dependent groups  Matched Pairs t-test t-TestsSlide.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Review of Chapter 11 Comparison of Two Populations
Comparing Two Means: Paired Data
Elementary Statistics
Independent Sample T-Test
Chapter 10: The t Test For Two Independent Samples
Comparing Two Means: Paired Data
Objectives (Section 7.2) Two sample problems:
Presentation transcript:

t-tests Quantitative Data One group  1-sample t-test Two independent groups  2-sample t-test Two dependent groups  Matched Pairs t-test t-TestsSlide #1

t-TestsSlide #2 A Full Reality No longer know what  is!!!!! What should be used instead? –Our best guess at   s Changes details, not the big picture t

t-TestsSlide #3 2-Sample t-test -- Examples Do test scores differ between sections of a class? Is the average number of yew per m 2 different between areas exposed to and areas protected from moose browsing? Does the time from ingesting a pill until a subject claims no more headache pain less for subjects given an experimental drug as compared to those given a placebo?

t-TestsSlide #4 2-sample t-test H o :   =  2 (where the subscript is a sample index) because  1 =  2 same as  1 -  2 =0 Statistic: Test Statistic: where s p 2 is the pooled sample variance - 0 df = n 1 + n 2 - 2

t-TestsSlide #5 2-sample t-test Assume: – n 1 + n 2 is large (to use a t-distribution) n 1 + n 2 > 40, OR n 1 + n 2 > 15 and both histograms are not strongly skewed, OR both histograms are approximately normal – the two samples are independent –  1 2 =  2 2 Are  1 2 &  2 2 parameters or statistics? Hypothesis Test -- Levene’s Test –H o :  1 2 =  2 2 vs H a :  1 2   2 2 –What do you do with the p-value?

t-TestsSlide #6 Levene’s Test Summary A hypothesis test within a hypothesis test. Small p-values mean the variances are unequal. If Levene’s test is a reject, can not continue with the 2-sample t-test (as presented here).

t-TestsSlide #7 Are You Surprised by the SE for the difference in means? Let’s do some algebra on the SE for a sample mean It is “similar” to the SE for a single sample mean

t-TestsSlide #8 2-sample t-test When: quantitative data, samples from two populations, samples are independent

t-TestsSlide #9 A study of the effect of caffeine on muscle metabolism used 36 male volunteers who each underwent arm exercise tests. Eighteen of the men were randomly selected to take a capsule containing pure caffeine one hour before the test. The other men received a placebo capsule. During each exercise the subject's respiratory exchange ratio (RER) was measured. [RER is the ratio of CO 2 produced to O 2 consumed and is an indicator of whether energy is being obtained from carbohydrates or fats]. The question of interest to the experimenter was whether, on average and at the 5% level, caffeine changed mean RER. A Full Example

t-TestsSlide #10 Group n Mean StDev Min 1 st Qu Median 3 rd Qu Max Caffeine Placebo Levene’s Test p-value = A Full Example

R Handout t-TestsSlide #11

t-TestsSlide #12 Example Data – Sex & Direction A sample of 30 males and 30 female was taken to an unfamiliar wooded park and given spatial orientation tests, including pointing to the south. The absolute pointing error, in degrees, was recorded. The results are in the SexDirection.txt file on the webpage. Do men have a better sense of direction than women, at the 1% level? from Sholl, X, et al The relation of sex and sense of direction to spatial orientation in an unfamiliar environment. Journal of Environmental Psychology. 20:17-28.