ABSTRACT
We propose group‐specific nonlinear mixed effects models for longitudinal data whose indexing time is right‐aligned to specific events, modeled as the time preceding those events. These models are motivated by dementia cohort studies that examine nonlinear trajectories of longitudinal cognitive test scores in late life, with separate trajectories for individuals with and without dementia in the period leading up to death. The model framework includes three sub‐models: one for group membership, which represents dementia status in our motivating data, one for time to the indexing events, and one for the longitudinal outcome. Group membership is modeled using logistic regression or random forest. Conditional on group memberships, time to indexing events is modeled using accelerated failure time (AFT) models. Given both group membership and time to the indexing event, longitudinal data are modeled using nonlinear mixed effects models. By modeling and integrating out the time to indexing events, individuals whose indexing events have not been observed can be incorporated into the models. Stochastic approximation expectation maximization (SAEM) algorithms are adopted to maximize the likelihood for parameter estimation. In addition to modeling group‐specific longitudinal trajectories aligned to the index time, the proposed models can also be used to predict group memberships or improve the prediction of time to the indexing events. Simulation studies are conducted to evaluate finite sample performance. An application to data from a dementia study is used for illustration.
Keywords: longitudinal, mixed effects, nonlinear, prediction, survival
1. Introduction
One fundamental challenge in modeling longitudinal data from observational cohort studies is the alignment of time. In randomized clinical trials, longitudinal measurements are typically anchored to a clearly defined starting point, such as randomization or the initiation of an intervention. This consistent alignment facilitates straightforward estimations of the longitudinal trajectories with associated factors and meaningful comparisons across groups of individuals. In contrast, observational cohort studies enroll participants at varying and sometimes arbitrary time points in the life course and thus lack a uniformly defined starting point. In these studies, time is frequently indexed using chronological age, which assumes that longitudinal outcomes depend primarily on age and that individuals are comparable at the same ages. However, this assumption may be inappropriate when the processes of interest are more closely tied to specific events than to age itself. Realigning time relative to a meaningful indexing event, such as disease onset or death, provides an alternative framework that can better capture the underlying dynamics of change in the time period before or after the index event. This approach is particularly important when studying late‐life processes, where trajectories may accelerate or shift in proximity to the event. By aligning individuals according to a biological or clinical milestone, rather than chronological age, researchers can reduce heterogeneity, improve interpretability, and more accurately characterize patterns of change associated with the event of interest. In many observational cohorts, however, some participants have not yet experienced the indexing event by the end of follow‐up. Excluding these participants will limit the inference scope to subjects with complete data only, whereas including them requires modeling approaches that account for their unobserved event times while fully utilizing their available longitudinal measurements.
The second challenge in modeling longitudinal data from cohort studies arises from heterogeneity among individuals. In many studies, different subgroups of individuals may follow distinct longitudinal trajectories. For example, in dementia research, individuals who develop dementia often exhibit greater cognitive decline than those who remain cognitively normal. When disease status is observed for all participants, it can be incorporated into the models, such as group‐based trajectory modeling [1] and growth mixture modeling [2]. However, in some cohort studies, disease statuses are determined through extensive cognitive testing and clinical evaluations, thus may remain undetermined for some individuals, which creates additional complexity when modeling group‐specific trajectories. The third challenge is accommodating nonlinear longitudinal trajectories. Biological processes and disease progression are rarely linear, and flexible models are often required to capture nonlinear patterns over time. However, incorporating nonlinear trajectories can introduce substantial computational complexity and methodological challenges.
The primary contribution of our proposed method is a modeling framework that addresses all three challenges by incorporating group‐specific, nonlinear models with time realignment, while accommodating participants whose time‐to‐event or group membership is unobserved. Our motivation for developing a new modeling framework is driven by longitudinal data from dementia studies. In many large epidemiologic cohort studies focused on dementia in the elderly, cognitive scores are typically collected at regular time intervals. A particular research objective is to compare the cognitive trajectories between individuals diagnosed with dementia and those who remain cognitively normal in late life in the period leading to death. Importantly, cognitive decline is not exclusive to dementia; cognitively normal individuals often experience measurable decline in the years preceding death. This raises a key question: do individuals with dementia exhibit a steeper or different pattern of decline during this terminal period compared to those without dementia? Addressing this question requires models that can accurately capture changes in cognition as a function of time‐to‐death, rather than simply chronological age. Understanding these distinct patterns of late‐life cognitive decline is critical. For example, linking trajectories of cognitive change to underlying neuropathology will offer a unique opportunity to disentangle disease‐specific processes from normal aging and terminal decline.
In our motivating data, the longitudinal measurements are cognitive scores, the indexing event is death, and the group membership is whether an individual was diagnosed with dementia before death. Figure 1 displays longitudinal cognitive scores from African American participants in the Indianapolis‐Ibadan Dementia Project, using three different methods of time alignment [4]. Figure 1a shows data from individuals diagnosed with dementia by the time of death, while Figure 1b shows data from those without a dementia diagnosis at death. Both the raw data and the fitted mean functions, based on sigmoidal functions as described in Capuano and Wagner [3], reveal differential longitudinal patterns between the two groups when scores are aligned by time‐to‐death. In contrast, when the cognitive scores are aligned by time since baseline or by chronological age, as shown in Figure 1c–f, these patterns are much less discernible by visual examination.
FIGURE 1.

