Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

What Happens When Exposure Changes During Follow-Up?

Exposures do not always remain constant during cohort follow-up. Participants may begin, discontinue, or change their level of exposure, affecting how observation time and outcomes should be analyzed. Learn when baseline classification is insufficient, how time-varying methods work, and why changing confounders can complicate causal interpretation.

96
Time-Varying Exposure in Cohort Studies Guide 96 of 1272
01 · The Question

What If Participants Become Exposed, Stop Being Exposed, or Change Exposure Levels?

Suppose you are investigating whether participation in an AI literacy program is associated with doctoral student retention. At the beginning of the study, some students have completed training while others have not. During follow-up, additional students enroll in training, some discontinue participation, and others receive supplementary instruction.

Should students remain classified according to their original exposure status? Should their exposure classification change when they begin training? Or should the analysis distinguish different patterns of participation across time?

These decisions affect which periods are considered exposed, how outcomes are attributed, and what the resulting estimates mean. A cohort study can accommodate changing exposures, but the analytical strategy must correspond to the intended research question and the timing of the observed events.

02 · The Short Answer

Changing Exposure Requires an Explicit Temporal Definition

In Brief

When exposure changes during cohort follow-up, researchers must determine whether the analysis concerns baseline exposure, current exposure, cumulative exposure, or a specified exposure strategy over time. Different definitions answer different questions and may require different analytical methods.

Time-varying exposure models can account for changes in exposure status, but they do not automatically identify causal effects. Particular care is needed when exposure changes are related to earlier outcomes, evolving participant characteristics, or confounders affected by previous exposure.

03 · What You Need to Know

How Changing Exposure Affects Cohort Design and Analysis

What Is a Time-Varying Exposure?

A time-varying exposure is a characteristic, behavior, condition, or intervention whose value can change during the observation period.

Examples include medication use, employment status, academic workload, access to institutional support, and participation in educational technology training.

In educational research, students may begin using an AI-assisted learning platform, reduce their usage, discontinue it, or return after a period of nonuse.

These changes can be relevant when the research question concerns how exposure at different times relates to subsequent outcomes.

Time-varying exposure should be distinguished from a variable that merely changes in the dataset because researchers use different measurement instruments or definitions. Genuine temporal variation concerns changes in the underlying exposure or its specified representation.

Why Might Baseline Exposure Classification Be Insufficient?

Baseline exposure classification describes participants according to their exposure status at a defined starting point.

That classification can be appropriate when the research question concerns the consequences of initial exposure status, regardless of subsequent changes.

However, it may be insufficient when the objective concerns actual exposure received throughout follow-up.

Suppose a student is untrained at enrollment but completes AI literacy training six months later. A baseline-only model would continue to represent the student according to the original classification, even though their subsequent experience has changed.

This is not automatically an analytical error. It becomes a problem when researchers interpret the baseline comparison as though it estimated the effect of remaining continuously exposed or unexposed.

The distinction between initial exposure and sustained exposure should be specified before selecting the analysis.

What Different Exposure Definitions Can Researchers Use?

Several exposure definitions may be scientifically appropriate, depending on the intended estimand.

Exposure Definition Meaning Example
Baseline exposure Status at the beginning of follow-up Completed AI literacy training before enrollment
Current exposure Status at a particular observation time Currently participating in training
Ever exposed Whether exposure has occurred by a specified time Has initiated training at least once
Cumulative exposure Total exposure accumulated over a defined period Total training hours completed to date
Lagged exposure Exposure measured before the outcome risk period Training participation during the previous semester
Exposure trajectory Pattern of exposure across multiple periods Continuous, intermittent, or discontinued participation

These definitions are not interchangeable. For example, ever receiving training differs from completing a sustained training program, and cumulative hours may not capture the timing or quality of instruction.

Researchers should select an exposure representation that corresponds to the proposed process and the available measurements.

How Should Person-Time Be Allocated When Exposure Changes?

When exposure is analyzed as a time-varying characteristic, participants may contribute observation time to different exposure categories during follow-up.

For example, a student could contribute four months of unexposed time before initiating training and eight months of exposed time afterward.

This approach differs from classifying the student as exposed for the entire year simply because training eventually occurred.

How It Is Calculated
Total person-time = Unexposed person-time + Exposed person-time

Unexposed person-time = qualifying observation time before or outside the defined exposure state.

Exposed person-time = qualifying observation time during the defined exposure state.

Total person-time = the sum of eligible time at risk across exposure states.

Hypothetical calculation: A student enters a cohort on January 1, begins training on May 1, and remains under observation through December 31.

Using calendar-month intervals for illustration, the student contributes four months before training and eight months after training begins.

If the exposure is defined as having initiated training, these periods may be classified as four unexposed months and eight exposed months.

