t(ea) for Two: Test between the Means of Different Groups When you want to know if there is a ‘difference’ between the two groups in the mean Use “t-test”.

Slides:



Advertisements
Similar presentations
PSY 307 – Statistics for the Behavioral Sciences Chapter 20 – Tests for Ranked Data, Choosing Statistical Tests.
Advertisements

Independent Sample T-test Formula
Lecture 10 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Part I – MULTIVARIATE ANALYSIS
What z-scores represent
Inferential Stats for Two-Group Designs. Inferential Statistics Used to infer conclusions about the population based on data collected from sample Do.
PSY 307 – Statistics for the Behavioral Sciences
Intro to Statistics for the Behavioral Sciences PSYC 1900
Analysis of Differential Expression T-test ANOVA Non-parametric methods Correlation Regression.
Lecture 9: One Way ANOVA Between Subjects
Two Groups Too Many? Try Analysis of Variance (ANOVA)
8. ANALYSIS OF VARIANCE 8.1 Elements of a Designed Experiment
One-way Between Groups Analysis of Variance
Chapter 11: Inference for Distributions
Lecture 7 PY 427 Statistics 1 Fall 2006 Kin Ching Kong, Ph.D
Analysis of Variance & Multivariate Analysis of Variance
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Today Concepts underlying inferential statistics
Chapter 9: Introduction to the t statistic
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
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.
ANOVA Chapter 12.
AM Recitation 2/10/11.
F-Test ( ANOVA ) & Two-Way ANOVA
PS 225 Lecture 15 Analysis of Variance ANOVA Tables.
Hypothesis Testing:.
ANOVA Greg C Elvers.
Education 793 Class Notes T-tests 29 October 2003.
One-Way Analysis of Variance Comparing means of more than 2 independent samples 1.
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
 The idea of ANOVA  Comparing several means  The problem of multiple comparisons  The ANOVA F test 1.
© Copyright McGraw-Hill CHAPTER 12 Analysis of Variance (ANOVA)
Educational Research: Competencies for Analysis and Application, 9 th edition. Gay, Mills, & Airasian © 2009 Pearson Education, Inc. All rights reserved.
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 10. Hypothesis Testing II: Single-Sample Hypothesis Tests: Establishing the Representativeness.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
ANOVA (Analysis of Variance) by Aziza Munir
Testing Hypotheses about Differences among Several Means.
Chapter 14 – 1 Chapter 14: Analysis of Variance Understanding Analysis of Variance The Structure of Hypothesis Testing with ANOVA Decomposition of SST.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
I. Statistical Tests: A Repetive Review A.Why do we use them? Namely: we need to make inferences from incomplete information or uncertainty þBut we want.
Jeopardy Hypothesis Testing t-test Basics t for Indep. Samples Related Samples t— Didn’t cover— Skip for now Ancient History $100 $200$200 $300 $500 $400.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
Chapter 13 - ANOVA. ANOVA Be able to explain in general terms and using an example what a one-way ANOVA is (370). Know the purpose of the one-way ANOVA.
Chapter 14 Repeated Measures and Two Factor Analysis of Variance
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Chapter 8 Parameter Estimates and Hypothesis Testing.
Three Broad Purposes of Quantitative Research 1. Description 2. Theory Testing 3. Theory Generation.
Introduction to Basic Statistical Tools for Research OCED 5443 Interpreting Research in OCED Dr. Ausburn OCED 5443 Interpreting Research in OCED Dr. Ausburn.
Chapter 12 Introduction to Analysis of Variance PowerPoint Lecture Slides Essentials of Statistics for the Behavioral Sciences Eighth Edition by Frederick.
Chapter 13 Repeated-Measures and Two-Factor Analysis of Variance
ANOVA P OST ANOVA TEST 541 PHL By… Asma Al-Oneazi Supervised by… Dr. Amal Fatani King Saud University Pharmacy College Pharmacology Department.
Psych 230 Psychological Measurement and Statistics Pedro Wolf November 18, 2009.
Copyright c 2001 The McGraw-Hill Companies, Inc.1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent variable.
Research Methods and Data Analysis in Psychology Spring 2015 Kyle Stephenson.
Introduction to ANOVA Research Designs for ANOVAs Type I Error and Multiple Hypothesis Tests The Logic of ANOVA ANOVA vocabulary, notation, and formulas.
T tests comparing two means t tests comparing two means.
Significance Tests for Regression Analysis. A. Testing the Significance of Regression Models The first important significance test is for the regression.
© 2006 by The McGraw-Hill Companies, Inc. All rights reserved. 1 Chapter 11 Testing for Differences Differences betweens groups or categories of the independent.
Outline of Today’s Discussion 1.Independent Samples ANOVA: A Conceptual Introduction 2.Introduction To Basic Ratios 3.Basic Ratios In Excel 4.Cumulative.
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.
Chapter 7 Inference Concerning Populations (Numeric Responses)
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
©2013, The McGraw-Hill Companies, Inc. All Rights Reserved Chapter 4 Investigating the Difference in Scores.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
CHAPTER 15: THE NUTS AND BOLTS OF USING STATISTICS.
Analysis of Variance (ANOVA)
Presentation transcript:

t(ea) for Two: Test between the Means of Different Groups When you want to know if there is a ‘difference’ between the two groups in the mean Use “t-test”. Why can’t we just use the “difference” in score? Because we have to take the ‘variability’ into account. T = difference between group means sampling variability

One-Sample T Test Evaluates whether the mean on a test variable is significantly different from a constant (test value). Test value typically represents a neutral point. (e.g. midpoint on the test variable, the average value of the test variable based on past research)

Example of One-sample T-test Is the starting salary of company A ($17,016.09) the same as the average of the starting salary of the national average ($20,000)? Null Hypothesis: Starting salary of company A = National average Alternative Hypothesis: Starting salary of company A = National average

SPSS demo (“employee data”) Review: Standard deviation: Measure of dispersion or spread of scores in a distribution of scores. Standard error of the mean: Standard deviation of sampling distribution. How much the mean would be expected to vary if the differences were due only to error variance. Significance test: Statistical test to determine how likely it is that the observed characteristics of the samples have occurred by chance alone in the population from which the samples were selected.

z and t Z score : standardized scores Z distribution : normal curve with mean value z=0 95% of the people in the given sample (or population) have z-scores between –1.96 and T distribution is adjustment of z distribution for sample size (smaller sampling distribution has flatter shape with small samples). T = difference between group means sampling variability

Confidence Interval A range of values of a sample statistic that is likely (at a given level of probability, i.e. confidence level) to contain a population parameter. The interval that will include that population parameter a certain percentage (= confidence level) of the time.

Confidence Interval for difference and Hypothesis Test When the value 0 is not included in the interval, that means 0 (no difference) is not a plausible population value. It appears unlikely that the true difference between Company A’s salary average and the national salary average is 0. Therefore, Company A’s salary average is significantly different from the national salary average.

Independent-Sample T test Evaluates the difference between the means of two independent groups. Also called “Between Groups T test” Ho:  1 =  2 H1:  1 =  2

Paired-Sample T test Evaluates whether the mean of the difference between the paired variables is significantly different than zero. Applicable to 1) repeated measures and 2) matched subjects. Also called “Within Subject T test” “Repeated Measures T test”. Ho:  d = 0 H1:  d = 0

SPSS Demo

Analysis of Variance (ANOVA) An inferential statistical procedure used to test the null hypothesis that the means of two or more populations are equal to each other. The test statistic for ANOVA is the F- test (named for R. A. Fisher, the creator of the statistic).

T test vs. ANOVA T-test Compare two groups Test the null hypothesis that two populations has the same average. ANOVA: Compare more than two groups Test the null hypothesis that two populations among several numbers of populations has the same average.

ANOVA example Example: Curricula A, B, C. You want to know what the average score on the test of computer operations would have been if the entire population of the 4 th graders in the school system had been taught using Curriculum A; What the population average would have been had they been taught using Curriculum B; What the population average would have been had they been taught using Curriculum C. Null Hypothesis: The population averages would have been identical regardless of the curriculum used. Alternative Hypothesis: The population averages differ for at least one pair of the population.

