Longitudinal Data Analysis via Linear Mixed Model

Size: px
Start display at page:

Download "Longitudinal Data Analysis via Linear Mixed Model"

Transcription

1 Longitudinal Data Analysis via Linear Mixed Model Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 2017

2 Outline Introduction Approaches to Longitudinal Data Analysis Longitudinal HLM by Example The Riesby Data Exploratory Analysis Model Selection Models for Serial Correlation C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

3 Reading and References Reading: Snijders & Bosker, chapter 12 Additional References: Diggle, P.J., Liang, K.L., & Zeger, S.L. (2002). Analysis of Longitudinal Data, 2nd Edition. London: Oxford Science. Notes by Donald Hedeker. Available from his web-site hedeker. Hedeker, D., & Gibbons, R.D. (2006). Longitudinal Data Analysis. Wiley. Singer, J.D. & Willett, J.B. (2003). Applied Longitudinal Data Analysis. Oxford. Verbeke, G, & Molenberghs, G. (2000). Linear Mixed Models for Longitudinal Data. Springer. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

4 Introduction Purpose: Study change and the factors that effect change. Data: Longitudinal data consist of repeated measurements on the same unit over time. Models: Hierarchical Linear Models (linear mixed models) with extensions for possible serial correlation and non-linear pattern of change. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

5 Purpose: Study Nature of Change Goal: Study change and the factors that effect intra- and inter-individual change. Differences found in cross-sectional data often explained as reflecting change in individuals. A model for cross-sectional data Y i1 = β 0 +β cs x i1 +ǫ i1 where i = 1,...,N (individuals) and x i1 is some time measure (e.g., age). Interpretation: β cs = difference in Y between 2 individuals that differ by 1 unit of time (x). C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

6 Cross-Sectional Data Ignoring longitudinal structure: ( reading) i = (age) i C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

7 Cross-Sectional Data (continued) Occasion 1: ( reading) i1 = (age) i1 Occasion 2: ( reading) i2 = (age) i2 C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

8 A Model for Longitudinal Data or repeated observations. Y it = β 0 +β cs x i1 +β l (x it x i1 )+ǫ it When t = 1, the model is the same as the cross-sectional model. β l = the expected change in Y over time per unit change in the time measure x (within individual differences). β cs still reflects differences between individuals. β cs and β l reflect different processes. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

9 A Model for Longitudinal Data ( reading) it = (age) i [(age) it (age) i1 ] C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

10 Advantages: Longitudinal Data More Powerful. Inference regarding β cs is a comparison of individuals with the same value of x. Inference regarding β l is a comparison of an individual s response at two times = Assuming y changes systematically with time and retains it s meaning. Each individual is their own control group. Often there is much more of variability between individuals than within individuals and the between variability is consistent over time. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

11 Advantages: Longitudinal Data (continued) Distinguish Among Sources of Variation. Variation in Y may be due Between individuals differences. Within individuals: Measurement error & unobserved covariates. Serial correlation. A step toward showing causality. Causal relativity (i.e., effect of cause relative to another). Causal manipulation. Cause precedes effect (i.e. temporal ordering). Rule out all other possibilities. See Schneider, Carnoy, Kilpatrick & Shavelson (2010). Estimating Causal Effects Using Experimental and Observational Designs:A think Thank White Paper. The Governing Board of the AERA Grant Program. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

12 Studying Change Longitudinal data is required to study the pattern of change and the factors that effect it, both within and between individuals. Level 1: How does the outcome change over time? (descriptive) Level 2: Can we predict differences between individuals in terms of how they change? (relational). C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

13 Time Time is a level 1 (micro level) predictor. The number of time points/occasions needed. Measure of time should be Reliable Valid Makes sense for outcome and research questions. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

