+ All Categories
Home > Documents > Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects...

Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects...

Date post: 25-Dec-2015
Category:
Upload: joan-harrison
View: 218 times
Download: 3 times
Share this document with a friend
Popular Tags:
98
Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date
Transcript
Page 1: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Ziad Taib

Biostatistics, AZ

MV, CTH

April 2011

Lecture 4

Non-Linear and Generalized Mixed Effects Models

1 Date

Page 2: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Part I

Generalized Mixed Effects Models

2 Date

Page 3: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Outline of part I

1. Generalized Mixed Effects Models1. Formulation

2. Estimation

3. Inference

4. Software

2. Non-linear Mixed Effects Models in Pharmacokinetics1. Basic Kinetics

2. Compartmental Models

3. NONMEM

4. Software issues

Date

Name, department

3

Page 4: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Various forms of models and relation between them

Date

Name, department

4

LM: Assumptions:

1. independence,

2. normality,

3. constant parameters

GLM: assumption 2) Exponential family

LMM: Assumptions 1) and 3) are modified

GLMM: Assumption 2) Exponential family and assumptions 1) and 3) are modified

Repeated measures: Assumptions 1) and 3) are modified

Longitudinal dataMaximum likelihood

Classical statistics (Observations are random, parameters are unknown constants)

Bayesian statistics

LM - Linear model

GLM - Generalised linear model

LMM - Linear mixed model

GLMM - Generalised linear mixed model

Non-linear models

Page 5: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Example 1Toenail Dermatophyte Onychomycosis

Common toenail infection, difficult to treat, affecting more than 2% of population. Classical treatments with antifungal compounds need to be administered until the whole nail has grown out healthy.

New compounds have been developed which reduce treatment to 3 months.

Date5

Page 6: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Example 1 :

• Randomized, double-blind, parallel group, multicenter study for the comparison of two such new compounds (A and B) for oral treatment.

Research question:

Severity relative to treatment of TDO ?

• 2 × 189 patients randomized, 36 centers

• 48 weeks of total follow up (12 months)

• 12 weeks of treatment (3 months)

measurements at months 0, 1, 2, 3, 6, 9, 12.Date

Name, department

6

Page 7: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Example 2 The Analgesic Trial Single-arm trial with 530 patients recruited (491 selected

for analysis).

Analgesic treatment for pain caused by chronic non- malignant disease.

Treatment was to be administered for 12 months.

We will focus on Global Satisfaction Assessment (GSA).

GSA scale goes from 1=very good to 5=very bad.

GSA was rated by each subject 4 times during the trial, at months 3, 6, 9, and 12.

Date

Name, department

7

Page 8: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Questions Evolution over time.

Relation with baseline covariates: age, sex, duration of the pain, type of pain, disease progression, Pain Control Assessment (PCA), . . .

Investigation of dropout.

Date

Name, department

8

Observedfrequencies

Page 9: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Generalized linear Models:

Date

Name, department

9

Page 10: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

The Bernoulli case

Date

Name, department

10

Page 11: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

11

Page 12: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

12

Page 13: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Generalized Linear Models

Date

Name, department

13

Page 14: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Longitudinal Generlized Linear Models

Date

Name, department

14

Page 15: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Generalized Linear Mixed Models

Date

Name, department

15

Page 16: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

16

Page 17: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

17

Page 18: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Empirical bayes estimates

Date

Name, department

18

Page 19: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Example 1 (cont’d)

Date

Name, department

19

Page 20: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

20

Page 21: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Types of inference

Date

Name, department

21

Page 22: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date22

Page 23: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Syntax for NLMIXED

PROC NLMIXED options ;

ARRAY array specification ;

BOUNDS boundary constraints ;

BY variables ;

CONTRAST 'label' expression <,expression> ;

ESTIMATE 'label' expression ;

ID expressions ;

MODEL model specification ;

PARMS parameters and starting values ;

PREDICT expression ;

RANDOM random effects specification ;

REPLICATE variable ;

Program statements ; The following sections provide a detailed description of each of these statements.

Date23

