Overview of Methods for Analyzing Cluster-Correlated Data. Garrett M. Fitzmaurice



Similar documents
Lecture 5 Three level variance component models

Introduction to Longitudinal Data Analysis

Introducing the Multilevel Model for Change

SAS Syntax and Output for Data Manipulation:

Random effects and nested models with SAS

Electronic Thesis and Dissertations UCLA

Introduction to Data Analysis in Hierarchical Linear Models

Longitudinal Data Analysis

Longitudinal Meta-analysis

Introduction to Multilevel Modeling Using HLM 6. By ATS Statistical Consulting Group

Εισαγωγή στην πολυεπίπεδη μοντελοποίηση δεδομένων με το HLM. Βασίλης Παυλόπουλος Τμήμα Ψυχολογίας, Πανεπιστήμιο Αθηνών

SAS Software to Fit the Generalized Linear Model

STATISTICA Formula Guide: Logistic Regression. Table of Contents

New SAS Procedures for Analysis of Sample Survey Data

Power and sample size in multilevel modeling

Linear Mixed-Effects Modeling in SPSS: An Introduction to the MIXED Procedure

Using Repeated Measures Techniques To Analyze Cluster-correlated Survey Responses

Using PROC MIXED in Hierarchical Linear Models: Examples from two- and three-level school-effect analysis, and meta-analysis research

Use of deviance statistics for comparing models

Handling attrition and non-response in longitudinal data

An Introduction to Modeling Longitudinal Data

10. Analysis of Longitudinal Studies Repeat-measures analysis

SPPH 501 Analysis of Longitudinal & Correlated Data September, 2012

Multivariate Logistic Regression

Failure to take the sampling scheme into account can lead to inaccurate point estimates and/or flawed estimates of the standard errors.

Qualitative vs Quantitative research & Multilevel methods

Analyzing Intervention Effects: Multilevel & Other Approaches. Simplest Intervention Design. Better Design: Have Pretest

ln(p/(1-p)) = α +β*age35plus, where p is the probability or odds of drinking

Individual Growth Analysis Using PROC MIXED Maribeth Johnson, Medical College of Georgia, Augusta, GA

Prediction for Multilevel Models

Technical report. in SPSS AN INTRODUCTION TO THE MIXED PROCEDURE

Family economics data: total family income, expenditures, debt status for 50 families in two cohorts (A and B), annual records from

Chapter 11 Introduction to Survey Sampling and Analysis Procedures

HLM software has been one of the leading statistical packages for hierarchical

Statistical Rules of Thumb

Overview Classes Logistic regression (5) 19-3 Building and applying logistic regression (6) 26-3 Generalizations of logistic regression (7)

Moderation. Moderation

The Latent Variable Growth Model In Practice. Individual Development Over Time

E(y i ) = x T i β. yield of the refined product as a percentage of crude specific gravity vapour pressure ASTM 10% point ASTM end point in degrees F

A Composite Likelihood Approach to Analysis of Survey Data with Sampling Weights Incorporated under Two-Level Models

Lecture 14: GLM Estimation and Logistic Regression

The Basic Two-Level Regression Model

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN

CHAPTER 9 EXAMPLES: MULTILEVEL MODELING WITH COMPLEX SURVEY DATA

Multilevel Modeling of Complex Survey Data

A Basic Introduction to Missing Data

5. Multiple regression

Models for Longitudinal and Clustered Data

Chapter 29 The GENMOD Procedure. Chapter Table of Contents

Adequacy of Biomath. Models. Empirical Modeling Tools. Bayesian Modeling. Model Uncertainty / Selection

Statistical Models in R

Least Squares Estimation

Analyzing Data from Nonrandomized Group Studies

Model Fitting in PROC GENMOD Jean G. Orelien, Analytical Sciences, Inc.

Using An Ordered Logistic Regression Model with SAS Vartanian: SW 541

This can dilute the significance of a departure from the null hypothesis. We can focus the test on departures of a particular form.

Problem of Missing Data

Review of the Methods for Handling Missing Data in. Longitudinal Data Analysis

