SPSS meets SPM All about Analysis of Variance

Slides:



Advertisements
Similar presentations
Repeat-measures Designs Definition Definition In repeat-measures designs each subject is measured before and one or several times after an intervention.
Advertisements

Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Mixed Designs: Between and Within Psy 420 Ainsworth.
FACTORIAL ANOVA Overview of Factorial ANOVA Factorial Designs Types of Effects Assumptions Analyzing the Variance Regression Equation Fixed and Random.
FACTORIAL ANOVA. Overview of Factorial ANOVA Factorial Designs Types of Effects Assumptions Analyzing the Variance Regression Equation Fixed and Random.
Analysis of variance (ANOVA)-the General Linear Model (GLM)
Analysis of Variance (ANOVA). When ANOVA is used.. All the explanatory variables are categorical (factors) Each factor has two or more levels Example:Example:
PSY 307 – Statistics for the Behavioral Sciences
1 G Lect 14b G Lecture 14b Within subjects contrasts Types of Within-subject contrasts Individual vs pooled contrasts Example Between subject.
Dr George Sandamas Room TG60
INDEPENDENT SAMPLES T Purpose: Test whether two means are significantly different Design: between subjects scores are unpaired between groups.
FACTORIAL ANOVA.
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
One-Way Between Subjects ANOVA. Overview Purpose How is the Variance Analyzed? Assumptions Effect Size.
Between Groups & Within-Groups ANOVA
January 7, afternoon session 1 Multi-factor ANOVA and Multiple Regression January 5-9, 2008 Beth Ayers.
C82MST Statistical Methods 2 - Lecture 7 1 Overview of Lecture Advantages and disadvantages of within subjects designs One-way within subjects ANOVA Two-way.
ANOVA Analysis of Variance: Why do these Sample Means differ as much as they do (Variance)? Standard Error of the Mean (“variance” of means) depends upon.
TWO-WAY BETWEEN-SUBJECTS ANOVA What is the Purpose? What are the Assumptions? How Does it Work?
ANCOVA Psy 420 Andrew Ainsworth. What is ANCOVA?
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 17: Repeated-Measures ANOVA.
PSY 307 – Statistics for the Behavioral Sciences
PSY 1950 Repeated-Measures ANOVA November 3, 2008.
Chapter 14 Conducting & Reading Research Baumgartner et al Chapter 14 Inferential Data Analysis.
Lecture 9: One Way ANOVA Between Subjects
ONE-WAY REPEATED MEASURES ANOVA What is the Purpose? What are the Assumptions? How Does it Work? What is the Non-Parametric Replacement?
Analysis of Variance & Multivariate Analysis of Variance
Factorial Designs More than one Independent Variable: Each IV is referred to as a Factor All Levels of Each IV represented in the Other IV.
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
DOCTORAL SEMINAR, SPRING SEMESTER 2007 Experimental Design & Analysis Further Within Designs; Mixed Designs; Response Latencies April 3, 2007.
Regression Approach To ANOVA
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
2nd Level Analysis Jennifer Marchant & Tessa Dekker
Repeated Measures Design
Repeated Measures Design
Chapter 11 HYPOTHESIS TESTING USING THE ONE-WAY ANALYSIS OF VARIANCE.
Brain Mapping Unit The General Linear Model A Basic Introduction Roger Tait
7/16/2014Wednesday Yingying Wang
A Repertoire of Hypothesis Tests  z-test – for use with normal distributions and large samples.  t-test – for use with small samples and when the pop.
B AD 6243: Applied Univariate Statistics Repeated Measures ANOVA Professor Laku Chidambaram Price College of Business University of Oklahoma.
Factorial Design One Between-Subject Variable One Within-Subject Variable SS Total SS between subjects SS within subjects Treatments by Groups Treatments.
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
ANOVA (Analysis of Variance) by Aziza Munir
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Multivariate Analysis. One-way ANOVA Tests the difference in the means of 2 or more nominal groups Tests the difference in the means of 2 or more nominal.
Corinne Introduction/Overview & Examples (behavioral) Giorgia functional Brain Imaging Examples, Fixed Effects Analysis vs. Random Effects Analysis Models.
1 G Lect 14a G Lecture 14a Examples of repeated measures A simple example: One group measured twice The general mixed model Independence.
Jeopardy Opening Robert Lee | UOIT Game Board $ 200 $ 200 $ 200 $ 200 $ 200 $ 400 $ 400 $ 400 $ 400 $ 400 $ 10 0 $ 10 0 $ 10 0 $ 10 0 $ 10 0 $ 300 $
Inferential Statistics
Single Factor or One-Way ANOVA Comparing the Means of 3 or More Groups Chapter 10.
Repeated Measures ANOVA patterns over time. Case Study.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent ERRORs Part 3: Factorial Designs Spring, 2009.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
SS total SS between subjects SS within subjects SS A SS A*S SS B SS B*S SS A*B SS A*B*S - In a Two way ANOVA with 2 within subject factors:
General Linear Model.
Research Methods and Data Analysis in Psychology Spring 2015 Kyle Stephenson.
Remember You just invented a “magic math pill” that will increase test scores. On the day of the first test you give the pill to 4 subjects. When these.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
Outline of Today’s Discussion 1.Independent Samples ANOVA: A Conceptual Introduction 2.Introduction To Basic Ratios 3.Basic Ratios In Excel 4.Cumulative.
The general linear model and Statistical Parametric Mapping I: Introduction to the GLM Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B.
Group Analysis ‘Ōiwi Parker Jones SPM Course, London May 2015.
Factorial BG ANOVA Psy 420 Ainsworth. Topics in Factorial Designs Factorial? Crossing and Nesting Assumptions Analysis Traditional and Regression Approaches.
Analysis of Variance Yonghui Dong 03/12/2013. Why not multiple t tests comparison? Three Groups comparison: Group 1 vs. Group 2 Group 1 vs. Group 3 Group.
Test the Main effect of A Not sign Sign. Conduct Planned comparisons One-way between-subjects designs Report that the main effect of A was not significant.
Analyze Of VAriance. Application fields ◦ Comparing means for more than two independent samples = examining relationship between categorical->metric variables.
Other Analysis of Variance Designs
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Review Questions III Compare and contrast the components of an individual score for a between-subject design (Completely Randomized Design) and a Randomized-Block.
Presentation transcript:

SPSS meets SPM All about Analysis of Variance Introduction and definition of terms One-way between-subject ANOVA: An example One-way repeated measurement ANOVA Two-way repeated measurement ANOVA: Pooled and partitioned errors How to specify appropriate contrasts to test main effects and interactions

SPSS meets SPM

Analysis of Variance Two-sample t-test Paired-sample-t-test Single Measures Repeated Measures Two-sample t-test Paired-sample-t-test ANOVA Repeated ANOVA between-subject ANOVA within-subject ANOVA F-test F-test Factors Levels K1 x K2 ANOVA Two Factors with K1 levels of one factor and K2 level of the second factor

2 x 2 repeated measurement ANOVA Within-subject Factor Two-way ANOVA 2 x 2 ANOVA Factor A Factor A Level 1 2 Level 1 Group 3 4 Level 1 2 Level 1 Subj. 1….12 Factor B Factor B Mixed Design Factor A Within-subject Factor Drug Placebo Patient Subj. 1…12 Control 13...24 Imaging Designs Factor B Between-subject Factor

2 x 2 repeated measurement ANOVA 2 x 2 ANOVA Factor A Factor A Fearful Neutral Implicit Group 1 2 Explicit 3 4 Fearful Neutral Implicit Subj. 1….12 Explicit Factor B Main Effect B Factor B Main Effect A Interaction A X B 3 x 2 ANOVA Fearful Neutral Fearful Neutral Happy Implicit Explicit Implicit Explicit Contrasts

One-way between-subject ANOVA An individual score is specified by Grand mean Treatment effect Residual error

General Principle of ANOVA FULL MODEL REDUCED MODEL Data represent a random variation around the grand mean Is the full model a significantly better model then the reduced model?

Partitions of Sums of Squares Total Variation (SStotal) Treatment effect (SStreat) Error (SSerror)

One-way ANOVA between subjects 1st levels betas from one voxel in amygdala 2. 3. 4. 5. ____________________________________ 4-different drug treatments (Factor A with p levels) 1 2 3 4 2 3 6 5 1 4 8 5 3 3 7 5 3 5 4 3 1 0 10 2 _____________________________________ Sums(Ai) 10 15 35 20 Means(Ai) 2 3 7 4 One factor with p levels; i = 1…4 M subjects with n subjects per level Number of total observations = 20

Do the drug treatments relate to the mean activation in the amygdala? One way ANOVA Multiple Regression Do the drug treatment affect differently mean activation in the amygdala ? Do the drug treatments relate to the mean activation in the amygdala? ____________________________________ Drug treatment (Factor A with p levels) 1 2 3 4 2 3 6 5 1 4 8 5 3 3 7 5 3 5 4 3 1 0 10 2 Dependent variable = 1st level betas extracted from the amygdala 1st level betas Drug treatments 2 1 3 4 5 6 8 7 10 1 2 3 4 1 y = a X + b