Longitudinal cognitive scores for individuals who died with and without a dementia diagnosis. The top row figures are aligned at death as years until death, the middle row aligned at enrollment as years since baseline, and the bottom row aligned by the chronological age. The thin gray lines are the raw data while the thick black lines are the estimated mean functions. The top row means were estimated using the models of Capuano and Wagner [3], while the middle row and bottom row means were estimated by monotonic spline smoothing while ignoring the within‐individual correlations.
In the literature, longitudinal data from the aging processes have been widely studied. Most approaches were based on left‐aligned time to certain events such as time since enrollment or chronological age. For example, one approach was to first extract the longitudinal characteristics from a time period following enrollment, and then use the extracted characteristics to predict dementia in subsequent time periods [5, 6, 7]. A second approach was to use longitudinal markers as time‐dependent risk factors [8, 9, 10]. A third approach was joint modeling of longitudinal data with time‐to‐event outcomes [11, 12] or continuous cognitive measures [13]. A fourth approach was to use the longitudinal data to define a biological age, based on which survival models were developed to predict dementia [14, 15]. Dementia onset time or death time had also been adopted to realign the longitudinal data [3, 6, 16, 17, 18, 19, 20]. However, these are only applicable to individuals with observed indexing events but not to those whose events have not been observed.
In this article, we propose a class of group‐specific nonlinear mixed effects models with realignment of time that are capable of dealing with all three challenges we described above. The first model component is the longitudinal model conditional on both the group memberships and the indexing event time. To handle the nonlinear trajectories that are commonly encountered, we propose to adopt parametric nonlinear mixed effects models like in Capuano and Wagner [3]. These models offer sufficient flexibility while utilizing a small number of parameters. The second component is a model for group membership, which may depend on covariates. The third component is a survival model for the time to the indexing event, where we adopt accelerated failure time (AFT) models. By jointly modeling time to the indexing event and eventually integrating it out, we will be able to incorporate individuals whose indexing events have not been observed. Parameter estimation and inference are conducted using a likelihood‐based approach. Stochastic approximation expectation maximization (SAEM) algorithms are adopted to maximize the likelihood [21, 22]. Hypothesis testing is performed, and confidence intervals are constructed based on the maximum likelihood estimates of the parameters and their asymptotic variances. Model selection is based on testing additional parameters for nested models and the Akaike information criterion (AIC) for non‐nested models.
The remainder of the article is organized as follows. Section 2 introduces the proposed models. Section 3 presents a simulation study. Section 4 provides results from the motivating data example shown in Figure 1. Discussions follow in Section 5.
2. The Proposed Method
2.1. The Proposed Model
2.1.1. The Overall Model
For the th subject, let be a column vector of baseline covariates, indicate the group membership for groups, be the time to the indexing event such as death, denote the subject's time of the th visit since baseline, be the longitudinally observed data at . Additionally, let column vectors be defined by listing their elements, for example, for data points on . We right‐align the time to the indexing time as and . The joint distribution of can be decomposed as a sequence of conditional distributions,
| (1) |
where is a probability density or probability mass function, is the parameter vector, with components for the group membership, for the indexing event time, and for the longitudinal data sub‐models. Further, let , , and be subsets of for the group membership, the indexing event time, and the longitudinal sub‐models, respectively.
Remark 1
Group memberships may be determined prior to longitudinal data collection, such as categorizing subjects based on baseline smoking status as smokers or nonsmokers. They may also be defined later in the study, as with dementia diagnosis in many aging cohorts. In some cases, group membership for some subjects may remain unknown by the end of the study.
Remark 2
The group‐specific trajectories are right‐aligned to their indexing events, which must be the same type of event to be experienced by all subjects. Our model setup requires that the group membership is determined independently of the indexing event. For example, if death is the indexing event, group memberships may be whether a subject develops a certain condition before death, such as lung cancer or dementia. In our model, the grouping variable indicates whether a condition occurs, not when it occurs. In addition, our framework assumes that, given a sufficiently long follow‐up period, all participants would eventually experience the indexing event. Consequently, the indexing event cannot be the onset of a disease such as dementia or lung cancer in the general population, because not all individuals in general population would ultimately develop the disease.
2.1.2. Models for the Group Membership
The model for the membership indicator is defined as
| (2) |
where is the probability of the th subject belonging to the th group given the baseline covariates and the group membership parameter . These probabilities may be set as fixed values such as the population group proportions or at for equal group membership proportions. Alternatively, they may be estimated using baseline covariates. Parametric models such as logistic regressions or machine learning models can be adopted. For example, when for two groups, a logit link can be used as
| (3) |
2.1.3. Models for the Indexing Event Time
AFT models are adopted to model the time to the indexing event [23]. Instead of directly specifying , the natural logarithm of the survival time is modeled as an additive model
| (4) |
where is the group‐specific regression parameter vector including an intercept, is the variance scale parameter, and is the error term. Weibull, gamma, log‐normal, and log‐logistic are some commonly used distributions for AFT models. Denote the survival parameters as the collection .
Remark 3
Although Cox proportional hazards (PH) models are more widely used than AFT models, we adopt AFT models because they are more straightforward to sample from. In contrast, using Cox PH models requires estimation of the baseline hazard function in order to sample survival time from the estimated model [24]. While the nonparametric baseline hazard function in Cox models provides greater flexibility compared to fully parametric approaches, it is generally more difficult to estimate in finite samples and tends to converge more slowly in large sample settings.
2.1.4. Models for the Longitudinal Data
For the longitudinal data , we assume the distributions to be multivariate normal. Let , where is the parameter vector for the th group, the longitudinal models are defined by the following group‐specific additive models:
| (5) |
with independent and identically distributed error terms distributed as . The group mean functions 's are nonlinear functions with a known function form but unknown parameter vectors 's. To account for between‐subject variabilities, mixed effects are adopted for 's. Interested readers are referred to Davidian and Giltinan (1995) [25] for a general treatment of nonlinear mixed effects models.
One particular example of nonlinear mixed effects models is the sigmoidal mixed models [3], which we will use in the simulation and the real data example. The mean function in Equation (5) is modeled as
| (6) |
where the initial value , the last level at the indexing event , the time of half‐decline , and the Hill slope parameter may depend on the covariate vector as follows
| (7) |
| (8) |
| (9) |
| (10) |
where , , and are subsets of which can reduce to a column of ones for an intercept only. Subject‐specific random effects are mutually independently distributed as and . Parameter vector is the collection of these group‐specific parameters as .
Consequently, the longitudinal data vector conditional on follow a multivariate normal distribution
| (11) |
| (12) |
| (13) |
| (14) |
| (15) |
| (16) |
Remark 4
Following Capuano and Wagner's [3] approach, we also only allow fixed effects in and . When the time to the indexing event has not been observed, the mapped time 's are consequently random variables. Modeling either or as mixed effects will lead to two random variables with nonlinear relationships in the denominator in Equation (6). This will not only make the integrations in the next section analytically intractable, but also make the Monte Carlo approximations more challenging.
Remark 5
Random effects and are assumed independent. This represents a simplification of the more general case where the two random effects may be correlated, as in Capuano and Wagner [3]. We adopt this independence to ameliorate potential identifiability issues, given that the overall modeling framework is already more complex than traditional models that consider only longitudinal outcomes.
Remark 6
The Hill slope parameter, , quantifies the steepness of the sigmoidal functions. Larger Hill slope values indicate more rapid changes, whereas smaller values indicate more gradual changes over time. It is of practical interest to investigate whether the Hill slopes are associated with modifiable factors, such as education, alcohol drinking, smoking, and body mass index (BMI), and subsequently, how to modify these factors to decelerate deterioration or accelerate recoveries along time.
2.2. Parameter Estimation and Inference
2.2.1. Parameter Estimation
Denote as the observed data, the subset of subjects with fully observed data, the subset with observed group memberships and longitudinal data but not the indexing events, the subset with observed indexing events and longitudinal data but not the group memberships, and the subset with observed longitudinal data but not the group memberships nor the indexing events. The likelihood function for the parameter vector is
| (17) |
The simplest situation is that all the subjects have fully observed data. The likelihood can be decomposed as
| (18) |
If we further assume that , , and have no shared components, the three sub‐models can be fitted separately by maximizing each one's likelihood. In this situation, the logistic model likelihood can be maximized using standard numeric methods such as the Fisher scoring method as in SAS PROC LOGISTIC (SAS Institute, Cary, NC, USA). The survival parameter can be estimated using standard software for AFT models such as SAS PROC LIFEREG using the ridge‐stabilized Newton‐Raphson algorithm. The longitudinal model likelihood can be maximized by adaptive Gaussian quadrature as in SAS PROC NLMIXED.
In the more general cases where the group memberships and the indexing events are not both completely observed and , , and may have shared components, expectation maximization (EM) algorithms can be adopted to maximize the joint likelihood. Let be the longitudinal data from all the subjects, be the random effects of the longitudinal models, the indexing event time, be the group memberships, be the covariates, and the working parameter values, the Q function is
| (19) |
Since the Q function is analytically intractable in general for the proposed models, we adopt the SAEM algorithms to maximize the likelihood [21, 22]. Briefly, the Q function in the E step is approximated by random draws at step from as
| (20) |
where 's are step sizes satisfying (i) , (ii) , and (iii) . The joint draws of can be obtained sequently as follows.
-
a.
Draw from .
-
b.
For each , draw from .
-
c.
For each , draw from .
After the SAEM algorithms converge, in addition to the maximum likelihood estimates (MLEs) , their asymptotic variances are also available by using Louis formula [26].
Remark 7
For model identifiability considerations, we require that a subset of subjects should have both indexing event time and group memberships available, though potential relaxations are possible.
2.2.2. Hypothesis Testing, Confidence Intervals, and Model Selection
Hypothesis testing can be performed based on the likelihood estimates using the Wald test, score test, or likelihood ratio test. Wald‐type confidence intervals can be constructed using MLEs and their asymptotic variances. Model selections for nested models can be performed by testing the corresponding parameters, while for non‐nested models by information criteria such as AIC.
2.3. Applications of the Proposed Method
2.3.1. Group Membership Classification
In addition to estimating the group‐specific trajectories and studying covariate effects on these trajectories, another application of the proposed method is the classification of group membership based on the longitudinal trajectories for subjects whose group memberships are unknown. For subjects with data on the longitudinal profiles and the time to the indexing events but not their group memberships, their group membership probabilities can be straightforwardly updated using Bayes' rule. We will refer to these subjects as target subjects hereafter. For a target subject, let be the baseline covariate vector, be the time to the indexing event, and be the longitudinal data vector from this target subject with the original time vector and the transformed time vector . The probability of the target subject belonging to the th group is
| (21) |
where and are the MLE of the parameter vectors.
Remark 8
One such situation is that the group membership identifications are either expensive or destructive or both, such that only a limited number of subjects have complete data on the longitudinal profiles, the time to the indexing events, and the group memberships.
2.3.2. Group Membership Predictions
A more complex application of the proposed models is to predict the group membership of a subject whose indexing event has not occurred, for example, whether an alive subject with normal cognitive functions will develop dementia before death. Suppose we have groups of subjects whose memberships and indexing events are both observed, based on which the group‐specific trajectories can be estimated. For the target subject, let be the baseline covariate vector and be the longitudinal data vector from this target subject with the original time vector and the transformed time vector . The group memberships will be predicted by comparing the alignments of to the group‐specific trajectories and combining this information with the prior probabilities before considering the longitudinal data.
The likelihood of the target subject conditional on belonging to the th group is
| (22) |
which is defined on the transformed time domain as detailed in Section 2.1.4. The group membership predictions are then calculated using Equation (21). The integrations in Equation (22) are analytically intractable, which we adopt Monte Carlo integration to approximate by drawing indexing event time from the estimated survival distributions indexed by and plugging in the estimated longitudinal parameters , as listed in the follows.
-
a.
Draw indexing event time using and MLE for . Keep copies that are bigger than the censor time.
-
b.For each of indexing event time draw,
-
b.1.first calculate ,
-
b.2.then calculate for .
-
b.1.
-
c.Average the copies to obtain
(23)
The estimated marginal likelihood for are then plugged into Equation (21) to calculate the prediction probabilities.
2.3.3. Modifications of Indexing Event Time Predictions
Another application is to use the longitudinal profiles to modify the indexing event time predictions. Consider the situations where the group memberships are known at the beginning stage of the longitudinal data and we have groups of subjects with complete data. Consequently, there is no need to model the group membership probabilities, and the AFT models and the nonlinear mixed effects models can be estimated from the observed data. Suppose that we have a target subject with longitudinal data whose indexing event has not occurred. Similarly, let the baseline covariate vector be and the longitudinal data be . Before considering the longitudinal profiles, the indexing event time is distributed as according to
| (24) |
by plugging in the MLE . The indexing event time prediction is based on this distribution, which can be further updated by including the information in the longitudinal data as
| (25) |
The evaluation of needs integration over , which is analytically intractable. Instead, the distribution in Equation (25) can be approximated by reweighting Monte Carlo draws as the follows.
-
a.
Draw the indexing event time using and MLE . Keep copies that are bigger than the censor time.
-
b.For each event time draw, calculate the raw weight as
-
c.Normalize the weight as
-
d.
The weighted sample is an approximation to .
3. Simulation
3.1. General Setup
Simulation studies are conducted to evaluate the finite sample performance of the proposed method in situations similar to the real data example in Figure 1. The survival and longitudinal parameters are selected to mimic the real data example with some variations, especially that the group proportions are set at . Weibull distribution is adopted for the survival models with the mean in Equation (4), which is also the natural logarithm of the scale parameter, as
| (26) |
where is the indicator function. Baseline age is defined as the age at enrollment and is generated from . Female, dementia, overweight, smoking, depression,hypertension, stroke, and diabetes are generated as Bernoulli random variables with probabilities 0.50, 0.50, 0.60, 0.58, 0.12, 0.70, 0.16, and 0.26, respectively. Years of education is generated as a discrete random number on integers 0–16 with probabilities 0.0017, 0.0023, 0.0035, 0.0250, 0.0285, 0.0163, 0.0314, 0.0483, 0.1651, 0.0895, 0.1029, 0.1151, 0.2070, 0.0849, 0.0250, 0.0343, and 0.0192, respectively. For the shape parameter, which is the reciprocal of the variance scale parameter , both for larger variance and for smaller variances are adopted.
For the longitudinal parameters in Equation (6), let, with and for both and for the initial values. The last levels at death are with and for the dementia group and with and for the normal group. The times of half decline are years. The Hill slope parameters are modeled both as with and without the effects of years of education. When there are no years of education effects, we have and . When there are years of education effects, the effects are modeled as , indicating slower decline for more education years. The maximal difference in the Hill slope parameters is 0.2240 between a person with zero year of education and another with 16 years of education, which we consider as a moderate effect size. The differences of the parameters between the dementia group and the normal group are in the last levels and the Hill slope parameters, such that the dementia group declines at a faster rate to a lower level.
3.2. Parameter Estimate
We first evaluate the longitudinal parameter estimate using Matlab function nlmefitsa for Group 1 without the education effects, that is, , , , , , and . By assuming known group memberships and survival time, we generate 10 observations per subject over time for , 200 and 500 subjects with error variance . The biases and coverage probabilities of 95% confidence intervals from 100 replicates are displayed in Table 1. Overall, the biases are small which suggests that the longitudinal parameters can be reliably estimated when per group, though more subjects may be needed to estimate the variance parameters. The coverage probabilities are less than optimal, suggesting that the corresponding standard error estimates from Matlab function nlmefitsa may need to be adjusted for better coverage.
TABLE 1.
Biases and coverage probabilities of 95% confidence intervals for Group 1 longitudinal parameters.
| Bias | Coverage probability | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Parameter |
|
|
|
|
|
|
||||||
|
|
2.73 | 3.33 | 3.17 | 1.00 | 0.99 | 0.86 | ||||||
|
|
−1.58 | −1.59 | −1.41 | 0.92 | 0.88 | 0.65 | ||||||
|
|
−0.48 | −0.64 | −0.63 | 0.98 | 0.98 | 0.98 | ||||||
|
|
−0.06 | −0.06 | −0.06 | 0.87 | 0.80 | 0.52 | ||||||
|
|
−1.11 | −0.15 | −0.07 | |||||||||
|
|
−3.25 | 0.10 | −1.83 | |||||||||
We further evaluate the convergence and biases of the full SAEM approach with subjects per group having completed data. Another subjects per group with both missing group memberships and missing indexing event time are generated by introducing uniform missing after Year 3 of follow up. The error variances of the longitudinal data are set to and half decline time years. The full SAEM algorithm is initialized using parameter estimates from the subjects with complete data. Following Kuhn and Lavielle 2005's suggestion [22], we let the step sizes be for and for . Figure 2 shows the trace plots of selected parameters from one simulation, which suggest that the survival parameter estimates converge after a few SAEM iterations, while the longitudinal parameter estimates require more SAEM iterations to converge. The biases from 100 replicates are summarized in Table 2. It shows that the survival parameter estimates have small biases. The longitudinal parameter estimates are in general more biased than those in Table 1, even with more longitudinal data included. The coverage probabilities are all below 25% hence not displayed.
FIGURE 2.