This allocation does not automatically establish that training caused any subsequent outcome. It only represents the exposure history more accurately under the specified definition.

Actual person-time calculations should use the relevant event dates and a consistent time convention. If an outcome occurs, participants ordinarily stop contributing first-event time at risk at that point.

Researchers should also consider whether the exposure is assumed to act immediately or after a scientifically justified delay.

What Is Immortal Time Bias?

Immortal time bias can arise when researchers incorrectly classify or allocate a period during which participants must remain event-free to qualify for a later exposure category.

Suppose students are classified as trained if they complete an AI literacy course at any point during their first academic year.

A student who withdraws before completing the course cannot qualify as a training completer. By contrast, students classified as completers necessarily remained enrolled long enough to finish the course.

If the analysis counts all observation time from enrollment as exposed for eventual completers, the trained group receives an artificial period during which the outcome could not have occurred under its membership definition.

This can make training appear protective even when the observed difference is partly or entirely produced by the analytical design.

Correctly defining time zero and aligning exposure with follow-up is essential to avoiding this problem.

Watch Out

Do not classify participants as exposed from cohort entry solely because they eventually receive or complete an intervention. Exposure histories must be represented according to the relevant timing and causal question. Time-varying classification may address some immortal time problems, but causal identification may require additional methods.

Can a Time-Dependent Cox Model Handle Changing Exposure?

Yes. A Cox proportional hazards model can include time-dependent covariates whose values change during follow-up.

For example, students can be classified as untrained before initiating an AI literacy program and trained after initiation, provided the exposure definition and timing are appropriate.

The model then estimates associations between the time-dependent exposure and the hazard of the outcome, conditional on included covariates and model assumptions.

However, a conventional time-dependent Cox model does not automatically estimate the causal effect of a changing exposure strategy.

If time-varying confounders influence subsequent exposure and are themselves affected by earlier exposure, standard adjustment may produce biased causal estimates.

The distinction between representing exposure changes statistically and identifying causal effects should remain explicit.

What Is Time-Varying Confounding?

Time-varying confounding occurs when variables that influence both subsequent exposure and outcome change during follow-up.

For example, academic engagement may influence whether students seek additional AI literacy training. Engagement may also predict later withdrawal.

If earlier training affects engagement, then engagement becomes both a consequence of previous exposure and a predictor of future exposure.

This creates a difficult causal structure.

Failing to account for engagement may leave confounding of later training effects. Conventional adjustment for engagement may also remove part of the effect of earlier training or introduce other biases.

The appropriate analysis depends on the intended causal estimand and the assumptions that can be defended.

What Methods Can Address Time-Varying Confounding?

Longitudinal causal inference methods, often called g-methods, have been developed to address particular problems involving time-varying exposure and confounding.

These include the parametric g-formula, marginal structural models estimated using inverse probability weighting, and structural nested models.

For example, a marginal structural model may use weights based on measured exposure and confounder histories to estimate a causal contrast between specified exposure strategies.

Such methods require assumptions including appropriate exchangeability, positivity, consistency, and correct estimation of relevant models or nuisance functions.

They also require sufficiently detailed longitudinal data. No statistical method can recover exposure histories or confounders that were never adequately measured without additional assumptions.

These approaches are discussed within the broader framework of causal inference from observational cohorts.

How Does Exposure Timing Affect Reverse Causation?

Exposure changes may occur in response to early symptoms, difficulties, or developments related to the outcome.

For example, students experiencing declining engagement may be encouraged to enroll in AI literacy training. Their subsequent withdrawal risk may already be elevated before training begins.

A crude comparison might therefore suggest that training is associated with greater withdrawal risk, even if training itself is beneficial or neutral.

This phenomenon is sometimes discussed as reverse causation or confounding by indication, depending on the causal structure.

Researchers should examine why exposure changes occur and whether those reasons are related to subsequent outcomes.

Temporal ordering helps, but it does not eliminate confounding when exposure decisions respond to evolving participant circumstances.

What Are Lagged Exposure Models?

Lagged exposure models relate outcomes at a particular time to exposure measured during an earlier period.

For example, researchers might investigate whether training participation during one semester is associated with engagement during the following semester.

Lagging can help align exposure with a hypothesized delay before an outcome becomes observable.

However, selecting a lag does not automatically establish causality or remove confounding. The interval should be justified by the proposed process and measurement structure.

Different lag specifications may answer different scientific questions, particularly when exposure effects accumulate, diminish, or vary over time.

What If Exposure Is Measured Only Periodically?

When exposure is assessed at discrete intervals, its exact timing may be unknown.

Suppose AI use is measured every six months. A student reports no use in January and regular use in July. The researcher may know that exposure changed during the interval without knowing when.

Assigning the July exposure status to the entire preceding period could misclassify observation time.

Possible approaches include interval-based exposure definitions, models appropriate to the available temporal resolution, or sensitivity analyses under alternative timing assumptions.