data visualization and regression

GLM I An Introduction to Generalized Linear Models

INTRODUCTION TO SURVEY DATA ANALYSIS THROUGH STATISTICAL PACKAGES

BIO 226: APPLIED LONGITUDINAL ANALYSIS COURSE SYLLABUS. Spring 2015

College Readiness LINKING STUDY

Statistics in Retail Finance. Chapter 2: Statistical models of default

2. Simple Linear Regression

Applications of R Software in Bayesian Data Analysis

Applied Statistics. J. Blanchet and J. Wadsworth. Institute of Mathematics, Analysis, and Applications EPF Lausanne

11. Analysis of Case-control Studies Logistic Regression

Longitudinal Data Analyses Using Linear Mixed Models in SPSS: Concepts, Procedures and Illustrations

Chapter 15. Mixed Models Overview. A flexible approach to correlated data.

Assignments Analysis of Longitudinal data: a multilevel approach

Milk Data Analysis. 1. Objective Introduction to SAS PROC MIXED Analyzing protein milk data using STATA Refit protein milk data using PROC MIXED

ADVANCED FORECASTING MODELS USING SAS SOFTWARE

Poisson Models for Count Data

1 Theory: The General Linear Model

Multilevel Modelling of medical data

Basic Statistical and Modeling Procedures Using SAS

The SURVEYFREQ Procedure in SAS 9.2: Avoiding FREQuent Mistakes When Analyzing Survey Data ABSTRACT INTRODUCTION SURVEY DESIGN 101 WHY STRATIFY?

MISSING DATA TECHNIQUES WITH SAS. IDRE Statistical Consulting Group

Module 5: Introduction to Multilevel Modelling SPSS Practicals Chris Charlton 1 Centre for Multilevel Modelling

Introduction to General and Generalized Linear Models

DEPARTMENT OF PSYCHOLOGY UNIVERSITY OF LANCASTER MSC IN PSYCHOLOGICAL RESEARCH METHODS ANALYSING AND INTERPRETING DATA 2 PART 1 WEEK 9

Abstract Title Page. Title: Conditions for the Effectiveness of a Tablet-Based Algebra Program

Generalized Linear Models

SUGI 29 Statistics and Data Analysis

1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

ANOVA. February 12, 2015

Multiple Linear Regression in Data Mining

Statistics in Retail Finance. Chapter 6: Behavioural models

Master of Public Health Program Competencies. Implemented Fall 2015

VI. Introduction to Logistic Regression

The 3-Level HLM Model

Technical Report. Teach for America Teachers Contribution to Student Achievement in Louisiana in Grades 4-9: to

Power Calculation Using the Online Variance Almanac (Web VA): A User s Guide

Designing Adequately Powered Cluster-Randomized Trials using Optimal Design

Chapter 19 Statistical analysis of survey data. Abstract

Transcription:

Overview of Methods for Analyzing Cluster-Correlated Data Garrett M. Fitzmaurice Laboratory for Psychiatric Biostatistics, McLean Hospital Department of Biostatistics, Harvard School of Public Health

Outline Background Examples Regression Models for Cluster-Correlated Data Case Studies Summary and Concluding Remarks

Background: Cluster-Correlated Data Cluster-correlated data arise when there is a clustered/grouped structure to the data. Data of this kind frequently arise in the social, behavioral, and health sciences since individuals can be grouped in so many different ways. For example, in studies of health services and outcomes, assessments of quality of care are often obtained from patients who are nested or grouped within different clinics.

Such data can also be regarded as hierarchical/multilevel, with patients referred to as the level 1 units and clinics the level 2 units. In this example there are two levels in the data hierarchy and, by convention, the lowest level of the hierarchy is referred to as level 1. The term level, as used in this context, signifies the position of a unit of observation within a hierarchy. Clustering can be due to a naturally occurring hierarchy in the target population or a consequence of study design (or sometimes both).

