43
Lecture 7: Parametric Models for Covariance Structure (Examples)

Lecture 7: Parametric Models for Covariance Structure (Examples)

Embed Size (px)

Citation preview

Page 1: Lecture 7: Parametric Models for Covariance Structure (Examples)

Lecture 7:Parametric Models for Covariance

Structure (Examples)

Page 2: Lecture 7: Parametric Models for Covariance Structure (Examples)

1. Model for the mean

Page 3: Lecture 7: Parametric Models for Covariance Structure (Examples)

2. Model for the covariance matrix

Page 4: Lecture 7: Parametric Models for Covariance Structure (Examples)

2. Model for the covariance matrix (cont’d)

Page 5: Lecture 7: Parametric Models for Covariance Structure (Examples)
Page 6: Lecture 7: Parametric Models for Covariance Structure (Examples)
Page 7: Lecture 7: Parametric Models for Covariance Structure (Examples)

Which model to pick?

Page 8: Lecture 7: Parametric Models for Covariance Structure (Examples)

Which model to pick? (cont’d)

Page 9: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: CD4+ Level

HIV attacks CD4+ cells, which regulate the body’s immuneresponse against infectious agents

We have 2376 values of CD4+ cell numbers plotted against time since seroconversion for 369 infected men enrolled in the MAC Study

Page 10: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: CD4+ Level (cont’d)

Goals:

1.Estimate the average time course of CD4+ cell depletion

2.Identify factors which predict CD4+ cell changes

3.Estimate the time course for an individual man taking into account the measurement error in CD4+ cell determinations

4.Characterize the degree of heterogeneity across men in the rate of progression

Page 11: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: CD4+ LevelGoal 1: Estimate average time course of CD4+ cell

depletion

The model for the covariance matrix is a model of serial correlation.

Page 12: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: CD4+ LevelGoal 2: Identify factors predictive of CD4+ cell

changes

The model for the covariance matrix is still a model of serial correlation, however we have changed the model for the mean.

Page 13: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: CD4+ LevelParameter Interpretation

Page 14: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: CD4+ LevelGoal 3: Estimate time course for an individual man,

accounting for measurement error in CD4+ cell counts

This is a model with a random intercept and

slope + serial correlation + measurement error.

Page 15: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: CD4+ LevelParameter Interpretation

Page 16: Lecture 7: Parametric Models for Covariance Structure (Examples)

Random Effects Model:Interpretation of coefficients

Heterogeneity between subjects at baseline

Heterogeneity between subjects in rate of change

Page 17: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: CD4+ LevelGoal 4: Characterize degree of heterogeneity across

men in progression rate

(From the previous slide)

Page 18: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Protein contents of milk samples

Page 19: Lecture 7: Parametric Models for Covariance Structure (Examples)

• Barley (25 cows)

• Mixed (27 cows)

• Lupins (27 cows)

Page 20: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Protein contents of milk samples (cont’d)

Page 21: Lecture 7: Parametric Models for Covariance Structure (Examples)

0.02

Page 22: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Protein contents of milk samples Model for the Mean

Page 23: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Protein contents of milk samples Model for the Covariance Matrix

Page 24: Lecture 7: Parametric Models for Covariance Structure (Examples)

Table 5.1 (b)

Page 25: Lecture 7: Parametric Models for Covariance Structure (Examples)
Page 26: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Protein contents of milk samples Does diet affect the mean response profile?

Page 27: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Protein contents of milk samples Is there a rise in the mean response towards the end of

the experiment?

Page 28: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Protein contents of milk samples Is there a rise in the mean response towards the end of

the experiment? (cont’d)

Page 29: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Protein contents of milk samples Is there a rise in the mean response towards the end of

the experiment? (cont’d)

Page 30: Lecture 7: Parametric Models for Covariance Structure (Examples)

0.02

Page 31: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Body weight of 26 cows

Dataset consists of body weights of 26 cows, measured at 23 unequally-spaced times over a period of about 22 months.

Treatments were allocated in a 2x2 factorial design:

Control (4)Iron-dosing (4)Infection (9)Iron + Infection (10)

Page 32: Lecture 7: Parametric Models for Covariance Structure (Examples)
Page 33: Lecture 7: Parametric Models for Covariance Structure (Examples)

Control

N=4

Iron

N=4

Infection

N=9

Iron + Infection

N=10

Log Y:

Variance-stabilizing transformation

Page 34: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Body weight of 26 cows (cont’d)

• Look at your data

• Estimate empirical variogram

• What do you see?

• Measurement variance small

• Substantial between-cow variability

• Gaussian correlation model appropriate

Page 35: Lecture 7: Parametric Models for Covariance Structure (Examples)

•Small measurement error

•Experimental correlation

•Random effects

Empirical variogram of the OLS residuals from a saturated model for the mean response

Page 36: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Body weight of 26 cowsModel for the Mean

Page 37: Lecture 7: Parametric Models for Covariance Structure (Examples)
Page 38: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Body weight of 26 cowsModel for the Covariance Matrix

Page 39: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Body weight of 26 cowsQuestions

Q1: Can we conclude linear (vs. quadratic) growth?

…The quadratic curve is appropriate.

Q2: Is there a main effect for iron?…NO

Page 40: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Body weight of 26 cowsQuestions (cont’d)

Q3: Is there a main effect for infection?…YES

Q4: Is there an interaction between iron and infection?…NO

Page 41: Lecture 7: Parametric Models for Covariance Structure (Examples)

Example: Body weight of 26 cowsQuestions (cont’d)

We re-fit the model with only the infection term:

Conclusions:

• Highly significant effect of infection

• No significant effect of iron

• No significant effect of interaction

Page 42: Lecture 7: Parametric Models for Covariance Structure (Examples)
Page 43: Lecture 7: Parametric Models for Covariance Structure (Examples)