Do the drug treatments relate to the mean activation in the amygdala? One way ANOVA Multiple Regression Do the drug treatment affect differently mean activation in the amygdala ? Do the drug treatments relate to the mean activation in the amygdala? ____________________________________ Drug treatment (Factor A with p levels) 1 2 3 4 2 3 6 5 1 4 8 5 3 3 7 5 3 5 4 3 1 0 10 2 Dependent variable = 1st level betas extracted from the amygdala 1st level betas Drug treatments 2 1 3 4 5 6 8 7 10 1 y x1 x2 x3 x4

Do the drug treatments relate to the mean activation in the amygdala? One way ANOVA Multiple Regression Do the drug treatment affect differently mean activation in the amygdala ? Do the drug treatments relate to the mean activation in the amygdala? ____________________________________ Drug treatment (Factor A with p levels) 1 2 3 4 2 3 6 5 1 4 8 5 3 3 7 5 3 5 4 3 1 0 10 2 Dependent variable = 1st level betas extracted from the amygdala 1st level betas Drug treatments 2 1 3 4 5 6 8 7 10 1 Y = b1x1 + b2x2 + b3x3 + b4x4 + b0

Do the drug treatments relate to the mean activation in the amygdala? One way ANOVA Multiple Regression Do the drug treatment affect differently mean activation in the amygdala ? Do the drug treatments relate to the mean activation in the amygdala? ____________________________________ Teaching Methods (Factor A with p levels) 1 2 3 4 2 3 6 5 1 4 8 5 3 3 7 5 3 5 4 3 1 0 10 2 Dependent variable = reading score 1 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 1 1 11 21 31 41 51 12 . 44 54 b1 b2 b3 b4 b0 y = * +

Repeated ANOVA Two-sample t-test Paired-sample-t-test Repeated Measures Single Measures Two-sample t-test Paired-sample-t-test ANOVA Repeated ANOVA between-subject ANOVA within-subject ANOVA F-test F-test Drug 1 Drug 2 Drug 3 Placebo Subj.1 Subj. 2 Subj. 3 …. ….. Drug 1 Drug 2 Drug 3 Placebo Group 1 Group2 Group3 Group4 Assumptions Homogeneity of Variance Normality Independence of observations Assumptions Homogeneity of Variance Homogeneity of Correlations Normality

One-way between-subject One-way within-subject ANOVA One-way within-subject ANOVA An individual score is specified by An individual score is specified by Grand mean Grand mean Subject effect Residual error Treatment effect (within-subject effect) Treatment effect Residual error

Partitions of Sums of Squares Total Variation (SStotal) Total Variation (SStotal) Subj. x Treat & Error Within subj. (SSwithin) Treatment effect (SStreat) Residual (SSres) Between subj (SSbetween) Subject effects Treatment effect (SStreat) Error (SSerror)

* * y = y = + + + Between Subjects Within subjects p1 p2 p3 p4 p5 b1 Drug 1 Drug 2 Drug3 Placebo p1 p2 p3 p4 p5 1 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 1 1 y = * 11 21 31 41 51 12 . 44 54 + b1 b2 b3 b4 b0 1 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 1 1 11 21 31 41 51 12 . 44 54 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 b1 b2 b3 b4 b0 y = * + +

Between Subjects Within subjects 1 1 1 2 3 4 Drug 1 Drug 2 Drug3 Placebo 1 1

2 x 2 Repeated Measurement ANOVA Factor A Level 1 2 Level 1 Subj. 1….12 Factor B Pooled Error Interaction between effect and subject Partitioned Error

Within-Subjects Two-Way ANOVA 1 2 3 4 Fear-implicit neutral-implicit fear-explicit neutral-explicit 1

Repeated Measurement ANOVA in SPM Pooled errors One way ANOVA = 1st level betas 2nd level + subjects effects Partitioned errors Two way ANOVA = 1st level differential effects between levels of a factors for main effects differences of differential effects for interactions 2nd level (T-test for 2x2 ANOVA F-test for 3x3 ANOVA)

What contrast to take from 1st level? Two way ANOVA (2*2) with repeated measured Factor A Fearful Neutral Implicit Explicit Factor B Fear/ implicit Fear/ explicit Neutral/ implicit Neutral/ explicit

What contrast to take from 1st level? Two way ANOVA (3*3) with repeated measured Factor A semantic perception Imagery Picture Words Sounds Factor B