14 Metric for Time Example from Singer & Willett: If you want to study the longevity of automobiles. Change in appearance of cars Age. Tire wear Miles. Wear of ignition system Trips (# of starts). Engine wear Oil changes. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

15 Metric & Clock for Time Example from Nicole Allen et al. Study the change in arrest rates following passage of law in 1994 requiring coordinated responses to cases of domestic violence. Daily data from all municipalities in Illinois (excluding those in Cook) from 1996 to Zero point? 1996? When council (coordinated response) began? Others Metric? Level? (Daily, Weekly, Monthly, Quarterly, Yearly?) (Municipality? County? Circuit?) C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

16 Three Major Approaches To analyzing longitudinal data. Classic reference: Diggle, Liang & Zeger Marginal Analysis: Only interested in average response. Transition Models: Focus on how Y it depends on past values of Y and other variables (i.e., a conditional model). Random Effects Models: Focus on how regression coefficients vary over individuals. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

17 Marginal Analysis Focus on average of the response variable: Ȳ +t = 1 N N i=1 and how the mean changes over time. Y it In HLM terms, only interested in the fixed effects, E(Y it ) = X i Γ. Observations are correlated, so need to make adjustments to variance estimates, i.e., var(y i ) = V i (θ) where θ are parameters. Sandwich estimator or Robust estimation. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

18 Transition Models Focus on how Y it depends on pervious values of Y (i.e., Y i,(t 1), Y i,(t 2),...) and other variables. Model the Conditional Distribution of Y it, E(Y it Y i,(t 1),...,Y i,1,x) = p k=1 Such models include assumptions about Dependence of Yit on x it s. Correlation between repeated measures. (t 1) β k x itk + α k Y i,k k=1 C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

19 Transition Models (continued) We have focused on continuous/numerical Y s, but when Y is categorical, Stage sequential models (e.g., must master addition and subtraction before can master multiplication). The gateway hypothesis of drug use. Digression: When an event occurs is another type discrete outcome variable, but we re not considering such discrete variables in this class. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

20 Random Effects Models Observations are correlated because repeated measurements are made on the same individual. Regression coefficients vary over individuals, i.e., E(Y it β i1,...,β ip ) = p k=1 β ikx ikt One individual s data does not contain enough information to estimate β ik s ; therefore, we assume a distribution for β ik s, where U i N(0,T) i.i.d.. β i = X i Γ+Z i U i C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

21 Advantages of HLM for Longitudinal Data Explicitly model individual change over time. Simultaneously and explicitly model between- and within-individual variation. Explanatory variables can be time-invariant or time-varying. Flexible modeling of covariance structure of the repeated measures. Many non-linear patterns can be represented by linear models (e.g., polynomial, spline). C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

22 Advantages of HLM Flexible treatment of time Time can be treated as a continuous variable or as a set of fixed points. Can have a different numbers of repeated observations. (implication: can handle missing data). Can extend HLM models to higher level structures (e.g., repeated measurements on students within classes, etc). Generalizations exist for non-linear data. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

23 HLM for Longitudinal Data Uses everything we ve learned about HLM s, but requires a slight change in terminology and notation: Level 1 units are occasions of measurement and indexed by t (t for time where t = 1,...,r). Level 2 units are individuals. Y it = measurement of response/dependent variable for individual i at time t. The level 1 model: within individual model. The level 2 model: between individuals model. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

24 HLM for Longitudinal Data One major change: May need a more complex model for the level 1 (within individual) residuals; that is, R i N(0,Σ i ) where Σ i = σ 2 I (constant and uncorrelated) may be too simple. One s that we ll explicitly cover are lag 1: Auto-correlated errors, AR(1). Moving average, MA(1). Auto-correlated, moving average ARMA(1,1). TOEP(#). C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

25 Longitudinal HLM by Example The Riesby Data, from Hedeker s web-site (and used in Hedeker & Gibbons book, 2006). Drug Plasma Levels and Clinical Response. Risby and associates (Riesby, et al, 1977) examined the relationship between Imipramine (IMI) and Desipramine (DMI) plasma levels and clinical response in 66 depressed inpatients (37 endogenous and 29 non-endogenous). C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

26 The Riesby Data Outcome variable: Hamilton Depression Score (HD). Independent variables: Gender. D where = 1 for endogenous and = 0 of non-endogenous. IMI (impipramine) drug-plasma levels (µg/1). Antidepressant given 225 mg/day, weeks 3-6. DMI (desipramine) drug-plasma levels (µg/1). Metabolite of imipramine. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

27 The Design Drug-Washout day 0 day 7 day 14 day 21 day 28 day 35 wk 0 wk 1 wk 2 wk 3 wk 4 wk 5 Hamilton Y it Depression HD 1 HD 2 HD 3 HD 4 HD 5 HD 6 Level 2 Gender Diagnosis G D Level 1 IMI IMI 3 IMI 4 IMI 5 IMI 6 DMI DMI 3 DMI 4 DMI 5 DMI 6 N Note: n = 6 and N = 66. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

28 More Information About the Topic From a Psychiatrist friend: Everyone uses Hamilton Depression Score Good that both IMI and DMI are used. In the psychiatric literature, the sum is usually reported. Impipramine is an older drug, which has many undesirable side effects, but it works. Distinction between diagnosis with respect to drug not done (relevant to practice). C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

29 Exploring Individual Structures C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

30 Exploring Individual Structures C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

31 Exploring Individual Structures C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

32 Overlay Individual Regressions C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

33 Overlay Individual Regressions C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

34 Overlay Individual Regressions C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

35 Exploring Mean Structure General linear decline and increasing variance. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

36 Exploring Mean Structure (continued) C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

37 Exploring Mean Structure (continued) C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

38 Exploring Individual Specific Models Based on the figures, a plausible for level 1 Y it = β 0i +β i1 (week) it +ǫ it Using OLS, fit this model to each person s data and compute: R 2 i = SSMOD i /SSTO i. R 2 meta = i SSMOD i/ i SSTO i. And if there are two possible (nested) models, Compute an F-statistic. Try to see who improves. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

39 Linear Model: R 2 i and R 2 meta Fit statistics for the model Y it = β 0i +β i1 (week) it +ǫ it C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

40 Quadratic: R 2 i and R 2 meta Y it = β 0i +β i1 (week) it +β i2 (week) 2 it +ǫ it C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

41 Comparison C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

42 Who Improved? C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

43 Who Improved? (continued) C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

44 F Test for Quadratic Term Reduced Model: Y it = β o +β 1 (week) it +ǫ it p = 2. Full Model: Y it = β o +β 1 (week) it +β 2 (week) 2 it +ǫ it p = 1. F-statistic: F = ( i SSE(R) i SSE(F) i )/ i p i i SSE(F) i/ i (n i p p ) = / /177 = 1.55 Comparing F = 1.55 to the F distribution with df num = 66 and df den = 177, the p-value =.01. To be used with a grain of sand (assumptions violated) C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

45 Preliminary HLM Level 1: Y it = β oi +β 1i (week) it +β 2i (week) 2 it +R it Level 2: β oi = γ 00 +γ 01 (endog) i β 1i = γ 10 β 2i = γ 20 Preliminary Mixed Linear Model: Y it = γ 00 +γ 01 (endog) i +γ 10 (week) it +γ 20 (week) 2 it +R it C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

46 Exploring Random Effects Fitting this model to each individual s data using ordinary least squares regression we look at Raw residuals, Squared residuals, ˆR 2 it. ˆR it = (Y it Ŷit) = Z i U i +R i. Correlations between residuals to look for serial correlation (i.e., need model for Σ i?) corr(r it,r it ). C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

47 Raw Residuals by Week C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

48 Raw Residuals by Week 2 C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

49 Raw Residuals with Endog C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

50 Mean Raw Residuals C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

51 Squared Raw Residuals C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

52 Mean Squared Raw Residuals C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

53 Variance Function Given Preliminary Mixed Linear Model: Y it = γ 00 +γ 01 (endog) i +γ 10 (week) it +γ 20 (week) 2 it +R it Assuming R it N(0,σ 2 I) and random intercept and slopes, i.e., The variance of Y it (U 0i,U 1i,U 2i ) N(0,T) var(y it ) = τ 2 0 +τ2 1 week2 it +τ2 2 week4 it +2τ 01week it +2τ 02 week 2 it +2τ 12week 3 it +σ2 C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

54 Variance Function: 2 Random Effects Assuming R it N(0,σ 2 I) and random intercept and slope for week, i.e., The variance of Y it (U 0i,U 1i ) N(0,T) var(y it ) = τ 2 0 +τ2 1 week2 it +2τ 01week it +σ 2 How many random effects? Need to also consider possible serial correlation. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

55 Correlation Between Time Points Entries in the table are correlation(ˆr it, ˆR it ). week0 week1 week2 week3 week4 week5 week week week week week week Note: 46 n 66 due to individuals with missing observations. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

56 (R) Plot of Correlations rwide.week0 rwide.week1 rwide.week2 rwide.week3 rwide.week4 rwide.week5 rwide.week0 rwide.week1 rwide.week2 rwide.week3 rwide.week4 rwide.week5 C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

57 Plot of Correlations C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

58 Plot of Correlations: Lags C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

59 Mini-Outline (Next Steps) Before covering possible models for the level one, fit some HLM models to Riesby data (nothing new here). Consider some models for level 1 residuals. Simulation of data with different error structures. Analyze Riesby data using alternative error structures for level 1. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

60 Model for Riesby Data Within Individual (level 1) (HamD) it = β 0i +β 1i (week) it +β 2i (week) 2 it +R it where R it N(0,σ 2 ). Between Individuals (level 2) β 0i β 1i β 2i = γ 00 +γ 01 (endog) i +U 0i = γ 10 +γ 11 (endog) i +U 1i = γ 20 +U 2i where U i N(0,T). C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

61 Linear Mixed Model Scalar form (HamD) it = γ 00 +γ 10 (week) it +γ 20 (week) 2 it +γ 01 (endog) i +γ 11 (endog) i (week) it +U 0i +U 1i (week) it +U 2i (week) 2 it +R it In matrix form, Y i = X i Γ+Z i U i +R i C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

62 Linear Mixed Model Y i = X i Γ+Z i U i +R (HamD) i1 (HamD) i2. (HamD) ir = 1 (week) i1 (week) 2 i1 D i D i (week) i1 1 (week) i2 (week) 2 i2 D i D i (week) i (week) ir (week) 2 ir D i D i (week) ir 1 (week) i1 (week) 2 i1 1 (week) i2 (week) 2 i2 + U R i1 0i R i2 U 1i +... U 2i. 1 (week) ir (week) 2 ir R ir γ 00 γ 10 γ 20 γ 01 γ 11 where D i = { 0 Non-endogenous 1 endogenous C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

63 Marginal Model (HamD) it N(X i Γ,(Z i TZ i +σ2 I)) The covariance matrix (Z i TZ i +σ2 I) The (k,t) element of Z i = {z itk } for k = 0,(q 1) and t = 0,...r. The covariance matrix for U i : T = τ 00 τ 10 τ 20 τ 10 τ 11 τ 12 τ 20 τ 12 τ 22 (t,t ) element of Z i TZ i = q (q) k=0 l=k τ klz itk z it l C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

64 Marginal Model: Our Example (t,t) element of Z i TZ i +σ2 I var(y it ) = τ 2 0 +τ 2 1(week) 2 it +τ2 2(week) 4 it +2τ 01(week) it +2τ 02 (week) 2 it +2τ 12(week) 3 it +σ2 (t,t ) element of Z i TZ i +σ 2 I cov(y it,y it ) = τ 00 +τ 10 (week it +week it )+τ 20 (week 2 it +week2 it ) cov(y it,y i t) = cov(y it,y i t ) = 0. +τ 11 (week it )(week it )+τ 22 (week 2 it)(week 2 it ) +τ 12 (week 2 it )(week it )+τ 12(week it )(week 2 it ) +σ 2 C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

65 Covariance Parameter Estimates Empty/Null Preliminary HLM Cov Std Std Parm Estimate Error Estimate Error UN(1,1) UN(2,1) UN(2,2) UN(3,1) UN(3,2) UN(3,3) Residual ˆρ = 13.62/( ) =.26 C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

66 Solution for fixed Effects Empty/Null Preliminary HLM Std Std Effect Estimate Error Estimate Error Intercept Week Week*Week Endog = Endog = 1 0. Week*Endog = Week*Endog = 1 0. hline C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

67 Global Fit Statistics Model 2LnLike AIC BIC Empty/Null Preliminary HLM Preliminary HLM w/ cubic week C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

68 Model Reduction: Random Effects (i.e., Covariance Structure) Test whether need random term for (week) 2 it, H 0 : τ 2 2 = τ 02 = τ 12 = 0 versus H a : not H 0 The Reduced Model, (HamD) it = γ 00 +γ 10 (week) it +γ 20 (week) 2 it +γ 01 (endog) i +γ 11 (endog) i (week) it +U 0i +U 1i (week) it +R it, has 2lnLike = C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

69 Model Reduction: Random Effects Test statistic: difference between 2lnLike of full and reduced models, = 10.5 Sampling distribution is a mixture of χ 2 3 and χ2 2, p-value =.5(.015) +.5(.005) =.01 Conclusion: Reject H 0. AIC favors the model without U 2i while BIC favors the model with U 2i. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

70 Model Reduction: Fitted Effects Do not remove (week) it or (week) 2 it, because of non-zero τ2 1 and τ 2 2. Possible Reductions: endog and endog*week. t-tests indicate don t need these ; however, Likelihood ratio test statistic for week*endog (i.e., H o : γ 11 = 0 versus H a : γ 11 0), = =.002 df = 1, p-value large...retain H o (i.e. drop the interaction). After removing week*endog, we do a likelihood ratio test for endog C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

71 Reduced Model Covariance Parameters Preliminary HLM No interaction Cov Std Std Parm Estimate Error Estimate Error UN(1,1) UN(2,1) UN(2,2) UN(3,1) UN(3,2) UN(3,3) Residual C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

72 Reduced Model fixed Effects Preliminary HLM No interaction Cov Std Std Parm Estimate Error Estimate Error Intercept Week Week*Week Endog = Endog = Week*Endog = Week*Endog = 1 0. Estimates are pretty similar. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

73 Do we need endog? H o : γ 01 = 0 versus H a : γ 01 0 t-test using the estimates from the model without the cross-level interaction, t = = 1.94, df = 65.7, p value =.056 Likelihood ratio test statistic, = Comparing this to χ 2 1, p-value=.056. Conclusion: maybe/undecided about endog, keep it for now. C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

74 Global Fit Statistics Model 2LnLike AIC BIC Empty/Null Preliminary HLM No endog*week No endog*week and no endog We ll go with this model: Y it = β 0i +β 1i (week) it +β 2i (week) 2 it +R it β 0i = γ 00 +endog i +U 0i β 1i = γ 10 +U 1i β 2i = γ 20 +U 2i What other analyses should we do to adequacy of this model? C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

75 Interpretation (ĤamD) it = (week) it +.05(week) 2 it 1.79D i C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

76 Estimated Model Individuals (ĤamD) it = (week) it +.05(week) 2 it 1.79D i +Û 0i +Û 1i (week) it +Û 2i (week) 2 it C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

77 Summary Just an HLM To study the nature of change & requires systematic change. Level 1: Time is a level 1 variable (should have at least 3 time points). Need to choose metric of time. time variant variables are level 1 variables. Level 2: Study differences between individuals. time invariant variables are level 2 variables. What about covariance matrix for R it?... C.J. Anderson (Illinois) Longitudinal Data Analysis via Linear Mixed Model Fall / 77

Serial Correlation. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology

Serial Correlation. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology Serial Correlation Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 017 Model for Level 1 Residuals There are three sources

More information

Random Intercept Models

Random Intercept Models Random Intercept Models Edps/Psych/Soc 589 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Spring 2019 Outline A very simple case of a random intercept

More information

Models for Clustered Data

Models for Clustered Data Models for Clustered Data Edps/Psych/Stat 587 Carolyn J Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 2017 Outline Notation NELS88 data Fixed Effects ANOVA

More information

Models for Clustered Data

Models for Clustered Data Models for Clustered Data Edps/Psych/Soc 589 Carolyn J Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Spring 2019 Outline Notation NELS88 data Fixed Effects ANOVA

More information

Advantages of Mixed-effects Regression Models (MRM; aka multilevel, hierarchical linear, linear mixed models) 1. MRM explicitly models individual

Advantages of Mixed-effects Regression Models (MRM; aka multilevel, hierarchical linear, linear mixed models) 1. MRM explicitly models individual Advantages of Mixed-effects Regression Models (MRM; aka multilevel, hierarchical linear, linear mixed models) 1. MRM explicitly models individual change across time 2. MRM more flexible in terms of repeated

More information

Analysis of Longitudinal Data. Patrick J. Heagerty PhD Department of Biostatistics University of Washington

Analysis of Longitudinal Data. Patrick J. Heagerty PhD Department of Biostatistics University of Washington Analysis of Longitudinal Data Patrick J Heagerty PhD Department of Biostatistics University of Washington Auckland 8 Session One Outline Examples of longitudinal data Scientific motivation Opportunities

More information

Estimation: Problems & Solutions

Estimation: Problems & Solutions Estimation: Problems & Solutions Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 2017 Outline 1. Introduction: Estimation of

More information

Review of CLDP 944: Multilevel Models for Longitudinal Data

Review of CLDP 944: Multilevel Models for Longitudinal Data Review of CLDP 944: Multilevel Models for Longitudinal Data Topics: Review of general MLM concepts and terminology Model comparisons and significance testing Fixed and random effects of time Significance

More information

Estimation: Problems & Solutions

Estimation: Problems & Solutions Estimation: Problems & Solutions Edps/Psych/Soc 587 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Spring 2019 Outline 1. Introduction: Estimation

More information

Designing Multilevel Models Using SPSS 11.5 Mixed Model. John Painter, Ph.D.

Designing Multilevel Models Using SPSS 11.5 Mixed Model. John Painter, Ph.D. Designing Multilevel Models Using SPSS 11.5 Mixed Model John Painter, Ph.D. Jordan Institute for Families School of Social Work University of North Carolina at Chapel Hill 1 Creating Multilevel Models

More information

Random Effects. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology. university of illinois at urbana-champaign

Random Effects. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology. university of illinois at urbana-champaign Random Effects Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology I L L I N O I S university of illinois at urbana-champaign Fall 2012 Outline Introduction Empirical Bayes inference

More information

Section IV MODELS FOR MULTILEVEL DATA

Section IV MODELS FOR MULTILEVEL DATA Section IV MODELS FOR MULTILEVEL DATA Chapter 12 An Introduction to Growth Modeling Donald Hedeker 12.1. Introduction Longitudinal studies are increasingly common in social sciences research. In these

More information

36-309/749 Experimental Design for Behavioral and Social Sciences. Dec 1, 2015 Lecture 11: Mixed Models (HLMs)

36-309/749 Experimental Design for Behavioral and Social Sciences. Dec 1, 2015 Lecture 11: Mixed Models (HLMs) 36-309/749 Experimental Design for Behavioral and Social Sciences Dec 1, 2015 Lecture 11: Mixed Models (HLMs) Independent Errors Assumption An error is the deviation of an individual observed outcome (DV)

More information

An Introduction to Multilevel Models. PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012

An Introduction to Multilevel Models. PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012 An Introduction to Multilevel Models PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012 Today s Class Concepts in Longitudinal Modeling Between-Person vs. +Within-Person

More information

Statistical Inference: The Marginal Model

Statistical Inference: The Marginal Model Statistical Inference: The Marginal Model Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 2017 Outline Inference for fixed

More information

Describing Change over Time: Adding Linear Trends

Describing Change over Time: Adding Linear Trends Describing Change over Time: Adding Linear Trends Longitudinal Data Analysis Workshop Section 7 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development Section

More information

SAS Syntax and Output for Data Manipulation:

SAS Syntax and Output for Data Manipulation: CLP 944 Example 5 page 1 Practice with Fixed and Random Effects of Time in Modeling Within-Person Change The models for this example come from Hoffman (2015) chapter 5. We will be examining the extent

More information

Model Assumptions; Predicting Heterogeneity of Variance

Model Assumptions; Predicting Heterogeneity of Variance Model Assumptions; Predicting Heterogeneity of Variance Today s topics: Model assumptions Normality Constant variance Predicting heterogeneity of variance CLP 945: Lecture 6 1 Checking for Violations of

More information

Hierarchical Generalized Linear Models. ERSH 8990 REMS Seminar on HLM Last Lecture!

Hierarchical Generalized Linear Models. ERSH 8990 REMS Seminar on HLM Last Lecture! Hierarchical Generalized Linear Models ERSH 8990 REMS Seminar on HLM Last Lecture! Hierarchical Generalized Linear Models Introduction to generalized models Models for binary outcomes Interpreting parameter

More information

Fixed effects results...32

Fixed effects results...32 1 MODELS FOR CONTINUOUS OUTCOMES...7 1.1 MODELS BASED ON A SUBSET OF THE NESARC DATA...7 1.1.1 The data...7 1.1.1.1 Importing the data and defining variable types...8 1.1.1.2 Exploring the data...12 Univariate

More information

Introduction to Within-Person Analysis and RM ANOVA

Introduction to Within-Person Analysis and RM ANOVA Introduction to Within-Person Analysis and RM ANOVA Today s Class: From between-person to within-person ANOVAs for longitudinal data Variance model comparisons using 2 LL CLP 944: Lecture 3 1 The Two Sides

More information

Ordinary Least Squares Regression

Ordinary Least Squares Regression Ordinary Least Squares Regression Goals for this unit More on notation and terminology OLS scalar versus matrix derivation Some Preliminaries In this class we will be learning to analyze Cross Section

More information

over Time line for the means). Specifically, & covariances) just a fixed variance instead. PROC MIXED: to 1000 is default) list models with TYPE=VC */

