Simple Repeated measures Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.

Slides:



Advertisements
Similar presentations
Research Support Center Chongming Yang
Advertisements

Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Unreplicated ANOVA designs Block and repeated measures analyses  Gerry Quinn & Mick Keough, 1998 Do not copy or distribute without permission of authors.
Analysis of variance (ANOVA)-the General Linear Model (GLM)
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.
SPSS Series 3: Repeated Measures ANOVA and MANOVA
T-Tests.
t-Tests Overview of t-Tests How a t-Test Works How a t-Test Works Single-Sample t Single-Sample t Independent Samples t Independent Samples t Paired.
T-Tests.
Analysis of variance (ANOVA)-the General Linear Model (GLM)
January 7, afternoon session 1 Multi-factor ANOVA and Multiple Regression January 5-9, 2008 Beth Ayers.
MSc Applied Psychology PYM403 Research Methods Quantitative Methods I.
C82MST Statistical Methods 2 - Lecture 7 1 Overview of Lecture Advantages and disadvantages of within subjects designs One-way within subjects ANOVA Two-way.
13-1 Designing Engineering Experiments Every experiment involves a sequence of activities: Conjecture – the original hypothesis that motivates the.
Analysis of Variance & Multivariate Analysis of Variance
Go to Table of ContentTable of Content Analysis of Variance: Randomized Blocks Farrokh Alemi Ph.D. Kashif Haqqi M.D.
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Assessing Survival: Cox Proportional Hazards Model Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Professor of Epidemiology and Biostatistics
Repeated measures: Approaches to Analysis Peter T. Donnan Professor of Epidemiology and Biostatistics.
Analysis of Variance. ANOVA Probably the most popular analysis in psychology Why? Ease of implementation Allows for analysis of several groups at once.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
Inferential Statistics: SPSS
Assessing the Evidence: Statistical Inference Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
LEARNING PROGRAMME Hypothesis testing Intermediate Training in Quantitative Analysis Bangkok November 2007.
ANOVA Analysis of Variance.  Basics of parametric statistics  ANOVA – Analysis of Variance  T-Test and ANOVA in SPSS  Lunch  T-test in SPSS  ANOVA.
Repeated Measures Design
Lab 2: repeated measures ANOVA 1. Inferior parietal involvement in long term memory There is a hypothesis that different brain regions are recruited during.
Repeated Measures Design
Assessing Survival: Cox Proportional Hazards Model
January 31 and February 3,  Some formulae are presented in this lecture to provide the general mathematical background to the topic or to demonstrate.
TAUCHI – Tampere Unit for Computer-Human Interaction ERIT 2015: Data analysis and interpretation (1 & 2) Hanna Venesvirta Tampere Unit for Computer-Human.
12e.1 ANOVA Within Subjects These notes are developed from “Approaching Multivariate Analysis: A Practical Introduction” by Pat Dugard, John Todman and.
B AD 6243: Applied Univariate Statistics Repeated Measures ANOVA Professor Laku Chidambaram Price College of Business University of Oklahoma.
Practical Missing Data Analysis in SPSS (v17 onwards) Peter T. Donnan Professor of Epidemiology and Biostatistics.
ANOVA (Analysis of Variance) by Aziza Munir
Biostatistics Case Studies 2007 Peter D. Christenson Biostatistician Session 3: Incomplete Data in Longitudinal Studies.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Hypothesis testing Intermediate Food Security Analysis Training Rome, July 2010.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
6/2/2016Slide 1 To extend the comparison of population means beyond the two groups tested by the independent samples t-test, we use a one-way analysis.
Simple Repeated measures Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
Statistical Inference for more than two groups Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
Analysis of Variance 1 Dr. Mohammed Alahmed Ph.D. in BioStatistics (011)
Analysis of Variance (ANOVA) Brian Healy, PhD BIO203.
ANOVA: Analysis of Variance.
PSY2004 Research Methods PSY2005 Applied Research Methods Week Six.
Smoking Data The investigation was based on examining the effectiveness of smoking cessation programs among heavy smokers who are also recovering alcoholics.
Randomized block designs  Environmental sampling and analysis (Quinn & Keough, 2002)
Stats Lunch: Day 8 Repeated-Measures ANOVA and Analyzing Trends (It’s Hot)
ONE-WAY BETWEEN-GROUPS ANOVA Psyc 301-SPSS Spring 2014.
Correlated-Samples ANOVA The Univariate Approach.
Handout Twelve: Design & Analysis of Covariance
Handout Ten: Mixed Design Analysis of Variance EPSE 592 Experimental Designs and Analysis in Educational Research Instructor: Dr. Amery Wu Handout Ten:
Within Subject ANOVAs: Assumptions & Post Hoc Tests.
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
Analysis of variance Tron Anders Moger
12e.1 MANOVA Within Subjects These notes are developed from “Approaching Multivariate Analysis: A Practical Introduction” by Pat Dugard, John Todman and.
HYPOTHESIS TESTING FOR DIFFERENCES BETWEEN MEANS AND BETWEEN PROPORTIONS.
ANalysis Of VAriance (ANOVA) Used for continuous outcomes with a nominal exposure with three or more categories (groups) Result of test is F statistic.
Analysis of Variance (ANOVA) Scott Harris October 2009.
Repeated measures: Approaches to Analysis
Don't Sweat the Simple Stuff (But it's not all Simple Stuff)
Categorical Data Aims Loglinear models Categorical data
Statistical Inference for more than two groups
Chapter 12: Comparing Independent Means
I. Statistical Tests: Why do we use them? What do they involve?
BUS-221 Quantitative Methods
Presentation transcript:

Simple Repeated measures Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research

Objectives of session Understand what is meant by repeated measures Understand what is meant by repeated measures Be able to set out data in required format Be able to set out data in required format Carry out simple analyses in SPSS Carry out simple analyses in SPSS Interpret the output Interpret the output

Repeated Measures Repeated Measures arise when: Measuring the same experimental unit (cell, rat, patient) on a number of occasions Measuring the same experimental unit (cell, rat, patient) on a number of occasions Standard analysis of variance not valid as assumes independent measures Standard analysis of variance not valid as assumes independent measures Essentially measurements are paired or correlated Essentially measurements are paired or correlated

Examples of Repeated Measures Measuring glucose uptake by cells at different time points, under different stimuli, etc. Measuring glucose uptake by cells at different time points, under different stimuli, etc. Measuring cholesterol in a randomised controlled trial of a new statin at 3, 6 and 12 months Measuring cholesterol in a randomised controlled trial of a new statin at 3, 6 and 12 months Implementing weight loss intervention and measuring weight at different time points Implementing weight loss intervention and measuring weight at different time points

Significance testing at all time points Probably most common – multiple t-tests Probably most common – multiple t-tests Least valid! Least valid! Sometimes account for multiple testing by adjusting p-value i.e. 0.05/k with k tests Sometimes account for multiple testing by adjusting p-value i.e. 0.05/k with k tests Assumes that aim of study is to show significant difference at every time point Assumes that aim of study is to show significant difference at every time point Most studies aim to show OVERALL difference between treatments and /or reaching therapeutic target quicker Most studies aim to show OVERALL difference between treatments and /or reaching therapeutic target quicker PRIMARY HYPOTHESIS IS GLOBAL PRIMARY HYPOTHESIS IS GLOBAL

General approach Basically just an extension of analysis of variance (ANOVA) Basically just an extension of analysis of variance (ANOVA) Pairing or matching of measurements on same unit needs to be taken into account Pairing or matching of measurements on same unit needs to be taken into account Method is General Linear Model for continuous measures and adjusts tests for correlation Method is General Linear Model for continuous measures and adjusts tests for correlation

Organisation of data (1) Generally each unit in one row and repeated measures in separate columns Unit Score 1Score2Score ….

Organisation of data (2) Note most other programs and later analyses require ONE row per measurement UnitScoreTime Etc…….

BasalInsulinPalmitateInsul+PalmCell type Exper …..……12 Glucose uptake of two cell types (liver and muscle). Each cell challenged with four different ‘treatments’ Data given in ‘Glucose uptake.sav’ Note: cell type is a fixed BETWEEN CELL factor ‘Treatments’ are REPEATED WITHIN CELL factors