Researchers should not invent precise exposure dates merely because the statistical software requires them.

The frequency of cohort measurements should therefore reflect how rapidly meaningful exposure changes are expected to occur.

Can Exposure Be Continuous Rather Than Binary?

Yes. Time-varying exposures may represent changing quantities rather than transitions between exposed and unexposed states.

For example, students may accumulate different numbers of AI training hours or vary in their weekly frequency of AI tool use.

Researchers may model current exposure intensity, cumulative exposure, or other theoretically meaningful summaries.

However, cumulative exposure can be affected by follow-up duration and outcome occurrence. Participants who remain under observation longer may have more opportunity to accumulate exposure.

Analyses must therefore avoid treating exposure accumulated after an outcome or during unequal observation periods as though it were a comparable baseline characteristic.

Should Researchers Always Update Exposure Status?

Not necessarily. The appropriate approach depends on the question.

If the objective is to compare participants according to their exposure status at baseline, retaining the original classification may be appropriate.

If the objective concerns the association of current exposure with subsequent outcomes, updating exposure status may be necessary.

If the objective is to estimate the effect of sustained exposure strategies, more elaborate longitudinal causal methods may be required.

Researchers should not automatically replace a baseline analysis with a time-varying model merely because exposure changes are observed. The models may estimate different quantities.

How Should Changing Exposures Be Reported?

Reports should specify how exposure was defined, when it was measured, how changes were identified, and how exposure time was allocated.

Researchers should describe the frequency of transitions, missing exposure measurements, and the relationship between exposure timing and outcome observation.

Where time-varying causal methods are used, the intervention strategies, confounder histories, assumptions, weighting or modeling procedures, and relevant diagnostics should be reported.

Clear reporting helps readers distinguish a baseline exposure comparison from an analysis of exposure histories or sustained strategies.

04 · A Practical Example

When Students Begin AI Literacy Training at Different Times

Hypothetical Example

Changing Training Status During Doctoral Follow-Up

A university follows 500 doctoral students for two academic years. All are eligible for an AI literacy program at enrollment, but participation is voluntary and students may begin at different times.

The outcome is first doctoral withdrawal. The university records enrollment, training initiation, academic engagement, and withdrawal dates.

Step 1: Define the intended question

The researchers want to examine whether training initiation during follow-up is associated with subsequent withdrawal, rather than merely comparing baseline participants and nonparticipants.

Step 2: Establish time zero

Each student begins follow-up at enrollment, when the specified eligibility and at-risk conditions are satisfied.

Step 3: Record exposure changes

A student who begins training after four months contributes untrained observation time before initiation and trained observation time afterward, under a current-initiation exposure definition.

Step 4: Identify potential time-varying confounding

Academic engagement may influence training participation and withdrawal. Previous training may also influence engagement, creating a potentially exposure-affected confounder.

Step 5: Choose the analytical strategy

A time-dependent regression may describe conditional hazard associations. If the objective is a causal comparison of sustained or dynamic training strategies, the researchers consider an appropriate longitudinal causal framework and its identification assumptions.

Step 6: Interpret the findings

The results are interpreted according to the specified exposure history and estimand. The researchers do not treat a time-dependent coefficient as automatically establishing the causal effect of training.

Why Not Classify Everyone Who Eventually Trained as Exposed From Enrollment?

Such classification would assign pre-training observation time to the exposed group and could create immortal time bias when eventual participation requires remaining enrolled long enough to initiate training.

It would also conceal the distinction between students who began training immediately and those who began much later.

Representing exposure histories accurately is necessary for interpreting the observed relationship. Whether that relationship can be interpreted causally requires further assumptions and appropriate analysis.

05 · What Researchers Often Get Wrong

Common Mistakes When Exposure Changes During Follow-Up

Misconception

Must Exposure Always Remain Fixed in a Cohort Study?

No. Cohort studies can examine changing exposure histories. Whether exposure should be treated as fixed or time-varying depends on the research question and intended estimand.

Misconception

Can Eventual Exposure Be Treated as Baseline Exposure?

Not without an appropriate design and analysis. Classifying participants according to future exposure may introduce immortal time or selection bias when earlier observation time is allocated incorrectly.

Misconception

Does a Time-Dependent Cox Model Automatically Estimate a Causal Effect?

No. It can represent changing covariates, but causal interpretation requires additional assumptions. Time-varying confounding affected by prior exposure may require specialized methods.

Misconception

Does Updating Exposure Status Remove Every Source of Bias?

No. Accurate exposure timing addresses some classification problems, but confounding, selection, measurement error, and inappropriate model specification may remain.

Misconception

Can Researchers Assume Exposure Changed Exactly on the Assessment Date?