Simulation: Trace plots of selected parameters in a full SAEM algorithm. In each sub‐figure, the solid line is the trace plot of the parameter estimate, while the dotted line is the true parameter value.
TABLE 2.
Biases of a full SAEM algorithm with missing group memberships and survival time.
| Survival parameters | Longitudinal parameters | ||||||
|---|---|---|---|---|---|---|---|
| Parameter | True value | Bias | Coverage | Parameter | True value | Bias | |
| Group 1 | |||||||
| Intercept | 3.9642 | −0.0011 | 0.78 |
|
90 | −6.3083 | |
| Dementia | 0.0596 | −0.0121 | 0.78 |
|
30 | 2.8525 | |
| Age | −0.0249 | 0.0003 | 0.76 |
|
−4 | 0.5015 | |
| Female | 0.1700 | −0.0002 | 0.75 |
|
0.8 | 0.1781 | |
| Overweight | 0.1784 | −0.0050 | 0.74 |
|
2 | 0.5775 | |
| Years of Education | 0.0074 | −0.0014 | 0.65 |
|
90 | 2.5719 | |
| Smoking | −0.0460 | 0.0102 | 0.64 | Group 2 | |||
| Depression | −0.1363 | 0.0091 | 0.78 |
|
90 | −9.1730 | |
| Hypertension | −0.0395 | 0.0037 | 0.69 |
|
50 | 9.3258 | |
| Stroke | −0.1042 | 0.0066 | 0.75 |
|
−4 | 0.0315 | |
| Diabetes | −0.1052 | 0.0110 | 0.75 |
|
0.3 | 0.2805 | |
| Weibull shape | 10 | 0.6429 | 0.64 |
|
2 | 9.8054 | |
|
|
90 | −18.5923 | |||||
Previous studies of nonlinear mixed effects models have shown that standard errors based on the asymptotic Fisher information matrix can underestimate the finite‐sample uncertainty of parameter estimates, particularly for variance components and when the data are relatively far from the asymptotic regime [27, 28]. These findings provide an important context for the less‐than‐nominal coverage observed in our simulations and suggest that the conventional asymptotic standard errors associated with the SAEM estimates may not fully reflect finite‐sample uncertainty in some settings. Bootstrap‐based inference is therefore a potentially useful alternative for obtaining more robust measures of parameter uncertainty [28, 29]. Because the objective of our subsequent analyses is prediction rather than inference on the population parameters themselves, we did not undertake an additional set of bootstrap simulations in this study.
In the following simulations of group membership predictions and modifications of indexing event time predictions and in the real data example in the next section, we only use the complete data to estimate the parameters separately for the three sub‐models. This is to mimic a common practice where complete data have been observed from a collection of subjects, while the predictions of either group membership or time‐to‐indexing‐event are needed for subjects that are still under study. Additionally, including target subjects of prediction in parameter estimation may lead to model overfitting to the target subjects.
3.3. Group Membership Predictions
For each combination of Weibull shape parameters 3 and 10 and with or without effects of years of education, we generate subjects per group for training, and target subjects per group for dementia prediction; hence there are scenarios. The simulation data are then generated according to the following steps.
The survival time is generated according to the Weibull distributions in the unit of years for each subject.
With a generated survival time, the observation time vector is generated as annual visits with random deviations by years. The mapped time vector is thus .
The mean vector of the longitudinal data is generated according the longitudinal parameters.
The longitudinal data are generated by adding noises to the mean vectors with independent normal noises from with five different variation levels as .
The target subjects' data are censored uniformly on .
For each of these settings, the training data are used to estimate the survival parameters with the correct models. The training data are then used to estimate the longitudinal parameters with both the correct and wrong models with respect to the effects of years of education. With the estimated survival and longitudinal parameters, the prediction probabilities are calculated for the target subjects with survival time draws and prior group membership probabilities . Consequently, there are sets of prediction probabilities.
Figure 3 displays the boxplots overlaid with swarm charts of the prediction probabilities of one setting with Weibull shape parameter 10, correct longitudinal model without the effects of years of education, per group training subjects, and longitudinal error variance . The figure shows that more than 50% of the subjects have correct prediction probabilities and more than three‐quarters subjects have correct prediction probabilities . Under the receiver operating characteristic (ROC) analysis, the area under the ROC curve (AUC) is 0.9397.
FIGURE 3.

