Repeated Measures/Longitudinal Analysis Bob Feehan -Bob Feehan.

Slides:



Advertisements
Similar presentations
Analysis of Variance (ANOVA)
Advertisements

LSU-HSC School of Public Health Biostatistics 1 Statistical Core Didactic Introduction to Biostatistics Donald E. Mercante, PhD.
Analysis of variance (ANOVA)-the General Linear Model (GLM)
Model Adequacy Checking in the ANOVA Text reference, Section 3-4, pg
Comparing k Populations Means – One way Analysis of Variance (ANOVA)
PSY 307 – Statistics for the Behavioral Sciences
Chapter 13 Multiple Regression
© 2010 Pearson Prentice Hall. All rights reserved The Complete Randomized Block Design.
Analysis of Variance 2-Way ANOVA MARE 250 Dr. Jason Turner.
Chapter 12 Multiple Regression
Analysis of Variance: ANOVA. Group 1: control group/ no ind. Var. Group 2: low level of the ind. Var. Group 3: high level of the ind var.
ANalysis Of VAriance (ANOVA) Comparing > 2 means Frequently applied to experimental data Why not do multiple t-tests? If you want to test H 0 : m 1 = m.
Chapter 3 Analysis of Variance
Every achievement originates from the seed of determination. 1Random Effect.
PSY 307 – Statistics for the Behavioral Sciences
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 11 th Edition.
12 Analysis of Variance Analysis of variance (ANOVA) How do we compare multiple samples at once? We could do pairwise t-tests to see which differed from.
Center for Biofilm Engineering Marty Hamilton Professor Emeritus of Statistics Montana State University Statistical design & analysis for assessing the.
One-way Between Groups Analysis of Variance
Incomplete Block Designs
S519: Evaluation of Information Systems
Hypothesis tests for slopes in multiple linear regression model Using the general linear test and sequential sums of squares.
Extension to ANOVA From t to F. Review Comparisons of samples involving t-tests are restricted to the two-sample domain Comparisons of samples involving.
1 1 Slide © 2005 Thomson/South-Western Chapter 13, Part A Analysis of Variance and Experimental Design n Introduction to Analysis of Variance n Analysis.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Comparing Three or More Means 13.
Diploma in Statistics Design and Analysis of Experiments Lecture 5.11 © 2010 Michael Stuart Lecture 5.1 Part 1 "Split Plot" experiments 1.Review of –randomised.
1 of 46 MGMT 6970 PSYCHOMETRICS © 2014, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Inferential Statistics IV: Factorial ANOVA.
Analysis of Covariance ANOVA is a class of statistics developed to evaluate controlled experiments. Experimental control, random selection of subjects,
Lecture 9 TWO GROUP MEANS TESTS EPSY 640 Texas A&M University.
Chap 14-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics.
Chapter 19 Analysis of Variance (ANOVA). ANOVA How to test a null hypothesis that the means of more than two populations are equal. H 0 :  1 =  2 =
Orthogonal Linear Contrasts This is a technique for partitioning ANOVA sum of squares into individual degrees of freedom.
1 Nested (Hierarchical) Designs In certain experiments the levels of one factor (eg. Factor B) are similar but not identical for different levels of another.
1 Every achievement originates from the seed of determination.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
1 Experimental Statistics - week 14 Multiple Regression – miscellaneous topics.
Mixed designs. We’ve discussed between groups designs looking at differences across independent samples We’ve also talked about within groups designs.
1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent ERRORs Part 3: Factorial Designs Spring, 2009.
Copyright © Cengage Learning. All rights reserved. 12 Analysis of Variance.
ANOVAs.  Analysis of Variance (ANOVA)  Difference in two or more average scores in different groups  Simplest is one-way ANOVA (one variable as predictor);
Experimental Statistics - week 3
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
Chapter 4 Analysis of Variance
McGraw-Hill, Bluman, 7th ed., Chapter 12
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
1 Psych 5510/6510 Chapter 14 Repeated Measures ANOVA: Models with Nonindependent ERRORs Part 2 (Crossed Designs) Spring, 2009.
Formula for Linear Regression y = bx + a Y variable plotted on vertical axis. X variable plotted on horizontal axis. Slope or the change in y for every.
Differences Among Groups
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
Six Easy Steps for an ANOVA 1) State the hypothesis 2) Find the F-critical value 3) Calculate the F-value 4) Decision 5) Create the summary table 6) Put.
Lecture notes 13: ANOVA (a.k.a. Analysis of Variance)
Comparing Multiple Groups:
Comparing Multiple Factors:
Factorial Designs Q560: Experimental Methods in Cognitive Science Lecture 11.
Factorial Experiments
Statistical Core Didactic
Applied Business Statistics, 7th ed. by Ken Black
Comparing Three or More Means
Chapter 10: Analysis of Variance: Comparing More Than Two Means
Ch. 14: Comparisons on More Than Two Conditions
Comparing Multiple Groups: Analysis of Variance ANOVA (1-way)
CHAPTER 29: Multiple Regression*
Analysis of Variance (ANOVA)
Chapter 11 Analysis of Variance
Do you know population SD? Use Z Test Are there only 2 groups to
Main Effects and Interaction Effects
I. Statistical Tests: Why do we use them? What do they involve?
Conceptual Understanding
Experimental Statistics - week 8
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

