Introduction ANOVA Mike Tucker School of Psychology B209 Portland Square University of Plymouth Drake Circus Plymouth, PL4 8AA Tel: +44 (0)1752 584860.

Slides:



Advertisements
Similar presentations
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
Advertisements

Sampling Distributions Suppose I throw a dice times and count the number of times each face turns up: Each score has a similar frequency (uniform.
1 SSS II Lecture 1: Correlation and Regression Graduate School 2008/2009 Social Science Statistics II Gwilym Pryce
Review of the Basic Logic of NHST Significance tests are used to accept or reject the null hypothesis. This is done by studying the sampling distribution.
QUANTITATIVE DATA ANALYSIS
Lecture 13 – Tues, Oct 21 Comparisons Among Several Groups – Introduction (Case Study 5.1.1) Comparing Any Two of the Several Means (Chapter 5.2) The One-Way.
Experimental Design, Statistical Analysis CSCI 4800/6800 University of Georgia Spring 2007 Eileen Kraemer.
Chapter 3 Analysis of Variance
1 Practicals, Methodology & Statistics II Laura McAvinue School of Psychology Trinity College Dublin.
Intro to Statistics for the Behavioral Sciences PSYC 1900
Lecture 9: One Way ANOVA Between Subjects
Chapter 10 - Part 1 Factorial Experiments.
Today Concepts underlying inferential statistics
Lecture 13: Factorial ANOVA 1 Laura McAvinue School of Psychology Trinity College Dublin.
Lorelei Howard and Nick Wright MfD 2008
Introduction to Analysis of Variance (ANOVA)
Richard M. Jacobs, OSA, Ph.D.
Inferential Statistics
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
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.
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Fundamentals of Statistical Analysis DR. SUREJ P JOHN.
1 Basic Definitions Greg C Elvers, Ph.D.. 2 Statistics Statistics are a set of tools that help us to summarize large sets of data data -- set of systematic.
Fall 2013 Lecture 5: Chapter 5 Statistical Analysis of Data …yes the “S” word.
T tests comparing two means t tests comparing two means.
Review of Chapters 1- 5 We review some important themes from the first 5 chapters 1.Introduction Statistics- Set of methods for collecting/analyzing data.
Department of Cognitive Science Michael J. Kalsher PSYC 4310 COGS 6310 MGMT 6969 © 2015, Michael Kalsher Unit 1B: Everything you wanted to know about basic.
User Study Evaluation Human-Computer Interaction.
MEASURES OF CENTRAL TENDENCY TENDENCY 1. Mean 1. Mean 2. Median 2. Median 3. Mode 3. Mode.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Parametric tests (independent t- test and paired t-test & ANOVA) Dr. Omar Al Jadaan.
Statistics (cont.) Psych 231: Research Methods in Psychology.
Lecture 5: Chapter 5: Part I: pg Statistical Analysis of Data …yes the “S” word.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
INTRODUCTION TO ANALYSIS OF VARIANCE (ANOVA). COURSE CONTENT WHAT IS ANOVA DIFFERENT TYPES OF ANOVA ANOVA THEORY WORKED EXAMPLE IN EXCEL –GENERATING THE.
Comparing Three or More Means ANOVA (One-Way Analysis of Variance)
Education 793 Class Notes Presentation 10 Chi-Square Tests and One-Way ANOVA.
Chapter 7 Sampling Distributions Statistics for Business (Env) 1.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Chapter 9 Three Tests of Significance Winston Jackson and Norine Verberg Methods: Doing Social Research, 4e.
Statistics Psych 231: Research Methods in Psychology.
1 Overview of Experimental Design. 2 3 Examples of Experimental Designs.
Lesson Two-Way ANOVA. Objectives Analyze a two-way ANOVA design Draw interaction plots Perform the Tukey test.
T tests comparing two means t tests comparing two means.
Inferential Statistics Introduction. If both variables are categorical, build tables... Convention: Each value of the independent (causal) variable has.
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.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
Statistics (cont.) Psych 231: Research Methods in Psychology.
Chapter 13 Understanding research results: statistical inference.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
Statistics Psych 231: Research Methods in Psychology.
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 10 Introduction to the Analysis.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Inferential Statistics Psych 231: Research Methods in Psychology.
Descriptive Statistics Psych 231: Research Methods in Psychology.
STA248 week 121 Bootstrap Test for Pairs of Means of a Non-Normal Population – small samples Suppose X 1, …, X n are iid from some distribution independent.
Psych 231: Research Methods in Psychology
Internal Validity – Control through
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Inferential Statistics
Some statistics questions answered:
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Psych 231: Research Methods in Psychology
Chapter 10 Introduction to the Analysis of Variance
Chapter 10 – Part II Analysis of Variance
Presentation transcript:

Introduction ANOVA Mike Tucker School of Psychology B209 Portland Square University of Plymouth Drake Circus Plymouth, PL4 8AA Tel: +44 (0) __________________________________

Relation to other Stats Correlational Collect data and describe relationships. Can’t say much about causal relations. Experimental Manipulate conditions and infer something about their causal effects. Can infer cause and effect relations.

Relation to other Stats ANOVA is typically used to analyse data from experimental research where conditions are explicitly manipulated -allowing causal inferences to be made. However bear in mind that what determines whether it is legitimate to draw causal inferences is how the data is obtained – not which test is used to analyse it.

Simple & Factorial ANOVA Simple ANOVA designs: extension of T- Test to more than two conditions. Factorial ANOVA: conditions are created that are the result of crossing the levels of two or more FACTORS.

Factors and Factor Levels A Factor is a property or dimension of the experimental situation that is manipulated. The Levels of a factor are the particular settings of the Factor used in the experiment.

Factors and their Levels Factors: Stimulus Duration Sex Treatment Age Group Levels: 100 ms, 200 ms … Male, Female.. CBT, Drug, Psychoanalytic 18-25, 26-40, one foot in the grave

Typical Experimental Design An Exp. to determine differences in three antihistamine drugs on driving performance. Performance measured in a driving simulator under two difficulty levels (Hard & Easy).

Design 3 x Drugs 2 x Difficulty Level = 6 Drug by Difficulty combinations: Benadryl + Hard Benadryl + Easy Tylenol + Hard ….etc Factor 1 = Drug Factor 1 Levels = Benadryl, Tylenol, Chlortrimeton Factor 2 = Task Difficulty Factor 2 Levels = Hard, Easy.

Design This an example of a 2 x 3 design. Sometimes written in results sections as: “…The data was subjected to a 3 x 2 between subjects ANOVA with the factors Drug (Benadryl, Tylenol, Chlortrimeton) and Task Difficulty (Easy, Hard)….”

Layout Task Difficulty EasyHard Drug Benadryl10 subs Tylenol10 subs Chlortrimeton10 subs Sixty adult drivers selected at random. Each one randomly assigned to one of the six experimental conditions (Between Subjects Design)

Between vs. Within Subjects Between Subjects Each participant only undergoes testing in one of the experimental conditions (Factor combinations) Avoids contaminating effects but requires more participants and design more noisy (e.g. individual differences) Within Subjects AKA repeated Measures Each participant undergoes testing at all levels of one or more of the factors. More sensitive as individual differences controlled for but not always possible (e.g. Carry Over effects).

Between vs. Within Drug / Driving Simulation manipulations: Classic case for a between subjects manipulation: Carry over effect from drugs Practice / order effects from driving simulation Case could be made for a within subjects manipulation of the Driving Task (e.g. – each subject given only one drug but tested under both driving difficulty levels). This would depend on, for example, the time course of the drug’s effects and the duration of the driving task.

How does ANOVA work? Recall the independent groups T-test: (This a special case of the more general ANOVA design where you have a single factor with 2 levels – e.g. you are just comparing 2 means, level 1 vs. level 2.)

How does ANOVA work? Relation to T-test Two experimental conditions yield 2 samples of data (scores). Each has a mean x and variance s 2 The variance is just a measure of the ‘average difference between data points’. Main question: does the observed difference between the two sample means reflect a real difference (statistically significant difference).

Mean and Variance Mean Easy to understand – just the average score. = Sum of all scores divided by the number of scores:  X / n Variance Just a measure of the average spread or variation of the scores. The ‘average’ of the squared distances of the individual scores from the mean. (The squaring is simply to stop the negative and positive distances cancelling out):  (X-X) 2 / n

How it works - 3 samples of 4 (red dots) taken from 3 populations The 3 sample means are the orange dots. H 0 True H 0 False POPULATIONS Distribution of SAMPLE MEANS OF SIZE N drawn from the 3 populations H0 – all drawn from same population Vs. H1 – some drawn from different populations

ANOVA works because if H0 is true the variation of the sample means should be only due to sampling variation. If H0 isn’t true and there are real differences in the populations from which the samples are drawn (experimentally this just means the different conditions) then the variation of the sample means will be larger than expected from the amount of variation within each population (condition). ANOVA works simply by giving the probability of obtaining the observed amount of variation between condition means if it was true that each condition represented a random sample from a single parent ‘population’.

A good estimate of the variation of individual scores within the ‘parent population’ can be obtained simply by using an average the variance within each condition.

What is the variance within a condition? Suppose we have data from an experiment with 3 conditions: The red vertical lines represent the condition averages The red horizontal lines represent the deviations of individual scores from their associated condition means. The variance of the scores within a condition is the sum of these values (after squaring) divided by the number of observations in the condition minus 1 (the condition D.F.)

This estimate isn’t affected by real differences between conditions However the variation between condition means is affected.

 5’5” 4’0”7’0” Raw scores SD= 7” Samples of size 10 SD of the sample means = 7/sqrt(10) = 7/3.16 = 2.2 7” 2.2” Recall: Can also work out the SD of the raw scores from the SD of the sample means = 2.2 x sqrt(10) =7 4’0”7’0”  5’5”

Two estimates of the population variance They both agree if and only if there is no real difference between conditions In ANOVA the F ratio is used to compare these two estimates of the population variance. The F ratio is just the estimate based on the variation between the condition means (MS Between ) divided by the estimate based on the variation of the data within each condition (MS within ) Note MS = mean square and is just another term used in ANOVA for a variance

F Ratio in ANOVA If the two estimates agree then this F ratio should be approximately 1. If there are real differences between conditions (i.e. the ‘parent populations’ from which they are drawn are not the same) then this estimate will be larger than 1. If it is larger than 1 by a sufficient amount the p value will be <.05 and you conclude that there is evidence for real differences between thee conditions.

Layout Task Difficulty EasyHard Drug Benadryl10 subs Tylenol10 subs Chlortrimeton10 subs Sixty adult drivers selected at random. Each one randomly assigned to one of the six experimental conditions (Between Subjects Design)

Main effects and Interactions In factorial designs you can test for main effects of Factors and Interactions between them. A significant main effect of drug would indicate that there are genuine differences between the three drug groups (ignoring or averaging across task difficulty)

Drug Main effect Task Difficulty EasyHard Drug Benadryl10 subs Tylenol10 subs Chlortrimeton10 subs

Main effect plot for Drug

Task Main effect Task Difficulty EasyHard Drug Benadryl10 subs Tylenol10 subs Chlortrimeton10 subs

Main effect plot for Task Difficulty

Interaction plot– Drug by Task Difficulty No Interaction just drug main effect

Interaction plot – Drug by Task Difficulty Interaction no main effects

Interaction plot – Drug by Task Difficulty Interaction and main effect of Task but no main effect of drug