Simulation: Prediction probabilities of belonging to the true groups for Weibull shape parameter 10, correct longitudinal model without the effects of years of education, per group training subjects, and longitudinal error variance .
The AUC values from the 120 sets are displayed in Figure 4. Overall, the proposed method works well in this simulation setting with all the AUCs . Under the same setting except the longitudinal error variances, AUCs are larger for smaller variances. Under the same setting except the Weibull shape parameters, AUCs are larger for shape parameter 10 than for 3. The AUCs under are higher than AUCs under but the differences between and are minimal, suggesting that per group is already sufficient for this simulation setting. The model performance is also robust against model misspecifications under moderate effect sizes on the Hill slope parameters, as showed in the right column of Figure 4.
FIGURE 4.

Simulation: AUC values. The red solid lines are for Weibull shape parameter 10 while the black dotted lines for Weibull shape parameter 3. Lines with plus signs are for training subjects per group, with circles for , and with diamonds for . The upper row is for the true models without and the lower row for the true models with the effects of years of education. The left column is for the working models being correct while the right column for the working models being misspecified with respect to whether the effects of years of education are included on the Hill slope parameters.
Remark 9
The estimated parameters and random effects can be used to predict future longitudinal trajectories. We calculated the mean squared prediction error (MSPE) and the median absolute prediction error (MAPE) for each of the 1000 subjects from their censored time to the last time points for the same setting as in Figure 3 with Weibull shape parameter 10, per group training subjects, no effects of years of education, and longitudinal error = 25. The medians (1st, 3rd quartiles) of these prediction errors are 16.19 (3.46, 55.85) for MSPE and 3.78 (1.77, 6.99) for MAPE for the group with dementia, and 12.74 (2.52, 61.64) for MSPE and 3.47 (1.51, 7.56) for MAPE for the group without dementia.
Another simulation is performed where the data generating functions are different from Equation (6) while the working longitudinal model is still Equation (6). Same settings as previous are used, except that the following three functions are adopted to generate the longitudinal data.
- The reverse Gompertz function
where , , , , , , = 30 and = 50. - The hyperbolic tangent function
where the hyperbolic tangent function , , , , , and . - The power function
where , , , , , .
The same group membership prediction steps as above are adopted. For a Weibull shape parameter of 10 and subjects per group for training, the AUC values for the longitudinal error variances are 0.9805, 0.9707, 0.9671, 0.9562, and 0.9381 for the reverse Gompertz function, 0.9804, 0.9684, 0.9584,0.9421, and 0.9204 for the hyperbolic tangent function, and 0.9873, 0.9927, 0.9911, 0.9826, and 0.9681 for the power function, respectively. AUC values for other settings are similar.
3.4. Modifications of Indexing Event Time Predictions
The same setting as the previous section is adopted, except that the group memberships can be any classifications that are of scientific interest instead of being limited to dementia onset. Additionally, the group memberships are assumed to be known while the time to the indexing events, referred as the survival time, is to be predicted for the target subjects. Based on the estimated Weibull AFT model parameters, the mean survival time is calculate using left‐truncated Weibull distribution for each target subject with the corresponding censor time as the threshold [30]. The squared difference of this mean survival time from the true survival time is calculated as the prediction squared error (PSE). The median values of PSEs are summarized in Table 3 for each Weibull shape parameter and the number of training sample size per group. It shows that the PSEs are larger for larger Weibull variance corresponding to shape parameter 3 than smaller Weibull variance corresponding to shape parameter 10. The differences among different training sample sizes are relatively small, suggesting that per group is sufficient for the working AFT models with 11 parameters.
TABLE 3.
Median prediction squared errors from the baseline Weibull AFT models for the target subjects.
| Weibull | training per group | |||
|---|---|---|---|---|
| Group | Shape | 100 | 200 | 500 |
| Group 1 | 10 | 0.4916 | 0.4616 | 0.4830 |
| 3 | 4.4452 | 4.4907 | 4.1710 | |
| Group 2 | 10 | 0.4882 | 0.5189 | 0.5087 |
| 3 | 3.6435 | 3.7404 | 3.7142 | |
The mean survival time predictions are then modified by incorporating the longitudinal data information. We first draw 1000 random samples that are bigger than the corresponding censor time for each subject. The weights of the samples are formulated by the probability density functions of the longitudinal data for each draw. The modified mean survival time is calculated as weighted averages. Their squared differences from the true survival time are also summarized by their median PSEs. To compare the survival time predictions before and after modifications, we take the ratios as after over before, for example, a ratio of 0.60 indicating a 40% reduction in median PSE.
The ratios under correctly specified longitudinal models with respect to the covariates effects are displayed in Figure 5. The median PSE reductions are around 20% to 80%. Under otherwise the same settings, the reductions in median PSEs are smaller for larger longitudinal error variances because of less information. The reductions for Weibull shape 3 are more than for Weibull shape 10, suggesting larger Weibull variances have more room to be improved. The differences among different training sample are relatively small, suggesting per group is a good sample size for these settings. The reductions for Group 1 is more than for Group 2, especially for Weibull shape parameter 3. This is because that Group 1 longitudinal trajectories have more curvatures, which in turn provide more information about the indexing events. The results for incorrectly specified longitudinal models are similar with comparable PSE reductions hence not displayed, which suggests robustness of the method, except a much worse case for Group 1, Weibull shape 10, , without covariate effects, and . This suggests that when the longitudinal error variance is small, it is possible for the proposed method to be sensitive to model misspecifications.
FIGURE 5.

