TWO-SAMPLE t-TESTS.  Independent versus Related Samples  Your two samples are independent if you randomly assign individuals into the two treatment.

Slides:



Advertisements
Similar presentations
Single Sample t-test Purpose: Compare a sample mean to a hypothesized population mean. Design: One group.
Advertisements

PSY 307 – Statistics for the Behavioral Sciences
UNDERSTANDING RESEARCH RESULTS: STATISTICAL INFERENCE.
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
Hypothesis testing applied to means. Characteristics of the Sampling Distribution of the mean The sampling distribution of means will have the same mean.
Independent Samples and Paired Samples t-tests PSY440 June 24, 2008.
PSY 307 – Statistics for the Behavioral Sciences
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
T-Tests Lecture: Nov. 6, 2002.
S519: Evaluation of Information Systems
 What is t test  Types of t test  TTEST function  T-test ToolPak 2.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Way ANOVA (Cont.)
PSY 307 – Statistics for the Behavioral Sciences
Hypothesis Testing Using The One-Sample t-Test
Hypothesis Testing: Two Sample Test for Means and Proportions
PSY 307 – Statistics for the Behavioral Sciences
The t-test Inferences about Population Means when population SD is unknown.
Inferential Statistics
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
T Test for One Sample. Why use a t test? The sampling distribution of t represents the distribution that would be obtained if a value of t were calculated.
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.
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
Hypothesis Testing:.
Statistical Analysis Statistical Analysis
The Hypothesis of Difference Chapter 10. Sampling Distribution of Differences Use a Sampling Distribution of Differences when we want to examine a hypothesis.
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
One-Way Analysis of Variance Comparing means of more than 2 independent samples 1.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 11 Inferences About Population Variances n Inference about a Population Variance n.
Hypothesis Testing CSCE 587.
Mid-Term Review Final Review Statistical for Business (1)(2)
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Hypothesis Testing Using the Two-Sample t-Test
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Statistics 11 Confidence Interval Suppose you have a sample from a population You know the sample mean is an unbiased estimate of population mean Question:
Lecturer’s desk INTEGRATED LEARNING CENTER ILC 120 Screen Row A Row B Row C Row D Row E Row F Row G Row.
Chi-squared Tests. We want to test the “goodness of fit” of a particular theoretical distribution to an observed distribution. The procedure is: 1. Set.
© 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.
Testing Hypotheses about Differences among Several Means.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Experimental Design Experiment: A type of research study that tests the idea that one variable causes an effect on another variable.
Difference Between Means Test (“t” statistic) Analysis of Variance (“F” statistic)
One-Way ANOVA ANOVA = Analysis of Variance This is a technique used to analyze the results of an experiment when you have more than two groups.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Independent t-Test CJ 526 Statistical Analysis in Criminal Justice.
Interval Estimation and Hypothesis Testing Prepared by Vera Tabakova, East Carolina University.
Two-Sample Hypothesis Testing. Suppose you want to know if two populations have the same mean or, equivalently, if the difference between the population.
Reasoning in Psychology Using Statistics Psychology
Chapter Twelve The Two-Sample t-Test. Copyright © Houghton Mifflin Company. All rights reserved.Chapter is the mean of the first sample is the.
The T-Test for Two Related Samples (Dependent Samples) Introduction to Statistics Chapter 11 April 6-8, 2010 Class #21-22.
Review - Confidence Interval Most variables used in social science research (e.g., age, officer cynicism) are normally distributed, meaning that their.
Chapter Thirteen Part II Hypothesis Testing: Means.
Chapter 10 The t Test for Two Independent Samples
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
© 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.
Difference Between Means Test (“t” statistic) Analysis of Variance (F statistic)
Practice A research study was conducted to examine the differences between older and younger adults on perceived life satisfaction. A pilot study was.
Chapter Eleven Performing the One-Sample t-Test and Testing Correlation.
The T-Test for Two Related Samples (Dependent Samples) Introduction to Statistics Chapter 11 March 31, 2009 Class #20.
Psychology 290 Lab z-tests & t-tests March 5 - 7, 2007 –z-test –One sample t-test –SPSS – Chapter 7.
Hypothesis Tests u Structure of hypothesis tests 1. choose the appropriate test »based on: data characteristics, study objectives »parametric or nonparametric.
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 9: t test.
Introduction to Statistics for the Social Sciences SBS200, COMM200, GEOG200, PA200, POL200, or SOC200 Lecture Section 001, Spring 2016 Room 150 Harvill.
Inferential Statistics Introduction to Hypothesis Testing.
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.
T-tests Comparing the means of 2 independent similar populations.
Dependent-Samples t-Test
Reasoning in Psychology Using Statistics
One way ANALYSIS OF VARIANCE (ANOVA)
Presentation transcript:

TWO-SAMPLE t-TESTS

 Independent versus Related Samples  Your two samples are independent if you randomly assign individuals into the two treatment groups.  Your samples are related if either ▪ Each person in sample A is matched to a partner in sample B (matched samples) OR ▪ Each person in the study is measured under both conditions (repeated measures)

INDEPENDENT SAMPLES t-TEST The steps to conducting an independent samples t-test are:  State your research question hypotheses  Determine your rejection rule  Calculate the t-statistic  Use your rejection rule to decide whether you  Reject the null hypothesis  Fail to reject the null hypothesis

INDEPENDENT SAMPLES t-TEST Two-Tailed Test Hypotheses  H0:  = 0  H1:  ≠ 0

INDEPENDENT SAMPLES t-TEST  Two-tailed Rejection Rule  If you are using the t-table, reject H0 ▪ if t(obt) > t(crit, , n 1 + n 2 - 2) OR ▪ if t(obt) < -t(crit, , n 1 + n 2 - 2)  If you are using the SPSS printout, reject H0 if p <.05

INDEPENDENT SAMPLES t-TEST One-tailed test where you believe the scores in sample 1 will be greater than the scores in sample 2. The hypotheses are  H0:  ≤ 0  H1:  > 0

INDEPENDENT SAMPLES t-TEST  One-Tailed Rejection Rule where you believe the scores in sample 1 will be greater than the scores in sample 2.  If using the t-table, reject H0  if t(obt) > t(crit, , n 1 + n 2 - 2)  If using the SPSS printout, reject Ho if p<.05.

INDEPENDENT SAMPLES t-TEST One-tailed test where you believe the scores in sample 1 will be less than the scores in sample 2. The hypotheses are  H0:  ≥ 0  H1:  < 0

INDEPENDENT SAMPLES t-TEST  One-tailed Rejection Rule where you believe the scores in sample 1 will be less than the scores in sample 2.  If using the t-table, reject H0  if t(obt) < -t(crit, , n1 + n2 - 2)  If using the SPSS printout, reject Ho if p <.05.

INDEPENDENT SAMPLES t-TEST Calculating the independent samples t-statistic 1.Calculate the mean for each of the two samples 2.Calculate the sum of squares for each of the two samples. What’s a sum of squares? It’s the same as the formula for the variance, except don’t do the final step of dividing by n – 1. SS 1 for the first sample and SS 2 for the second

INDEPENDENT SAMPLES t-TEST Calculating the independent samples t-statistic: Step 1. NOBODY PANIC!

INDEPENDENT SAMPLES t-TEST Step 2. Find the difference between the group means. Note: It doesn’t matter which group you designate as sample 1 and which as sample 2, AS LONG AS you take into consideration which group you mean when you set up your hypotheses and rejection rules. [Continued on next slide.]

INDEPENDENT SAMPLES t-TEST Step 3a. Divide the number 1 by the number of observations in the first sample (n 1 ). Step 3b. Divide the number 1 by the number of observations in the second sample (n 2 ). Step 3c. Add the answers to Step 3a and Step 3b. Refer to Step 1!

INDEPENDENT SAMPLES t-TEST Step 4. Add the sum of squares for the first sample (SS 1 ) to the sum of squares for the second sample (SS 2 ). See slide #8 for information about calculating the sum of squares. Step 5. Find the degrees of freedom by adding the number of observations in the first sample (n 1 ) to the number of observations in the second sample (n 2 ) and then subtracting the number 2. [Continued on next slide.]