over Time line for the means). Specifically, & covariances) just a fixed variance instead. PROC MIXED: to 1000 is default) list models with TYPE=VC */ CLP 944 Example 4 page 1 Within-Personn Fluctuation in Symptom Severity over Time These data come from a study of weekly fluctuation in psoriasis severity. There was no intervention and no real reason

More information

SAS Syntax and Output for Data Manipulation: CLDP 944 Example 3a page 1

SAS Syntax and Output for Data Manipulation: CLDP 944 Example 3a page 1 CLDP 944 Example 3a page 1 From Between-Person to Within-Person Models for Longitudinal Data The models for this example come from Hoffman (2015) chapter 3 example 3a. We will be examining the extent to

More information

Random Effects. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology. c Board of Trustees, University of Illinois

Random Effects. Edps/Psych/Stat 587. Carolyn J. Anderson. Fall Department of Educational Psychology. c Board of Trustees, University of Illinois Random Effects Edps/Psych/Stat 587 Carolyn J. Anderson Department of Educational Psychology c Board of Trustees, University of Illinois Fall 2017 Outline Introduction Empirical Bayes inference Henderson

More information

Sample Size and Power Considerations for Longitudinal Studies

Sample Size and Power Considerations for Longitudinal Studies Sample Size and Power Considerations for Longitudinal Studies Outline Quantities required to determine the sample size in longitudinal studies Review of type I error, type II error, and power For continuous