Not necessarily. When exposure is measured periodically, the actual transition may have occurred earlier. The analysis should reflect the available temporal resolution or explicitly justify its assumptions.

Misconception

Is Baseline Exposure Analysis Always Wrong When Exposure Changes Later?

No. Baseline analysis may be appropriate for a question about initial exposure status. It becomes misleading when interpreted as estimating the effect of actual sustained exposure without supporting evidence.

06 · What This Means for You

How to Choose an Appropriate Strategy for Changing Exposures

Begin by identifying whether your research question concerns exposure at cohort entry, exposure at particular times, cumulative exposure, or a sustained intervention strategy.

Then determine whether the available data contain sufficiently accurate exposure histories and relevant time-varying confounders.

A simple decision framework

If the question concerns baseline exposure status
A baseline exposure analysis may be appropriate, with conclusions limited to that initial classification.
If exposure begins or ends during follow-up
Consider time-varying exposure definitions and allocate person-time according to valid exposure histories.
If exposure changes are influenced by evolving outcome predictors
Evaluate time-varying confounding and whether conventional adjustment is sufficient for the intended estimand.
If the objective concerns sustained or dynamic causal strategies
Specify the strategies explicitly and consider appropriate longitudinal causal methods.
If exposure dates are uncertain or incomplete
Assess temporal misclassification and consider sensitivity analyses or a more limited research question.

For a planned cohort, collect exposure dates and relevant confounder information at intervals that match the expected rate of change.

For an existing cohort, reconstruct exposure histories carefully and avoid assigning exposure states to periods for which the records provide insufficient evidence.

Where the study also examines multiple exposures, consider whether their temporal relationships require separate definitions or joint modeling.

The objective is to make the analysis correspond to what participants actually experienced, while distinguishing accurate exposure representation from defensible causal identification.

07 · A Quick Checklist

Before Analyzing Time-Varying Exposure

Before finalizing your exposure analysis, check:
Have you specified whether the estimand concerns baseline, current, cumulative, or sustained exposure?
Can exposure initiation, discontinuation, and changes in intensity be identified reliably?
Are exposure histories aligned with cohort entry and outcome observation?
Have you avoided assigning future exposure status incorrectly to earlier person-time?
Have you considered immortal time bias and other time-related selection problems?
Are relevant time-varying confounders measured at appropriate intervals?
Does the analytical method address the intended association or causal estimand?
Have you evaluated missing exposure measurements and uncertainty about transition dates?
Are the assumptions and limitations of the exposure model reported transparently?
08 · Frequently Asked Questions

Frequently Asked Questions About Time-Varying Exposure

Can exposure change during a cohort study?

Yes. Participants may initiate, discontinue, or modify exposure during follow-up. Cohort analyses can represent these changes when the research question and available measurements support doing so.

What is the difference between a time-varying exposure and a time-varying confounder?

A time-varying exposure is the changing condition whose association or effect is being investigated. A time-varying confounder is a changing variable that influences both subsequent exposure and outcome under the relevant causal structure. A variable's role depends on the specific causal question.

Can I use Cox regression with a time-varying exposure?

Yes. Time-dependent Cox models can represent exposure values that change during follow-up. Their coefficients should not automatically be interpreted causally, especially when time-varying confounders are affected by earlier exposure.

What is immortal time bias?

It is a bias that can arise when a period during which participants must remain event-free to qualify for a later exposure category is incorrectly classified or allocated in the analysis.

Can I retain baseline exposure categories even if participants change later?

Yes, if the intended question concerns baseline exposure status. The resulting estimate should not be interpreted as the effect of remaining continuously exposed or unexposed unless the design and assumptions support that interpretation.

Do time-varying exposures require more frequent measurement?

Often, when exposure changes rapidly and precise timing matters. However, reliable dated administrative records may provide sufficient information without frequent questionnaires.

Can marginal structural models address time-varying confounding?

Yes, under appropriate assumptions and with suitable longitudinal data. They are designed for certain causal questions involving exposure and confounder histories, but they do not eliminate unmeasured confounding or guarantee causal identification.

Does a time-varying model always produce a better estimate?

No. A time-varying model answers a particular question and may require more detailed measurements and stronger assumptions. Its usefulness depends on the estimand and the quality of the exposure histories.

09 · The Bottom Line

Exposure Changes Must Be Represented According to the Question

The Bottom Line

When exposure changes during cohort follow-up, researchers should define the exposure history relevant to their estimand and allocate observation time accordingly. Baseline, current, cumulative, and sustained exposure analyses answer different questions.

Accurate temporal classification helps prevent avoidable bias, but causal inference may also require addressing time-varying confounding and selection. The most defensible analysis is one that represents the exposure process faithfully and supports the intended interpretation.

10 · Sources and Further Reading

Methodological Sources on Time-Varying Exposure and Longitudinal Causal Inference

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes