Mixed-Effects modelling

Introduction to
Mixed-Effects modelling
Eugenio Cinquemani
INSA, December 14, 2016
Cell-to-cell variability
●
Example: gene response to osmotic shocks in yeast
●
Similar but quantitatively different expression pattern
●
How to model and recover individual cell “identities”?
Mixed-effects modelling: Origins
●
Pharmacokinetics
–
Drug absorption
in human body
Davidian, Giltinan, J Agric Biol Env Stat, 2013
●
Immunology
–
HIV dynamics
Davidian, Giltinan, J Agric Biol Env Stat, 2013
●
Dairy science
●
Forestry
…
●
Microbiology
Scenario
●
Responses similar across individuals of a same
population
●
Inter-individual variability
●
Few observations per individual
●
Measurement error
Objectives
●
●
●
Modelling framework accounting for:
–
Characters of the population (typical response, variability of the
response across individuals)
–
Specific features of the observed individuals
Inference of the characteristics of a population from
observations of a few individuals
Prediction of the response of new individuals from the same
population
Hierarchical modelling
●
Population model: Typical response of an individual
y=f(φ,x)+ε
●
–
x “predictor” value
–
φ individual parameters
–
ε intra-individual variability (modelling/observation “error”)
Individual model: Law underlying parameter values of the
different individuals i
φi ~ p ( θ i , Θ )
–
θi individual “covariates”
–
Θ population parameters
Mixed-Effects (ME) models (linear)
●
φi composed of fixed effects and random effects
φi = Ai · β + Bi · bi ,
●
–
β fixed effects (population feature)
–
bi random effects (individual outcome)
–
Ψ inter-individual variability (population feature)
–
Ai , Bi individual covariates
Different observations j from different individuals i
yi,j = f ( φi , xi,j ) + εi,j ,
–
●
bi ~ N ( 0 , Ψ )
i.i.d. εi,j ~ N ( 0 , σ2 )
σ2 error variance
Nonlinear mixed-effects models: Various generalizations
Example
●
Drug absorption in human body
Aim: Infer a Mixed-Effects model to predict optimal repeated drug
delivery to (new) patients (as a function of weight, age, … )
●
Nonlinear ME model:
●
Linear ME model (approximation):
●
Individual covariates:
–
Weight wi
–
Renal efficiency ci
Inference
●
●
Aim: Given data ( xi,j , yi,j )V i,j estimate:
–
Population parameters β, Ψ (and σ2)
–
Individual parameters φi (i.e. random effects bi)
Naive approach (case φi = β + bi):
–
Separately for every i, estimate φi from ( xi,j , yi,j )V j
^φi =
–
arg minφ ∑j [ yi,j – f ( φ , xi,j ) ]2
Compute ^β=mean( ^φ• ), ^Ψ=Var( ^φ• )
Ignores the fact that random effects come from a common
distribution
ME (empirical Bayes) approach
●
Exploits the fact that random effects come from a
common distribution
–
Use all data to estimate population parameters first
^β, ^Ψ, ^σ
= arg max β, Ψ, σ p(y•,• | x•,• , β, Ψ, σ2 )
where the marginal likelihood can be expanded as
∏i,j ∫ dφi p(yi,j | xi,j , φi , σ2) p(φi | β ,Ψ ; Ai , Bi )
population model
–
individual model
Then, if of interest, estimate individual effects
^φi =
arg max p(φi | ^β ,^Ψ ; Ai , Bi )
Software
●
Monolix (dedicated, free for academic use)
●
R commands
●
Matlab commands
nlmefit, nlmefitsa
●
...