Examples of naturally occurring clusters: Studies of nuclear families: observations on the mother, father, and children (level 1 units) nested within families (level 2 units). Studies of health services/outcomes: observations on patients (level 1 units) nested within clinics (level 2 units). Studies of education: observations on children (level 1 units) nested within classrooms (level 2 units). Note: Naturally occurring hierarchical data structures can have more than two levels, e.g., children (level 1 units) nested within classrooms (level 2 units), nested within schools (level 3 units).

Examples of clustering as consequence of study design: Longitudinal Studies: the clusters are composed of the repeated measurements obtained from a single individual at different occasions. In longitudinal studies the level 1 units are the repeated occasions of measurement and the level 2 units are the subjects. Cluster-Randomized Clinical Trials: Groups (level 2 units) of individuals (level 1 units), rather than the individuals themselves, are randomly assigned to different treatments or interventions.

Complex Sample Surveys: Many national surveys use multi-stage sampling. For example, in 1st stage, primary sampling units (PSUs) are defined based on counties in the United States. A first-stage random sample of PSUs are selected. In 2nd stage, within each selected PSU, a random sample of census blocks are selected. In 3rd stage, within selected census blocks, a random sample of households are selected. Resulting data are clustered with a hierarchical structure (households are the level 1 units, area segments the level 2 units, and counties the level 3 units).

Finally, clustering can be due to both study design and naturally occurring hierarchies in the target population. Example: Clinical trials are often conducted in many different centers to ensure sufficient numbers of patients and/or to assess the effectiveness of the treatment in different settings. Observations from a multi-center longitudinal clinical trial are clustered with a hierarchical structure: repeated measurement occasions (level 1 units) nested within subjects (level 2 units) nested within clinics (level 3 units).

Consequences of Clustering One importance consequence of clustering is that measurement on units within a cluster are more similar than measurements on units in different clusters. For example, two children selected at random from the same family are expected to respond more similarly than two children randomly selected from different families. The clustering can be expressed in terms of correlation among the measurements on units within the same cluster. Statistical models for clustered data must account for the intra-cluster correlation (at each level); failure to do so can result in misleading inferences.

Regression Models for Clustered Data Broadly speaking, there are three general approaches for handling clustering in regression models: 1. Introduce random effects to account for clustering 2. Introduce fixed effects to account for clustering 3. Ignore clustering...but be a clever ostrich

Method 1: Mixed Effects Regression Models for Clustered Data Focus mainly on linear regression models for clustered data. Basis of dominant approaches for modelling clustered data: account for clustering via introduction of random effects. Two-Level Linear Models Notation: Let i index level 1 units and j index level 2 units. Let Y i j denote the response on the i th level 1 unit within the j th level 2 cluster. Associated with each Y i j is a (row) vector of covariates, X i j. These can include covariates defined at each of the two levels.

Xi j β Yi j Consider the following linear regression model relating the mean response to the covariates: E β 0 β 1 X i j1 βpxi jp (1) The model given by (1) specifies how the mean response depends on covariates, where the covariates can be defined at level 2 and/or level 1. Regression models for clustered data account for the variability in Y i j, around its mean, by allowing for random variation across both level 1 and level 2 units.

Regression models assume random variation across level 1 units and random variation in a subset of the regression parameters across level 2 units. The two-level linear model for Y i j is given by Y i j X i j β Z i j b ei j j (2) where Z i j is a design vector for the random effects at level 2, formed from a subset of the appropriate components of X i j. The random effects, b j, vary across level 2 units but, for a given level 2 unit, are constant for all level 1 units.

b j These random effects are assumed to be independent across level 2 units, with mean zero and covariance, Cov G. b j The level 1 random components, e i j, are also assumed to be independent across level 1 units, with mean zero and variance, Var σ2. e i j In addition, the e i j s are assumed to be independent of the b j s, with Cov 0. e i j That is, the level 1 units are assumed to be conditionally independent given the level 2 random effects (and the covariates).

β 0 Simple Illustration: Consider the following two-level model with a single random effect that varies across level 2 units: Y i j β 1 X i j1 β p X i jp b ei j j Here Z i j 1 for all i and j.