More information

International Journal of PharmTech Research CODEN (USA): IJPRIF, ISSN: , ISSN(Online): Vol.9, No.9, pp , 2016

International Journal of PharmTech Research CODEN (USA): IJPRIF, ISSN: , ISSN(Online): Vol.9, No.9, pp , 2016 International Journal of PharmTech Research CODEN (USA): IJPRIF, ISSN: 0974-4304, ISSN(Online): 2455-9563 Vol.9, No.9, pp 477-487, 2016 Modeling of Multi-Response Longitudinal DataUsing Linear Mixed Modelin

More information

Statistics 203: Introduction to Regression and Analysis of Variance Course review

Statistics 203: Introduction to Regression and Analysis of Variance Course review Statistics 203: Introduction to Regression and Analysis of Variance Course review Jonathan Taylor - p. 1/?? Today Review / overview of what we learned. - p. 2/?? General themes in regression models Specifying

More information

Applied Microeconometrics (L5): Panel Data-Basics

Applied Microeconometrics (L5): Panel Data-Basics Applied Microeconometrics (L5): Panel Data-Basics Nicholas Giannakopoulos University of Patras Department of Economics ngias@upatras.gr November 10, 2015 Nicholas Giannakopoulos (UPatras) MSc Applied Economics

More information

Longitudinal Modeling with Logistic Regression