Repeated Measures/Longitudinal Analysis Bob Feehan -Bob Feehan

What are you talking about? Repeated Measures – Measurements that are taken at two or more points in time on the same set of experimental units. (i.e. subjects) Longitudinal Data – Longitudinal data are a common form of repeated measures in which measurements are recorded on individual subjects over a period of time.

Example Researchers want to see if high school students and college students have different levels of anxiety as they progress through the semester. They measure the anxiety of 12 participants three times: Week 1, Week 2, and Week 3. Participants are either high school students, or college students. Anxiety is rated on a scale of 1-10, with 10 being “high anxiety” and 1 being “low anxiety”. Repeated Measurement? Anxiety Longitudinal Measurement? 3 Weeks Any other comparisons? High School vs College Overall Rate (interaction) -

Clarifications Repeated Measures/Longitudinal Design: – Need at least one Factor with two Levels. – The Levels have to be dependent upon the Factor Example Continued … – Factor: Subjects (12) – Levels: 3 (measured each week from SAME person)

Example Researchers want to see if high school students and college students have different levels of anxiety as they progress through the semester. They measure the anxiety of 12 participants three times: Week 1, Week 2, and Week 3. Participants are either high school students, or college students. Anxiety is rated on a scale of 1-10, with 10 being “high anxiety” and 1 being “low anxiety”. Before we even take any Data: What is our Hypothesis going in? (CRITICAL!!!) 1.College Students Anxiety (Null  Week1 = Week2 = Week3) 2.High School Students Anxiety (Null  Week1 = Week2 = Week3) 3.High School vs College Overall (Null  High School = College Overall) 4.High School vs College Trend (Null  No Interaction or “Parallel Lines”)

Data Why not just do multiple Paired/Independent T – Tests? Takes Time (Time is precious) Only can look at one Factor at a time. (ie Week) Factor can only be two levels (ie no repeated measures > 2) Cannot look at over-all interactions Why use ANOVA? Saves time Can look at multiple Factors Factors can have multiple levels Can look at differences between separate groups (ie College/High school)

Minitab Tricks – “Stacked” Data

Minitab Tricks - “Stacked” Data

Minitab Tricks – “Subset” Data

Data ANOVA ANOVA General Linear Mode: Responses: Model: Random Factors: Response Week Subject Subject *Note: Without Subjects as Random our N of 6 would be N of 18. It would count each measurement of a subject as INDEPENDENT!

College Student Results Results for: College Students General Linear Model: Response versus Week, Subject Factor Type Levels Values Week fixed 3 Week 1, Week 2, Week 3 Subject random 6 1, 2, 3, 4, 5, 6 Analysis of Variance for Response, using Adjusted SS for Tests Source DF Seq SS Adj SS Adj MS F P Week Subject Week*Subject ** Error 0 * * * Total ** Denominator of F-test is zero or undefined. 1.College Students Anxiety (Null  Week1 = Week2 = Week3) 2.High School Students Anxiety (Null  Week1 = Week2 = Week3) 3.High School vs College Overall (Null  High School = College Overall) 4.High School vs College Trend (Null  No Interaction or “Parallel Lines”)

High School Student Results Results for: High School General Linear Model: Response versus Week, Subject Factor Type Levels Values Week fixed 3 Week 1, Week 2, Week 3 Subject random 6 1, 2, 3, 4, 5, 6 Analysis of Variance for Response, using Adjusted SS for Tests Source DF Seq SS Adj SS Adj MS F P Week Subject Week*Subject ** Error 0 * * * Total ** Denominator of F-test is zero or undefined. 1.College Students Anxiety (Null  Week1 = Week2 = Week3) 2.High School Students Anxiety (Null  Week1 = Week2 = Week3) 3.High School vs College Overall (Null  High School = College Overall) 4.High School vs College Trend (Null  No Interaction or “Parallel Lines”)