INDEPENDENT SAMPLES t-TEST Step 6. Divide your answer from Step 4 by the answer from Step 5. Step 7. Multiply your answer from Step 6 to the answer from Step 3c. Refer to Step 1.

INDEPENDENT SAMPLES t-TEST Step 8. Take the square root of your answer in Step 7. Step 9. Divide your answer from Step 2 by the answer from Step 8. Compare your obtained t-statistic to the critical t-value from your rejection rule and decide the appropriate action.

INDEPENDENT SAMPLES t-TEST  Find the appropriate t (crit) from the t-table in the back of the book, using the correct bar at the top depending on a one-tailed or a two-tailed test, , and df = n 1 + n  OR use the significance level shown on the SPSS printout. If it is less than.05, reject Ho.  Calculate t (obt) using the two independent samples t-test.  Make your decision based on your rejection rule.

EXAMPLE OF INDEPENDENT SAMPLES t-TEST Independent Variable is brand of oven (two brands) Dependent Variable is hours it worked until failure. Brand ABrand B

EXAMPLE OF INDEPENDENT SAMPLES t-TEST Stuff we’ll need Brand ABrand B XX 1,2771,005 n 66 1,277 ÷ 6 = ,005 ÷ 6 = ,415172,139 SS =

EXAMPLE OF INDEPENDENT SAMPLES t-TEST Now, for it!

RELATED SAMPLES t-TEST Two-Tailed Test Hypotheses Rejection Rule--Reject H0  if t(obt) > t(crit, , N-1) OR if t(obt) < -t(crit, , N-1) where N is the number of differences  OR if the significance level on the SPSS printout is less than.05

RELATED SAMPLES t-TEST One-tailed test where you believe the scores in sample 1 will be less than the scores in sample 2 (which means that the differences will tend to be less than 0).  Hypotheses  Rejection Rule--Reject H0  if t(obt) < -t(crit, , N-1)  OR if the significance level on the SPSS printout is less than.05

RELATED SAMPLES t-TEST One-tailed test where you believe the scores in sample 1 will be greater than the scores in sample 2 (which means that the differences will tend to be greater than 0). Hypotheses Rejection Rule--Reject H0 if t(obt) > t(crit, , N-1) OR if the significance level on the SPSS printout is less than.05.

RELATED SAMPLES t-TEST Calculating the related samples t-statistic Step 1. Find the difference between each pair of scores. Again, it doesn’t matter which sample you designate as 1 and which is 2, AS LONG AS you (a) consistently subtract sample 2 from sample 1, and (b) keep the order in mind as you set up your hypotheses and rejection rule. From this point on, ignore the original scores and use only the difference scores (designed with a subscript D). The test is conducted pretty much the same as if it were a one- sample test. [Continued on next slide.]

RELATED SAMPLES t-TEST Step 4. Divide your answer from Step 3 by N(N – 1). Step 5. Take the square root of your answer from Step 4. Step 6. Divide your answer from Step 2 by the answer from Step 5. Compare this obtained t-value against the critical t-value from the rejection rule and decide the appropriate action.  Step 2. Find the mean of the difference scores.  Step 3. Find the sum of squares of the difference scores. Be sure to use N as the number of pairs of scores (or the number of difference scores) to do the division.

RELATED SAMPLES t-TEST  Find the appropriate t (crit) from the t-table in the back of the book, using the correct bar at the top depending on a one-tailed or a two-tailed test, , and df = N - 1.  OR use the significance level on the SPSS printout.  Calculate t (obt) using the related samples t-test.  Make your decision based on your rejection rule.

EXAMPLE OF RELATED-MEASURES t-TEST Same data as before Brand ABrand BDifference Size Size Size Size Size Size

EXAMPLE OF RELATED-MEASURES T-TEST Stuff we’ll need Differences DD 272 N ÷ 6 = ,042 SS =

EXAMPLE OF RELATED-MEASURES t-TEST And now