Longitudinal Modeling with Logistic Regression Newsom 1 Longitudinal Modeling with Logistic Regression Longitudinal designs involve repeated measurements of the same individuals over time There are two general classes of analyses that correspond to

More information

Introduction to Random Effects of Time and Model Estimation

Introduction to Random Effects of Time and Model Estimation Introduction to Random Effects of Time and Model Estimation Today s Class: The Big Picture Multilevel model notation Fixed vs. random effects of time Random intercept vs. random slope models How MLM =

More information

Time-Invariant Predictors in Longitudinal Models

Time-Invariant Predictors in Longitudinal Models Time-Invariant Predictors in Longitudinal Models Topics: What happens to missing predictors Effects of time-invariant predictors Fixed vs. systematically varying vs. random effects Model building strategies

More information

Time-Invariant Predictors in Longitudinal Models

Time-Invariant Predictors in Longitudinal Models Time-Invariant Predictors in Longitudinal Models Today s Class (or 3): Summary of steps in building unconditional models for time What happens to missing predictors Effects of time-invariant predictors

More information

Describing Within-Person Fluctuation over Time using Alternative Covariance Structures

Describing Within-Person Fluctuation over Time using Alternative Covariance Structures Describing Within-Person Fluctuation over Time using Alternative Covariance Structures Today s Class: The Big Picture ACS models using the R matrix only Introducing the G, Z, and V matrices ACS models

More information

For more information about how to cite these materials visit

For more information about how to cite these materials visit Author(s): Kerby Shedden, Ph.D., 2010 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons Attribution Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/

More information

A (Brief) Introduction to Crossed Random Effects Models for Repeated Measures Data

A (Brief) Introduction to Crossed Random Effects Models for Repeated Measures Data A (Brief) Introduction to Crossed Random Effects Models for Repeated Measures Data Today s Class: Review of concepts in multivariate data Introduction to random intercepts Crossed random effects models

More information

STAT 705 Generalized linear mixed models

STAT 705 Generalized linear mixed models STAT 705 Generalized linear mixed models Timothy Hanson Department of Statistics, University of South Carolina Stat 705: Data Analysis II 1 / 24 Generalized Linear Mixed Models We have considered random

More information

Describing Within-Person Change over Time

Describing Within-Person Change over Time Describing Within-Person Change over Time Topics: Multilevel modeling notation and terminology Fixed and random effects of linear time Predicted variances and covariances from random slopes Dependency

More information

Chapter 2: simple regression model

Chapter 2: simple regression model Chapter 2: simple regression model Goal: understand how to estimate and more importantly interpret the simple regression Reading: chapter 2 of the textbook Advice: this chapter is foundation of econometrics.

More information

Linear Regression. Junhui Qian. October 27, 2014

Linear Regression. Junhui Qian. October 27, 2014 Linear Regression Junhui Qian October 27, 2014 Outline The Model Estimation Ordinary Least Square Method of Moments Maximum Likelihood Estimation Properties of OLS Estimator Unbiasedness Consistency Efficiency

More information

Describing Nonlinear Change Over Time

Describing Nonlinear Change Over Time Describing Nonlinear Change Over Time Longitudinal Data Analysis Workshop Section 8 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development Section 8: Describing

More information

Multi-level Models: Idea

Multi-level Models: Idea Review of 140.656 Review Introduction to multi-level models The two-stage normal-normal model Two-stage linear models with random effects Three-stage linear models Two-stage logistic regression with random

More information

Research Design: Topic 18 Hierarchical Linear Modeling (Measures within Persons) 2010 R.C. Gardner, Ph.d.

Research Design: Topic 18 Hierarchical Linear Modeling (Measures within Persons) 2010 R.C. Gardner, Ph.d. Research Design: Topic 8 Hierarchical Linear Modeling (Measures within Persons) R.C. Gardner, Ph.d. General Rationale, Purpose, and Applications Linear Growth Models HLM can also be used with repeated

More information

Review of Multilevel Models for Longitudinal Data

Review of Multilevel Models for Longitudinal Data Review of Multilevel Models for Longitudinal Data Topics: Concepts in longitudinal multilevel modeling Describing within-person fluctuation using ACS models Describing within-person change using random

More information

Bayesian methods for missing data: part 1. Key Concepts. Nicky Best and Alexina Mason. Imperial College London

Bayesian methods for missing data: part 1. Key Concepts. Nicky Best and Alexina Mason. Imperial College London Bayesian methods for missing data: part 1 Key Concepts Nicky Best and Alexina Mason Imperial College London BAYES 2013, May 21-23, Erasmus University Rotterdam Missing Data: Part 1 BAYES2013 1 / 68 Outline

More information

Impact of serial correlation structures on random effect misspecification with the linear mixed model.

Impact of serial correlation structures on random effect misspecification with the linear mixed model. Impact of serial correlation structures on random effect misspecification with the linear mixed model. Brandon LeBeau University of Iowa file:///c:/users/bleb/onedrive%20 %20University%20of%20Iowa%201/JournalArticlesInProgress/Diss/Study2/Pres/pres.html#(2)

More information

Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA

Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA Topics: Measurement Invariance (MI) in CFA and Differential Item Functioning (DIF) in IRT/IFA What are MI and DIF? Testing measurement invariance in CFA Testing differential item functioning in IRT/IFA

More information

INTRODUCTION TO MULTILEVEL MODELLING FOR REPEATED MEASURES DATA. Belfast 9 th June to 10 th June, 2011