http://www.tau.ac.il/cc/pages/docs/sas8/stat/chap46/index.htm

Page 24: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

PROC NLMIXED Statement

ARRAY Statement

BOUNDS Statement

BY Statement

CONTRAST Statement

ESTIMATE Statement

ID Statement

MODEL Statement

PARMS Statement

PREDICT Statement

RANDOM Statement

REPLICATE Statement

Programming Statements24

Page 25: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Example

This example analyzes the data from Beitler and Landis (1985), which represent results from a multi-center clinical trial investigating the effectiveness of two topical cream treatments (active drug, control) in curing an infection. For each of eight clinics, the number of trials and favorable cures are recorded for each treatment. The SAS data set is as follows.

data infection;

input clinic t x n;

datalines;

1 1 11 36

1 0 10 37

2 1 16 20

2 0 22 32

3 1 14 19

3 0 7 19

4 1 2 16

4 0 1 17

5 1 6 17

5 0 0 12

6 1 1 11

6 0 0 10

7 1 1 5

7 0 1 9

8 1 4 6

8 0 6 7

run;

Date25

Page 26: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Suppose nij denotes the number of trials for the ith clinic and the jth treatment (i = 1, ... ,8 j = 0,1), and xij denotes the corresponding number of favorable cures. Then a reasonable model for the preceding data is the following logistic model with random effects:

The notation tj indicates the jth treatment, and the ui are assumed to be iid .

Date26

Page 27: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

The PROC NLMIXED statements to fit this model are as follows:

proc nlmixed data=infection;

parms beta0=-1 beta1=1 s2u=2;

eta = beta0 + beta1*t + u;

expeta = exp(eta);

p = expeta/(1+expeta);

model x ~ binomial(n,p);

random u ~ normal(0,s2u) subject=clinic;

predict eta out=eta; estimate '1/beta1' 1/beta1; run;

Date

Name, department

27

Page 28: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

The PROC NLMIXED statement invokes the procedure, and the PARMS statement defines the parameters and their starting values. The next three statements define pij, and the MODEL statement defines the conditional distribution of xij to be binomial. The RANDOM statement defines U to be the random effect with subjects defined by the CLINIC variable.

The PREDICT statement constructs predictions for each observation in the input data set. For this example, predictions of and approximate standard errors of prediction are output to a SAS data set named ETA. These predictions include empirical Bayes estimates of the random effects ui.

The ESTIMATE statement requests an estimate of the reciprocal of .

Date28

Page 29: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Parameter Estimates

Parameter

Estimate

Standard Error DF t Value Pr > |t| Alpha Lower Upper Gradient

beta0 -1.1974 0.5561 7 -2.15 0.0683 0.05 -2.5123 0.1175 -3.1E-7

beta1 0.7385 0.3004 7 2.46 0.0436 0.05 0.02806 1.4488 -2.08E-6

s2u 1.9591 1.1903 7 1.65 0.1438 0.05 -0.8554 4.7736 -2.48E-7

Date

Name, department

29

LabelEstimat

eStandard Error DF t Value Pr > |t| Alpha Lower Upper

1/beta1 1.3542 0.5509 7 2.46 0.0436 0.05 0.05146 2.6569

Page 30: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Conclusions

The "Parameter Estimates" table indicates marginal significance of the two fixed-effects parameters. The positive value of the estimate of indicates that the treatment significantly increases the chance of a favorable cure.

The "Additional Estimates" table displays results from the ESTIMATE statement. The estimate of equals 1/0.7385 = 1.3541 and its standard error equals 0.3004/0.73852 = 0.5509 by the delta method (Billingsley 1986). Note this particular approximation produces a t-statistic identical to that for the estimate of .

Date30

Page 31: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

PROC NLMIXED

Date

Name, department

31

Page 32: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

PROC NLMIXED

Date

Name, department

32

Page 33: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

33

Page 34: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

34

Page 35: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

35

Page 36: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

36

Page 37: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Example 2 (cont’d)

• We analyze the data using a GLMM, but with different approximations:

Integrand approximation: GLIMMIX and MLWIN (PQL1 or PQL2)