The regression parameters, β, are the fixed effects and describe the effects of covariates on the mean response E Yi j Xi jβ where the mean response is averaged over both level 1 and level 2 units. Key Points: The two-level linear model given by (2) accounts for the clustering of the level 1 units by incorporating random effects at level 2. Model explicitly distinguishes two main sources of variation in the response: (a) variation across level 2 units and (b) variation across level 1 units (within level 2 units). The relative magnitude of these two sources of variability determines the degree of clustering in the data.

β 0 Simple Illustration: Y i j β 1 X i j1 β p X i jp b ei j j where e i j are assumed to be independent across level 1 units, with mean zero and variance, Var e i j σ2e; b j are assumed to vary independently across level 2 units, with mean zero and variance, Var σ2b. b j Then, the correlation (or clustering) for a pair of level 1 units (within a level 2 unit) is given by: Corr Yi j Yï j σ 2 b σ 2 b σ 2 e The larger the variance of the level 2 random effect (σ 2 b ), relative to the level 1 variability (σ 2 e), the greater the degree of clustering (or correlation).

Finally, the two-level model given by (2) can be extended in a natural way to three or more levels. Clustering in three or higher level data is accounted for via the introduction of random effects at each of the different levels in the hierarchy. Conceptually, no more complicated than in the two-level model.

Estimation of Parameters in Mixed Effects Regression Models Parameters of regression models are the fixed effects, β, and the covariance (or variance) of the random effects at each level. For linear models, it is common to assume random components have multivariate normal distributions. Given these distributional assumptions, (restricted) maximum likelihood (ML) estimation of the model parameters is relatively straightforward. Implemented in many major statistical software packages (e.g., PROC MIXED in SAS and the lme function in S-PLUS) and in stand-alone programs that have been specifically tailored for modelling hierarchical/multilevel data (e.g., MLwiN and HLM).

Method 2: Fixed Effects Regression Models for Clustered Data Clustering can be accounted for by replacing random effects with fixed effects. Instead of assuming b j N α j. 0 G, treat them as additional fixed effects, say Simple Illustration: Y i j α j β 1 X i j1 β p X i jp e i j where e i j are assumed to be independent across level 1 units, with mean zero and variance, Var σ2e. e i j Here, both the α s and β s are regarded as fixed effects.

However, when the b j are treated as fixed, the effects of covariates that vary among clusters can no longer be estimated. For example, fixed effects regression models can be used to analyze multicenter trials, but not cluster-randomized trials. Fixed effects regression models can only estimate effects of covariates that vary within clusters. Potential Advantages: Requires fewer assumptions. Potential Disadvantages: Less efficient.

Estimation of Parameters in Fixed Effects Regression Models Because the b j are treated as fixed rather than random, estimation is straightforward. Do not require sophisticated statistical software; can use any standard regression procedure (e.g., PROC GLM in SAS). Simply include dummy or indicator variables for the level 2 (or higher) units, e.g., include cluster as a categorical factor in the regression analysis.

Method 3: Clever Ostrich Method Ignore clustering in the data (i.e., bury head in the sand) and proceed with analysis as though all observations are independent. However, to ensure valid inferences base standard errors (and test statistics) on so-called sandwich variance estimator. The sandwich variance estimator corrects for clustering in the data. Caveat: Properties of sandwich variance estimator rely on relatively large number of clusters.

Case Study 1: Developmental Toxicity Study of Ethylene Glycol Developmental toxicity studies of laboratory animals play a crucial role in the testing and regulation of chemicals. Exposure to developmental toxicants typically causes a variety of adverse effects, such as fetal malformations and reduced fetal weight at term. In a typical developmental toxicity experiment, laboratory animals are assigned to increasing doses of a chemical or test substance. Consider an analysis of data from a development toxicity study of ethylene glycol (EG).

Ethylene glycol is used as an antifreeze, as a solvent in the paint and plastics industries, and in the formulation of various types of inks. In a study of laboratory mice conducted through the National Toxicology Program (NTP), EG was administered at doses of 0, 750, 1500, or 3000 mg/kg/day to 94 pregnant mice (dams) beginning just after implantation. Following sacrifice, fetal weight and evidence of malformations were recorded for each live fetus. In our analysis, we focus on the effects of dose on fetal weight.