INTRODUCTION TO MULTILEVEL MODELLING FOR REPEATED MEASURES DATA. Belfast 9 th June to 10 th June, 2011 INTRODUCTION TO MULTILEVEL MODELLING FOR REPEATED MEASURES DATA Belfast 9 th June to 10 th June, 2011 Dr James J Brown Southampton Statistical Sciences Research Institute (UoS) ADMIN Research Centre (IoE

More information

A measure for the reliability of a rating scale based on longitudinal clinical trial data Link Peer-reviewed author version

A measure for the reliability of a rating scale based on longitudinal clinical trial data Link Peer-reviewed author version A measure for the reliability of a rating scale based on longitudinal clinical trial data Link Peer-reviewed author version Made available by Hasselt University Library in Document Server@UHasselt Reference

More information

Joint Modeling of Longitudinal Item Response Data and Survival

Joint Modeling of Longitudinal Item Response Data and Survival Joint Modeling of Longitudinal Item Response Data and Survival Jean-Paul Fox University of Twente Department of Research Methodology, Measurement and Data Analysis Faculty of Behavioural Sciences Enschede,

More information

WU Weiterbildung. Linear Mixed Models

WU Weiterbildung. Linear Mixed Models Linear Mixed Effects Models WU Weiterbildung SLIDE 1 Outline 1 Estimation: ML vs. REML 2 Special Models On Two Levels Mixed ANOVA Or Random ANOVA Random Intercept Model Random Coefficients Model Intercept-and-Slopes-as-Outcomes

More information

Models for longitudinal data

Models for longitudinal data Faculty of Health Sciences Contents Models for longitudinal data Analysis of repeated measurements, NFA 016 Julie Lyng Forman & Lene Theil Skovgaard Department of Biostatistics, University of Copenhagen

More information

Restricted Maximum Likelihood in Linear Regression and Linear Mixed-Effects Model

Restricted Maximum Likelihood in Linear Regression and Linear Mixed-Effects Model Restricted Maximum Likelihood in Linear Regression and Linear Mixed-Effects Model Xiuming Zhang zhangxiuming@u.nus.edu A*STAR-NUS Clinical Imaging Research Center October, 015 Summary This report derives

More information

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

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Introduction Edps/Psych/Stat/ 584 Applied Multivariate Statistics Carolyn J Anderson Department of Educational Psychology I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN c Board of Trustees,

More information

UNIVERSITY OF TORONTO Faculty of Arts and Science

UNIVERSITY OF TORONTO Faculty of Arts and Science UNIVERSITY OF TORONTO Faculty of Arts and Science December 2013 Final Examination STA442H1F/2101HF Methods of Applied Statistics Jerry Brunner Duration - 3 hours Aids: Calculator Model(s): Any calculator

More information

Econometrics of Panel Data

Econometrics of Panel Data Econometrics of Panel Data Jakub Mućk Meeting # 4 Jakub Mućk Econometrics of Panel Data Meeting # 4 1 / 30 Outline 1 Two-way Error Component Model Fixed effects model Random effects model 2 Non-spherical

More information

Correlation and Regression Bangkok, 14-18, Sept. 2015

Correlation and Regression Bangkok, 14-18, Sept. 2015 Analysing and Understanding Learning Assessment for Evidence-based Policy Making Correlation and Regression Bangkok, 14-18, Sept. 2015 Australian Council for Educational Research Correlation The strength

More information

Lecture 2. The Simple Linear Regression Model: Matrix Approach

Lecture 2. The Simple Linear Regression Model: Matrix Approach Lecture 2 The Simple Linear Regression Model: Matrix Approach Matrix algebra Matrix representation of simple linear regression model 1 Vectors and Matrices Where it is necessary to consider a distribution

More information

Longitudinal Invariance CFA (using MLR) Example in Mplus v. 7.4 (N = 151; 6 items over 3 occasions)

Longitudinal Invariance CFA (using MLR) Example in Mplus v. 7.4 (N = 151; 6 items over 3 occasions) Longitudinal Invariance CFA (using MLR) Example in Mplus v. 7.4 (N = 151; 6 items over 3 occasions) CLP 948 Example 7b page 1 These data measuring a latent trait of social functioning were collected at

More information

1. (Rao example 11.15) A study measures oxygen demand (y) (on a log scale) and five explanatory variables (see below). Data are available as

1. (Rao example 11.15) A study measures oxygen demand (y) (on a log scale) and five explanatory variables (see below). Data are available as ST 51, Summer, Dr. Jason A. Osborne Homework assignment # - Solutions 1. (Rao example 11.15) A study measures oxygen demand (y) (on a log scale) and five explanatory variables (see below). Data are available

More information

Regression tree-based diagnostics for linear multilevel models

Regression tree-based diagnostics for linear multilevel models Regression tree-based diagnostics for linear multilevel models Jeffrey S. Simonoff New York University May 11, 2011 Longitudinal and clustered data Panel or longitudinal data, in which we observe many

More information

Time-Invariant Predictors in Longitudinal Models

Time-Invariant Predictors in Longitudinal Models Time-Invariant Predictors in Longitudinal Models Today s Topics: What happens to missing predictors Effects of time-invariant predictors Fixed vs. systematically varying vs. random effects Model building

More information

Specifying Latent Curve and Other Growth Models Using Mplus. (Revised )

Specifying Latent Curve and Other Growth Models Using Mplus. (Revised ) Ronald H. Heck 1 University of Hawai i at Mānoa Handout #20 Specifying Latent Curve and Other Growth Models Using Mplus (Revised 12-1-2014) The SEM approach offers a contrasting framework for use in analyzing

More information

Statistical Distribution Assumptions of General Linear Models

Statistical Distribution Assumptions of General Linear Models Statistical Distribution Assumptions of General Linear Models Applied Multilevel Models for Cross Sectional Data Lecture 4 ICPSR Summer Workshop University of Colorado Boulder Lecture 4: Statistical Distributions

More information

ECONOMETRICS HONOR S EXAM REVIEW SESSION

ECONOMETRICS HONOR S EXAM REVIEW SESSION ECONOMETRICS HONOR S EXAM REVIEW SESSION Eunice Han ehan@fas.harvard.edu March 26 th, 2013 Harvard University Information 2 Exam: April 3 rd 3-6pm @ Emerson 105 Bring a calculator and extra pens. Notes

More information

Panel Data. March 2, () Applied Economoetrics: Topic 6 March 2, / 43

Panel Data. March 2, () Applied Economoetrics: Topic 6 March 2, / 43 Panel Data March 2, 212 () Applied Economoetrics: Topic March 2, 212 1 / 43 Overview Many economic applications involve panel data. Panel data has both cross-sectional and time series aspects. Regression

More information

Regression Models for Quantitative and Qualitative Predictors: An Overview

Regression Models for Quantitative and Qualitative Predictors: An Overview Regression Models for Quantitative and Qualitative Predictors: An Overview Polynomial regression models Interaction regression models Qualitative predictors Indicator variables Modeling interactions between

More information

y response variable x 1, x 2,, x k -- a set of explanatory variables

y response variable x 1, x 2,, x k -- a set of explanatory variables 11. Multiple Regression and Correlation y response variable x 1, x 2,, x k -- a set of explanatory variables In this chapter, all variables are assumed to be quantitative. Chapters 12-14 show how to incorporate

More information

Longitudinal Data Analysis Using Stata Paul D. Allison, Ph.D. Upcoming Seminar: May 18-19, 2017, Chicago, Illinois

Longitudinal Data Analysis Using Stata Paul D. Allison, Ph.D. Upcoming Seminar: May 18-19, 2017, Chicago, Illinois Longitudinal Data Analysis Using Stata Paul D. Allison, Ph.D. Upcoming Seminar: May 18-19, 217, Chicago, Illinois Outline 1. Opportunities and challenges of panel data. a. Data requirements b. Control

More information

Mixed-Effects Pattern-Mixture Models for Incomplete Longitudinal Data. Don Hedeker University of Illinois at Chicago

Mixed-Effects Pattern-Mixture Models for Incomplete Longitudinal Data. Don Hedeker University of Illinois at Chicago Mixed-Effects Pattern-Mixture Models for Incomplete Longitudinal Data Don Hedeker University of Illinois at Chicago This work was supported by National Institute of Mental Health Contract N44MH32056. 1

More information

Biostatistics Workshop Longitudinal Data Analysis. Session 4 GARRETT FITZMAURICE

Biostatistics Workshop Longitudinal Data Analysis. Session 4 GARRETT FITZMAURICE Biostatistics Workshop 2008 Longitudinal Data Analysis Session 4 GARRETT FITZMAURICE Harvard University 1 LINEAR MIXED EFFECTS MODELS Motivating Example: Influence of Menarche on Changes in Body Fat Prospective

More information

Time Invariant Predictors in Longitudinal Models

Time Invariant Predictors in Longitudinal Models Time Invariant Predictors in Longitudinal Models Longitudinal Data Analysis Workshop Section 9 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development Section

More information

Mixed-effects Polynomial Regression Models chapter 5

Mixed-effects Polynomial Regression Models chapter 5 Mixed-effects Polynomial Regression Models chapter 5 1 Figure 5.1 Various curvilinear models: (a) decelerating positive slope; (b) accelerating positive slope; (c) decelerating negative slope; (d) accelerating

More information

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model Topic 17 - Single Factor Analysis of Variance - Fall 2013 One way ANOVA Cell means model Factor effects model Outline Topic 17 2 One-way ANOVA Response variable Y is continuous Explanatory variable is

More information

Review of Unconditional Multilevel Models for Longitudinal Data

Review of Unconditional Multilevel Models for Longitudinal Data Review of Unconditional Multilevel Models for Longitudinal Data Topics: Course (and MLM) overview Concepts in longitudinal multilevel modeling Model comparisons and significance testing Describing within-person

More information

PBAF 528 Week 8. B. Regression Residuals These properties have implications for the residuals of the regression.

PBAF 528 Week 8. B. Regression Residuals These properties have implications for the residuals of the regression. PBAF 528 Week 8 What are some problems with our model? Regression models are used to represent relationships between a dependent variable and one or more predictors. In order to make inference from the

More information

Introduction to Econometrics

Introduction to Econometrics Introduction to Econometrics T H I R D E D I T I O N Global Edition James H. Stock Harvard University Mark W. Watson Princeton University Boston Columbus Indianapolis New York San Francisco Upper Saddle

More information

Lab 3: Two levels Poisson models (taken from Multilevel and Longitudinal Modeling Using Stata, p )

Lab 3: Two levels Poisson models (taken from Multilevel and Longitudinal Modeling Using Stata, p ) Lab 3: Two levels Poisson models (taken from Multilevel and Longitudinal Modeling Using Stata, p. 376-390) BIO656 2009 Goal: To see if a major health-care reform which took place in 1997 in Germany was

More information

Multilevel Modeling: A Second Course

Multilevel Modeling: A Second Course Multilevel Modeling: A Second Course Kristopher Preacher, Ph.D. Upcoming Seminar: February 2-3, 2017, Ft. Myers, Florida What this workshop will accomplish I will review the basics of multilevel modeling

More information

Review of Statistics

Review of Statistics Review of Statistics Topics Descriptive Statistics Mean, Variance Probability Union event, joint event Random Variables Discrete and Continuous Distributions, Moments Two Random Variables Covariance and

More information

Econometrics of Panel Data

Econometrics of Panel Data Econometrics of Panel Data Jakub Mućk Meeting # 2 Jakub Mućk Econometrics of Panel Data Meeting # 2 1 / 26 Outline 1 Fixed effects model The Least Squares Dummy Variable Estimator The Fixed Effect (Within

More information

Linear Regression. 1 Introduction. 2 Least Squares

Linear Regression. 1 Introduction. 2 Least Squares Linear Regression 1 Introduction It is often interesting to study the effect of a variable on a response. In ANOVA, the response is a continuous variable and the variables are discrete / categorical. What

More information

CHAPTER 6: SPECIFICATION VARIABLES

CHAPTER 6: SPECIFICATION VARIABLES Recall, we had the following six assumptions required for the Gauss-Markov Theorem: 1. The regression model is linear, correctly specified, and has an additive error term. 2. The error term has a zero

More information

Covariance Models (*) X i : (n i p) design matrix for fixed effects β : (p 1) regression coefficient for fixed effects

Covariance Models (*) X i : (n i p) design matrix for fixed effects β : (p 1) regression coefficient for fixed effects Covariance Models (*) Mixed Models Laird & Ware (1982) Y i = X i β + Z i b i + e i Y i : (n i 1) response vector X i : (n i p) design matrix for fixed effects β : (p 1) regression coefficient for fixed

More information

Introduction to Structural Equation Modeling

Introduction to Structural Equation Modeling Introduction to Structural Equation Modeling Notes Prepared by: Lisa Lix, PhD Manitoba Centre for Health Policy Topics Section I: Introduction Section II: Review of Statistical Concepts and Regression

More information

Time Series Analysis. Smoothing Time Series. 2) assessment of/accounting for seasonality. 3) assessment of/exploiting "serial correlation"

