The Paired-Samples t Test Chapter 10. Research Design Issues >So far, everything we’ve worked with has been one sample One person = Z score One sample.

Slides:



Advertisements
Similar presentations
Statistics for the Behavioral Sciences Hypothesis Testing with z Tests
Advertisements

Statistics for the Behavioral Sciences The Paired-Samples t Test
The Independent- Samples t Test Chapter 11. Independent Samples t-Test >Used to compare two means in a between-groups design (i.e., each participant is.
Ethan Cooper (Lead Tutor)
Statistics for the Behavioral Sciences Second Edition Chapter 9: The Single-Sample t Test iClicker Questions Copyright © 2012 by Worth Publishers Susan.
Confidence Interval and Hypothesis Testing for:
Lecture 10 Non Parametric Testing STAT 3120 Statistical Methods I.
THE z - TEST n Purpose: Compare a sample mean to a hypothesized population mean n Design: Any design where a sample mean is found.
Chapter Seventeen HYPOTHESIS TESTING
PSY 307 – Statistics for the Behavioral Sciences
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
BCOR 1020 Business Statistics
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
A Decision-Making Approach
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.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 10-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing: Two Sample Test for Means and Proportions
7.1 Lecture 10/29.
Chapter 7 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 Chapter 7: The t Test for Two Independent Sample Means To conduct a t test for.
The Paired-Samples t Test Chapter 10. Paired-Samples t Test >Two sample means and a within-groups design >The major difference in the paired- samples.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
Statistics for Managers Using Microsoft® Excel 7th Edition
Significance Tests …and their significance. Significance Tests Remember how a sampling distribution of means is created? Take a sample of size 500 from.
Single-Sample T-Test Quantitative Methods in HPELS 440:210.
Stats 95 t-Tests Single Sample Paired Samples Independent Samples
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Hypothesis Testing CSCE 587.
Statistics for the Behavioral Sciences Second Edition Chapter 11: The Independent-Samples t Test iClicker Questions Copyright © 2012 by Worth Publishers.
381 Hypothesis Testing (Testing with Two Samples-III) QSCI 381 – Lecture 32 (Larson and Farber, Sects 8.3 – 8.4)
Pengujian Hipotesis Dua Populasi By. Nurvita Arumsari, Ssi, MSi.
Hypothesis Testing Using the Two-Sample t-Test
Between-Groups ANOVA Chapter 12. >When to use an F distribution Working with more than two samples >ANOVA Used with two or more nominal independent variables.
1 Psych 5500/6500 The t Test for a Single Group Mean (Part 1): Two-tail Tests & Confidence Intervals Fall, 2008.
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Lecture 9 Chap 9-1 Chapter 2b Fundamentals of Hypothesis Testing: One-Sample Tests.
Prepared by Samantha Gaies, M.A.
The Single-Sample t Test Chapter 9. The t Distributions >Distributions of Means When the Parameters Are Not Known >Using t distributions Estimating a.
Chapter 8 Parameter Estimates and Hypothesis Testing.
The Independent- Samples t Test Chapter 11. Quick Test Reminder >One person = Z score >One sample with population standard deviation = Z test >One sample.
Testing Differences between Means, continued Statistics for Political Science Levin and Fox Chapter Seven.
Review - Confidence Interval Most variables used in social science research (e.g., age, officer cynicism) are normally distributed, meaning that their.
The Single-Sample t Test Chapter 9. t distributions >Sometimes, we do not have the population standard deviation. (that’s actually really common). >So.
Stats Lunch: Day 3 The Basis of Hypothesis Testing w/ Parametric Statistics.
Chapter 10 The t Test for Two Independent Samples
Stats 95 t-Tests Single Sample Paired Samples Independent Samples.
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Comparing Means Chapter 24. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Nonparametric Tests with Ordinal Data Chapter 18.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
Hypothesis Testing with z Tests Chapter 7. A quick review This section should be a review because we did a lot of these examples in class for chapter.
Between-Groups ANOVA Chapter 12. Quick Test Reminder >One person = Z score >One sample with population standard deviation = Z test >One sample no population.
Chapter 11: The t Test for Two Related Samples. Repeated-Measures Designs The related-samples hypothesis test allows researchers to evaluate the mean.
Example 1 We wanted to know if the American League or National League had better pitching – many people believe the NL has stronger pitching (which means.
Independent-Sample T-Test Lab16_10.14 Download two files from Canvas: 1. Excel data file: The link->lab files-> October 14th > lab16_data lab16_data 2.
The Single-Sample t Test Chapter 9. t distributions >Sometimes, we do not have the population standard deviation, σ. Very common! >So what can we do?
When the means of two groups are to be compared (where each group consists of subjects that are not related) then the excel two-sample t-test procedure.
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Two Sample T-Tests AP Statistics.
CHAPTER 12 Inference for Proportions
Chapter 24 Comparing Means Copyright © 2009 Pearson Education, Inc.
Inferences from Matched Pairs
Presentation transcript:

The Paired-Samples t Test Chapter 10

Research Design Issues >So far, everything we’ve worked with has been one sample One person = Z score One sample with population standard deviation = Z test One sample no population standard deviation = single t-test

Research Design Issues >So what if we want to study either two groups or the same group twice Between subjects = when people are only in one group or another (can’t be both) Repeated measures = when people take all the parts of the study

Research Design Issues >Between subjects design = independent t test (chapter 11) >Repeated measures design = dependent t test (chapter 10)

Research Design Issues >So what do you do when people take things multiple times? Order effects = the order of the levels changes the dependent scores >Weight estimation study >Often also called fatigue effects What to do?!

Research Design Issues >Counterbalancing Randomly assigning the order of the levels, so that some people get part 1 first, and some people get part 2 first Ensures that the order effects cancel each other out So, now we might meet step 2!

Assumptions AssumptionSolution Normal distributionN >=30 DV is scaleNothing – do nonparametrics Random selection (sampling)Random assignment (to which counterbalance order! We can do this now!)

Paired-Samples t Test >Two sample means and a within-groups design >We have two scores for each person … how can we test that? The major difference in the paired-samples t test is that we must create difference scores for every participant

Paired-Samples t Test >Distributions Z = Distribution of scores Z = distribution of means (for samples) t = distribution of means (for samples with estimated standard deviation) t = distribution of differences between means (for paired samples with estimated standard deviation)

Distribution of Differences Between Means

>So what does that do for us? Creates a comparison distribution (still talking about t here … remember the comparison distribution is the “population where the null is true”) Where the difference is centered around zero, therefore um = 0.

Distribution of Differences Between Means >When you have one set of scores by creating a difference score … You basically are doing a single sample t where um = 0. Whew! Same steps.

Steps for Calculating Paired Sample t Tests >Step 1: Identify the populations (levels), distribution, and assumptions. >Step 2: State the null and research hypotheses. >Step 3: Determine the characteristics of the comparison distribution. >Step 4: Determine critical values, or cutoffs. >Step 5: Calculate the test statistic. >Step 6: Make a decision.

Step 1 >Let’s work some examples: chapter 10 docx on blackboard. >List out the assumptions: DV is scale? Random selection or assignment? Normal?

Step 2 >List the sample, population, and hypotheses Sample: difference scores for the two measurements Population: those difference scores will be zero (um = 0)

Step 3 >List the descriptive statistics >M difference: >SD difference: >SE difference: >N: >um = 0

Calculating in R >You will have two sets of scores to deal with. We can use these scores in wide format, so let’s enter them that way. Excel file is online.

Calculating in R >We want to get a mean difference score first. Important! Think about the hypothesis. If you pick a one-tailed test, the order of subtraction is important!

Calculating in R >Create a difference score to calculate the numbers you need: difference = data$column – data$column

Calculating in R >Get the mean, sd, and se in the same way we did in the last chapter: summary(difference) sd(difference) sd(difference) / sqrt(length(difference))

Step 4 >Figure out the cut off score, t critical >Less test: qt(.05, df, lower.tail = T) >Greater test: qt(.05, df, lower.tail = F) >Difference test: qt(.05/2, df, lower.tail = T) May also be.01 – remember to read the problem.

Step 5 >Find t actual t.test(data$column, data$column, paired = T, alternative = “less” OR “greater” OR “two.sided”, conf.level =.95 OR.99)

Step 5 >Stop! Make sure your mean difference score, df, and hypothesis all match.

Step 6 >Compare step 4 and 5 – is your score more extreme? Reject the null >Compare step 4 and 5 – is your score closer to the middle? Fail to reject the null

Confidence Interval >Lower = M difference – t critical *SE >Upper = M difference + t critical *SE >A quicker way! Use t.test() with a TWO tailed test to get the two tailed confidence interval. Or use the effect size coding R script!

Effect Size >Cohen’s d: Note this S = s of the difference scores not s of either level. Remember, SD = s.

Effect Size >Run all the effsize.R to get the right functions. >d.deptdiff(mdiff =.857, sddiff = 1.07, n = 7, a =.05, k = 2) M = 0.86, SD = 1.07, SE = 0.40, 95%CI[ ] t(6) = 2.12, p = 0.08, d = 0.80, 95%CI[ ] - Remember that t values here are always two-tailed, t will match but not necessarily p.