Combined Analysis 1.College Students Anxiety (Null  Week1 = Week2 = Week3) 2.High School Students Anxiety (Null  Week1 = Week2 = Week3) 3.High School vs College Overall (Null  High School = College Overall) 4.High School vs College Trend (Null  No Interaction or “Parallel Lines”) High School / College Comparisons -Problems?

Combined Analysis “Crossed” Factors vs “Nested” Factors for arbitrary Factors “A” & “B” Nested: Factor "A" is nested within another factor "B" if the levels or values of "A" are different for every level or value of "B". Crossed: Two factors A and B are crossed if every level of A occurs with every level of B. Our Factors: Subjects, School, & Week Crossed? School & Week Subjects & Week Nested? Subject is nested within School ie. Each subject has a measurement in High School or College not High school and College Therefore; any comparisons between them are independent (Not paired!)

Combined Analysis Setting up the ANOVA GLM with only Crossed Factors: (Pretend “Highschool” = Freshman year of College & “College” = Senior year) ANOVA General Linear Mode: Responses: Model: Random Factors: Response Week Year Subject Week*Year Week*Subject Year*Subject Subject

Combined Analysis General Linear Model: Response versus Week, Year, Subject Factor Type LevelsValues Week fixed 3 Week 1, Week 2, Week 3 Year fixed 2 Freshman, Senior Subject random 6 1, 2, 3, 4, 5, 6 Analysis of Variance for Response, using Adjusted SS for Tests Source DF Seq SS Adj SS Adj MS F P Week Year Subject x Week*Year Week*Subject Year*Subject Error Total

Combined Analysis Setting up the ANOVA GLM with Nested Factors: (Reminder – Subjects are nested within School) ANOVA General Linear Mode: Responses: Model: Random Factors: Response School Subject(School) Week School*Week Subject Note: No Subject*Week interactions as School*Week included Subject*Week

General Linear Model: Response versus School, Week, Subject Factor Type Levels Values School fixed 2 College, High School Subject(School) random12 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Week fixed 3 Week 1, Week 2, Week 3 Analysis of Variance for Response, using Adjusted SS for Tests Source DF Seq SS Adj SS Adj MS F P School Subject(School) Week School*Week Error Total Combined Analysis 1.College Students Anxiety (Null  Week1 = Week2 = Week3) 2.High School Students Anxiety (Null  Week1 = Week2 = Week3) 3.High School vs College Overall (Null  High School = College Overall) 4.High School vs College Trend (Null  No Interaction or “Parallel Lines”) 1.College Students Anxiety (Iffy) 2.High School Students Anxiety (Iffy) 3.High School vs College Overall (P <0.001, Means differ - College less) 4.High School vs College Trend (P <0.001, Rate at which Anxiety changes varies dependent on the week. High schoolers became less anxious as Time went on and college students more anxious)

My Data 20 Minute Body cooling procedure where measurements (etc. HR, BP, Skin Temperature) are taking at baseline and then ever 2 minutes during cooling all the way to 20 minutes. 11 Total measurements during the cooling procedure. Two Group (Younger and Older) Two Infusions (Saline and Vitamin C) on Both Older and Younger Two “Timepoints” (Pre Infusion and Post Infusion) on each injection day. 20 Subjects total (10 Older and 10 Younger) Summary: -Each subject comes for two visits. One visit is Saline, the other is Vitamin C injection -Each visit subjects puts on cold suit and is cooled twice. Once before the infusion and once after -Measurements are taking Before cooling (baseline) and then ever 2 minute increments up to 20 minutes. -Subjects are splits into two groups, Younger and Older

My Data Crossed Factors at total analysis: Infusion (Saline/Vit C), Timepoint (Pre/Post), Cooling (BL + every 2 minutes), & Subjects (1-20) Nested Factors at Total Analysis: Subjects and Group (Subjects are nested within Groups because Subjects have either a Young or Old attached to it, not both. Repeated Measures and Time: Each factor takes a repeated measure but the only longitudinal design in the 20 min cooling that has more then one non random level (it has 11). Subjects do not count as they are considered random.

SBP and HR Hypotheses Hypotheses on Systolic BP Change due to cooling while adding Vitamin C: 1.Young and Older Saline Days should NOT differ (accept Null hypothesis)* 2.Young and Older VitC days could Differ (reject Null Hypothesis)* 3.We can use Change in SBP as a standardization for different starting points 4.Older’s Change in SBP will be blunted compared to Younger’s* Hypotheses on HR changes due to cooling while adding Vitamin C: 1.Young and Older Saline Days should NOT differ (accept Null hypothesis)* 2.Young and Older VitC days should NOT differ (accept Null hypothesis)* 3.We can use Change in HR as a standardization for different starting points 4.Older’s Change is HR should not change from Younger’s* *Old published Data supports it