Covariates in Repeated-Measures Analyses Repeated Measures What change has occurred (in response to a treatment)? Mechanism Variables How much of the change.

Slides:



Advertisements
Similar presentations
Quantitative Data Analysis
Advertisements

A Spreadsheet for Analysis of Straightforward Controlled Trials
Research Skills Workshop Designing a Project
Client Assessment and Other New Uses of Reliability Will G Hopkins Physiology and Physical Education University of Otago, Dunedin NZ Reliability: the Essentials.
It does not apply to nominal dependent variables or variables representing counts or frequencies. This presentation applies to continuous or ordinal numeric.
Statistical vs Clinical or Practical Significance
Statistical vs Clinical Significance
Validity and Reliability
Meta-Analyses: Appropriate Growth Will G Hopkins Faculty of Health Science AUT University, Auckland, NZ Resources: Cochrane Reviewers Handbook (2006) at.
Test of (µ 1 – µ 2 ),  1 =  2, Populations Normal Test Statistic and df = n 1 + n 2 – 2 2– )1– 2 ( 2 1 )1– 1 ( 2 where ] 2 – 1 [–
Lecture 11 (Chapter 9).
Statistical Analysis Overview I Session 2 Peg Burchinal Frank Porter Graham Child Development Institute, University of North Carolina-Chapel Hill.
Statistical Analysis and Data Interpretation What is significant for the athlete, the statistician and team doctor? important Will Hopkins
Random effects as latent variables: SEM for repeated measures data Dr Patrick Sturgis University of Surrey.
RELIABILITY Reliability refers to the consistency of a test or measurement. Reliability studies Test-retest reliability Equipment and/or procedures Intra-
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 12 l Multiple Regression: Predicting One Factor from Several Others.
1 SSS II Lecture 1: Correlation and Regression Graduate School 2008/2009 Social Science Statistics II Gwilym Pryce
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
Some Terms Y =  o +  1 X Regression of Y on X Regress Y on X X called independent variable or predictor variable or covariate or factor Which factors.
LINEAR REGRESSION: Evaluating Regression Models Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
Longitudinal Experiments Larry V. Hedges Northwestern University Prepared for the IES Summer Research Training Institute July 28, 2010.
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
ANCOVA Psy 420 Andrew Ainsworth. What is ANCOVA?
Clustered or Multilevel Data
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 13-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
PSYC512: Research Methods PSYC512: Research Methods Lecture 19 Brian P. Dyre University of Idaho.
Dr. Mario MazzocchiResearch Methods & Data Analysis1 Correlation and regression analysis Week 8 Research Methods & Data Analysis.
Basics of regression analysis
Analysis of Individual Variables Descriptive – –Measures of Central Tendency Mean – Average score of distribution (1 st moment) Median – Middle score (50.
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
Chapter 14 Inferential Data Analysis
Mean Tests & X 2 Parametric vs Nonparametric Errors Selection of a Statistical Test SW242.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Comparing Means From Two Sets of Data
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.
Data Collection & Processing Hand Grip Strength P textbook.
EVAL 6970: Cost Analysis for Evaluation Dr. Chris L. S. Coryn Nick Saxton Fall 2014.
1 1 Slide Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination n Model Assumptions n Testing.
Introduction Multilevel Analysis
Statistical Power 1. First: Effect Size The size of the distance between two means in standardized units (not inferential). A measure of the impact of.
Correlation and Linear Regression. Evaluating Relations Between Interval Level Variables Up to now you have learned to evaluate differences between the.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Statistical analysis Outline that error bars are a graphical representation of the variability of data. The knowledge that any individual measurement.
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
6. Evaluation of measuring tools: validity Psychometrics. 2012/13. Group A (English)
Multiple Regression Petter Mostad Review: Simple linear regression We define a model where are independent (normally distributed) with equal.
Mixed-Design ANOVA 5 Nov 2010 CPSY501 Dr. Sean Ho Trinity Western University Please download: treatment5.sav.
Adjusted from slides attributed to Andrew Ainsworth
Analysis of Covariance (ANCOVA)
Measures of Reliability in Sports Medicine and Science Will G. Hopkins Sports Medicine 30(4): 1-25, 2000.
Lecture 10: Correlation and Regression Model.
One-Way Analysis of Covariance (ANCOVA)
Agresti/Franklin Statistics, 1 of 88 Chapter 11 Analyzing Association Between Quantitative Variables: Regression Analysis Learn…. To use regression analysis.
28. Multiple regression The Practice of Statistics in the Life Sciences Second Edition.
Biostatistics Case Studies Peter D. Christenson Biostatistician Session 3: Missing Data in Longitudinal Studies.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
BUS 308 Entire Course (Ash Course) For more course tutorials visit BUS 308 Week 1 Assignment Problems 1.2, 1.17, 3.3 & 3.22 BUS 308.
Statistical analysis.
AP Biology Intro to Statistics
Statistical analysis.
12 Inferential Analysis.
POSC 202A: Lecture Lecture: Substantive Significance, Relationship between Variables 1.
Analyzing Intervention Studies
Statistical Methods For Engineers
12 Inferential Analysis.
Quantitative Data Analysis
An Introductory Tutorial
Presentation transcript:

Covariates in Repeated-Measures Analyses Repeated Measures What change has occurred (in response to a treatment)? Mechanism Variables How much of the change was due to a change in whatever? Individual Responses to a Treatment What's the effect of subject characteristics on the change? Two Within-Subject Factors What's the effect of the treatment on a pattern of responses in sets of trials (e.g., the effect on fatigue)? Will G Hopkins Auckland University of Technology Auckland, NZ

Two or more measurements (trials) per subject longitudinal or monitoring studies interventions or experiments: Data are means and standard deviations Repeated Measures Y Dependent variable Repeated measure exptal control Group Between-subjects factor Different subjects on each level Trial Within-subjects factor Same subjects on each level premidpost Period of treatment

Repeated Measures: Data for Mixed Modeling One row per subject per trial: AthleteGroupTrialY Chrisexptalpre66 Chrisexptalmid68 Chrisexptalpost71 Samexptalpre74 Samexptalmid. Samexptalpost77 Jocontrolpre71 Jocontrolmid72 Missing value means loss of only one trial for the subject.

Repeated Measures: Fixed Effects in Mixed Modeling Fixed effects = means. Fixed effects model without control group: Y Trial This model estimates means of Y for each level of Trial (e.g., Trial pre, Trial mid, Trial post ). Effect of the treatment = means of Y for Trial post – Trial pre. Fixed-effects model with a control or other groups: Y Group Trial This model estimates means for each level of Group and Trial. Effect of treatment = means of Y for [Trial post – Trial pre ] exptal – [Trial post – Trial pre ] control. AthleteGroupTrialY Chrisexptalpre66 Chrisexptalmid68 Chrisexptalpost71 Samexptalpre74

Repeated Measures: Random Effects in Mixed Modeling Random effects = standard deviations (SDs). In the simplest repeated-measures model, there is one between-subject SD and one within-subject SD. Y Trial 1 Trial 2Trial 3 The between-subject SD represents typical variation in the true score between subjects. The within-subject SD represents typical variation in a subject's score between trials. In SAS, random Athlete specifies and estimates the pure between-subject SD and a residual error representing the within-subject SD (the same SD for each trial). Observed SD in any trial = (between SD 2 + within SD 2 ).

Repeated Measures: Data for ANOVA One row per subject: You have to define which columns represent your within-subjects factor. The fixed-effects models are effectively the same as for mixed models, but... You have less control over the random effects. If there is no control group, use a 1-way repeated-measures ANOVA (1 way = Trial) or a paired t test. With a control group, use a 2-way (Trial, Group) repeated- measures ANOVA and analyze the interaction Group Trial. YpreYmidYpost AthleteGroup Chrisexptal Samexptal Jocontrol Patcontrol Measure = "Y" within-subjects factor = "Trial" Missing value means loss of subject.

Repeated Measures: Data for T Test Calculate the most interesting change scores: AthleteGroupYpreYmidYpost Chrisexptal Samexptal74.77 Jocontrol7172 Patcontrol64 63 Use an unpaired t test to analyze the difference in the change score between exptal and control groups. Usually the post-pre change score, but… …can be for any parameter ("within-subject modelling"). Missing values not a problem. More robust but less powerful than more complex analyses. 1 Ypost -Ypre 5 3

Mechanism Variables Mechanism variable = something in the causal path between the treatment and the dependent variable. Necessary but not sufficient that it "tracks" the dependent. Dependent variable pre midpost exptal control Mechanism variable pre midpost exptal control Trial Important for PhD projects or to publish in high-impact journals. It can put limits on a placebo effect, if it's not placebo affected. Can't use ANOVA ; can use graphs and mixed modeling.

Mechanism Variables: ANOVA? For ANOVA, data have to be one row per subject: Mechanism variable = within-subjects covariate XpreXmidXpost You can't use ANOVA, because it doesn't allow you to match up trials for the dependent and covariate. AthleteGroupYpreYmidYpost Chrisexptal Samexptal Jocontrol7172 Patcontrol64 63 Measure = "Y" within-subjects factor = "Trial"

Mechanism Variables: Graphical Analysis - 1 Choose the most interesting change scores for the dependent and covariate: Then plot the change scores… AthleteGroupYpreYmidYpostXpreXmidXpost Chrisexptal Samexptal Jocontrol Patcontrol Xpost -Xpre Change score for covariate Ypost -Ypre Change score for dependent

Mechanism Variables: Graphical Analysis - 2 Three possible outcomes with a real mechanism variable: Ypost - Ypre exptal control Xpost - Xpre Large individual responses… …even in the control group. The covariate is an excellent candidate for a mechanism variable. …tracked by mechanism variable…

Mechanism Variables: Graphical Analysis - 3 Three possible outcomes with a real mechanism variable: 2. Apparently poor tracking of individual responses… … could be due to noise in either variable. The covariate could still be a mechanism variable. Ypost - Ypre Xpost - Xpre 0 0

Mechanism Variables: Graphical Analysis - 4 Three possible outcomes with a real mechanism variable: The covariate is a good candidate for a mechanism variable. Ypost - Ypre Xpost - Xpre Little or no individual responses… …but mechanism variable tracks mean response.

Relationship between change scores is often misinterpreted. Ypost - Ypre Xpost - Xpre 0 0 Mechanism Variables: Graphical Analysis "Overall, changes in X track changes in Y well, but… Noise may have obscured tracking of any individual responses. Therefore X could be a mechanism." "The correlation between change scores for X and Y is trivial. Therefore X is not the mechanism."

Mechanism Variables: Mixed Modeling Overview Need to quantify the role of the mechanism variable, with confidence limits. Mixed modeling with restricted maximum likelihood estimation does the job. Data format is one row per trial: AthleteGroupTrialY Chrisexptalpre66 Chrisexptalmid68 Chrisexptalpost71 Samexptalpre74 X Mechanism variable = within-subjects covariate No problem with aligning trials for the dependent and covariate.

Mechanism Variables: Mixed Modeling WITHOUT Covariate To remind you… Fixed effects (= means) model without control group: Y Trial This model estimates means of Y for each level of Trial (e.g., Trial pre, Trial mid, Trial post ). Effect of the treatment = means of Y for Trial post – Trial pre. Fixed-effects model with a control or other groups: Y Group Trial This model estimates means for each level of Group and Trial. Effect of treatment = means of Y for [Trial post – Trial pre ] exptal – [Trial post – Trial pre ] control. AthleteGroupTrialY Chrisexptalpre66 Chrisexptalmid68 Chrisexptalpost71 Samexptalpre74

Mechanism Variables: Mixed Modeling WITH Covariate Fixed-effects model: Y [Group ] Trial X Estimates means for each level of Trial with X held constant. So, contrasts of interest derived from Trial represent effects of treatment not explained by putative mechanism variable. Example: Effect of treatment from usual model Y [Group ] Trial : 4.6 units (95% likely limits, 2.1 to 7.1 units). Effect of treatment from model Y [Group ] Trial X : 2.5 units (95% likely limits, -1.0 to 7.0 units). So, a little more than half the effect (2.5 units) is not explained by X, but we need a larger sample or more reliable Y and/or X to reduce the uncertainty (-1.0 to 7.0 units). If changes in X can't be due to any placebo effect, the placebo effect is 2.5 units.

Mechanism Variables: Random Effects in the Mixed Model Simple random-effects (= standard deviations) model: random Athlete In the Statistical Analysis System, this model specifies and estimates a pure between-subject SD and a residual error representing within-subject SD (the same SD for each trial). More complex model: random Athlete Athlete X This model implies X has a different effect for each subject. The coefficient of X in the fixed-effects model represents the mechanism effect averaged over all subjects. The SD from Athlete X is the typical variation in this mechanism effect between subjects. Need >2 trials to estimate this SD. All with confidence limits, which you interpret, of course.

Subjects may differ in their response to a treatment… Individual Responses …due to subject characteristics interacting with the treatment. It's important to measure and analyze their effect on the treatment. Use mixed modeling, ANOVA, or "within-subject modeling". Using Y for Trial pre as a characteristic needs a special approach to avoid artifactual regression to the mean. See newstats.org. Y Trial pre midpost Data are values for individuals pre midpost boys girls

Individual Responses: Mixed Modeling - 1 Data format is one row per trial: Fixed-effects model… without a control group: Y Trial Trial Covariate with a control group or other groups: Y Group Trial Group Trial Covariate GroupTrialY exptpre66 exptmid68 exptpost71 exptpre74 Athlete Chris Sam Athlete Chris Sam SexAge F23 F F M19 Subject characteristics = between-subject covariates

Individual Responses: Mixed Modeling - 2 If Covariate is nominal (e.g., Sex), [Group ]Trial Covariate represents different means for each level of Sex and Trial. Y for (Trial post – Trial pre ) Sex female – (Trial post – Trial pre ) Sex male = difference between effect of treatment on females and males. Overall effects of treatment from [Group ]Trial represent effects for equal numbers of females and males, even if unequal in the study. If Covariate is numeric (e.g., Age), [Group ]Trial Covariate represents different slopes for each level of Trial. Y for (Trial post – Trial pre ) Age 10 = increase in the effect per decade of age, e.g. 2.1 units.10y -1. Overall effects of treatment from [Group ]Trial represent effects for subjects on the mean age. Random-effects model: include special term to quantify individual responses before and after adding covariate. See newstats.org.

Individual Responses: Repeated-Measures ANOVA Data format is one row per subject: If no control group, use repeated-measures ANOVA (ANCOVA) and analyze the interaction Trial Covariate. With a control group, analyze Group Trial Covariate. GroupYpreYmidYpost exptal exptal control7172 control64 63 Within-subjects factor = "Trial" Athlete Chris Sam Jo Pat Athlete Chris Sam Jo Pat SexAge F23 M19 F M Covariates

Individual Responses: Within-Subject Modeling Calculate the most interesting change scores or other within- subject parameters: If no control group, analyze effect of Covariate on change score with unpaired t test, linear regression, or simple ANOVAs. With a control group, analyze effect of Group Covariate on the change score with a simple ANOVA. Less powerful, more robust than mixed modeling or ANOVA. AthleteSexAgeGroupYpreYmidYpost ChrisF23exptal SamM19exptal JoF19control7172 PatM19control Ypost -Ypre 5 3

= sets of several measurements for each trial, e.g. 4 bouts: Y pre midpost control Trial exptal Two Within-Subject Factors We want to estimate the overall increase in Y in the exptal group in the mid and post trials, and… …the greater decline in Y in the exptal group within the mid and post trials (representing, for example, increased fatigue). Use mixed modeling, ANOVA, or within-subject modeling. Within Subject between Trials Within Subject within Trial Between Subjects within Bout Standard deviations: Bout

Two Within-Subject Factors: Mixed Modeling - 1 Data format is one row per bout per trial: AthleteSexAgeGroupTrialBout ChrisF23exptpre1 ChrisF23exptpre2 ChrisF23exptpre3 ChrisF23exptpre4 Y ChrisF23exptmid1 ChrisF23exptmid2 ChrisF23exptmid3 ChrisF23exptmid

Two Within-Subject Factors: Mixed Modeling - 2 Fixed-effects model… Bout can be nominal (like Sex) or numeric (like Age). In the example, Bout is best modeled as a linear numeric effect. Polynomials are also possible. Model (without control group): Y Trial Trial Bout Increase in the linear fatigue effect between Bouts 1 and 4 from pre to post = Y for (Trial post – Trial pre ) Bout 3. The change in Bout is 3 units. Overall increase in Y pre to post = Y for Trial post – Trial pre + (Trial post – Trial pre ) Bout 2.5. The middle of each trial corresponds to Bout = 2.5. Add Trial Covariate and Trial Bout Covariate to the model to explore individual responses.

Two Within-Subject Factors: Mixed Modeling - 3 Random-effects models It takes time to get used to random-effects models! Simplest is random Athlete Athlete Trial; Athlete gives the pure between-subjects variation. The residual is the within-trial (between-bouts) error. Athlete Trial gives the pure within-subject variation between trials. Add the residual variance to get observed between- bouts between-trials variation. If Bout is numeric, random Athlete Athlete Bout Athlete Trial; implies Bout has a different slope for each subject. The SD from Athlete Bout is the typical variation in the slope between subjects. Other random effects are as above, sort of.

Two Within-Subject Factors: ANOVA; Within-Subject Modeling With sufficiently powerful ANOVA, you can specify two nominal within-subject effects and take into account various within- subject errors (using adjustments for asphericity). Specifying a linear or polynomial fatigue effect is possible but difficult (for me, anyway). Within-subject modeling is much easier. In the example, derive the Bout slope (or any other parameter) within each trial for each subject. Derive the change in the slope between pre and post for each subject. Do an unpaired t test for the difference in the changes between the exptal and control groups. Simple, robust, highly recommended!

This presentation was downloaded from: A New View of Statistics SUMMARIZING DATA GENERALIZING TO A POPULATION Simple & Effect Statistics Precision of Measurement Precision of Measurement Confidence Limits Statistical Models Statistical Models Dimension Reduction Dimension Reduction Sample-Size Estimation Sample-Size Estimation newstats.org