1 / 98

Lecture 4 Non-Linear and Generalized Mixed Effects Models

Lecture 4 Non-Linear and Generalized Mixed Effects Models. Ziad Taib Biostatistics, AZ MV, CTH April 2011. 1. Date. Part I Generalized Mixed Effects Models. Outline of part I. Generalized Mixed Effects Models Formulation Estimation Inference Software

arwen
Télécharger la présentation

Lecture 4 Non-Linear and Generalized Mixed Effects Models

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Part IGeneralized Mixed Effects Models

  3. Outline of part I • Generalized Mixed Effects Models • Formulation • Estimation • Inference • Software • Non-linear Mixed Effects Models in Pharmacokinetics • Basic Kinetics • Compartmental Models • NONMEM • Software issues Name, department

  4. Various forms of models and relation between them Classical statistics (Observations are random, parameters are unknown constants) • LM: Assumptions: • independence, • normality, • constant parameters Repeated measures: Assumptions 1) and 3) are modified LMM: Assumptions 1) and 3) are modified GLMM: Assumption 2) Exponential family and assumptions 1) and 3) are modified GLM: assumption 2) Exponential family Longitudinal data Maximum likelihood Non-linear models LM - Linear model GLM - Generalised linear model LMM - Linear mixed model GLMM - Generalised linear mixed model Bayesian statistics Name, department

  5. Example 1ToenailDermatophyteOnychomycosis • 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.

  6. 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. Name, department

  7. 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. Name, department

  8. 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. Observed frequencies Name, department

  9. Generalized linear Models: Name, department

  10. The Bernoulli case Name, department

  11. Name, department

  12. Name, department

  13. Generalized Linear Models Name, department

  14. Longitudinal Generlized Linear Models Name, department

  15. Generalized Linear Mixed Models Name, department

  16. Name, department

  17. Name, department

  18. Empirical bayes estimates Name, department

  19. Example 1 (cont’d) Name, department

  20. Name, department

  21. Types of inference Name, department

  22. Syntax for NLMIXED http://www.tau.ac.il/cc/pages/docs/sas8/stat/chap46/index.htm • 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.

  23. 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 Statements

  24. 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;

  25. 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 .

  26. 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; Name, department

  27. 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 .

  28. Parameter Estimates Name, department

  29. 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 .

  30. PROC NLMIXED Name, department

  31. PROC NLMIXED Name, department

  32. Name, department

  33. Name, department

  34. Name, department

  35. Name, department

  36. 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) Results Name, department

  37. Name, department

  38. 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 PROCNLMIXED 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. 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.

  40. 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. Name, department

  41. 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.

  42. 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

  43. End of Part I Any Questions? Name, department

  44. Part IIIntroduction to non-linear mixed models in Pharmakokinetics

  45. Typical data One curve per patient Concentration Time

  46. Common situation (bio)sciences: • A continuous responseevolves over time (or other condition) within individuals from a population of interest • Scientific interest focuses on featuresormechanisms that underlie individual time trajectoriesof the response and how these vary across the population. • A theoretical or empirical modelfor such individual profiles, typically non-linear in the parameters that may be interpreted as representing such features or mechanisms, is available. • Repeated measurementsover time are available on each individual in a sample drawn from the population • Inferenceon the scientific questions of interest is to be made in the context of the model and its parameters

  47. 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

  48. 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).

  49. PHARMACOKINETICS • Pharmacokineticsis about what happens to the drug in the body.Itinvolves 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.

More Related