Summary statistics (ignoring clustering in the data) for fetal weight for the 94 litters (composed of a total of 1028 live fetuses) are presented in Table 1. Fetal weight decreases monotonically with increasing dose, with the average weight ranging from 0.97 (gm) in the control group to 0.70 (gm) in the group administered the highest dose. The decrease in fetal weight is not linear in increasing dose, but is approximately linear in increasing dose.

Table 1: Descriptive statistics on fetal weight. Dose Weight (gm) (mg/kg) Dose 750 Dams Fetuses Mean St. Deviation 0 0 25 297 0.972 0.098 750 1 24 276 0.877 0.104 1500 1.4 22 229 0.764 0.107 3000 2 23 226 0.704 0.124 Calculated ignoring clustering.

where σ2 2 β 1 The data on fetal weight from this experiment are clustered, with observations on the fetuses (level 1 units) nested within dams/litters (level 2 units). The litter sizes range from 1 to 16. Letting Y i j denote the fetal weight of the i th live fetus from the j th litter, we considered the following model: Y i j β0 b j ei j the j th dam. Dose is the square-root transformed dose administered to The random effect b j is assumed to vary independently across litters, with b j N. The errors, e i j fetuses (within a litter), with e i j N 0 are assumed to vary independently across 0 σ2 1

In this model, the clustering or correlation among the fetal weights within a litter is accounted for by their sharing a common random effect, b j. The degree of clustering in the data can be expressed in terms of the intra-cluster (or intra-litter) correlation ρ σ 2 2 σ 2 1 σ 2 2

SAS Syntax and Selected Output data ntp; input id dose weight malf; sqrtdose=(dose/750)**.5; datalines; 60 0 0.903 0 60 0 0.828 0 60 0 0.953 0 60 0 0.954 0 60 0 1.070 0 60 0 1.065 0............ 156 3000 0.724 0 156 3000 0.829 0 ;

proc mixed data=ntp; class id; model weight = sqrtdose / solution; random intercept / subject=id; run;

The Mixed Procedure Model Information Data Set Dependent Variable Covariance Structure Subject Effect Estimation Method Residual Variance Method Fixed Effects SE Method Degrees of Freedom Method WORK.NTP weight Variance Components id REML Profile Model-Based Containment

Dimensions Covariance Parameters 2 Columns in X 2 Columns in Z Per Subject 1 Subjects 94 Max Obs Per Subject 16 Number of Observations Number of Observations Read 1028 Number of Observations Used 1028 Number of Observations Not Used 0

Covariance Parameter Estimates Cov Parm Subject Estimate Intercept id 0.007256 Residual 0.005565 Fit Statistics -2 Res Log Likelihood -2154.5 AIC (smaller is better) -2150.5 AICC (smaller is better) -2150.5 BIC (smaller is better) -2145.4

Solution for Fixed Effects Standard Effect Estimate Error DF t Value Pr > t Intercept 0.9845 0.01605 92 61.32 <.0001 sqrtdose -0.1339 0.01235 934-10.85 <.0001

0.134 0.012 100 100 Table 2: Fixed and random effects estimates for the fetal weight data. Parameter Estimate SE Z Intercept 0.984 0.016 61.32 Dose 750 10.85 σ 2 2 0.726 0.119 6.11 σ 2 1 0.556 0.026 21.55

The REML estimate of the regression parameter for (transformed) dose indicates that the mean fetal weight decreases with increasing dose. The estimated decrease in weight, comparing highest dose group to control group, is 0.27 (or 2 0 134, 95% confidence interval: to0.316 0.220). The estimate of the intra-cluster correlation, ˆρ relatively large litter effects. 0 57, indicates that there are Finally, adequacy of the linear dose response trend assessed by considering model with quadratic effect of (transformed) dose. Both Wald and likelihood ratio tests of the quadratic effect indicated that linear trend is adequate (Wald W 2 1 38 0 20; likelihood ratio 1 37 0 20). G 2 with 1 df, p with 1 df, p

