Nonlinear Regression Modeling for Longitudinal Data and its Applications
Mathematical Course, Toshihiro Misumi
Abstract —Longitudinal data analysis has made a significant progress over the last three decades in various fields of natural and social sciences, includ- ing bioinformatics, medicine, pharmaceuticals and sys- tems engineering. Although linear mixed models pro- vide a useful tool for analyzing such data sets, more flexible modeling procedures are required to extract information from data with complex structures. We propose several nonlinear regression modeling strate- gies for longitudinal data based on varying coefficient models and functional mixed models. We utilize max- imum penalized likelihood methods for model estima- tion, and derive model selection criteria for the eval- uation of estimated models. The proposed functional modeling procedure is applied for analyzing the longi- tudinal gene expression data.
I. Introduction
In longitudinal study, the data are characterized by repeated observations of a response variable over time for each subject and they have possibly different time points among subjects.
Under linear regression models for such a longitudinal data, the linear mixed models (Laird and Ware, 1982) are quite practi- cable and have achieved a number of successful outcomes in medical and social sciences. When, however, the data have a complicated structure or substantial longitudinal heterogene- ity between subjects, more appropriate models are required.
In order to overcome such issues, we develop two varying coef- ficient modeling and a functional mixed modeling procedures through the nonlinear regression approach. The essential idea behind the varying coefficient model (VCM; Hastie and Tib- shirani, 1993) is that the coefficients of the regression model are represented by time-dependent functions. It enables us to effectively describe the relationship between the predictors and responses which are repeatedly measured. On the other hand, the functional mixed model (FMM; Rice and Wu, 2001) was proposed to estimate population mean functions and subject specific functional random effects for the longitudinal data with large heterogeneity between subjects.
We also introduce a novel VCM, called a mixed effects his- torical varying coefficient model (ME-HVCM), for evaluating historical dose-response relationship in flexible-dose clinical tri- als. Our modeling procedures are based on basis expansion techniques, estimating by maximum penalized likelihood meth- ods. Model selection criteria are derived for evaluating the estimated models from the viewpoints of information-theoretic and Bayesian approach. We present an application of our func- tional mixed modeling procedure to the analysis of a longitu- dinal gene expression data.
II. Varying Coefficient Models
Suppose we have p sets of predictors X
k(k = 1, . . . , p) and a response Y varying with time t, and denote i-th observations
at time points j = 1, . . . , J
ias x
ijk, and y
ij, respectively. Then the VCM has the form
y
ij= β
0(t
ij) + x
ij1β
1(t
ij) + . . . + x
ijpβ
p(t
ij) + ε
ij, (1) where β
0(·), β
1(·), . . . , β
p(·) are functions of coefficient parame- ters and ε
ijare random noises whose vector ε
i= (ε
i1, . . . , ε
iJi)
′is normally distributed with mean vector 0 and a variance co- variance matrix σ
2I
Jiwith unknown scalar σ
2. We assume that coefficient functions β
0(
·), β
1(
·), . . . , β
p(
·) are expressed by basis expansions as follows:
β
k(t
ij) =
Mk
∑
m=1
γ
kmϕ
(k)m(t
ij) = γ
′kϕ
(k)(t
ij), (2) where γ
k= (γ
k1, . . . , γ
kMk)
′are parameters to be estimated and ϕ
(k)(t
ij) = (ϕ
(k)1(t
ij), . . . , ϕ
(k)Mk
(t
ij))
′are basis functions.
As for the basis functions, we can apply B-spline basis func- tions, Gaussian radial basis functions and so on. Using this assumption and denoting y
i= (y
i1, . . . , y
iJi)
′, D
ik= diag(x
i1k, . . . , x
iJik) (k = 1, . . . , p), D
i0= I
Jiand Φ
ik= (ϕ
(k)(t
i1), . . . , ϕ
(k)(t
iJi))
′, the VCM in (1) can be rewritten as
y
i=
∑p
k=0
D
ikΦ
ikγ
k+ ε
i, ε
i∼N
Ji(0, σ
2I
Ji). (3) Then we have a probability density function
f(y
i|θ) = 1
(2πσ
2)
Ji/2exp
{−
1 2σ
2(
y
i−∑p
k=0
D
ikΦ
ikγ
k )′(
y
i−∑p
k=0
D
ikΦ
ikγ
k ) }, (4)
denoting a vector of unknown parameters by θ =
{γ
0, . . . , γ
p, σ
2}.
II.A Varying Coefficient Modeling via Regular- ized Basis Expansions
Unknown parameters involved in the VCM in (3) are estimated by the maximum penalized likelihood method, that is, maxi- mizing the penalized log-likelihood function given by
ℓ
λ(θ) = ℓ(θ)
−n 2
∑p
k=1
λ
kγ
′kΩ
kγ
k, (5) where ℓ(θ) =
∑ni=1
log f(y
i|θ) and Ω
kis a positive semi- definite matrix. Since the VCM estimated by the maximum pe- nalized likelihood method depends on tuning parameters, M
kand λ
ks, it is essential to choose appropriate values of them.
Konishi and Kitagawa (1996) derived a generalized information criterion (GIC) for evaluating models estimated by various pro- cedures including the maximum penalized likelihood method.
Matsui et al. (2013) derived the GIC for evaluating the VCM estimated by the maximum penalized likelihood given by
GIC =
−2 logf(Y
|ˆ θ) + 2tr
{R
−1(ˆ θ)Q(ˆ θ)
}, (6)
1
where R(ˆ θ) and Q(ˆ θ) are, respectively, R(ˆ θ) =
−1
n
∑n
i=1
∂
2{ℓ(i)λ(θ)}
∂θ∂θ
′ θ= ˆθ, (7)
Q(ˆ θ) = 1 n
∑n
i=1
∂{ℓ
(i)λ(θ)}
∂θ
∂
{ℓ
(i)(θ)
}∂θ
′ θ= ˆθ. (8)
Here, ℓ
(i)λ(θ) = ℓ
(i)(θ)
−(1/2)
∑pk=1
λ
kγ
′kΩ
kγ
kwith the log- likelihood function of the i-th subject ℓ
(i)(θ).
Konishi et al. (2004) proposed a generalized Bayesian in- formation criterion (GBIC), for evaluating models estimated by maximum penalized likelihood method. Using this result, the GBIC for evaluating the VCM in (4) is proposed by Matsui et al. (2013) and given as follows:
GBIC =
−2 logf(Y
|θ) + ˆ n
∑p
k=1
λ
kγ ˆ
′kΩ
kγ ˆ
k+ log
|R(ˆθ)|
+
( p∑
k=1
r
k+ 1
)log
(n
2π
)−∑p
k=1
(M
k−r
k) log λ
k−∑p
k=1
log
|Ωk|,(9) where r
k= M
k−rank(Ω
k).
II.B Sparse Varying Coefficient Modeling via Adaptive Elastic Net
We consider maximizing the following penalized log-likelihood function to estimate unknown parameters involved in the VCM (3) by sparse regularization,
ℓ
λ(θ) =
∑n
i=1
log f(y
i|θ)
−nλ
∑p
k=1
P
α(
∥γ
k∥), (10) where P
α(
·) is a penalty function,
∥ · ∥is an L
2(Euclid) norm and λ > 0 is a regularization parameter which controls the de- gree of the penalty. We impose a penalty composed by a sum of penalty functions of L
2norms of the coefficient vectors γ
kinstead of its components separately. Then we can shrink all elements of the vector γ
ktowards exactly zeros when the cor- responding predictor seems to be less relevant to the response.
For the penalty function P
αwe use an combination of the adap- tive elastic net penalty (Zou and Zhang, 2009) and the group lasso (Yuan and Lin, 2006) given by
P
α(∥γ
k∥) =1
2 (1
−α)∥γ
k∥2+ α w ˆ
k∥γk∥,(11) where α
∈[0, 1] tunes the type of the penalty between the ridge (α = 0) and the lasso (α = 1). Furthermore, ˆ w
k> 0 is an adap- tive weight which is given in the form of ˆ w
k= (
√M
k∥γ
k∥)
−ρ(∥γ
k∥ ̸= 0), =∞(∥γ
k∥= 0) with a positive constant ρ, where we use ρ = 1. We apply the BIC for selecting the regulariza- tion parameter λ, tuning parameter α and the number of basis functions M
k. Model selection criterion BIC has the form of
BIC =
−2
∑n i=1
log f(y
i|θ) + ˆ edf log n
=
−log(2πˆ σ
2)
∑n i=1
J
i−∑n i=1
J
i+ edf log n, (12)
where edf is an effective degrees of freedom for the VCM. The effective degrees of freedom for the VCM estimated by the adaptive elastic net regularization is proposed by Matsui and Misumi (2015) and given as follows:
edf =
∑n i=1
∑p
k=1
tr
{ (1
−nˆ σ
2αλ w ˆ
k∥ζk∥ )
+
1 1 + n(1
−α)λ D
ikΦ
ikU
k−1(U
k−1)
TΦ
TikD
ik}
. (13)
III. Functional Mixed Model
Suppose we have n independent repeated measurements
{yij, t
ij; i = 1, . . . , n, j = 1, . . . , J
i}, wherey
ijdenotes a re- sponse variable at t
ijwhich intends each subject i and time- point j, that is, we consider the unbalanced data situation.
For representing the relationship between these measurements, concurrently with considering the longitudinal heterogeneity between subjects, the FMM via Gaussian Process Regression is defined as
y
ij= f(t
ij) + γ
i(t
ij) + ε
ij,
γ
i(t)
∼GP(0, r), ε
i= (ε
i1, . . . , ε
iJi)
′∼N
Ji(0, Ω
i), (14) where f(t) is a fixed effect or a population mean function, γ
i(t) is a random effect function for subject i (i = 1, . . . , n), ε
iis measurement errors, and Ω
iis a variance-covariance matrix as- suming Ω
i= σ
2εI
J iwith a J
i-dimensional identical matrix I
J i. The GP stands for a Gaussian process with a mean function m(t) = 0, and a covariance function r(s, t) which represents the variability between subjects for the times s, t
∈[0,
∞).
It is assumed that f(t) and γ
1(t), . . . , γ
n(t) are expressed as f(t) =
∑Kk=1
v
kφ
k(t) = φ(t)
′α and γ
i(t) =
∑Ll=1
w
(i)lψ
l(t) = ψ(t)
′b
i(i = 1, . . . , n), where φ(t) = (φ
1(t), . . . , φ
K(t))
′and ψ(t) = (ψ
1(t), . . . , ψ
L(t))
′are the basis functions, and α = (v
1, . . . , v
K)
′and b
i= (w
(i)1, . . . , w
L(i))
′are their coefficients.
For the covariance function r(s, t), the basis expansions for γ
i(t) give the Gaussian process
r(s, t) = Cov(γ
i(s), γ
i(t)) = ψ(s)
′Cov(b
i)ψ(t), (15) where Cov(b
i) is an L
×L variance-covariance matrix, and let Cov(b
i) = ∆ for all i. Then, the FMM in (14) can be expressed as the mixed model representation:
y
i= X
iα + Z
ib
i+ ε
i, b
i∼N
L(0, ∆), ε
i∼N
Ji(0, σ
2εI
J i),
(16) where y
i= (y(t
i1), . . . , y(t
iJi))
′, X
i= (φ(t
i1), . . . , φ(t
iJi))
′and Z
i= (ψ(t
i1), . . . , ψ(t
iJi))
′. From this derivation, we can estimate the unknown parameters included in the FMM within the framework of standard linear mixed models.
Unknown parameters, such as the coefficient vectors α, the variance parameter σ
ε2and the variance-covariance matrix ∆ are estimated and the random effect vectors b
1, . . . , b
nare pre- dicted by the maximum penalized likelihood method. The pe- nalized marginal log-likelihood function in (16) is given by
ℓ
mλ(θ) = ℓ
m(θ)
−1
2 nλ
αα
′G
αα, (17)
2
where ℓ
m(θ) is the marginal log-likelihood function, θ is the parameter vector with θ = (α
′, b
′1, . . . , b
′n, (vech ˜ ∆)
′) with an operator vech that transforms the upper triangular elements of matrix in to a vector, ˜ ∆ = diag(∆, . . . , ∆), the second term represents the penalty for the roughness of the popu- lation mean function, λ
α(> 0) is the smoothing parameter which controls the degree of the penalty and G
αis a K
×K positive semi-definite matrix. Using the result of Konishi and Kitagawa (1996), Misumi (2014) introduced a marginal GIC (mGIC) for evaluating the FMM estimated by the maximum penalized marginal likelihood is given by
mGIC =
−2ℓ
m(ˆ θ) + 2tr
{R(ˆ θ)
−1Q(ˆ θ)
}, (18)
where R(ˆ θ) and Q(ˆ θ) are, respectively, given by R(ˆ θ)
=−1n
∑n
i=1
∂2{ℓ(i)mλ(
θ
)}∂
θ
∂θ
′ θ=θˆ,
(19)
Q(ˆ θ)
= 1 n∑n
i=1
∂{ℓ(i)mλ(
θ
)}∂
θ
∂{ℓ(i)m(
θ
)}∂
θ
′ θ=θˆ.
(20)
Here, ℓ
(i)mλ(θ) and ℓ
(i)m(θ) represents the penalized marginal log- likelihood function and marginal log-likelihood function of the i th subject, respectively. Using the result of Konishi et al.
(2004), Misumi (2014) introduced a marginal GBIC (mGBIC) for evaluating the FMM estimated by the maximum penalized marginal likelihood is given by
mGBIC =
−2ℓ
m(ˆ θ) + nλ
αα ˆ
′G
αα ˆ + (r
α+ 1) log
(n
2π
)−
(K
−r
α) log λ
α−log
|G
α|+ log
|R(ˆ θ)
|, (21) where r
α= K
−rank(G
α). The matrix R(ˆ θ) is the same as that of the mGIC.
IV. Mixed Effects Historical Varying Coefficient Model
Suppose we have n independent observations
{(y
ij, d
ij, t
ij); i = 1, . . . , n, j = 1, . . . , J
i}, wherey
ij, d
ijand t
ijare a response and dose-level at design time-point for each subject i and time- point j, respectively. We assume a design has equidistant time- points, and an unequal number of observations per subject. For representing the historical dose-level information and longitu- dinal heterogeneity between subjects, the ME-HVCM (Misumi and Konishi, 2014) is defined as
y
ij= β
0(t
ij) +
∑P p=1
β
p(t
ij)d
ij−(p−1)+ γ
i(t
ij) + ε
ij, γ
i(t)
∼GP(0, r), ε
i= (ε
i1, . . . , ε
iJi)
′∼N
Ji(0, Ω
i),
(22) where β
0(t) is an intercept function and β
1(t), . . . , β
P(t) are historical varying coefficient functions which represent the effectiveness of the dose-level in p visit before. Ω
iis a J
i ×J
ivariance-covariance matrix, and γ
i(t) is a random effect function for subject i (i = 1, . . . , n). Here, β
p(t) and γ
i(t) are assumed to be expressed as basis expansions, β
p(t) =
∑Kpk=1
v
pkφ
pk(t) = φ
p(t)
′α
p(p = 0, . . . , P), γ
i(t) =
∑L
l=1
w
γl(i)ψ
l(t) = ψ(t)
′b
i(i = 1, . . . , n), where φ
p(t) = (φ
p1(t), . . . , φ
pKp(t))
′and ψ(t) = (ψ
1(t), . . . , ψ
L(t))
′are basis functions, and α
p= (v
p1, . . . v
pKp)
′and b
i= (w
γ1(i), . . . , w
(i)γL)
′are coefficients of basis functions. We assume that the covari- ance function r(s, t) is the same form as in (15). Then (22) can
be expressed as
y
i= X
iα + Z
ib
i+ ε
i, b
i∼N
L(0, ∆), ε
i∼N
Ji(0, Ω
i),
(23) where y
i= (y
i1, . . . , y
iJi)
′, X
i= (x
′i1, . . . , x
′iJi)
′, Z
i= (z
′i1, . . . , z
′iJi)
′, x
ij= (φ
0(t
ij)
′, d
ijφ
1(t
ij)
′, . . . , d
ij−(p−1)φ
P(t
ij)
′)
′, z
ij= ψ(t
ij) and α = (α
′0, α
′1, . . . , α
′P)
′.
We estimate the ME-HVCM by the maximum penalized likelihood method. It follows from (23) that the penalized log- likelihood function is
ℓ
λ(θ) = ℓ(θ)
−1 2
∑P p=0
λ
αpα
′pG
αα
p−1 2
∑n i=1
λ
bb
′iG
bb
i, (24) where ℓ(θ) is the log-likelihood function, θ is the vector for θ = (α
′, b
′1, . . . , b
′n, (vech ˜ ∆)
′), ∆ ˜ = diag(∆, . . . , ∆), λ
α0,
· · ·, λ
αP, λ
b(> 0) are smoothing parameters which con- trol the degree of the penalty, and G
αand G
bare positive semi-definite matrices. The estimated ME-HVCM depends on predefined smoothing parameters λ
α0,
· · ·, λ
αP, λ
b, the num- ber of basis functions K
0,
· · ·, K
Pand L, and the total number of historical varying coefficients P . In order to choose the val- ues of these tunning parameters appropriately, we present the AIC and BIC:
AIC =
−2ℓ(θ) + 2edf ,
cBIC =
−2ℓ(θ) +edf
clog n. (25) Here, edf
cis the effective degrees of freedom for ME-HVCM given by edf
c=
∑ni=1
tr
{H
i+ Z
i∆ ˆ
bZ
′iV ˆ
−i1(I
Ji−H
i)
}, where H
i= X
i(∑n
i=1
X
′iV ˆ
−i1X
i+ ˜ G
α)−1
X
′iV ˆ
−i1and ˆ V
i= Z
i∆Z ˆ
′i+ ˆ σ
2εI
Ji.
V. Application Functional Mixed Model to Lon- gitudinal Gene Expression Data
We apply our proposed modeling procedures for the FMM to longitudinal gene expression data (Spellman et al. 1998). They identified 800 genes as cell cycle related genes from all 6,178 genes in the yeast genome measured by cDNA microarrays, and also grouped these genes into five classes, G1, G2, M, M/G1 and S, by considering peaks in the expression patterns.
We focused on the repeatedly measurement “α factor-based synchronization data” at 7 min intervals for 119 mins with a maximum total of 18 time-points in our analysis. Further- more, we selected 791 genes which have two and more time- points, and in consequence, the number of genes in each class were N
G1= 297, N
G2= 119, N
M= 193, N
M/G1= 113 and N
S= 69.
Table 1 shows the comparison of mean squared errors for repeated observations among our proposed and conventional model selection criteria, such as the marginal AIC, BIC, and generalized cross validation. This result indicates that our pro- posed mGIC and mGBIC provide better fitting performance than conventional marginal model selection criteria. The raw data, predicted curves with functional random effects for any measurements, and estimated population mean function with 95% confidence interval for the class G1 are shown in Figure 1, where the tuning parameters selected by the mGIC are used.
These results show that the predicted curves are well fitted for any measurements, and suggest that unknown population mean functions are also well estimated.
3
Table 1: Comparisons of mean squared errors (standard deviation) for repeated observations among model selection criteria.
Class mGIC mGBIC mAIC mBIC mGCV
G1 [ × 10
−2( × 10
−2)] 1.81(1.54) 1.81(1.55) 2.69(3.12) 2.69(3.12) 2.69(3.12) G2 [ × 10
−2( × 10
−2)] 1.76(1.44) 1.76(1.57) 2.56(2.66) 2.56(2.66) 2.52(2.63) M [ × 10
−2( × 10
−2)] 1.93(1.48) 1.93(1.48) 2.63(2.21) 2.63(2.21) 2.63(2.21) M/G1 [ × 10
−2( × 10
−2)] 2.04(1.44) 2.11(1.46) 3.16(2.71) 3.19(2.70) 3.16(2.71) S [ × 10
−2( × 10
−2)] 4.21(3.99) 4.45(3.93) 5.12(4.47) 5.24(4.52) 4.66(4.01)
0 20 40 60 80 100 120
-3-2-10123
G1
Time
Expression Level
0 20 40 60 80 100 120
-3-2-10123
G1
Time
Expression Level
0 20 40 60 80 100 120
-3-2-10123
G1
Time
Expression Level