Chapter 15 Comparing Two Populations: Dependent samples.

Slides:



Advertisements
Similar presentations
Chapter 10: The t Test For Two Independent Samples
Advertisements

1 Chapter 20: Statistical Tests for Ordinal Data.
Chapter 13 Comparing Two Populations: Independent Samples.
Chapter 16 Introduction to Nonparametric Statistics
CHAPTER 21 Inferential Statistical Analysis. Understanding probability The idea of probability is central to inferential statistics. It means the chance.
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 9 Chicago School of Professional Psychology.
Chapter Seventeen HYPOTHESIS TESTING
PSY 307 – Statistics for the Behavioral Sciences
Statistics Are Fun! Analysis of Variance
Overview of Lecture Parametric Analysis is used for
Statistics 07 Nonparametric Hypothesis Testing. Parametric testing such as Z test, t test and F test is suitable for the test of range variables or ratio.
Don’t spam class lists!!!. Farshad has prepared a suggested format for you final project. It will be on the web
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Chapter 9: Introduction to the t statistic
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.
Hypothesis Testing:.
Overview of Statistical Hypothesis Testing: The z-Test
Chapter 14: Nonparametric Statistics
1 Statistics for the Behavioral Sciences (5 th ed.) Gravetter & Wallnau Chapter 10 The t Test for Two Independent Samples University of Guelph Psychology.
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.
Chapter 14: Repeated-Measures Analysis of Variance.
14 Elements of Nonparametric Statistics
NONPARAMETRIC STATISTICS
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.
Two Sample Tests Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
January 31 and February 3,  Some formulae are presented in this lecture to provide the general mathematical background to the topic or to demonstrate.
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.
Chapter 9 Power. Decisions A null hypothesis significance test tells us the probability of obtaining our results when the null hypothesis is true p(Results|H.
Lesson Inferences about the Differences between Two Medians: Dependent Samples.
CHAPTER 14: Nonparametric Methods to accompany Introduction to Business Statistics seventh edition, by Ronald M. Weiers Presentation by Priscilla Chaffe-Stengel.
Hypothesis of Association: Correlation
Hypothesis Testing Using the Two-Sample t-Test
Copyright © Cengage Learning. All rights reserved. 10 Inferences Involving Two Populations.
1 Pertemuan 08 Pengujian Hipotesis Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Chapter 12 Tests of a Single Mean When σ is Unknown.
© 2011 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
1 Paired Differences Paired Difference Experiments 1.Rationale for using a paired groups design 2.The paired groups design 3.A problem 4.Two distinct ways.
Ordinally Scale Variables
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
1 Chapter 8 Introduction to Hypothesis Testing. 2 Name of the game… Hypothesis testing Statistical method that uses sample data to evaluate a hypothesis.
© Copyright McGraw-Hill 2000
Experimental Design and Statistics. Scientific Method
Chapter 17 Comparing Multiple Population Means: One-factor ANOVA.
Prepared by Samantha Gaies, M.A.
Ch11: Comparing 2 Samples 11.1: INTRO: This chapter deals with analyzing continuous measurements. Later, some experimental design ideas will be introduced.
Medical Statistics (full English class) Ji-Qian Fang School of Public Health Sun Yat-Sen University.
CD-ROM Chap 16-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition CD-ROM Chapter 16 Introduction.
T tests comparing two means t tests comparing two means.
Inferential Statistics Inferential statistics allow us to infer the characteristic(s) of a population from sample data Slightly different terms and symbols.
Biostatistics Nonparametric Statistics Class 8 March 14, 2000.
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 11 The t-Test for Two Related Samples
Other Types of t-tests Recapitulation Recapitulation 1. Still dealing with random samples. 2. However, they are partitioned into two subsamples. 3. Interest.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
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.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Two-Sample-Means-1 Two Independent Populations (Chapter 6) Develop a confidence interval for the difference in means between two independent normal populations.
Chapter 10: The t Test For Two Independent Samples.
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc.,All Rights Reserved. Part Four ANALYSIS AND PRESENTATION OF DATA.
Dependent-Samples t-Test
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Comparing Populations
Chapter 13: Repeated-Measures Analysis of Variance
What are their purposes? What kinds?
Presentation transcript:

Chapter 15 Comparing Two Populations: Dependent samples

Dependent Samples Dependent Samples - measurements are somehow related to one another either because: –The measurements came from the same subject (Within-subjects design), or –Subjects were paired or matched (Matched-pairs design) May also be called a “Repeated- measures” designs

Why use dependent samples? Advantages –Fewer subjects required with a within- subjects design (each subject is measured twice) –Increased power through decreased variability Disadvantages –“Carry-over” effects

Carry-over Effects Let’s say we are interested in methods to teach reading to pre-schoolers We –introduce the whole-language method, measure, –then use the phonics method, and measure We have a repeated-measures (within- subjects design), but

Carry-over Effects How can we remove the effects of teaching reading with the whole- language method? There is a “carry-over” to the next condition (phonics) condition, because the preschoolers may have learned to read Do we expect to forget how to read once they learn to?

Carry-over Effects Matched-pairs designs will eliminate the carry-over effect problem Matching, though, must be done well, without respect to the obtained scores, –matching is done before the experiment Along a dimension that is relevant to the study

Dependent Samples t-test With pairs of scores, either the result of matching or taking multiple measurements from the same subject Calculate the difference (D) between the two scores (maintaining positive and negative values) Calculate the mean difference, standard error, and then t

Dependent Samples t-test

M D is the mean of the differences s D is the standard deviation of the differences s M D is the estimated standard error of the sampling distribution of M D Δ 0 is the difference between the population means (parameter)

Example of a Dependent Samples t-test Example of a Dependent Samples t-test We want to compare a new teaching method with a traditional method on math 2 groups th grades in each, Group “Old” receives old method, Group “New” gets new method Subjects are matched on their IQ

Hypothesis test of Old vs. New (teaching math) 1. State and Check Assumptions –About the population Normally distributed? - don’t know Homogeneity of variance – we’ll check – About the sample Independent Random sample? – yes Dependent samples –About the sample Interval level

Hypothesis test of Old vs. New (teaching math) 2.Hypotheses H O : μ Old = μ New (the effectiveness of the old and new method are the same) μ Old - μ New = 0 (the difference between the effectiveness of Old and New is 0) H A : μ 1 ≠ μ 2 (the effectiveness of Old and New are not equal) μ 1 - μ 2 ≠ 0 (there is a difference between the effectiveness the Old and New)

Hypothesis test of Old vs. New (teaching math) 3.Choose test statistic –2 groups dependent samples Dependent-sample t-test

Hypothesis test of Old vs. New (teaching math) 4.Set Significance Level α =.05 Critical Value Non-directional Hypothesis with df = n p - 1 = = 9 From Table C, critical value of α /2 =.025 t crit = 2.262, so we reject H O if t ≤ or t ≥ 2.262

Hypothesis test of Old vs. New (teaching math) 5.Compute Statistic –We need:

Scores on the WAT (Wisconsin Achievement test) OldNewD Need: Δ M D s D s M D

Scores on the WAT OldNewD ΣD = ΣD 2 = M D = SS(D) = s 2 D = s D = n p = s M D = s D /√n p = 6.833/ √ = 2.161

Example (non- directional H A ) t is greater than t crit, reject H O

Hypothesis test of Old vs. New (teaching math) 6. Draw Conclusions –because our t falls within the rejection region, we reject the H O, and –conclude that the old and new method differ in their effectiveness in teaching math, with the old method superior

Comparing Dependent and Independent Samples t-tests Suppose, instead of pairing subjects based on IQ, we compared the mean of the two groups using a 2- independent samples t-test

Scores on the WAT Old 78 ΣX O = ΣX 2 O = M O = SS(X O ) = s 2 O = s O = n O = New 74ΣX N = ΣX 2 N = M N = SS(X N ) = s 2 N = s N = n N =

Independent Samples t-test Cannot reject H O

Comparison (cont.) By matching subjects, a priori (prior to the experiment) the variance is reduced substantially, thereby Allowing us to find a difference that was obscured

Ranking When completing a Wilcoxon, ranking must be done with the smallest difference receiving the lowest rank (1) The biggest difference gets a rank of n p

Hypothesis Test with non- parametric alternative to t-test Nicotine patches supposedly reduces smoking A psychologist records the number of cigarettes each of 9 patients smokes per day without a patch and with a nicotine patch.

OOPS!

Hypothesis Test 1.State and Check assumptions –Random Sample - yes –Dependent Sample (Within-subjects design) measures come from the same person (wearing the patch, and not wearing the patch) –Number of cigarettes smokes normally distributed? - not sure –Homogeneity of Variance - nope

Hypothesis Test 2.State Hypotheses H O : μ BEFORE = μ AFTER H A : μ BEFORE > μ AFTER

Hypothesis Test 3.Choose Test –2 dependent samples –H of V - no Wilcoxon T m (Wilcoxon signed-ranks test)

Hypothesis Test 4.Set Significance level α =.05 with n p > 8, the Wilcoxon T m approaches a z directional alternative at.05, using Table A z = 1.65 if obtained z ≥ 1.65, Reject H O

Hypothesis Test 5.Compute Test Statistic

Wilcoxon Test Non-parametric alternative to dependent sample t-test –Calculate the differences between paired scores (D) –Calculate the absolute value of each (|D|) –Rank |D| –“Sign” the ranks using the sign from D –Add all positive Ranks (T + )

Hypothesis Test 6.Draw conclusions –Since the obtained z was greater that the critical z of +1.65, H O is rejected, and –Conclude that the distributions are different with the before values greater than the after values

Review Procedure for calculating t Independent samples Compute (for each group):

Calculating t - Independent Samples To find t, the estimated standard error of the sampling distribution is calculated:

Computing t The t statistic ( a family of distributions which varies with df) is computed using:

Review Procedure for finding t Dependent Samples –matched-pairs, correlated samples, repeated-measures, etc. (2 samples) –Compute D (the difference between pairs of scores) n p (the number of pairs of scores M D (the mean of the differences)

Dependent Samples t (cont.) –Compute s D (the standard deviation of the differences) s M D (the estimated standard error)

Estimated Standard Error and t

Conceptually, what is the t statistic? In both tests, the numerator is a measure of the observed difference between scores (either unpaired or paired) The denominator, of both tests, is an estimate of the standard deviation of the sampling distribution of M 1 - M 2 (we call it “standard error”)

Error Terms When a sample is taken from a population, statistics computed from the sample are estimates of parameters, however, A certain amount of variability is expected (no two sample means are exactly alike) This variability from sample to sample is called “error”

Error and t-tests The amount of error obtained from a sample is used to estimate the “standard” error that might be expected in the situation (given n, etc.) This error can produce large (significant) differences between sample statistics, just by chance, because no two sample means are exactly alike

t statistic as a ratio Therefore, obtained difference t = ———————————————— difference expected by chance (“error”) We will return to this type of conception again

Can’t tell the difference between independent and dependent samples? If measurements are related to one another - dependent samples You will not be told when to use independent or dependent samples t- tests You have to decide

Example A psychologist believes that environment is more important than genetics in influencing intelligence. She locates 12 pairs of identical twins that have been reared apart, one twin in each pair in an enriched environment and the other in an impoverished one. Independent or Dependent Samples?

Another A new experimental drug, ABZ, is thought to have beneficial effects on AIDS. 20 AIDS patients are randomly selected and assigned to one of two conditions: ABZ for 90 days or Placebo for 90 days. Independent or Dependent Samples?

A third example A researcher suspects that increasing the level of lighting during the winter months will increase mood. The researcher selects 36 students, tests their mood, then replaces the light bulbs in the dorm from 75-W to 100-W for 1 month, then tests each student again Independent or Dependent Sample?