Abstract
Researchers are often interested in studying how the timing of a specific event affects concurrent and future development. When faced with such research questions there are multiple statistical models to consider and those models are the focus of this paper as well as their theoretical underpinnings and assumptions regarding the nature of the effect of the event on the developmental process. We discuss three models, all variants of growth models specified within the multilevel modeling framework, which conceptualize the developmental process and the effect of the event in different ways. These models include the growth model with a time-invariant covariate, the growth model with a time-varying covariate, and the spline growth model. After discussing the models in detail, we applied these models to longitudinal data from the Berkeley Growth Study to examine cognitive changes during infancy and the effect of independent sitting on those changes. Results suggest that research conclusions depend on the model chosen and how certain results can be misconstrued unless the model accurately reflects the research questions. Recommendations and additional non-traditional models are discussed.
Developmentalists are inherently interested in how children, adolescents, and adults change in their physical attributes and psychological capabilities (e.g., cognitive ability, prosocial behavior) as well as the determinants and consequences of those changes. In examining developmental change there are instances where an important life event (or historical event) is thought to have a measurable effect on the developmental trajectory. For example, the onset of independent sitting and locomotion are two major early life transitions that are thought to bring about measureable psychological changes in the infant’s cognitive capabilities (Campos, Anderson, Barbu-Roth, Hubbard, Hertenstein, & Witherington, 2000; Soska, Adolph, & Johnson, 2010). A second example can be found in the adolescence literature, where the timing of pubertal development in females has been associated with important psychological changes, such as depression, conduct disorder, and the likelihood of engaging in risky sexual behavior (see Caspi, Lynam, Moffitt, & Silva, 1993; Deardorff, Gonzales, Christopher, Roosa, & Millsap, 2005; Dick, Rose, Viken, & Kaprio, 2000; Kim & Smith, 1999; Marceau, Ram, Houts, Grimm, & Susman, 2011). Examples of important life events in the adulthood literature include the birth of a child (Evans, Heron, Francomb, Oke, & Golding, 2001) and the death of a spouse or close family member (e.g., Murphy, 1982).
Many empirical studies have used different study designs and analytic approaches to test hypotheses regarding the effect a life event has on development. A major challenge to examining such effects is to untangle age effects from onset or timing effects. For example, the onset of independent sitting becomes more likely as infants get older and, at the same time, increases in age are associated with positive cognitive changes. Similar notions can be discussed when attempting to understand the effects of pubertal development in adolescence or the death of a spouse in adulthood. In an attempt to isolate the effect of the life event, researchers have traditionally collected cross-sectional data where age is held constant by the selection of participants and between-person differences in the timing of the event are associated with between-person differences in the outcome of interest. For example, Campos et al. (2000) described this approach to examining the effect of locomotion on children’s cognition as: “hold[ing] age constant and classify[ing] infants into those with and without locomotor experience” (Campos et al., 2000, p. 154). Here, differences in cognitive scores between the two groups are seen as a result of differences in locomotion (see also, Adolph & Tamis-LeMonda, 2014). Similarly, in studying the effect of pubertal development, researchers often restrict the age range of participants in an attempt to isolate the effect of pubertal development. For example, Quevedo, Benning, Gunnar, and Dahl (2009) carefully selected 12- to 13-year-olds, such that there were no age differences between children classified as pre-/early pubertal and children classified as mid-/late pubertal. Differences between the two groups would be attributed to differences in pubertal status and not age.
This cross-sectional approach to examining the effect of a life event on development, although commonly employed and logical, conflates between- and within-person effects. For example, researchers who find a positive association between pubertal status and externalizing behaviors using such a design are unable to determine if pubertal development had a measureable positive effect on the individual’s developmental progression in externalizing behavior (i.e., within-person effect) or if children who experienced puberty earlier had higher levels of externalizing behavior before and after puberty (i.e., between-person effect). In the latter, the event did not alter the individual’s change trajectory. The differences between the within-person and the between-person effect is illustrated in Figures 1A and 1B.