where For illustrative purposes, next consider a similar analysis that completely ignores the intra-cluster correlation - silly ostrich method. Ignoring litters, we regard Y i as the weight of the i th live fetus (i 1 and consider the following standard linear regression model: 1028) Y i β 0 β 1 ei Dose the dam of the i th fetus. is the square-root transformed dose administered to The errors, e i N e i 0 σ2 are assumed to vary independently across all fetuses, with

0.138 0.005 100 Table 3: Standard linear regression estimates for the fetal weight data ignoring clustering. Parameter Estimate SE Z Intercept 0.982 0.006 168.33 Dose 750 29.76 σ 2 1.199

Note that the estimate of the effect of dose, 0.138 is very similar to that obtained from the mixed effects model analysis in Table 2 ( 0.134). However, the standard error, 0.005, is almost 3 times smaller. By ignoring clustering in the data, this analysis is naively pretending that we have far more information about the effect of dose than we actually have. Valid inferences, adjusting for clustering, can be made by basing the standard errors on the sandwich variance estimator - clever ostrich (see Table 4).

SAS Syntax and Selected Output proc mixed data=ntp empirical; class id; model weight = sqrtdose / solution; repeated run; / subject=id type=simple;

The Mixed Procedure Model Information Data Set Dependent Variable Covariance Structure Subject Effect Estimation Method Residual Variance Method Fixed Effects SE Method Degrees of Freedom Method WORK.NTP weight Variance Components id REML Parameter Empirical Between-Within

Solution for Fixed Effects Standard Effect Estimate Error DF t Value Pr > t Intercept 0.9818 0.01283 92 76.52 <.0001 sqrtdose -0.1375 0.01112 92-12.36 <.0001

0.138 0.011 100 Table 4: Standard linear regression estimates for the fetal weight data, with standard errors adjusted for clustering. Parameter Estimate Adj. SE Z Intercept 0.982 0.013 76.52 Dose 750 12.36 σ 2 1.199

Case Study 2: Television School and Family Smoking Prevention and Cessation Project (TVFSP) Although smoking prevalence has declined among adults, substantial numbers of young people begin to smoke and become addicted to tobacco. TVFSP designed to determine efficacy of school-based smoking prevention curriculum in conjunction with television-based prevention program. Study used a 2 2 factorial design, with four intervention conditions determined by the cross-classification of a school-based social-resistance curriculum (CC: coded 1 = yes, 0 = no) with a television-based prevention program (TV: coded 1 = yes. 0 = no).

Randomization to one of the four intervention conditions was at the school level, while much of the intervention was delivered at the classroom level. The original study involved 6695 students in 47 schools in Southern California. Our analysis focuses on a subset of 1600 seventh-grade students from 135 classes in 28 schools in Los Angeles. The response variable, a tobacco and health knowledge scale (THKS), was administered before and after randomization of schools to one of the four intervention conditions. The scale assessed a student s knowledge of tobacco and health.

β 0 σ2 1 σ2 2 σ2 3 Consider linear model for the post-intervention THKS score, with the baseline or pre-intervention THKS score as a covariate. Model the adjusted change in THKS scores as function of main effects of CC and TV and the CC TV interaction. School and classroom effects modelled by incorporating random effects at levels 3 and 2, respectively (level 1 units are the children). Letting Y i jk denote the post-intervention THKS score of the i th student within the j th classroom within the k th school, our model is given by Y i jk β 1 Pre-THKS β 2 CC β 3 TV β 4 CC TV b 3 k b 2 jk eijk where e i jk N 0 b 2 jk N 0, and b 3 k N 0.

SAS Syntax proc mixed data=thks; class sid cid; model postthks=prethks cc tv cc*tv / solution; random intercept / subject=sid; random intercept / subject=cid(sid); run; proc mixed data=thks; class sid cid; model postthks=prethks cc tv cc*tv / solution; random sid cid(sid); run;