Integral approximation: NLMIXED (adaptive or not) and MIXOR (non-adaptive)

Date

Name, department

37

Results

Page 38: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

38

Page 39: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

PROC MIXED vs PROC NLMIXED

The models fit by PROC NLMIXED can be viewed as generalizations of the random coefficient models fit by the MIXED procedure. This generalization allows the random coefficients to enter the model nonlinearly, whereas in PROC MIXED they enter linearly.

With PROC MIXED you can perform both maximum likelihood and restricted maximum likelihood (REML) estimation, whereas PROC NLMIXED only implements maximum likelihood.

Finally, PROC MIXED assumes the data to be normally distributed, whereas PROC NLMIXED enables you to analyze data that are normal, binomial, or Poisson or that have any likelihood programmable with SAS statements.

PROC NLMIXED does not implement the same estimation techniques available with the NLINMIX and GLIMMIX macros. (generalized estimating equations). In contrast, PROC

NLMIXED directly maximizes an approximate integrated likelihood.

39

Page 40: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

References

Beal, S.L. and Sheiner, L.B. (1982), "Estimating Population Kinetics," CRC Crit. Rev. Biomed. Eng., 8, 195 -222.

Beal, S.L. and Sheiner, L.B., eds. (1992), NONMEM User's Guide, University of California, San Francisco, NONMEM Project Group.

Beitler, P.J. and Landis, J.R. (1985), "A Mixed-effects Model for Categorical Data," Biometrics, 41, 991 -1000.

Breslow, N.E. and Clayton, D.G. (1993), "Approximate Inference in Generalized Linear Mixed Models," Journal of the American Statistical Association, 88, 9 -25.

Davidian, M. and Giltinan, D.M. (1995), Nonlinear Models for Repeated Measurement Data, New York: Chapman & Hall.

Diggle, P.J., Liang, K.Y., and Zeger, S.L. (1994), Analysis of Longitudinal Data, Oxford: Clarendon Press.

Engel, B. and Keen, A. (1992), "A Simple Approach for the Analysis of Generalized Linear Mixed Models," LWA-92-6, Agricultural Mathematics Group (GLW-DLO). Wageningen, The Netherlands.

Date40

Page 41: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Fahrmeir, L. and Tutz, G. (2002). Multivariate Statistical Modelling Based on Generalized Linear Models, (2nd edition). Springer Series in Statistics. New-York: Springer-Verlag.

Ezzet, F. and Whitehead, J. (1991), "A Random Effects Model for Ordinal Responses from a Crossover Trial," Statistics in Medicine, 10, 901 -907.

Galecki, A.T. (1998), "NLMEM: New SAS/IML Macro for Hierarchical Nonlinear Models," Computer Methods and Programs in Biomedicine, 55, 107 -216.

Gallant, A.R. (1987), Nonlinear Statistical Models, New York: John Wiley & Sons, Inc.

Gilmour, A.R., Anderson, R.D., and Rae, A.L. (1985), "The Analysis of Binomial Data by Generalized Linear Mixed Model," Biometrika, 72, 593 -599.

Harville, D.A. and Mee, R.W. (1984), "A Mixed-model Procedure for Analyzing Ordered Categorical Data," Biometrics, 40, 393 -408.

Lindstrom, M.J. and Bates, D.M. (1990), "Nonlinear Mixed Effects Models for Repeated Measures Data," Biometrics, 46, 673 -687.

Littell, R.C., Milliken, G.A., Stroup, W.W., and Wolfinger, R.D. (1996), SAS System for Mixed Models, Cary, NC: SAS Institute Inc.

Date

Name, department

41

Page 42: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Longford, N.T. (1994), "Logistic Regression with Random Coefficients," Computational Statistics and Data Analysis, 17, 1 -15.

McCulloch, C.E. (1994), "Maximum Likelihood Variance Components Estimation for Binary Data," Journal of the American Statistical Association, 89, 330 -335.

McGilchrist, C.E. (1994), "Estimation in Generalized Mixed Models," Journal of the Royal Statistical Society B, 56, 61 -69.