Time Series Analysis. Smoothing Time Series. 2) assessment of/accounting for seasonality. 3) assessment of/exploiting serial correlation Time Series Analysis 2) assessment of/accounting for seasonality This (not surprisingly) concerns the analysis of data collected over time... weekly values, monthly values, quarterly values, yearly values,

More information

Class Notes: Week 8. Probit versus Logit Link Functions and Count Data

Class Notes: Week 8. Probit versus Logit Link Functions and Count Data Ronald Heck Class Notes: Week 8 1 Class Notes: Week 8 Probit versus Logit Link Functions and Count Data This week we ll take up a couple of issues. The first is working with a probit link function. While

More information

Empirical Market Microstructure Analysis (EMMA)

Empirical Market Microstructure Analysis (EMMA) Empirical Market Microstructure Analysis (EMMA) Lecture 3: Statistical Building Blocks and Econometric Basics Prof. Dr. Michael Stein michael.stein@vwl.uni-freiburg.de Albert-Ludwigs-University of Freiburg

More information

Time-Invariant Predictors in Longitudinal Models

Time-Invariant Predictors in Longitudinal Models Time-Invariant Predictors in Longitudinal Models Topics: Summary of building unconditional models for time Missing predictors in MLM Effects of time-invariant predictors Fixed, systematically varying,

More information

Econometrics. Week 8. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

Econometrics. Week 8. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Econometrics Week 8 Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Fall 2012 1 / 25 Recommended Reading For the today Instrumental Variables Estimation and Two Stage

More information

Missing Data in Longitudinal Studies: Mixed-effects Pattern-Mixture and Selection Models

Missing Data in Longitudinal Studies: Mixed-effects Pattern-Mixture and Selection Models Missing Data in Longitudinal Studies: Mixed-effects Pattern-Mixture and Selection Models Hedeker D & Gibbons RD (1997). Application of random-effects pattern-mixture models for missing data in longitudinal

More information

Lecture 14: Introduction to Poisson Regression

Lecture 14: Introduction to Poisson Regression Lecture 14: Introduction to Poisson Regression Ani Manichaikul amanicha@jhsph.edu 8 May 2007 1 / 52 Overview Modelling counts Contingency tables Poisson regression models 2 / 52 Modelling counts I Why

More information

Modelling counts. Lecture 14: Introduction to Poisson Regression. Overview

Modelling counts. Lecture 14: Introduction to Poisson Regression. Overview Modelling counts I Lecture 14: Introduction to Poisson Regression Ani Manichaikul amanicha@jhsph.edu Why count data? Number of traffic accidents per day Mortality counts in a given neighborhood, per week

More information

Final Exam. Economics 835: Econometrics. Fall 2010

Final Exam. Economics 835: Econometrics. Fall 2010 Final Exam Economics 835: Econometrics Fall 2010 Please answer the question I ask - no more and no less - and remember that the correct answer is often short and simple. 1 Some short questions a) For each

More information

STATISTICS 174: APPLIED STATISTICS FINAL EXAM DECEMBER 10, 2002

STATISTICS 174: APPLIED STATISTICS FINAL EXAM DECEMBER 10, 2002 Time allowed: 3 HOURS. STATISTICS 174: APPLIED STATISTICS FINAL EXAM DECEMBER 10, 2002 This is an open book exam: all course notes and the text are allowed, and you are expected to use your own calculator.

More information

MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010

MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010 MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010 Part 1 of this document can be found at http://www.uvm.edu/~dhowell/methods/supplements/mixed Models for Repeated Measures1.pdf

More information

Review of Multiple Regression

Review of Multiple Regression Ronald H. Heck 1 Let s begin with a little review of multiple regression this week. Linear models [e.g., correlation, t-tests, analysis of variance (ANOVA), multiple regression, path analysis, multivariate

More information

Correlation in Linear Regression

Correlation in Linear Regression Vrije Universiteit Amsterdam Research Paper Correlation in Linear Regression Author: Yura Perugachi-Diaz Student nr.: 2566305 Supervisor: Dr. Bartek Knapik May 29, 2017 Faculty of Sciences Research Paper

More information

Gaussian processes. Basic Properties VAG002-

Gaussian processes. Basic Properties VAG002- Gaussian processes The class of Gaussian processes is one of the most widely used families of stochastic processes for modeling dependent data observed over time, or space, or time and space. The popularity

More information

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

I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Canonical Edps/Soc 584 and Psych 594 Applied Multivariate Statistics Carolyn J. Anderson Department of Educational Psychology I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN Canonical Slide

More information