Repeated Measures in SPSS Simplest method in SPSS is: Simplest method in SPSS is: General Linear Model General Linear Model Repeated Measures Note many other methods in SPSS – Mixed Models described on day 4 Note many other methods in SPSS – Mixed Models described on day 4

Repeated Measures in SPSS: Set factor and number of levels Within subject factor Within subject factor levels Within subject factor name

Repeated Measures in SPSS: Enter columns of repeated measures Use arrow to enter each repeated measure column Between subject factor column

Repeated Measures in SPSS: Select options Use arrow to select display of means and Bonferroni corrected comparisons Select other options

Select a plot of means of each within subject treatment Repeated Measures in SPSS: Select options

Repeated Measures in SPSS: Output - Mean glucose uptake Means for four treatments and 95% CI 1 = Basal; 2 = Insulin; 3 = Palmitate; 4 = Insulin+Palmitate

Basal Insulin Palmitate Insulin+Palmitate Repeated Measures in SPSS: Output – Plot of Mean glucose uptake

Repeated Measures in SPSS: Output – Comparisons of Mean glucose uptake Comparison of means with Bonferroni correction 1 = Basal; 2 = Insulin; 3 = Palmitate; 4 = Insulin+Palmitate

Repeated Measures: Conclusion Energy intake significantly higher with insulin compared to all other treatments Energy intake significantly higher with insulin compared to all other treatments Addition of palmitate removes this effect Addition of palmitate removes this effect

Mauchley’s Sphericity test Sphericity refers to the issue Sphericity refers to the issue of the similarity (homogeneity) of variances in the differences between treatments It is an assumption of SPSS Repeated Measures i.e. It is an assumption of SPSS Repeated Measures i.e. s 2 a-b ~ s 2 a-c ~ s 2 a-d ~ s 2 b-c ~ s 2 b-d ~ s 2 c-d

Meeting conditions of repeated measures: Mauchly Sphericity Test P-value for test of Sphericity Significant so need to correct F test by multiplying degrees of freedom by Greenhouse-Geisser epsilon

Meeting conditions of repeated measures: Use corrected p-value if significant non-sphericity Output gives four different tests Overall test of differences between treatments within subjects: Use Greenhouse-Geisser corrected p-value

Alternatives When Sphericity is not met an alternative to the correction factors is to use MANOVA When Sphericity is not met an alternative to the correction factors is to use MANOVA Unfortunately this has less power than the Repeated Measures analysis demonstrated and so should generally be avoided Unfortunately this has less power than the Repeated Measures analysis demonstrated and so should generally be avoided

References Field A. A bluffers guide to …Sphericity. J Educational Statistics 13(3): Pallant J. SPSS Survival Manual 3 rd ed, Open University Press, Field A. Discovering Statistics using SPSS for Windows. Sage publications, London, Foster JJ. Data Analysis using SPSS for Windows (Versions 8 – 10). Sage publications, London, Puri BK. SPSS in practice. An illustrated guide. Arnold, London, 2002.

Repeated Measures: Practical in SPSS Previous analysis lumped all cells together Previous analysis lumped all cells together Two types: liver and muscle Two types: liver and muscle 1) Repeat the analysis separately for each cell type 1) Repeat the analysis separately for each cell type 2) Then compare results from two types in single analysis 2) Then compare results from two types in single analysis Is cell type within subject or between subject factor? Is cell type within subject or between subject factor?

Repeated Measures: Practical in SPSS Hint - To do separate analysis by cell type use: Hint - To do separate analysis by cell type use: Data Data Select Cases Select Cases (If celltype = 1 or 2) OR Data Data Split file (compare groups by celltype)

Repeated Measures: Practical in SPSS SPSS Study database.sav Trial of pedometers in elderly sedentary women Trial of pedometers in elderly sedentary women Try repeated measures of Accelerometer trial data Try repeated measures of Accelerometer trial data Baseline, 3 months and 9 months Baseline, 3 months and 9 months AccelVM1a, AccelVM2, AccelVM3 AccelVM1a, AccelVM2, AccelVM3 Trial arms Ran_grp (1,2,3) Trial arms Ran_grp (1,2,3) Try adjusting for Age, StairsDifficult, SIMD Try adjusting for Age, StairsDifficult, SIMD