(A) Visual depiction of longitudinal trajectories where the timing of the event is associated with between-person differences; (B) Visual depiction of longitudinal trajectories where the onset of the event is associated with within-person changes over time. Note: Illustrative Figure showing how cross-sectional differences at measurement can be attributable to (A) between-person differences or (B) within-person effects. Group 1 is a hypothetical early puberty group of individuals and Group 2 is a hypothetical late puberty group of individuals.
In each figure there are two hypothetical mean trajectories for externalizing behavior for an early puberty group (Group 1, solid black line) and a late puberty group (Group 2, solid gray line). Also in these plots are vertical lines indicating the onset of puberty for each group and the timing of the measurement occasion from a cross-sectional study where participants were selected based on age and either belonging to an early or late puberty group.
As seen in both figures, at the timing of the measurement occasion, the two groups differ in externalizing behaviors and pubertal status, with Group 1 having experienced puberty and Group 2 being pre-pubertal. Following the logic of cross-sectional studies using this approach, the cause of the differences in externalizing behaviors is the difference in the timing of puberty. However, evaluating the hypothetical mean trajectories, we see that the trajectories in Figure 1A are strictly linear and not affected by the onset of puberty. The differences in these trajectories arise from between-person differences in the intercept and slope that were present before the measurement occasion, as well as after. However, the hypothetical mean trajectories in Figure 1B show the expected within-person effects, such that there were no changes in the level of externalizing behavior prior to puberty (and no differences between the groups before the onset of puberty in either group), but after the onset of puberty there is a strong increase in externalizing scores for both groups. Thus, these trajectories represent what researchers often expect––that is, differences in externalizing scores between the two groups are attributable to the differences in the timing of puberty between the two groups.
The hypothetical mean trajectories presented in Figures 1A and 1B show how differences between groups in externalizing scores at the time of measurement can arise from between-person differences, within-person changes, or a combination of the two. Thus, the typical cross-sectional approach to studying the effect of an important life event on development can be problematic and potentially confuse between- and within-person effects. In order to distinguish between these types of effects, longitudinal data should be collected prior and subsequent to the event of interest. When such longitudinal data are collected, there are a variety of statistical models available to test specific theories regarding the nature of effects and we describe these models next, illustrate their use, and discuss their benefits and limitations. Throughout the introduction we refer back to our hypothetical example where changes in externalizing behavior are studied.
Statistical Models for Timing and Change
The models presented in this section focus on different ways to include the timing of an event into growth models (Bryk & Raudenbush, 1987; McArdle & Epstein, 1987; Meredith & Tisak, 1990; Preacher, Wichman, MacCallum, & Briggs, 2008; Singer & Willett, 2003), which are often used to study within-person change and between-person differences in change. Growth models can be fit within the multilevel and structural equation modeling (SEM) frameworks. Our presentation uses the multilevel notation, but identical models can be specified within the SEM framework. In the following descriptions, we discuss linear growth models for simplicity, but recognize that different within-person change models (e.g., quadratic, exponential, logistic) can be used depending on the nature of the within-person change process. The first model includes the timing of the event as a time-invariant covariate and relates the event timing to between-person differences in the intercept and slope (i.e., between-person effect). The second two models examine whether the timing of the event has an effect on the individual trajectories (i.e., within-person effect), but conceptualize the developmental process in different ways.
Growth Model with Timing as Time-Invariant Covariate
A first approach to examining how the timing of an event affects individual changes is to include the timing variable as a time-invariant predictor (covariate) of the intercept and slope of the linear growth model. This model can be written as
Level-1
Level-2
where
The individual intercept and slope (
In the application of this model, the timing variable should be centered at a reasonable value to aid interpretation of
From a theoretical standpoint, the growth model with timing as a covariate is a common cause model, such that the cause of the between-person differences in the intercept and slope are the same as or related to the cause of the differences in the timing of the event. The intercept in the growth model is typically centered prior to the event, so having the event predict the between-person differences in the intercept appears backwards unless there is a common underlying cause. For example, examining changes in externalizing behaviors before and after the onset of puberty with this model would suggest that the underlying cause of externalizing behavior changes are similar to the underlying cause of pubertal development––potentially related to the release of specific hormones. In describing the results from this model, it is important to emphasize that the onset of the event is not the mechanism, but the between-person differences in the timing of the event is a related mechanism.
The limitations of this approach are that the association between the timing of the life event and individual changes is a between-person association and that the timing variable should be observed for all participants. If the event occurred after the end of the study, the timing variable would be incomplete and those participants would potentially be dropped from the analysis. Such participants are dropped from the analysis when using the multilevel modeling framework and under certain model specifications when using the SEM framework. 1
Growth Model with Time-Varying Covariate
The second approach is a growth model where the onset of the event is treated as a time-varying covariate. In this approach, the onset of the event is organized as a dummy-coded variable that takes on the value of 0 prior to the event and 1 after the event. This model can be written as
Level-1
Level-2
where
The model in Equation 2 is the typical way to include a time-varying covariate, where

Visual depiction of a spline model with (solid line) and without (dashed line) a change in level. Note: Illustrative Figure highlighting how the onset of puberty could have an immediate effect on the level of the individual trajectory (solid line) or an effect on the rate of change (dashed line).
The solid trajectory shows that externalizing behaviors are increasing with respect to age, but at the onset of puberty there is a jump in the trajectory such that scores are universally higher after the onset of puberty. It is important to note that in this specification, the rate of change is the same before and after the onset of puberty.
An alternative specification of the growth model with a time-varying covariate allows the onset of the event to alter the rate of change instead of the intercept. For this model, the product of the time-varying covariate and the timing metric centered at the event is included as a predictor, which can be written as
Level-1
Level-2
where
Lastly, Equations 2 and 3 can be combined to allow the onset of the event to have an effect on both the intercept and slope. Thus, there is an immediate jump (effect on the intercept) and a change in the individual rate (effect on the slope) that are associated with the onset of the event. This model can be written as
Level-1
Level-2
where
The major benefit of this approach is that the occurrence of the event is allowed to alter the within-person trajectory, which is in line with most researchers’ expectations. Thus, this model tends to align well with research questions. A secondary benefit is that participants can remain in the analysis if the event did not occur during the observation period, but it is known whether the event occurred prior to and subsequent to the observation period. The first limitation of this approach is that the effect of the onset of the event is typically specified to have a universal effect––the effect is the same for all participants; however, we note that this does not have to be the case (e.g., the effects
Spline Growth Model
The spline, piecewise, or multiphase growth model (see Cudeck & Klebe, 2002; Ram & Grimm, 2007) is a common approach to study the effect of an event on an individual’s trajectory. In the spline growth model, individual changes prior and subsequent to the life event are jointly modeled with different, but connected, growth models. For example, a bi-linear spline growth model can be written as
Level-1
Level-2
where
In this specification, the effect of the life event is embedded in
Overall, the spline model and the time-varying covariate model in Equation 3, where the rate of change is allowed to differ before and after the life event, are very similar. The models become more similar if
The main benefit of spline growth models is that the event is allowed to alter the within-person change trajectory. Additionally, the model allows for between-person differences in the effect of the event because
From a theoretical standpoint, this type of spline model, where the timing metric is organized around a specific event, alters the underlying mechanism of the observed within-person changes. In Equations 1, 2, 3, and 4, age (or years relative to birth) was the timing metric and, as such, age was seen as the dominant driving force underlying the change process. In the spline model in Equation 5, age relative to the event is the dominant driving force underlying change. So, the theory should support the notion that the amount of time to the event and the amount of time from the event guides the change process instead of a typically used timing metric, such as age, time in study, or measurement occasion.
Illustrative Example
To illustrate the use of these models, we apply them to longitudinal cognitive data on infants and examine the effect of the timing and onset of the ability to sit alone for 30 seconds or more (referred to as independent sitting) on those cognitive changes. Early motor development in infants has been found to be associated with cognitive development (e.g., Acredolo, 1988; Bertenthal & Campos, 1990; Campos & Bertenthal, 1984) and changes in an infant’s motor skills increase their ability to explore and interact with their environment. This increased ability to interact with their environment may contribute to other areas of their development (Adolph, 1997; Gibson, 1988; Herbert, Gross, & Hayne, 2007). Independent sitting is an early motor ability that allows an infant to take a different perspective on their environment and allows them to more easily interact with stimuli with both hands.
Data
The data come from the Berkeley Growth Study (BGS), which was initiated by Nancy Bayley in 1928 to trace the normal intellectual, motor, and physical development through the first year (see Jones et al., 1971). The original participants of the BGS were selected as infants born in local hospitals in Berkeley, California.
The cognitive scores come from the California First-Year Mental Scale (CFYMS) (Bayley, 1933). The CFYMS was the precursor of the Bayley Scales of Infant Development and initially contained 115 items (129 were subsequently added bringing the total to 245). The scores analyzed here are the total scores representing the number of items correctly completed. The CFYMS was administered every month from 1 to 12 months of age. Motor data come from the California Infant Scale of Motor Development (CISMD) (Bayley, 1935), which was administered in conjunction with the CFYMS (i.e., monthly). A single item from the CISMD was selected for this illustration. The item asked whether the infant was able to sit alone for 30 seconds or more and the response was recorded as the infant’s age (in months) when they were first able to perform this skill. Valid responses were considered if the child performed the skill and was measured in the month prior (to be sure the infant could not perform the skill in the previous month). Scores on this item ranged from five to nine months with a mean of seven months.
Data from 19 infants were dropped because of incomplete data on the timing event––it was not known when these infants were able to sit for 30 seconds. Children dropped from analyses did not differ on CFYMS total scores at any age compared to children included in the analysis. Thus, bias in estimates attributable to incomplete data is minimal. Figure 3 is a longitudinal plot of the total scores from the CFYMS measured for the sample of 45 (22 females) participants. The individual cognitive scores show relatively strong increases as the infants get older and the rate of change appears to vary both within infants over time (nonlinear changes) and between individuals (variability in the rate of growth at any point in time).

Longitudinal plot of observed trajectories for cognitive scores from the CFYMS from 1 through 12 months from the BGS. Note: N = 45, First-Year Mental Scale scores ranged from 1 to 106.
Analytic Techniques
The analyses began with the fitting of a variety of growth models to adequately capture individual changes in cognitive ability as measured by the CFYMS. A logistic growth model with two random coefficients was chosen. This version of the logistic model can be written as
where
After establishing this unconditional model, the logistic growth model was then fit with age of independent sitting, centered at seven months, as a time-invariant predictor of the intercept and slope. Next, three time-varying covariate models were fit following Equations 2, 3, and 4. Here, the logistic model was augmented by a dichotomous variable allowed to alter the intercept and/or by an exponential curve with the same rate parameter. The exponential curve allowed for the general shape of the curve to remain consistent and, at the same time, allow the rate of change to differ before and after independent sitting. Lastly, a spline model was fit with a logistic curve augmented by an exponential curve with the same rate parameter following the logic behind the time-varying covariate models. The Appendix contains the complete model specifications. All models were fit using PROC NLMIXED (Littell, Milliken, Stroup, Wolfinger, & Schabenberger, 2006) in SAS v. 9.3 (SAS Institute Inc., 2011). Programing code is available on the first author’s webpage.
Results
The results are organized around each model, beginning with the unconditional logistic growth model. Parameter estimates and fit information for the various models is contained in Table 1.
Parameter Estimates and Fit Statistics for Models Fit to the Longitudinal Data from the CFYMS.
Notes: Confidence intervals are contained within parentheses, N = 45, model parameters map onto specifications in the Appendix.
Logistic Growth Model
The parameters of the logistic growth model indicated that the sample had a predicted lower asymptote of −7.73 (
There was significant variability in both the total amount of change from the lower asymptote (
Logistic Growth Model with Timing of Event as Time-Invariant Covariate
The logistic growth model with the age of independent sitting as a between-person predictor was then fit. In this model, age of sitting was centered at seven months and included as a predictor of the amount of change to the upper asymptote and the timing of accelerated changes. The age of sitting was a significant predictor of both the total amount of change (
Growth Models with Time-Varying Covariate
We fit three time-varying covariate models to examine the effect of the onset of independent sitting on the intercept, the rate of change, and the combination of the two. First, we fit a traditional logistic growth model with a time-varying covariate by specifying a logistic growth model and included the dummy-coded timing variable as a predictor of the CFYMS scores. The dummy-coded timing variable had a significant positive effect (
Second, we fit the time-varying covariate model with a product of the dummy-coded timing variable and an exponential function centered at the age of independent sitting. Thus, a logistic growth model was specified and augmented by an exponential curve after the age of independent sitting, which allows for a different rate of change after the event. The effect of the product of the dummy-coded timing variable and the exponential function was not significant (
Third, we fit the time-varying covariate model allowing for effects on both the intercept and rate of change. In this model, the effect of the dummy-coded timing variable (
Spline Growth Model
Prior to fitting the spline logistic growth model, we plotted the total scores with age in months relative to age at sitting (

Longitudinal plot of observed trajectories for cognitive scores from the CFYMS organized according to the onset of independent sitting. Note: The zero point on the x-axis is the age of independent sitting for all participants, N = 45, First-Year Mental Scale scores ranged from 1 to 106.
The logistic-exponential spline growth model was fit to the data. Allowing for between-person differences in the change in the rate of change after the life event led to convergence issues. We therefore fit a model where the variance of the change in the rate of change after the life event was set to 0. This model converged without issue. The change in the rate of change after the knot point was not significant (
Discussion
Developmental researchers are often interested in studying change and testing hypotheses about within-person change, its determinants, and consequences. Here, we discussed several statistical models that can be used to examine whether and how a life event affects change trajectories. Understanding such processes is especially relevant in psychological research because of the multitude of hypotheses regarding how various life events are thought to affect our development.
The major challenge that arises when studying such effects is when the event (e.g., independent sitting) and the changes in the outcome of interest (e.g., cognitive changes) are both associated with the timing metric (e.g., age). For example, cognitive ability grows as infants get older and the likelihood of being able to sit independently for sustained periods of time also increases as infants get older. Attempting to isolate the association between independent sitting and cognitive changes is challenging unless longitudinal data are collected, and longitudinal data do not always provide a clear indication of the nature of these associations.
Summary of Results
Several models for longitudinal data were fit to evaluate the nature of the association between independent sitting and cognitive development. First, the between-person differences in the age of independent sitting was a predictor of the between-person differences in the growth function. The results indicated that children who were able to sit independently at an earlier age showed more overall cognitive growth and were changing more rapidly at an earlier age. These results suggest a common underlying cause of independent sitting and cognitive development. For our example, it may be that the parts of the brain that control motor development are partly responsible for cognitive development and that is why the between-person differences in the timing of independent sitting were associated with between-person differences in the growth of cognitive ability.
Second, a series of time-varying covariate growth models was fit, which allowed the onset of independent sitting to affect the within-person change trajectory in various ways. In the first of these models, the onset of independent sitting was found to have an immediate positive effect, such that cognitive scores were significantly higher after independent sitting and this advantage was maintained. In the second of these models, the onset of independent sitting was allowed to have an effect on the rate of growth. In this model, the onset of independent sitting was found to not alter the rate of cognitive growth. Finally, in the third model, the onset of independent sitting was allowed to have an immediate effect on cognitive scores as well as change the rate of growth. In this final model, the onset of sitting was found to have an immediate positive effect on cognitive scores as well as positively affect the rate of growth.
The third and final set of models were spline models where age was organized around independent sitting. Thus, in this set of models, the time metric for the growth model was age relative to the onset of independent sitting. In the spline models, allowing the rate of change to change after the onset of independent sitting did not significantly improve model fit. Thus, based on the spline growth model, the onset of sitting did not significantly alter the cognitive changes taking place.
Model Comparison, Evaluation, and Extension
The first consideration when choosing among the models discussed is theory. A model should be chosen that best allows the researcher to test their substantive theory. The first part of this process is to select a time metric for the growth model that is the dominant mechanism underlying the within-person changes. Here, we discussed age (or years since birth) and age relative to the onset of independent sitting (time to/from the event). These time-metrics are highly related, but conceptualize within-person change in different ways. If time relative to the event is thought to be the mechanism of change, then growth and spline growth models using this time metric are most reasonable (note that growth models with a time-invariant predictor and with a time-varying covariate can be fit using this time metric). If age or another time metric that does not revolve around the event is thought to guide the change process, then using growth and time-varying covariate models with this time metric are most appropriate.
The second consideration is the nature of the association between the timing of the event and the change process. The association could be between individuals, such that differences in the timing of the event are related to differences in parameter values of the growth curve, such as the intercept and rate of change. Alternatively, the association could be within individuals, such that the onset of the event alters the individual’s trajectory. Thus, the individual’s trajectory is different before and after the event. Furthermore, when considering within-person associations, researchers should evaluate whether the event altered the level and/or rate of change of the individual trajectory. Lastly, between-person and within-person associations can be simultaneously evaluated––the between-person differences in the timing of the event may be related to between-person differences in the trajectory and the onset of the event may affect the individual’s trajectory (see Curran & Bauer, 2011).
Returning to our illustrative example, early cognitive changes are thought to be primarily driven by age. Thus, the spline model with age relative to the onset of independent sitting is deemed inappropriate. Although, previous research on early locomotion suggests a within-person association between independent sitting and subsequent cognitive improvements, it is difficult to eliminate the possibility of between-person associations, such that early motor and early cognitive development have common determinants. Due to this, one final model was fit where the between-person differences in the timing of the event were included as predictors of the total amount of change and the timing of accelerated changes, and the onset of the event was allowed to affect the level and rate of change of the individual trajectory. In this final model, the timing of independent sitting was significantly associated with both the total amount of predicted growth and the timing of accelerated changes. Early independent sitting was associated with increases in cognitive growth (
Concluding Remarks
In conclusion, when encountering research questions about change and the timing of an event, we first recommend that researchers think carefully about the primary time metric guiding the within-person change process. Is time relative to the event (e.g., age relative to independent sitting) the most appropriate time metric? If so, then working with this time metric and determining whether a spline model fits the data better is the recommended analytic approach. If not, then using the original time metric and considering both the between-person and within-person effects as well as their combination is recommended to statistically test whether the onset of the event had an effect on the individual change process and/or the timing of the event was associated with between-person differences in the change trajectory.
Footnotes
Funding
This research has been supported by National Science Foundation Grant REAL-1252463 awarded to the University of Virginia, David Grissmer (PI) and Christopher Hulleman (Co-PI).
Note
Appendix
The following equations detail the specification of the models fit. In all cases, the residual variance was constrained to be equal across time (1) Logistic growth model
Level-1:
Level-2:
Level-1:
Level-2:
Level-1:
Level-2:
Level-1:
Level-2:
Level-1:
Level-2:
Level-1:
Level-2:
Level-1:
Level-2:
