Comparing the Means of Two Dependent Populations

Slides:



Advertisements
Similar presentations
Inference about Means/Averages Chapter 23 Looking at means rather than percentages.
Advertisements

Small differences. Two Proportion z-Interval and z-Tests.
Happiness comes not from material wealth but less desire. 1.
Common Statistical Mistakes. Mistake #1 Failing to investigate data for data entry or recording errors. Failing to graph data and calculate basic descriptive.
Two-Sample Inference Procedures with Means. Remember: We will be intereste d in the differen ce of means, so we will use this to find standard error.
Confidence Interval and Hypothesis Testing for:
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
Copyright ©2011 Brooks/Cole, Cengage Learning Testing Hypotheses about Means Chapter 13.
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
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.
PSY 307 – Statistics for the Behavioral Sciences
Lecture 8 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Lecture Inference for a population mean when the stdev is unknown; one more example 12.3 Testing a population variance 12.4 Testing a population.
1 Tests of Hypotheses about the mean - continued.
5-3 Inference on the Means of Two Populations, Variances Unknown
Quantitative Business Methods for Decision Making Estimation and Testing of Hypotheses.
Hypothesis Testing in SPSS Using the T Distribution
Lab 5 Hypothesis testing and Confidence Interval.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
T-test Mechanics. Z-score If we know the population mean and standard deviation, for any value of X we can compute a z-score Z-score tells us how far.
Comparing the Means of Two Dependent Populations The Paired T-test ….
Dependent Samples: Hypothesis Test For Hypothesis tests for dependent samples, we 1.list the pairs of data in 2 columns (or rows), 2.take the difference.
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.
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
T-TEST Statistics The t test is used to compare to groups to answer the differential research questions. Its values determines the difference by comparing.
STATISTICAL INFERENCE PART VIII HYPOTHESIS TESTING - APPLICATIONS – TWO POPULATION TESTS 1.
Two-Sample Inference Procedures with Means. Suppose we have a population of adult men with a mean height of 71 inches and standard deviation of 2.6 inches.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.3 Using Multiple Regression to Make Inferences.
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.
Math 4030 – 9b Comparing Two Means 1 Dependent and independent samples Comparing two means.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Business Statistics, 4e, by Ken Black. © 2003 John Wiley & Sons Business Statistics, 4e by Ken Black Chapter 10 Statistical Inferences about Two.
Paired Samples and Blocks
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 24, Slide 1 Chapter 25 Paired Samples and Blocks.
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
Sampling Distribution of Differences Between Means.
Comparing Two Means Ch. 13. Two-Sample t Interval for a Difference Between 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.
Two-Sample Inference Procedures with Means. Two-Sample Procedures with means two treatments two populationsThe goal of these inference procedures is to.
Hypothesis Tests l Chapter 7 l 7.1 Developing Null and Alternative
Two-Sample Inference Procedures with Means
Common Statistical Mistakes
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
Two-Sample Inference Procedures with Means
LBSRE1021 Data Interpretation Lecture 9
Estimation & Hypothesis Testing for Two Population Parameters
Practice & Communication of Science
Math 4030 – 10a Tests for Population Mean(s)
Psychology 202a Advanced Psychological Statistics
Types of T-tests Independent T-tests Paired or correlated t-tests
Two-Sample Inference Procedures with Means
Hypothesis Theory PhD course.
Two-Sample Inference Procedures with Means
Paired Samples and Blocks
STAT Z-Tests and Confidence Intervals for a
Statistics for the Social Sciences
CHAPTER 6 Statistical Inference & Hypothesis Testing
Two-Sample Hypothesis Test with Means
Hypothesis Tests for a Standard Deviation
Chapter 13: Inferences about Comparing Two Populations Lecture 7a
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
Two-Sample Inference Procedures with Means
Comparing two means: Module 7 continued module 7.
Chapter 9 Lecture 4 Section: 9.4.
STA 291 Spring 2008 Lecture 21 Dustin Lueker.
Chapter 9 Lecture 3 Section: 9.3.
Presentation transcript:

Comparing the Means of Two Dependent Populations The Paired T-test ….

Assumptions: 2-Sample T-Test Data in each group follow a normal distribution. For pooled test, the variances for each group are equal. The samples are independent. That is, who is in the second sample doesn’t depend on who is in the first sample (and vice versa).

What happens if samples aren’t independent? That is, they are “dependent” or “correlated”?

Do males earn higher average starting salaries than females? (in $1,000s) Males Females 60 32 32 44 80 22 50 40 Sample Average: $55.5 $34.5 Real question is whether males and females in the same job earn different average salaries. Better then to compare the difference in salaries in “pairs” of males and females.

Now, a Paired Study Salaries (in $1,000s) Job Males Females Difference=M-F Non-Profit 22 20 2.0 Education 29 28 1.0 Doctor 80 78 2.0 Scientist 35 32 3.0 Averages 41.5 39.5 2.0 P-value = How likely is it that a paired sample would have a difference as large as $2,000 if the true difference were 0? Problem reduces to a One-Sample T-test on differences!!!!

Hypotheses for Paired T-test Does the average difference of the population, D, differ from 0? Null hypothesis: H0: D = 1 - 2 = 0 Alternative hypotheses: HA: D = 1 - 2  0 HA: D = 1 - 2 > 0 HA: D = 1 - 2 < 0

The Paired-T Test Statistic If: there are n pairs and the differences are normally distributed Then: The test statistic, which follows a t-distribution with n-1 degrees of freedom, gives us our p-value:

The Paired-T Confidence Interval If: there are n pairs and the differences are normally distributed Then: The confidence interval, with t following t-distribution with n-1 d.f. estimates the actual population difference:

Data analyzed as 2-Sample T Two sample T for M vs F N Mean StDev SE Mean M 4 41.5 26.2 13 F 4 39.5 26.1 13 95% CI for mu M - mu F: ( -43, 47) T-Test mu M = mu F (vs not =): T = 0.11 (=2/18.5) P = 0.92 DF = 6 Pooled StDev = 18.5 P = 0.92. Do not reject null. Insufficient evidence to conclude that average starting salaries differ between males and females.

Data analyzed as Paired T Paired T for M - F N Mean StDev SE Mean M 4 41.5 26.2 13.1 F 4 39.5 26.1 13.1 Difference 4 2.000 0.816 0.408 95% CI for mean difference: (0.701, 3.299) T-Test of mean difference = 0 (vs not = 0): T-Value = 4.90 (=2/0.408) P-Value = 0.016 P = 0.016. Reject null. Sufficient evidence to conclude that average starting salaries differ between males and females.

What happened? P-value from two-sample t-test is just plain wrong. (Assumptions not met.) We removed or “blocked out” the extra variability in the data due to differences in jobs, thereby focusing directly on the differences in salaries. The paired t-test is more “powerful” because the paired design reduces the variability in the data.

What is the effect of alcohol on useful consciousness? Ten male subjects taken to a simulated altitude of 25,000 ft and given tasks to perform. For each, time (in seconds) at which “useful consciousness” ended was recorded. 3 days later, experiment was repeated one hour after subjects ingested 0.5 cm3 of 100-proof whiskey per pound of body weight.

What is the effect of alcohol on useful consciousness? H0: D = No alcohol - Alcohol = 0 vs. H1: D > 0 (one sided) Paired T for NoAlcohol - Alcohol N Mean StDev SE Mean NoAlcohol 10 546.6 238.8 75.5 Alcohol 10 351.0 210.9 66.7 Difference 10 195.6 230.5 72.9 95% CI for mean difference: (30.7, 360.5) T-Test of mean difference = 0 (vs > 0): T-Value = 2.68 P-Value = 0.013

What is the effect of time on memory recall? 8 people were given 10 minutes to memorize a list of 20 nonsense words. Each was asked to list as many words as he or she could remember after 1 hour and again after 24 hours.

What is the effect of time on memory recall? Paired T for 1hour - 24hour N Mean StDev SE Mean 1hour 8 12.75 3.69 1.31 24hour 8 9.13 3.52 1.25 Difference 8 3.625 2.066 0.730 95% CI for mean difference: (1.897, 5.353) T-Test of mean difference = 0 (vs not > 0): T-Value = 4.96 P-Value = 0.001