ANOVA: F-ratio The variation in the averages of these samples, from one sample to the next, will be compared to the variation among individual observations within each of the samples. Statistic termed an F-ratio will be computed. It will summarize the variation among sample averages, compared to the variation among individual observations within samples. This F-statistic will be compared to tabulated critical values that correspond to selected alpha levels. If the computed value of the F-statistic is larger than the critical value, the null hypothesis of equal population averages will be rejected in favor of the alternative that the population averages differ.

Interpreting Significance p<.05 The probability of observing an F-statistic at least this large, given that the null hypothesis was true, is less than.05.

Logic of ANOVA If 2 or more populations have identical averages, the averages of random samples selected from those populations ought to be fairly similar as well. Sample statistics vary from one sample to the next, however, large differences among the sample averages would cause us to question the hypothesis that the samples were selected from populations with identical averages.

Logic of ANOVA cont. How much should the sample averages differ before we conclude that the null hypothesis of equal population averages should be rejected. In ANOVA, the answer to this question is obtained by comparing the variation among the sample averages to the variation among observations within each of the samples. Only if variation among sample averages is substantially larger than the variation within the samples, do we conclude that the populations must have had different averages.

Three types of ANOVA One-way ANOVA Within-subjects ANOVA (Repeated measures, randomized complete block) Factorial ANOVA (Two-way ANOVA)

Sources of Variation Three sources of variation: 1) Total, 2) Between groups, 3) Within groups Sum of Squares (SS): Reflects variation. Depend on sample size. Degrees of freedom (df): Number of population averages being compared. Mean Square (MS): SS adjusted by df. MS can be compared with each other. (SS/df) F statistic: used to determine whether the population averages are significantly different. If the computed F static is larger than the critical value that corresponds to a selected alpha level, the null hypothesis is rejected.

Computing F-ratio SS Total: Total variation in the data df total: Total sample size (N) -1 MS total: SS total/ df total SS between: Variation among the groups compared. df between: Number of groups -1 MS between : SS between/df between SS within: Variation among the scores who are in the same group. df within: Total sample size - number of groups -1 MS within: SS within/df within F ratio = MS between / MS within

Formula for One-way ANOVA

Alpha inflation Conducting multiple ANOVAs, will incur a large risk that at least one of them would be statistically significant just by chance. The risk of committee Type I error is very large for the entire set of ANOVAs. Example: 2 tests.05 Alpha Probability of not having Type I error.95.95x.95 =.9025 Probability of at least one Type I error is = Close to 10 %. Use more stringent criteria. e.g..001

Relation between t-test and F-test When two groups are compared both t-test and F-test will lead to the same answer. t 2 = F. So by squaring t you’ll get F (or square root of t is F)

Follow-up test Conducted to see specifically which means are different from which other means. Instead of repeating t-test for each combination (which can lead to an alpha inflation) there are some modified versions of t-test that adjusts for the alpha inflation. Most recommended: Tukey HSD test Other popular tests: Bonferroni test, Scheffe test

Within-Subject (Repeated Measures) ANOVA SS tr : Sum of Squares Treatment SS block : Sum of Squares Block SS error = SS total - SS block - SS tr MS tr = SS tr/k-1 MSE = SS error/(n-1)(k-1) F = MS tr/MSE

Within-Subject (Repeated Measures) ANOVA Examine differences on a dependent variable that has been measured at more than two time points for one or more independent categorical variables.

Within-Subject (Repeated Measures) ANOVA

Factorial ANOVA T-test and One way ANOVA 1 independent variable (e.g. Gender), 1 dependent variable (e.g. Test score) Two-way ANOVA (Factorial ANOVA) 2 (or more) independent variables (e.g. Gender and Academic Standing), 1 dependent variable (e.g. Test score)

(End of Analytic Method I)

Main Effects and Interaction Effects Main Effects The effects for each independent variable on the dependent variable. Differences between the group means for each independent variable on the dependent variable. Interaction Effect When the relationship between the dependent variable and one independent variable differs according to the level of a second independent variable. When the effect of one independent variable on the dependent variable differs at various levels of second independent variable.

T-distribution A family of theoretical probability distributions used in hypothesis testing. As with normal distributions (or z-distributions), t distributions are unimodal, symmetrical and bell shaped. Important for interpreting data gather on small samples when the population variance is unknown. The larger the sample, the more closely the t approximates the normal distribution. For sample greater than 120, they are practically equivalent.