Pinheiro, J.C. and Bates, D.M. (1995), "Approximations to the Log-likelihood Function in the Nonlinear Mixed-effects Model," Journal of Computational and Graphical Statistics, 4, 12 -35.

Roe, D.J. (1997) "Comparison of Population Pharmacokinetic Modeling Methods Using Simulated Data: Results from the Population Modeling Workgroup," Statistics in Medicine, 16, 1241 - 1262.

Schall, R. (1991). "Estimation in Generalized Linear Models with Random Effects," Biometrika, 78, 719 -727.

Sheiner L. B. and Beal S. L., "Evaluation of Methods for Estimating Population Pharmacokinetic Parameters. I. Michaelis-Menten Model: Routine Clinical Pharmacokinetic Data," Journal of Pharmacokinetics and Biopharmaceutics, 8, (1980) 553 -571.

Date42

Page 43: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Sheiner, L.B. and Beal, S.L. (1985), "Pharmacokinetic Parameter Estimates from Several Least Squares Procedures: Superiority of Extended Least Squares," Journal of Pharmacokinetics and Biopharmaceutics, 13, 185 -201.

Stiratelli, R., Laird, N.M., and Ware, J.H. (1984), "Random Effects Models for Serial Observations with Binary Response," Biometrics, 40, 961-971.

Vonesh, E.F., (1992), "Nonlinear Models for the Analysis of Longitudinal Data," Statistics in Medicine, 11, 1929 - 1954.

Vonesh, E.F. and Chinchilli, V.M. (1997), Linear and Nonlinear Models for the Analysis of Repeated Measurements, New York: Marcel Dekker.

Wolfinger R.D. (1993), "Laplace's Approximation for Nonlinear Mixed Models," Biometrika, 80, 791 -795.

Wolfinger, R.D. (1997), "Comment: Experiences with the SAS Macro NLINMIX," Statistics in Medicine, 16, 1258 -1259.

Wolfinger, R.D. and O'Connell, M. (1993), "Generalized Linear Mixed Models: a Pseudo-likelihood Approach," Journal of Statistical Computation and Simulation, 48, 233 -243.

Yuh, L., Beal, S., Davidian, M., Harrison, F., Hester, A., Kowalski, K., Vonesh, E., Wolfinger, R. (1994), "Population Pharmacokinetic/Pharmacodynamic Methodology and Applications: a Bibliography," Biometrics, 50, 566 -575

Date43

Page 44: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Date

Name, department

44

End of Part I

Any Questions?

Page 45: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Part IIIntroduction to non-linear mixed

models in Pharmakokinetics

Page 46: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Typical data

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 45

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 45

One curve per patient

Time

Con

cent

rati

on

Page 47: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Common situation (bio)sciences:

A continuous response evolves over time (or other condition) within individuals from a population of interest

Scientific interest focuses on features or mechanisms that underlie individual time trajectories of the response and how these vary across the population.

A theoretical or empirical model for such individual profiles, typically non-linear in the parameters that may be interpreted as representing such features or mechanisms, is available.

Repeated measurements over time are available on each individual in a sample drawn from the population

Inference on the scientific questions of interest is to be made in the context of the model and its parameters

Page 48: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Non linear mixed effects models

Nonlinear mixed effects models: or hierarchical non-linear models

A formal statistical framework for this situation

A “hot” methodological research area in the early 1990s

Now widely accepted as a suitable approach to inference, with applications routinely reported and commercial software available

Many recent extensions, innovations

Have many applications: growth curves, pharmacokinetics, dose-response etc

Page 49: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

PHARMACOKINETICS

A drugs can administered in many different ways: orally, by i.v. infusion, by inhalation, using a plaster etc.

Pharmacokinetics is the study of the rate processes that are responsible for the time course of the level of the drug (or any other exogenous compound in the body such as alcohol, toxins etc).

Page 50: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

PHARMACOKINETICS

Pharmacokinetics is about what happens to the drug in the body. It involves the kinetics of drug absorption, distribution, and elimination i.e. metabolism and excretion (adme). The description of drug distribution and elimination is often termed drug disposition.