Simulation: Ratios of median PSEs as after over before incorporating the longitudinal data, whose models are correctly specified. The red solid lines are for Weibull shape parameter 10 while the black dotted lines are for shape parameter 3. Lines with plus signs are for training subjects per group, with circles for , and with diamonds for . The upper row is for the true models without and the lower row for the true models with the effects of years of education. The left column is for Group 1 while the right column for Group 2.
4. A Real Data Example
In this section, a real data example based on the Indianapolis‐Ibadan Dementia Project (IIDP) is used to illustrate how the proposed method can be used to predict group memberships in real world by right‐aligning partially observed longitudinal data to indexing events that have not happened. According to the study's website, IIDP “is a prospective population‐based comparative epidemiological study of the prevalence, incidence rates and risk factors for Alzheimer's disease and other age associated dementias.” Since its commencement in 1991, six waves of subjects, who are 65 years or older African Americans, have been enrolled from Indianpolis, Indiana, USA and Yoruba, Ibadan, Nigeria. Study subjects underwent regularly cognitive assessments and clinical evaluations for the diagnosis of dementia approximately every two or three years. Currently, IIDP has 7449 subjects with normal cognitive function, 302 subjects with cognitive impairments, and 778 subjects with dementia [4, 31].
We selected a subset of the IIDP subjects as our illustration data example from the Indianapolis cohort, enrolled in 1992 and 2001 with follow up data up to 17 years. The Community Screening Interview for Dementia (CSID) were obtained at baseline and year 3, 6, 9, 12, 15, and 17 after baseline. CSID has been widely used as a screening tool for dementia that evaluates multiple cognitive domains, including language, attention, memory, orientation, praxis, comprehension, and motor response. For this analysis, we used the CSID total score which incorporates all cognitive items and ranges from 0 to 80 [32]. We further required that the subjects died during the study follow‐up and had at least three longitudinal CSID total scores, which led to 433 subjects in total. Consequently, all the true indexing event time 's and the group memberships were known, which were used to quantify the prediction performance of the proposed method and comparison methods. The baseline age range was 65 to 99 years with the median age as 75; 67% (291/433) were female; and 37% (161/433) were diagnosed with dementia before death. The numbers of CSID observations were 3 for , 4 for , 5 for , 6 for , and 7 for subjects.
To mimic real world situations, ten‐fold cross‐validation (CV) was used. For each fold, nine‐tenths of data were used as the training sets, while the other one‐tenth for prediction. For the target subjects of dementia prediction, their survival time and correspondingly their longitudinal data were uniformly censored over their longitudinal follow‐up durations. The group memberships and the time to the indexing events of these target subjects were thus assumed to be unknown. Their time to the indexing events was modeled and integrated out to predict whether they would develop dementia before death by the proposed method. The following methods were compared.
- The proposed method.
-
a.The group membership probabilities were both fixed as 0.50 and estimated from logistic regression models with covariates as baseline age, female, overweight, and years of education.
-
b.Weibull regression models were adopted for the survival models using dementia status, baseline age, female, overweight, years of education, smoking, depression, hypertension, stroke, and diabetes.
- c.
-
a.
- Baseline prediction models with predictors as baseline age, female, overweight, years of education, smoking, depression, hypertension, stroke, and diabetes.
-
a.Random forest with 200 trees.
-
b.Logistic models with two approaches.
-
i.The same full model for all the 10‐fold CV.
-
ii.For each CV fold, choose the best subset model.
-
i.
-
c.Fine and Gray [33]'s competing risk models [33].
-
i.Dementia and death were separately modeled as the event of interest, which generated two sets of modeling fitting.
-
ii.The cumulative incidence functions were calculated for the prediction sets for both dementia and death.
-
iii.The median time‐to‐event was calculated and the differences of the median dementia time and the median death time were used to calculate AUC.
-
i.
-
a.
- Lee et al. [5]'s “baseline and slope” model [5], which utilizes the longitudinal profiles after baseline.
-
a.Same baseline predictors as the baseline prediction models.
-
b.Fit linear mixed effects models with both fixed and random linear trends to the first three year CSID total score data, and obtain the best linear unbiased predictors (BLUPs) for the random slopes.
-
c.The random slope BLUPs and baseline CSID total scores were added as additional predictors.
-
a.
The logistic models and the random forest were adopted as baseline prediction models. Lee et al. [5]'s baseline and slop model was adopted to compare with longitudinal models. Fine and Gray [33]'s competing risk models were adopted to compare with predictions through modeling and predicting time‐to‐competing‐events.
Figure 6 shows the boxplots overlaid with swarm charts of the prediction probabilities with the prior group membership probabilities fixed at 0.50 and no years of education effects. It shows that although the results were not as good as those in the simulation, more than half of subjects from both groups had the correct prediction probabilities . Table 4 shows the AUC values from ROC analysis. For the proposed method, including effects of years of education lowered the AUC values, which suggests that years of education was not an important covariate and should not be included. Additionally, using the estimated prior group membership probabilities increased the AUC values by 0.0093 and 0.0112 for without and with the effects of years of education, respectively. The best AUC as 0.7215 was from the model without the effects of years of education but with estimated group membership probabilities, which was bigger than the AUCs from baseline prediction models by 0.0951–0.1522, and bigger than the AUC from Lee et al. [5]'s baseline and slope model by 0.0812. This approximately 10% increase in AUC values are in general considered as clinically meaningful.
FIGURE 6.