0.331 0.2245 Table 5: Fixed effects estimates for the THKS scores. Parameter Estimate SE Z Intercept 1.702 0.1254 13.57 Pre-Intervention THKS 0.305 0.0259 11.79 CC 0.641 0.1609 3.99 TV 0.182 0.1572 1.16 CC TV 1.47

Table 6: Random effects estimates for the THKS scores. Parameter Estimate SE Z School Level Variance: σ 2 3 0.039 0.0253 1.52 Classroom Level Variance: σ 2 2 0.065 0.0286 2.26 Child Level Variance: σ 2 1 1.602 0.0591 27.10

Consider REML estimates of the three sources of variability. Comparing their relative magnitudes, there is variability at both classroom and school levels, with almost twice as much variability among classrooms within a school as among schools themselves. Correlation among THKS scores for classmates (or children within same 0039 classroom within same school) is approximately 0.061 (or 0065 0 039 0 06 1 602). Correlation among THKS scores for children from different classrooms within 039 0 same school is approximately 0.023 (or 0039 006 1602 ).

Next, consider REML estimates of fixed effects for the interventions. When compared to their SEs, indicate that neither mass-media intervention (TV) nor its interaction with social-resistance classroom curriculum (CC) have an impact on adjusted changes in THKS scores from baseline. There is a significant effect of the social-resistance classroom curriculum, with children assigned to the social-resistance curriculum showing increased knowledge about tobacco and health. The estimate of the main effect of CC, in the model that excludes the CC TV interaction, is 0.47 (SE = 0.113, p 0 0001).

β 0 The intra-cluster correlations at both the school and classroom levels are relatively small. It is very tempting to regard this as an indication that the clustering in these data is inconsequential. However, such a conclusion would be erroneous. Although intra-cluster correlations are relatively small, they have an impact on inferences concerning the effects of the intervention conditions. To illustrate this, consider analysis that ignores clustering in the data: Y i β 1 Pre-THKS β 2 CC β 3 TV β 4 CC TV e i where e N i 0 σ2, for i 1 1600

The results of fitting this model to the THKS scores are presented in Table 7 and the estimates of the fixed effects are similar to those reported in Table 5. However, SEs (assuming no clustering) are misleadingly small for intervention effects and lead to substantively different conclusions about effects of intervention conditions. This highlights an important lesson: the impact of clustering depends on both the magnitude of the intra-cluster correlation and the cluster size. For the data from the TVSFP, the cluster sizes vary from 1 13 classrooms within a school and from 2 28 students within a classroom. With relatively large cluster sizes, even very modest intra-cluster correlation can have a discernible impact on inferences.

0.322 0.1302 Table 7: Standard linear regression estimates for the THKS scores ignoring clustering. Parameter Estimate SE Z Intercept 1.661 0.0844 19.69 Pre-Intervention THKS 0.325 0.0258 12.58 CC 0.641 0.0921 6.95 TV 0.199 0.0900 2.21 CC TV 2.47

Summary We have discussed methods for handling cluster-correlated data. For linear regression models, dominant approach for accounting for intra-cluster correlations is via random effects introduced at different levels. This gives rise to mixed effects models that can be extended in a very natural way to any number of levels of clustering in the data. For linear models, this is certainly a very natural way to account for clustering. For generalized linear models (e.g., logistic regression), the same conceptual approach can be applied; however, new and somewhat subtle issues concerning interpretation of fixed effects and what is the relevant target of inference arise.

Further Reading A description of models for cluster-correlated data, and their application to a range of problems, can be found in Chapters 16 and 17 of Applied Longitudinal Analysis by Fitzmaurice, Laird and Ware (2004). There is an extensive literature on hierarchical/multilevel models that appears in the statistical, psychometric, and educational literature: Goldstein, H. (2003). Multilevel Statistical Methods, 3rd ed. London: Edward Arnold. Longford, N. (1993). Random Coefficient Models. Oxford, UK: Oxford University Press. Raudenbush, S.W. and Bryk, A.S. (2002). Hierarchical Linear Models: Applications and Data Analysis Methods, 2nd ed. Newbury Park, CA: Sage Publications.