One way to model these processes is to view the body as a system with a number of compartments through which the drug is distributed at certain rates. This flow can be described using constant rates in the cases of absorbtion and elimination.

Page 51: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Plasma concentration curves (PCC)

The concentration of a drug in the plasma reflects many of its properties. A PCC gives a hint as to how the ADME processes interact. If we draw a PCC in a logarithmic scale after an i.v. dose, we expect to get a straight line since we assume the concentration of the drug in plasma to decrease exponentially. This is first order- or linear kinetics. The elimination rate is then proportional to the concentration in plasma. This model is approximately true for most drugs.

Page 52: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Plasma concentration curve

Concentration

Time

Page 53: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Pharmacokinetic models

Various types of models

Page 54: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

One-compartment model with rapid intravenous

administration: The pharmacokinetics parameters

Half life

Distribution volume

AUC

Tmax and Cmax

D, VD

i.v. k

•D: Dose•VD: Volume•k: Elimination rate•Cl: Clearance

Page 55: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

0kCdt

dC

One compartment model

General model Tablet

IV

dC

dtv in vout

)()( tktk

ea

a ae eekk

k

V

DoseFtC

Vin

C(t) , V

Ve

ka ke

t

V

Cl

V

DCt exp

Page 56: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Typical example in kinetics

A typical kinetics experiment is performed on a number, m, of groups of h patients.

Individuals in different groups receive the same formulation of an active principle, and different groups receive different formulations.

The formulations are given by IV route at time t=0.The dose, D, is the same for all formulations.

For all formulations, the plasma concentration is measured at certain sampling times.

Page 57: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Random or fixed ?

The formulation

Dose

The sampling times

The concentrations

The patients

Fixed

Fixed

Fixed

Random

Fixed

Random

Analytical errorDeparture to kinetic model

Population kinetics

Classical kinetics

Page 58: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

An example

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 450

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 45

One PCC per patients

Time

Con

cent

rati

on

Page 59: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 1 : Write a (PK/PD) model

A statistical model

Mean model :functional relationship

Variance model :Assumptions on the residuals

Page 60: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 1 : Write a deterministic (mean) model to describe the individual kinetics

0

20

40

60

80

100

120

140

0 10 20 30 40 50 60 70

Page 61: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

One compartment model with constant intravenous infusion rate

tV

Cl

V

DtC

kVClV

DCktCtC

exp)(

; ;exp)( 00

t

V

Cl

V

DCt exp

Page 62: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

0

20

40

60

80

100

120

140

0 10 20 30 40 50 60 70

Step 1 : Write a deterministic (mean) model to describe the individual kinetics

t

V

Cl

V

DtC exp)(

Page 63: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

0

20

40

60

80

100

120

140

0 10 20 30 40 50 60 70

Step 1 : Write a deterministic (mean) model to describe the individual kinetics

residual

Page 64: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 1 : Write a model (variance) to describe the magnitude of departure to the kinetics

-25

-20

-15

-10

-5

0

5

10

15

20

25

0 10 20 30 40 50 60 70

Time

Res

idua

l

Page 65: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 1 : Write a model (variance) to describe the magnitude of departure to the kinetics

-25

-20

-15

-10

-5

0

5

10

15

20

25

0 10 20 30 40 50 60 70

Time

Res

idua

l

Page 66: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

0 10 20 30 40 50 60 70

Step 1 : Describe the shape of departure to the kinetics

Time

Residual

Page 67: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 1 :Write an "individual" model

jijii

i

iji

i

i

iji t

V

Cl

V

Dt

V

Cl

V

DY ,,,, expexp

jiY ,

jit ,

jth concentration measured on the ith patient

jth sample time of the ith patient

residual

Gaussian residual with unit variance

Page 68: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Describe variation between individual parameters

Distribution of clearancesPopulation of patients

Clearance0 0.1 0.2 0.3 0.4

Page 69: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Our view through a sample of patients

Sample of patients Sample of clearances

Page 70: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Two main approaches:parametric and semi-parametric

Sample of clearances Semi-parametric approach

Page 71: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Two main approaches

Sample of clearances Semi-parametric approach(e.g. kernel estimate)

Page 72: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Semi-parametric approach

• Does require a large sample size to provide

results

• Difficult to implement

• Is implemented on “commercial” PK software

Bias?

Page 73: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Two main approaches

Sample of clearances

0 0.1 0.2 0.3 0.4

Parametric approach

Page 74: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Parametric approach

• Easier to understand• Does not require a large sample size to provide (good or poor) results• Easy to implement• Is implemented on the most popular pop PK software (NONMEM, S+, SAS,…)

Page 75: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Parametric approach

jijii

i

iji

i

i

iji t

V

Cl

V

Dt

V

Cl

V

DY ,,,, expexp

VVi

ClCli

i

i

V

Cl

ln

ln

CllnVln

A simple model :

Page 76: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Cl

V

ln Cl

ln V

Cl

V VCl,

Step 2 : Population parameters

Cl VMean parameters

2

2

VVCl

VClCl

Variance parameters :

measure inter-individualvariability

Page 77: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 2 : Parametric approach

jijii

i

iji

i

i

iji t

V

Cl

V

Dt

V

Cl

V

DY ,,,, expexp

VVi

CliiCli

i

i

V

XθXθCl

ln

ln 2211

A model including covariates

Page 78: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Clln

BMI

Age

X2i

X1i

2211 XXCl

Cl

i

CliiCli i

XXCl 2211ln

Step 2 : A model including covariates

Page 79: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Step 3 :Estimate the parameters of the current model

Several methods with different properties

1. Naive pooled data2. Two-stages3. Likelihood approximations

1. Laplacian expansion based methods2. Gaussian quadratures

4. Simulations methods

Page 80: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

1. Naive pooled data : a single patient

Naïve Pooled Data combines all the data as if they came from a single reference individual and fit into a model using classical fitting procedures. It is simple, but can not investigate fixed effect sources of variability, distinguish between variability within and between individuals.

Page 81: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 45

jjjj tV

Cl

V

Dt

V

Cl

V

DY

expexp

The naïve approach does not allow to estimate inter-individual variation.

Time

Con

cent

rati

on

Page 82: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

2. Two stages method: stage 1Within individual variability

Con

cent

rati

on

jijii

i

iji

i

i

iji t

V

Cl

V

Dt

V

Cl

V

DY ,,,, expexp

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 45

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 45

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 45

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35 40 45 Time

11ˆ,ˆ VlC

22ˆ,ˆ VlC

33ˆ,ˆ VlC

nn VlC ˆ,ˆ

.

.

.

Page 83: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Two stages method : stage 2 Between individual variability

• Does not require a specific software

• Does not use information about the distribution

• Leads to an overestimation of which tends to zero when the number of observations per animal increases.

• Cannot be used with sparse data

VVi

ClCli

i

i

V

lC

ˆln

ˆln

Page 84: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

3. The Maximum Likelihood Estimator

i

N

iiii dyhyl

1

,,expln,

VCl

iii ,

Let 222 ,,,,, VClVCl

i

N

iiii dyhArg

1

,,explninfˆ

Page 85: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

The Maximum Likelihood Estimator

•Is the best estimator that can be obtained among the consistent estimators

•It is efficient (it has the smallest variance)

•Unfortunately, l(y,) cannot be computed exactly

•Several approximations of l(y,) are used.

Page 86: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

3.1 Laplacian expansion based methods

First Order (FO) (Beal, Sheiner 1982) NONMEMLinearisation about 0

jiji

V

Cl

V

Cli

Vi

Vi

Cliji

V

Cl

V

jijii

i

iji

i

i

iji

tD

ZZZtD

tV

Cl

V

Dt

V

Cl

V

DY

,,

321,

,,,,

exp

expexp

exp

exp

expexp

exp

expexp

Page 87: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Laplacian expansion based methods

First Order Conditional Estimation (FOCE) (Beal, Sheiner) NONMEM Non Linear Mixed Effects models (NLME) (Pinheiro, Bates)S+, SAS (Wolfinger)

jiji

i

i

i

Vi

Vi

Cli

Clii

Vi

Vii

Cli

Cliiji

i

i

i

jijii

i

iji

i

i

iji

tV

lC

V

DZ

ZZtV

lC

V

D

tV

Cl

V

Dt

V

Cl

V

DY

,,3

21,

,,,,

ˆ

ˆexp

ˆˆˆˆ,

ˆˆ,ˆˆ,ˆ

ˆexp

ˆ

expexp

Linearisation about the current prediction of the individual parameter

Page 88: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Gaussian quadratures

N

i

P

ki

kii

i

N

iiii

yh

dyhyl

1 1

1

,,expln

,,expln,

Approximation of the integrals by discrete sums

Page 89: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

4. Simulations methods

Simulated Pseudo Maximum Likelihood (SPML)

,,ln,1 2

,,2 1 DVDy ii

DViii

K

kjiV

V

ClCl

ClV

ji tD

KKi

Ki

Ki1,,

,

,

,exp

expexp

exp

1

iV simulated variance

Minimize

Page 90: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Properties

Naive pooled data Never Easy to use Does not provide consistent estimate

Two stages Rich data/ Does not require Overestimation of initial estimates a specific software variance components

FO Initial estimate quick computation Gives quickly a resultDoes not provideconsistent estimate

FOCE/NLME Rich data/ small Give quickly a result. Biased estimates whenintra individual available on specific sparse data and/orvariance softwares large intra

Gaussian Always consistent and The computation is long quadrature efficient estimates when P is large

provided P is large

SMPL Always consistent estimates The computation is longwhen K is large

Criterion When Advantages Drawbacks

Page 91: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Model check: Graphical analysis

VVi

ClCli

i

i

V

Cl

ln

ln

VVi

CliiCli

i

i

V

ageBWCl

ln

ln 21

0

20

40

60

80

100

120

140

160

180

0 20 40 60 80 100 120 140

0

20

40

60

80

100

120

140

160

0 20 40 60 80 100 120 140

Observed concentrations

Pre

dict

ed c

once

ntra

tions Variance reduction

Page 92: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Graphical analysis

Time

ji ,

-4

-3

-2

-1

0

1

2

3

0 10 20 30 40 50

-3

-2

-1

0

1

2

3

0 5 10 15 20 25 30 35 40 45

The PK model seems good The PK model is inappropriate

Page 93: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Graphical analysis

Normality acceptable

Cl

iV

i

under gaussian assumption

Cl

i

V

i

Normality should be questioned

add other covariatesor try semi-parametric model

Page 94: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

The Theophylline example

An alkaloid derived from tea or produced synthetically; it is a smooth muscle relaxant used chiefly for its bronchodilator effect in the treatment of chronic obstructive pulmonary emphysema, bronchial asthma, chronic bronchitis and bronchospastic distress. It also has myocardial stimulant, coronary vasodilator, diuretic and respiratory center stimulant effects.

http://www.tau.ac.il/cc/pages/docs/sas8/stat/chap46/sect38.htm

Page 95: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.
Page 96: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.
Page 97: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

References

Davidian, M. and Giltinan, D.M. (1995). Nonlinear Models for Repeated Measurement Data. Chapman & Hall/CRC Press.

Davidian, M. and Giltinan, D.M. (2003). Nonlinear models for repeated measurement data: An overview and update. Journal of Agricultural, Biological, and Environmental Statistics 8, 387–419.

Davidian, M. (2009). Non-linear mixed-effects models. In Longitudinal Data Analysis, G. Fitzmaurice, M. Davidian, G. Verbeke, and G. Molenberghs (eds). Chapman & Hall/CRC Press, ch. 5, 107–141.

(An outstanding overview ) “Pharmacokinetics and pharmaco- dynamics ,” by D.M. Giltinan, in Encyclopedia of Biostatistics, 2nd edition.

Page 98: Ziad Taib Biostatistics, AZ MV, CTH April 2011 Lecture 4 Non-Linear and Generalized Mixed Effects Models 1 Date.

Any Questions?


Recommended