We used a segmented mixed-effects model (SMM) to model the longitudinal, nonlinear association between two variables of interest. Following the notation of Muggeo,
10 two variables, denoted by
xijk and
yijk, are observed from subject
i (= 1, …,
n) at visit time
tijk (
j = 1, …,
ni) for eye
k (= “OD,” “OS”). The model also includes time-dependent covariates, denoted by
zijk, such as a constant vector 1, visit time
tijk, and other confounders (see
Fig. 1 for an illustration of the data input). Our primary goal is to detect unknown breakpoints in the association between
xijk and
yijk. Although the specification of the SMM regression model is straightforward, estimating the unknown parameters is challenging due to a parameter identifiability problem. In the case of the standard linear mixed-effects model, the maximum likelihood estimation (MLE) approach is commonly used to estimate unknown parameters using the derived log-likelihood function.
14 However, the strategy is not applicable for SMM because the corresponding log-likelihood function is not differentiable at the breakpoints. Moreover, MLE is sensitive to outliers, which are common in ophthalmic studies due to measurement error, reading error, and instrumental error, for example. To overcome these challenges, we propose a robust estimation approach that allows for the detection of multiple breakpoints, accounting for potential outliers. Specifically, we incorporate the least trimmed squares (LTS) technique in the estimating algorithms to reduce the impact of outliers in the data on parameter estimation.
15,16 We further propose a companion algorithm for estimating the standard errors (SEs) and CIs of unknown parameters, including breakpoints and their associated slopes.
Figure 1 provides a visual overview of the input, algorithm, and output of our approach. For details regarding model specifications and algorithms, please refer to Section A of the
Supplementary Material.