Data example: Prediction probabilities of belonging to the true groups by the proposed method with 10‐fold cross‐validation. Prior group membership probabilities were fixed at 0.50. Years of education were not included in the sigmoid mixed effects models.
TABLE 4.
AUC values of the data example by 10‐fold cross validation.
| Method | AUC |
|---|---|
| The proposed method | |
| Without effects of education Years | |
| Prior probabilities as 0.05 | 0.7122 |
| Prior probabilities by logistic regression | 0.7215 |
| With effects of education Years | |
| Prior probabilities as 0.05 | 0.7095 |
| Prior probabilities by logistic regression | 0.7207 |
| Baseline prediction models | |
| Logistic regressions | |
| Full model | 0.6188 |
| Best subset | 0.6264 |
| Random forest | 0.5693 |
| Fine and Gray's competing risk model | 0.6213 |
| Lee et al. [5]'s baseline and slope model | 0.6403 |
SAS 9.4 was used in simulation for generating the baseline and survival data, and fitting Weibull regression models using PROC LIFEREG and logistic regression models using PROC LOGISTIC for both simulation and data analysis. Matlab R2024b function nlmefitsa, which implements the SAEM algorithms, was used for the longitudinal parameter estimation; and functions TreeBagger and predict were used for the random forest predictions.
Remark 10
The goodness‐of‐fit of the Weibull regression models to the survival data can be quantified by Harrell's concordance index (C‐index), which was 64.49% to 66.12% for the 10‐fold CV. These numbers were not optimal but close to the C‐indexes based on Cox proportional hazard models using the same set of predictors, with their differences between −0.09% and 0.09%. The goodness‐of‐fit of the longitudinal models can be quantified by marginal and conditional R‐squared, which were 0.25 to 0.27 for marginal and 0.64–0.67 for conditional R‐squared for the 10‐fold CV, respectively.
5. Discussion
In this article, we have developed a class of group‐specific nonlinear mixed effects models with right‐aligned indexing time to certain indexing events. These models are joint models of the group membership, the time to the indexing events, and the longitudinal data. Our simulation studies demonstrated that the method generated reliable group membership predictions and considerable error reductions in survival time predictions when the survival model part and the longitudinal model part were both correctly specified. When there were mild model misspecifications in the longitudinal models, the proposed method still generated reasonable predictions. In the real data example, the proposed method outperformed baseline prediction models with respect to AUCs by around 10%.
In the simulation, we have set the group membership probabilities to fixed values, and in the data example, we found the incorporation of the baseline dementia probabilities as optional. Baseline dementia prediction models have been widely studied for decades. For example, logistic regressions and survival models are widely used statistical models in dementia prediction [34, 35, 36, 37], and many machine learning methods are also used in dementia predictions [38, 39]. These baseline prediction models if correctly included may further improve the prediction performance.
The adoption of parametric but nonlinear mean functions for the longitudinal data was mainly based on their nonlinear curvatures, according to which an individual longitudinal profile will be aligned to group‐average profiles. In the literature of dementia modeling, polynomial change point mixed effect models [40], parametric nonlinear mixed effects models [3], and nonparametric curves [41, 42] had been adopted, which had been compared and concluded to have similar performance [19]. When the longitudinal data have nonlinear curvatures and the indexing time needs to be modeled, linear mixed effects models and change‐points mixed effects models are likely not flexible enough for the curvatures. Nonparametric models such as functional mixed effect models [43], on the other hand, do not have scientifically interpretable parameters. However, simulations studies may be needed to compare their finite sample performance, which is beyond the scope of this article.
The proposed method has several limitations. The use of SAEM entails greater computational demands, particularly for complex nonlinear mixed effects models and large datasets. Furthermore, when accurate finite‐sample inference is important, bootstrap‐based standard error estimation may be preferable to asymptotic standard errors. Bootstrap inference, however, requires repeated model fitting and therefore adds to the computational burden. This represents an important practical consideration rather than a limitation specific to the proposed modeling framework, as the additional computational cost can be weighed against the potential benefit of more reliable uncertainty quantification.
In addition, the proposed model used static baseline survival models. With the accumulating longitudinal data, the survival model could be modified to incorporate the longitudinal data. The group membership prediction concerns only whether a subject will develop a certain condition without considering the onset time, which may also be of critical clinical interest. When the time‐to‐grouping event, such as time to dementia diagnosis, is of interest and is also used to index time for the longitudinal data, a different model framework may need to be explored, as not all subjects are expected to develop the condition. The simulation and data example excluded random effects that are in the denominators in the mean functions, which is likely an oversimplification of the longitudinal processes. Including random effects in all the model parameters may be capable of characterizing the longitudinal functions more accurately, but their computational burdens will also increase significantly. We did not consider model selections for either the survival models or the longitudinal models. We did not compare with competing risk models with time‐varying covariates, because these modes are still active research topics with uncertain performance [44, 45]. In Section 2.2.1, we have required the availability of both indexing event time and group membership from a subset of subject. The availability of indexing event time of a subset of subjects is always necessary for the corresponding sub‐models. On the other hand, the availability of the group memberships of a subset of subjects could be relaxed, which will require clustering analysis of right‐aligned longitudinal profiles. In Section 2.3.3, we required the group membership to be known to modify the indexing event time predictions. This may be relaxed by first classifying the target subject to one of the groups and then modifying the index event time prediction while accounting for the classification uncertainties. We have relied on existing algorithms for parameter estimates by applying the SAEM algorithms in Kuhn and Lavielle 2005 [22]. Our simulation suggested that although the longitudinal parameters can be estimated with small biases from complete data, including missing group memberships and survival time may introduce significant biases. One potential reason is that Kuhn and Lavielle 2005's method was designed to handle random effects in longitudinal models without considering missing group memberships or survival time which serves as an indexing event for the longitudinal data. Extending the proposed models to address these limitations will be interesting future research topics.
Funding
Dr. Gao's work was partially funded by NIA grants K07AG076659, P30AG072976, U24AG021886, and U01AG057195.
Conflicts of Interest
The authors declare no conflicts of interest.
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon reasonable request.
References
- 1. Nagin D. S., Group‐Based Modeling of Development (Harvard University Press, 2005). [Google Scholar]
- 2. Muthén B. and Shedden K., “Finite Mixture Modeling With Mixture Outcomes Using the EM Algorithm,” Biometrics 55 (1999): 463–469. [DOI] [PubMed] [Google Scholar]
- 3. Capuano A. W. and Wagner M., “Nlive: An R Package to Facilitate the Application of the Sigmoidal and Random Changepoint Mixed Models,” BMC Medical Research Methodology 23 (2023): 257, 10.1186/s12874-023-02075-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Hendrie H. C., Ogunniyi A., Hall K. S., et al., “Incidence of Dementia and Alzheimer Disease in 2 Communities: Yoruba Residing in Ibadan, Nigeria, and African Americans Residing in Indianapolis, Indiana,” Journal of the American Medical Association 285 (2001): 739–747. [DOI] [PubMed] [Google Scholar]
- 5. Lee A. T. C., Fung A. W. T., Richards M., et al., “Late‐Life Longitudinal Blood Pressure Trajectories as Predictor of Dementia,” Scientific Reports 12 (2022): 1630. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Payton N. M., Marseglia A., Grande G., et al., “Trajectories of Cognitive Decline and Dementia Development: A 12‐Year Longitudinal Study,” Alzheimer's & Dementia 19 (2023): 857–867, 10.1002/alz.12704. [DOI] [PubMed] [Google Scholar]
- 7. Donahue P. T., Balasubramanian A., Xue A. L., Schrack J. A., and Carlson M. C., “Longitudinal Changes in Peak Expiratory Flow Predict Risk for Incident Dementia,” Journals of Gerontology, Series A: Biological Sciences and Medical Sciences 80 (2025): glae249, 10.1093/gerona/glae249. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8. Kim S., Shin J., and Hahn S., “Markov Model for Predicting the Risk of Developing Dementia in Elderly Adults,” Value in Health 21 (2018): S278. [Google Scholar]
- 9. Zhou Z., Wang P., and Fang Y., “Social Engagement and Its Change Are Associated With Dementia Risk Among Chinese Older Adults: A Longitudinal Study,” Scientific Reports 8 (2018): 1551, 10.1038/s41598-017-17879-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Hwang P. H., Longstreth W. T., Thielke S. M., et al., “Longitudinal Changes in Hearing and Visual Impairments and Risk of Dementia in Older Adults in the United States,” JAMA Network Open 5 (2022): e2210734, 10.1001/jamanetworkopen.2022.10734. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Rizopoulos D., Joint Models for Longitudinal and Time‐To‐Event Data: With Applications in R (Chapman and Hall/CRC, 2012). [Google Scholar]
- 12. Rouanet A., Joly P., Dartigues J. F., Proust‐Lima C., and Jacqmin‐Gadda H., “Joint Latent Class Model for Longitudinal Data and Interval‐Censored Semi‐Competing Events: Application to Dementia,” Biometrics 72 (2016): 1123–1135, 10.1111/biom.12530. [DOI] [PubMed] [Google Scholar]
- 13. Lewis N. A. and Knight J. E., “Longitudinal Associations Between C‐Reactive Protein and Cognitive Performance in Normative Cognitive Ageing and Dementia,” Age and Ageing 50 (2021): 2199–2205, 10.1093/ageing/afab152. [DOI] [PubMed] [Google Scholar]
- 14. Yu L., Wang T., Wilson R. S., et al., “Predicting Age at Alzheimer's Dementia Onset With the Cognitive Clock,” Alzheimer's & Dementia 19 (2023): 3555–3562, 10.1002/alz.13004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Chu C., Wang Y., Wang Y., et al., “Development and Validation of a Tool to Predict Onset of Mild Cognitive Impairment and Alzheimer Dementia,” JAMA Network Open 8 (2025): e2453756, 10.1001/jamanetworkopen.2024.53756. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. Jiskoot L. C., Panman J. L., van Asseldonk L., et al., “Longitudinal Cognitive Biomarkers Predicting Symptom Onset in Presymptomatic Frontotemporal Dementia,” Journal of Neurology 265 (2018): 1381–1392, 10.1007/s00415-018-8850-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Singh‐Manoux A., Dugravot A., Shipley M., et al., “Obesity Trajectories and Risk of Dementia: 28 Years of Follow‐Up in the Whitehall II Study,” Alzheimer's & Dementia 14 (2018): 78–186, 10.1016/j.jalz.2017.06.2637. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Josefsson M., Sundström A., Pudas S., Adolfsson A. N., Nyberg L., and Adolfsson R., “Memory Profiles Predict Dementia Over 23‐28 Years in Normal but Not Successful Aging,” International Psychogeriatrics 35 (2023): 351–359, 10.1017/S1041610219001844. [DOI] [PubMed] [Google Scholar]
- 19. Wagner M., Hedeker D. R., Wang T., Muniz‐Terrera G., and Capuano A. W., “A Comparison of Mixed‐Models for the Analysis of Non‐Linear Longitudinal Data: Application to Late‐Life Cognitive Trajectories,” (2024), arxiv.org/abs/2402.07806.
- 20. Schaefer S., Peterson D., Bravell M. E., and Finkel D., “Predicting the Onset of Dementia With Longitudinal Objective Measures of Physical Function,” Innovation in Aging 8 (2024): 1364–1365, 10.1093/geroni/igae098.4351. [DOI] [Google Scholar]
- 21. Delyon B., Lavielle M., and Moulines E., “Convergence of a Stochastic Approximation Version of the EM Algorithm,” Annals of Statistics 27 (1999): 94–128, 10.1214/aos/1018031103. [DOI] [Google Scholar]
- 22. Kuhn E. and Lavielle M., “Maximum Likelihood Estimation in Nonlinear Mixed Effects Models,” Computational Statistics & Data Analysis 49 (2005): 1020–1038, 10.1016/j.csda.2004.07.002. [DOI] [Google Scholar]
- 23. Kleinbaum D. G. and Klein M., Survival Analysis: A Self‐Learning Textch. 7, 3rd ed. (Springer, 2012). [Google Scholar]
- 24. Bender R., Augustin T., and Blettner M., “Generating Survival Times to Simulate Cox Proportional Hazards Models,” Statistics in Medicine 24 (2005): 1713–1723, 10.1002/sim.2059. [DOI] [PubMed] [Google Scholar]
- 25. Davidian M. and Giltinan D. M., Nonlinear Models for Repeated Measurement Data (CRC Press, 1995). [Google Scholar]
- 26. Louis T. A., “Finding Observed Information Matrix When Using the EM Algorithm,” Journal of the Royal Statistical Society. Series B, Methodological 44 (1982): 226–233. [Google Scholar]
- 27. Guhl M., Bertrand J., Fayette L., Mercier F., and Comets E., “Uncertainty Computation at Finite Distance in Nonlinear Mixed Effects Models‐a New Method Based on Metropolis‐Hastings Algorithm,” AAPS Journal 26 (2024): 53. [DOI] [PubMed] [Google Scholar]
- 28. Kaisaridi S., Ursino M., and Comets E., “Conditional Bootstrap for Non‐Linear Mixed Effects Models,” (2026) arXiv: 2605.02534. [DOI] [PubMed]
- 29. Baey C., Trevezas S., and Cournede P. H., “A Nonlinear Mixed Effects Model of Plant Growth and Estimation via Stochastic Variants of the EM Algorithm,” Communications in Statistics. Theory and Methods 45 (2016): 1643–1669. [Google Scholar]
- 30. McEwen R. P. and Parresoi B. R., “Moment Expressions and Summary Statistics for the Complete and Truncated Weibull Distribution,” Communications in Statistics ‐ Theory and Methods 20 (1991): 1361–1372. [Google Scholar]
- 31. Hendrie H. C., Osuntokun B. O., Hall K. S., et al., “Prevalence of Alzheimer's Disease and Dementia in Two Communities: Nigerian Africans and African Americans,” American Journal of Psychiatry 152 (1995): 1485–1492. [DOI] [PubMed] [Google Scholar]
- 32. Liu H., Gao S., Hall K. S., et al., “Optimal Blood Pressure for Cognitive Function: Findings From an Elderly African‐American Cohort Study,” Journal of the American Geriatrics Society 61 (2013): 875–881. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Fine J. P. and Gray R. J., “A Proportional Hazards Model for the Subdistribution of a Competing Risk,” Journal of the American Statistical Association 94 (1999): 496–509, 10.1080/01621459.1999.10474144. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34. Elwood P. C., Bayer A. J., Fish M., Pickering J., Mitchell C., and Gallacher J. E. J., “Sleep Disturbance and Daytime Sleepiness Predict Vascular Dementia,” Journal of Epidemiology & Community Health 65 (2011): 820–824. [DOI] [PubMed] [Google Scholar]
- 35. Guo Y., You J., Zhang Y., et al., “Plasma Proteomic Profiles Predict Future Dementia in Healthy Adults,” Nature Aging 4 (2024): 247–260, 10.1038/s43587-023-00565-0. [DOI] [PubMed] [Google Scholar]
- 36. John L. H., Fridgeirsson E. A., Kors J. A., et al., “Development and Validation of a Patient‐Level Model to Predict Dementia Across a Network of Observational Databases,” BMC Medicine 22 (2024): 308, 10.1186/s12916-024-03530-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37. Zhang Y., Li Y., Song S., Li Z., Lu M., and Shan G., “Predicting Conversion Time From Mild Cognitive Impairment to Dementia With Interval‐Censored Models,” Journal of Alzheimer's Disease 101 (2024): 147–157, 10.3233/JAD-240285. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38. Byeon H., “Screening Dementia and Predicting High Dementia Risk Groups Using Machine Learning,” World Journal of Psychiatry 12 (2022): 204–211, 10.5498/wjp.v12.i2.204. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39. Addae S., Kim J., Smith A., Rajana P., and Kang M., “Smart Solutions for Detecting, Predicting, Monitoring, and Managing. Dementia in the Elderly: A Survey,” IEEE Access 12 (2024): 100026–100056, 10.1109/ACCESS.2024.3421966. [DOI] [Google Scholar]
- 40. Yang L. and Gao S., “Bivariate Random Change Point Models for Longitudinal Outcomes,” Statistics in Medicine 32 (2013): 1038–1053, 10.1002/sim.5557. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41. Boyle P. A., Wang T., Yu L., et al., “The ‘Cognitive Clock’: A Novel Indicator of Brain Health,” Alzheimers & Dementia 17 (2021): 1923–1937, 10.1002/alz.12351. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42. Zeng M., Chen Y., Lobanov‐Rostovsky S., et al., “Adiposity and Dementia Among Chinese Adults: Longitudinal Study in the China Health and Retirement Longitudinal Study (CHARLS),” International Journal of Obesity 49 (2025): 706–714, 10.1038/s41366-024-01698-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43. Guo W., “Functional Mixed Effects Models,” Biometrics 58 (2002): 121–128, 10.1111/j.0006-341x.2002.00121.x. [DOI] [PubMed] [Google Scholar]
- 44. Poguntke I., Schumacher M., Beyersmann J., and M. Wolkewitz, “Simulation Shows Undesirable Results for Competing Risks Analysis With Time‐Dependent Covariates for Clinical Outcomes,” BMC Medical Research Methodology 18 (2018): 79, 10.1186/s12874-018-0535-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45. Austin P. C., Latouche A., and Fine J. P., “A Review of the Use of Time‐Varying Covariates in the Fine‐Gray Subdistribution Hazard Competing Risk Regression Model,” Statistics in Medicine 39 (2020): 103–113. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon reasonable request.
