Statistics for the Social Sciences

Slides:



Advertisements
Similar presentations
The t Test for Two Independent Samples
Advertisements

1 SPSS output & analysis. 2 The Regression Equation A line in a two dimensional or two-variable space is defined by the equation Y=a+b*X The Y variable.
Independent Measures T-Test Quantitative Methods in HPELS 440:210.
Chapter 10: The t Test For Two Independent Samples
Comparing Two Means: One-sample & Paired-sample t-tests Lesson 12.
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE
Chapter 9 Introduction to the t-statistic
Statistics for the Social Sciences Psychology 340 Fall 2006 Using t-tests.
Statistics for the Social Sciences Psychology 340 Fall 2006 Using t-tests.
Statistics for the Social Sciences Psychology 340 Spring 2005 Using t-tests.
Using t-tests Basic introduction and 1-sample t-tests Statistics for the Social Sciences Psychology 340 Spring 2010.
Statistics for the Social Sciences
The t Test for Independent Means
Chapter 13 Comparing Two Populations: Independent Samples.
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Analysis of Variance (ANOVA) Statistics for the Social Sciences Psychology 340 Spring 2010.
PSY 307 – Statistics for the Behavioral Sciences
PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.
Inferences About Means of Two Independent Samples Chapter 11 Homework: 1, 2, 3, 4, 6, 7.
Comparing Means: Independent-samples t-test Lesson 14 Population APopulation B Sample 1Sample 2 OR.
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.
Inferences About Means of Two Independent Samples Chapter 11 Homework: 1, 2, 4, 6, 7.
Statistics for the Social Sciences Psychology 340 Spring 2005 Within Groups ANOVA.
Statistics for the Social Sciences
Statistics for the Social Sciences Psychology 340 Spring 2005 Using t-tests.
The t Tests Independent Samples.
Hypothesis Testing :The Difference between two population mean :
Chapter 10 The t Test for Two Independent Samples PSY295 Spring 2003 Summerfelt.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
Comparing Three or More Means ANOVA (One-Way Analysis of Variance)
Reasoning in Psychology Using Statistics
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Reasoning in Psychology Using Statistics Psychology
Introduction to the t Test Part 1: One-sample t test
Chapter 10 The t Test for Two Independent Samples
Tuesday, September 24, 2013 Independent samples t-test.
Chapter 10 Two Sample Tests
Unit 8 Section 7.5.
SEMINAR ON ONE WAY ANOVA
Math 4030 – 10a Tests for Population Mean(s)
i) Two way ANOVA without replication
Psychology 202a Advanced Psychological Statistics
Chapter 8 Hypothesis Testing with Two Samples.
Reasoning in Psychology Using Statistics
Hypothesis Tests for a Population Mean in Practice
Statistics for the Social Sciences
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Chapter 10: The t Test For Two Independent Samples
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
STAT Z-Tests and Confidence Intervals for a
Reasoning in Psychology Using Statistics
Statistics for the Social Sciences
CHAPTER 6 Statistical Inference & Hypothesis Testing
Reasoning in Psychology Using Statistics
Elementary Statistics: Picturing The World
Hypothesis Tests for a Standard Deviation
Reasoning in Psychology Using Statistics
Statistics for the Social Sciences
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Statistical Inference for the Mean: t-test
Presentation transcript:

Statistics for the Social Sciences Psychology 340 Spring 2010 Using t-tests (independent samples)

Statistical analysis follows design Population mean (μ) is known but Population standard deviation (σ) is NOT known One score per subject 1 sample The one-sample t-test can be used when:

Independent samples What are we doing when we test the hypotheses? Consider a new variation of our memory experiment example Memory Test Memory placebo Compare these two means Memory patients Memory Test Memory treatment the memory treatment sample are the same as those in the population of memory patients. they aren’t the same as those in the population of memory patients H0: HA:

Statistical analysis follows design The independent samples t-test can be used when: Samples are independent 2 samples

Performing your statistical test Independent-samples t One-sample t Observed (sample) means Test statistic

Performing your statistical test Independent-samples t One-sample t Hypothesized population means from the Null hypothesis Test statistic

Performing your statistical test Independent-samples t One-sample t Test statistic Hypothesized population means from the Null hypothesis H0: Memory performance by the treatment group is equal to memory performance by the no treatment group. So:

Performing your statistical test One-sample t Test statistic Estimated standard error (difference expected by chance) We have two samples, so the estimate is based on two samples estimate is based on one sample The Estimate of the Standard Error is based on the variability of both samples

Performing your statistical test We combine the variance from the two samples “pooled variance” Number of subjects in group A Number of subjects in group B

Performing your statistical test We combine the variance from the two samples Recall “weighted means,” need to use “weighted variances” here “pooled variance” Variance (s2) * degrees of freedom (df) variance

Performing your statistical test Independent-samples t Compute your estimated standard error Compute your t-statistic Compute your degrees of freedom This is the one you use to look up your tcrit

Performing your statistical test Dr. Mnemonic develops a new treatment for patients with a memory disorder. He isn’t certain what impact, if any, it will have. To test it he randomly assigns 8 patients to one of two samples. He then gives one sample the new treatment but not the other. Following the treatment period he gives both groups a memory test. The data are presented below. Use α = 0.05. Need to compute the mean and variability for each sample Exp. group Control group 45 55 40 60 43 49 35 51

Performing your statistical test Dr. Mnemonic develops a new treatment for patients with a memory disorder. He isn’t certain what impact, if any, it will have. To test it he randomly assigns 8 patients to one of two samples. He then gives one sample the new treatment but not the other. Following the treatment period he gives both groups a memory test. The data are presented below. Use α = 0.05. Need to compute the mean and variability for each sample Exp. group Control group 45 55 40 60 43 49 35 51 Control group = 50 (45-50)2 + (55-50)2 + (40-50)2 + (60-50)2 = 250 SS = A

Performing your statistical test Dr. Mnemonic develops a new treatment for patients with a memory disorder. He isn’t certain what impact, if any, it will have. To test it he randomly assigns 8 patients to one of two samples. He then gives one sample the new treatment but not the other. Following the treatment period he gives both groups a memory test. The data are presented below. Use α = 0.05. Need to compute the mean and variability for each sample Exp. group Control group 45 55 40 60 43 49 35 51 Exp. group = 44.5 (43-44.5)2 + (49- 44.5)2 + (35- 44.5)2 + (51- 44.5)2 = 155 SS = B

Performing your statistical test Dr. Mnemonic develops a new treatment for patients with a memory disorder. He isn’t certain what impact, if any, it will have. To test it he randomly assigns 8 patients to one of two samples. He then gives one sample the new treatment but not the other. Following the treatment period he gives both groups a memory test. The data are presented below. Use α = 0.05. Exp. group Control group 45 55 40 60 43 49 35 51 = 0.95

Performing your statistical test Dr. Mnemonic develops a new treatment for patients with a memory disorder. He isn’t certain what impact, if any, it will have. To test it he randomly assigns 8 patients to one of two samples. He then gives one sample the new treatment but not the other. Following the treatment period he gives both groups a memory test. The data are presented below. Use α = 0.05. Exp. group Control group 45 55 40 60 43 49 35 51 = 0.95 Tobs= 0.95 Tcrit= ±2.447 α = 0.05 Two-tailed

Performing your statistical test Dr. Mnemonic develops a new treatment for patients with a memory disorder. He isn’t certain what impact, if any, it will have. To test it he randomly assigns 8 patients to one of two samples. He then gives one sample the new treatment but not the other. Following the treatment period he gives both groups a memory test. The data are presented below. Use α = 0.05. Exp. group Control group 45 55 40 60 43 49 35 51 = 0.95 Tobs= 0.95 Tcrit= ±2.447 α = 0.05 Two-tailed +2.45 = tcrit - Fail to Reject H0 tobs=0.95

Assumptions: Independent samples t Each of the population distributions follows a normal curve (this is an assumption of all t-tests) T-tests are fairly ‘robust’ against this assumption This means that the results generally still hold even if this assumption is violated Homogeneity of variance: The two populations have the same variance SPSS tests this using Levene’s Test Two rows in the SPSS output Us the top row if the p-value for the Levene’s test is greater than 0.05 Use the bottom row if the p-value for the Levene’s test is less than 0.05 Tests the Null hypothesis that the two groups have equal variances

Effect Size for the t Test for Independent Means Estimated effect size after a completed study “pooled standard deviation” not “pooled variance,” so take the square root of sP2

Power for the t Test for Independent Means (.05 significance level) 8-5 8-4

Approximate Sample Size Needed for 80% Power (.05 significance level) 8-5

Statistical Tests Summary Design Statistical test (Estimated) Standard error One sample, σ known One sample, σ unknown Next time Two related samples, σ unknown Two independent samples, σ unknown

Using SPSS: Independent samples t Person Cntrl-grp Exp-grp Entering the data Different groups of observations go into SAME column e.g., Exp grp and control grp in a single column 1 45 43 2 55 49 3 40 35 4 60 51 Separate column defines the group membership for each observation e.g., exp grp = 0, control grp = 1 Performing the analysis Analyze -> Compare means -> independent samples t-test Identify which columns have the observations (test variable) and which column has the group membership defined (grouping variable) Define groups: what numbers correspond to the two groups? Reading the output Means of the different groups, the mean difference, the computed-t, degrees of freedom, p-value (Sig.), Levene’s test