BUSI 6480 Lecture 8 Repeated Measures.

Slides:



Advertisements
Similar presentations
1 Regression as Moment Structure. 2 Regression Equation Y =  X + v Observable Variables Y z = X Moment matrix  YY  YX  =  YX  XX Moment structure.
Advertisements

Topic 12: Multiple Linear Regression
A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
Strip-Plot Designs Sometimes called split-block design
GENERAL LINEAR MODELS: Estimation algorithms
1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Repeated Measure Ideally, we want the data to maintain compound symmetry if we want to justify using univariate approaches to deal with repeated measures.
Multilevel modeling in R Tom Dunn and Thom Baguley, Psychology, Nottingham Trent University
SPSS Series 3: Repeated Measures ANOVA and MANOVA
Structural Equation Modeling
Multiple regression analysis
Design of Engineering Experiments - Experiments with Random Factors
C82MST Statistical Methods 2 - Lecture 7 1 Overview of Lecture Advantages and disadvantages of within subjects designs One-way within subjects ANOVA Two-way.
Experimental Design Terminology  An Experimental Unit is the entity on which measurement or an observation is made. For example, subjects are experimental.
Incomplete Block Designs
WLS for Categorical Data
Longitudinal Data Analysis: Why and How to Do it With Multi-Level Modeling (MLM)? Oi-man Kwok Texas A & M University.
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Analysis of Variance with Repeated Measures. Repeated Measurements: Within Subjects Factors Repeated measurements on a subject are called within subjects.
Introduction to Multilevel Modeling Using SPSS
Chapter 13Design & Analysis of Experiments 8E 2012 Montgomery 1.
Mixed Analysis of Variance Models with SPSS
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
G Lecture 5 Example fixed Repeated measures as clustered data
Application of repeated measurement ANOVA models using SAS and SPSS: examination of the effect of intravenous lactate infusion in Alzheimer's disease Krisztina.
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation Note: Homework Due Thursday.
7/16/2014Wednesday Yingying Wang
1 Experimental Statistics - week 2 Review: 2-sample t-tests paired t-tests Thursday: Meet in 15 Clements!! Bring Cody and Smith book.
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.
SPM Course Zurich, February 2015 Group Analyses Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London With many thanks to.
Randomized Block Design (Kirk, chapter 7) BUSI 6480 Lecture 6.
Repeated Measures  The term repeated measures refers to data sets with multiple measurements of a response variable on the same experimental unit or subject.
Multilevel Linear Models Field, Chapter 19. Why use multilevel models? Meeting the assumptions of the linear model – Homogeneity of regression coefficients.
Curvilinear 2 Modeling Departures from the Straight Line (Curves and Interactions)
Repeated Measurements Analysis. Repeated Measures Analysis of Variance Situations in which biologists would make repeated measurements on same individual.
Multilevel Linear Modeling aka HLM. The Design We have data at two different levels In this case, 7,185 students (Level 1) Nested within 160 Schools (Level.
1 G Lect 14a G Lecture 14a Examples of repeated measures A simple example: One group measured twice The general mixed model Independence.
12c.1 ANOVA - A Mixed Design (Between And within subjects) These notes are developed from “Approaching Multivariate Analysis: A Practical Introduction”
Multilevel Modeling Software Wayne Osgood Crime, Law & Justice Program Department of Sociology.
The Completely Randomized Design (§8.3)
ANOVA: Analysis of Variance.
Latin Squares (Kirk, chapter 8) BUSI 6480 Lecture 7.
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
PSYC 3030 Review Session April 19, Housekeeping Exam: –April 26, 2004 (Monday) –RN 203 –Use pencil, bring calculator & eraser –Make use of your.
Estimating and Testing Hypotheses about Means James G. Anderson, Ph.D. Purdue University.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Using Specialized Research Designs.
Smoking Data The investigation was based on examining the effectiveness of smoking cessation programs among heavy smokers who are also recovering alcoholics.
1 Experimental Statistics - week 9 Chapter 17: Models with Random Effects Chapter 18: Repeated Measures.
Topic 20: Single Factor Analysis of Variance. Outline Analysis of Variance –One set of treatments (i.e., single factor) Cell means model Factor effects.
Analysis of Experiments
Tutorial I: Missing Value Analysis
1 Statistics 262: Intermediate Biostatistics Regression Models for longitudinal data: Mixed Models.
Multiple Imputation using SAS Don Miller 812 Oswald Tower
CRD, Strength of Association, Effect Size, Power, and Sample Size Calculations BUSI 6480 Lecture 4.
Experimental Statistics - week 9
ANOVA Overview of Major Designs. Between or Within Subjects Between-subjects (completely randomized) designs –Subjects are nested within treatment conditions.
Biostatistics Case Studies Peter D. Christenson Biostatistician Session 3: Missing Data in Longitudinal Studies.
G Lecture 71 Revisiting Hierarchical Mixed Models A General Version of the Model Variance/Covariances of Two Kinds of Random Effects Parameter Estimation.
12e.1 MANOVA Within Subjects These notes are developed from “Approaching Multivariate Analysis: A Practical Introduction” by Pat Dugard, John Todman and.
HIERARCHICAL LINEAR MODELS. NESTED DESIGNS A factor A is said to be nested in factor B if the levels of A are divided among the levels of B. This is given.
ANOVA and Multiple Comparison Tests
1 Experimental Statistics - week 8 Chapter 17: Mixed Models Chapter 18: Repeated Measures.
29 October 2009 MRC CBU Graduate Statistics Lectures 4: GLM: The General Linear Model - ANOVA & ANCOVA1 MRC Cognition and Brain Sciences Unit Graduate.
An Introduction to Latent Curve Models
Group Analyses Guillaume Flandin SPM Course London, October 2016
G Lecture 6 Multilevel Notation; Level 1 and Level 2 Equations
Fixed, Random and Mixed effects
Rachael Bedford Mplus: Longitudinal Analysis Workshop 23/06/2015
Presentation transcript:

BUSI 6480 Lecture 8 Repeated Measures

Repeated Measures Terminology Subject An individual or experimental unit from which a sequence of responses are recorded. Within-subjects factor: A set of conditions in which a dependent variable is measured repeatedly for all subjects. Trials: The sequential conditions of the within-subjects factor. Between-subjects factor: A set of conditions in which a dependent variable is measured on independent groups of sample members, where each group is exposed to a different condition. The conditions that constitute this factor type are called groups. Repeated measures ANOVA with between-subjects factors: An experimental design in which an analysis has both within-subjects factors and between subjects factors.

Data typically take one of two formats: Repeated Measures Data: data collected over sequential time periods per subject. Data typically take one of two formats: A record is created for each subject with responses over time periods and independent variables. 2. A record is created for each time period and for each subject. Thus one subject would have multiple records.

Typically, a Between Subject Factor and a Within Subjects Factor Are Present Types of Program – Between Subjects Sequence (time) – Within Subjects

Within Subject Covariance Structures Examples

Some Popular Choices for Covariance Structures VC = variance components CS = compound symmetry UN = Unstructured

Some Correlation/Covariance Patterns

Covariance Patterns – Subpatterns Note that VC is a special case of CS. (nested) And CS is a special case of HF. (nested) And HF is a special case of UN. (nested) Note: Choice of Covariance Pattern does not affect test of Between Subjects Factor.

GLM Repeated Measures Procedure in SAS/SPSS Assumes either a Type H or unstructured within-subject covariance matrix Automatically performs a sphericity test with the PRINTE option Requires data to be inputted with one record per subject. Estimates covariance parameters using a method of moments. Requires balanced data – ignores subjects with missing data

Mixed Procedure in SAS/SPSS Note the advantages in the Mixed Approach Proc Mixed 1. Allows a wide variety of within-subject covariance structures with Type H being only one. 2. Sphericity test can be performed by running both TYPE=UN and TYPE=HF and subtracting the chi-square values and taking a difference in the degrees of of freedom. 3. Requires column format with one observation per time period. 4. Estimates covariance parameters using a (restricted) maximum likelihood method (same as used in SEM). 5. Allows data to be missing.

SPSS: GLM > Repeated Measures

SPSS: Mixed Models > Linear (not covered)

GLM Approach to Repeated Measures

Mixed Approach to Repeated Measures

SPSS: Define Repeated Measures -GLM

SPSS: GLM - Within and Between Subjects Factors

In SPSS, AIC and BIC (aka SBC) will appear in a box labeled Information Criteria

Using the Chi-Square Difference Approach for Nested Models

SPSS Mixed Model Dialog Box – Select Covariance Structure

Insert Factors, Covariates, and Residual Weight and Dependent Variable

Example of Fixed Effects Model Building Dialog Box Example of Fixed Effects Model Building Dialog Box. Always include Intercept (unless you have a reason not to)

Under Subject Groupings, the variable Worker can be specified, unless only a Fixed Effects model is used.

Tests for Covariance Parameters and Parameter Estimates are Options under Statistics

SPSS Select Restricted Max Likelihood for most mixed models SPSS Select Restricted Max Likelihood for most mixed models. Increase max iterations for ill conditioned data.

Trends in Repeated Measures In SPSS GLM, click on contrast within Repeated Measures and select polynomial. In Mixed in SPSS, add additionally created square and cube terms and interactions with these terms if necessary to data set. When using a polynomial in the repeated measure, the variable Day, its square and cubic terms are used as covariates and Day is not a factor variable. The notation for an interaction between a repeated variable and a between groups factor may be expressed as the between-subjects factor listed with the repeated variable next to it in parenthesis. The degrees of freedom for random effects can be fractional rather than integer values, indicating that fractions of sources of variation were used in synthesizing appropriate error terms.

Example in Getting p-value for Chi-square Statistic Data mypvalue; x=18.307; df = 10; pvalue = 1- probchi(x,df); proc print data=mypvalue; run; quit; Solution is a p-value of .05 in print out.

proc mi data=MyData round=.1 seed=5432 nimpute=1 out= outmi; Repeated Measures Experiments Often Have Missing Values for Several Time Periods SAS proc mi data=MyData round=.1 seed=5432 nimpute=1 out= outmi; var myDepVar myTimePeriod1-myTimePeriod4; run; proc print data = outmi; NOTE: SAS uses a Markov Chain Monte Carlo method to estimate missing values in Proc mi.

Examine Output of Missing Data Patterns (patterns should be random) 1 X X X X X X X 39 2 X X X X X . X 4 3 X X X X . X X 3 4 X X . X X X X 7 5 X . X X X X X 6 6 X . X X . X X 1 Ideally, no one pattern should have more than 25% of the missing values (except for the pattern with no missing values).