Tutorials › Joint Modeling of Longitudinal and Time-to-Event Data › Conditional Versus Marginal Marker Associations

Multiple Longitudinal Markers · Tutorial 381 of 697

Conditional Versus Marginal Marker Associations

Learn to interpret conditional marker hazard coefficients, derive marginal hazards by averaging over omitted markers, and explain why the two associations can differ.

Advanced 10 min read

What You'll Learn

  • Define a marker’s hazard coefficient conditional on the other markers in a joint model.
  • Distinguish that coefficient from an association estimated using one marker alone.
  • Derive a marginal hazard by averaging over the omitted marker distribution among people still at risk.
  • Calculate how correlation can strengthen, weaken, or reverse a marginal association.
  • Recognize why risk-set selection can make a marginal hazard ratio vary over time.
  • Compare simultaneous-marker, single-marker, and composite-marker approaches.

Why Conditional and Marginal Associations Differ

When biomarkers are correlated, a hazard coefficient for one marker depends on what else is included in the hazard model. A coefficient from a model containing several markers describes the association of one marker with the event hazard holding the other modeled markers fixed. A model containing only that marker describes a different quantity: its association when the other markers have been left out and their variation is not explicitly controlled.

Neither quantity is automatically the right one for every scientific question. The conditional association can help describe the contribution of a marker beyond the other markers in the model. The single-marker association can describe how that marker relates to risk in the population without adjustment for the rest of the panel. They need not have the same size or even the same direction.

The Conditional Hazard Model

Let \(q_{ik}(t)\) denote the value of the modeled association summary for marker \(k\) in subject \(i\) at time \(t\). It may be a current marker value or another specified summary of its longitudinal trajectory. Let \(x_i\) denote covariates included in the hazard model. A simultaneous-marker proportional hazards model is

$$ h_i(t \mid \mathbf{q}_i(t),x_i) = h_0(t)\exp\left\{ \sum_{k=1}^{K}\beta_k q_{ik}(t)+\gamma^\mathsf{T}x_i \right\}. $$

Here \(h_0(t)\) is the baseline hazard, and \(\beta_k\) is the conditional log-hazard coefficient for marker \(k\). The model says that, at a given time, the hazard is proportional to the exponential of the modeled marker summaries and covariates. In a joint model, the marker summaries may be latent quantities informed by the longitudinal measurements; the hazard model is interpreted conditional on those quantities, with their uncertainty handled by the joint analysis.

Definition: The conditional hazard ratio for a one-unit increase in marker \(k\), holding the other modeled marker summaries and covariates fixed, is \(\exp(\beta_k)\). If the marker was standardized, one unit means one standard deviation; otherwise, it means one unit on the marker’s stated scale.

The coefficient is conditional on the specified marker panel, not on every biomarker that could have been measured. Its interpretation also depends on the chosen association summary and scale. For example, a coefficient for a current-value summary is not a coefficient for a slope or cumulative burden.

The model assumes the stated hazard form is appropriate over the time range being analyzed. It also relies on the joint longitudinal-survival model adequately representing marker trajectories and their relationship with event times, and on the event and censoring processes being handled under suitable assumptions. In particular, censoring should be independent of the event process conditional on the modeled information, or the censoring mechanism must be modeled appropriately. Estimating a distinct conditional association also requires enough information to distinguish the markers’ contributions; severe lack of marker variation or overlap can make that difficult.

What “Marginal” Means Here

A single-marker analysis may include marker 1 but omit marker 2. Its hazard is not generally obtained simply by deleting \(\beta_2q_{i2}(t)\) from the simultaneous model. If marker 2 is associated with marker 1, or if marker 2 predicts the event, then omitting it leaves its variation mixed into the observed association for marker 1.

More formally, suppose the conditional hazard depends on marker 1 and on other marker information \(U\), which may include the trajectory of marker 2. Among subjects with marker 1 summary \(q\) who are still at risk at time \(t\), the hazard averaged over the omitted information is

$$ h_{\mathrm{marg}}(t\mid q,T_i\ge t) = \int h(t\mid q,u)\, f(u\mid q,T_i\ge t)\,du. $$

The distribution \(f(u\mid q,T_i\ge t)\) is the distribution of the omitted marker information among the people still at risk, not necessarily its distribution at study entry. Subjects with marker values associated with higher hazards tend to experience events earlier, changing the composition of the risk set over time.

This equation follows from averaging the instantaneous event probability over the omitted information among those still at risk. For a short interval of length \(dt\), the conditional event probability is approximately \(h(t\mid q,u)dt\). Averaging over \(u\) gives approximately \(dt\int h(t\mid q,u)f(u\mid q,T_i\ge t)du\); dividing by \(dt\) yields the marginal hazard.

As a result, a marginal hazard need not retain the proportional hazards form, even when the conditional model does. Its relationship with marker 1 can vary over time as the risk-set distribution changes. A coefficient from a fitted single-marker proportional hazards model is therefore generally a model-dependent summary of that marginal relationship, rather than a universal transformation of the conditional coefficient.

Worked Example: A Correlated Binary Marker Strengthens the Marginal Association

Suppose a hypothetical two-marker hazard model is \(h(t\mid M_1,M_2)=h_0(t)\exp(\beta_1M_1+\beta_2M_2)\), where both markers are binary. Let \(\exp(\beta_1)=1.5\) and \(\exp(\beta_2)=2\). At study entry, suppose \(P(M_2=1\mid M_1=0)=0.2\) and \(P(M_2=1\mid M_1=1)=0.8\). Calculate the conditional hazard ratio for \(M_1\) and the marginal hazard ratio at entry, before risk-set selection has occurred.

Conditional association. Holding \(M_2\) fixed, changing \(M_1\) from 0 to 1 multiplies the hazard by \(\exp(\beta_1)=1.5\). This is the conditional hazard ratio.

Marginal association at entry. At entry, average the hazard multiplier for \(M_2\) separately within each \(M_1\) group. For \(M_1=0\), that average is \(0.8(1)+0.2(2)=1.2\). For \(M_1=1\), it is \(0.2(1)+0.8(2)=1.8\). Thus the marginal hazard ratio is \(1.8/1.2=1.5\) for the averaged \(M_2\) contribution, multiplied by the direct \(M_1\) ratio of 1.5: \(1.5\times1.5=2.25\).

At entry, the single-marker marginal hazard ratio is 2.25, larger than the conditional ratio of 1.5. The difference arises because \(M_1=1\) is more often accompanied by the higher-risk value of \(M_2\). The 2.25 calculation applies to the entry distribution; as follow-up proceeds, the distribution of \(M_2\) among survivors can change, so this marginal ratio need not remain constant.

Correlation Can Also Reverse the Marginal Direction

A marker’s conditional association can be positive while its unadjusted association is negative. This can occur when the marker is positively correlated with another marker that has a sufficiently strong protective conditional association. The next example uses the same entry-time averaging logic, so it does not assume that the marginal hazard ratio remains constant after risk-set selection.

Worked Example: A Protective Correlated Marker Reverses the Marginal Association

Consider a hypothetical hazard model with binary markers \(M_1\) and \(M_2\). Suppose the conditional hazard ratios are \(\exp(\beta_1)=1.2\) and \(\exp(\beta_2)=0.25\). Let \(P(M_2=1\mid M_1=0)=0.2\) and \(P(M_2=1\mid M_1=1)=0.8\). Find the conditional hazard ratio for \(M_1\) and the marginal hazard ratio at entry.

Holding \(M_2\) fixed, the conditional hazard ratio for \(M_1\) is 1.2, indicating a higher hazard for \(M_1=1\) under the model.

For a group in which the probability of \(M_2=1\) is \(p\), the average hazard multiplier from \(M_2\) is \((1-p)(1)+p(0.25)=1-0.75p\). In the \(M_1=0\) group this is \(1-0.75(0.2)=0.85\); in the \(M_1=1\) group it is \(1-0.75(0.8)=0.40\). Therefore the marginal hazard ratio at entry is \(1.2(0.40/0.85)=0.565\), to three significant figures.

Thus, at entry, \(M_1=1\) has a lower averaged hazard despite having a positive conditional coefficient. The reason is that \(M_1=1\) is more commonly paired with the strongly protective value of \(M_2\). This is an association under the hypothetical model, not evidence that changing either marker would cause a change in hazard.

A Continuous-Marker Calculation

For continuous markers, a familiar correlation-based calculation can describe the marginal association at entry under specific assumptions. Suppose \(M_1\) and \(M_2\) are standardized, jointly normal, and have correlation \(\rho\). Suppose the conditional hazard is \(h_0(t)\exp(\beta_1M_1+\beta_2M_2)\), and consider the instantaneous hazard at entry, before event-related selection changes their distribution.

Under joint normality, \(M_2\mid M_1=m\) is normal with mean \(\rho m\) and variance \(1-\rho^2\). For a normal random variable \(Z\sim N(\mu,\sigma^2)\), \(E[\exp(aZ)]=\exp(a\mu+a^2\sigma^2/2)\). Applying this result gives

$$ E[\exp(\beta_2M_2)\mid M_1=m] = \exp\left\{\beta_2\rho m+ \frac{\beta_2^2(1-\rho^2)}{2}\right\}. $$

The second term in the exponent does not depend on \(m\). Consequently, the ratio of the entry-time marginal hazards at \(M_1=m+1\) and \(M_1=m\) is \(\exp(\beta_1+\rho\beta_2)\). This calculation relies on the stated normality and entry-time conditions; it is not a general formula for a fitted marginal coefficient during follow-up.

Worked Example: Correlation Adds to the Entry-Time Log-Hazard Association

Suppose standardized hypothetical markers have correlation \(\rho=0.6\), with conditional coefficients \(\beta_1=0.30\) and \(\beta_2=0.50\). Under the joint-normal assumptions above, compare the conditional and entry-time marginal hazard ratios for a one-standard-deviation increase in \(M_1\).

The conditional hazard ratio is \(\exp(0.30)=1.35\). The entry-time marginal log-hazard contrast is \(\beta_1+\rho\beta_2=0.30+0.6(0.50)=0.60\), so the marginal hazard ratio is \(\exp(0.60)=1.82\).

The conditional ratio compares subjects differing by one standard deviation in \(M_1\) while holding \(M_2\) fixed. The marginal ratio averages over the entry-time distribution of \(M_2\) given \(M_1\), so the positive correlation and positive \(\beta_2\) increase the association. This numerical result is specific to the stated assumptions and time point.

How to Compare the Modeling Choices

The main approaches answer different questions. A simultaneous-marker model estimates conditional associations for the included markers. A single-marker joint model estimates an association without explicitly adjusting the hazard for the other panel markers. A composite marker, such as a weighted burden, instead defines a combined predictor; its coefficient is about that specified combination, not the separate contribution of each marker.

ApproachInterpretationMain caution
Simultaneous-marker hazard modelAssociation of a marker holding the other included marker summaries fixedCorrelated markers may make separate contributions difficult to estimate precisely
Single-marker hazard modelAssociation when the other markers are omitted from the hazard modelThe estimate can reflect both the marker’s association and the correlated omitted information
Composite-marker hazard modelAssociation of a specified weighted or otherwise combined marker summaryThe result concerns the chosen combination, not an individual marker’s conditional effect

A useful analysis begins by stating the target interpretation, then fitting a model whose included markers and association summaries match that target. Comparing single-marker and simultaneous-marker estimates can be informative, but their difference is not, in general, a clean numerical measure of confounding or of a marker’s “share” of the association. In hazard models, averaging over omitted predictors and changing risk sets complicate such decompositions.

Diagnostics, Limitations, and a Common Mistake

When conditional and marginal estimates differ, first check that the comparison is meaningful: the models should use comparable populations, time scales, marker summaries, and covariate adjustments. Confirm the marker units and whether they were scaled, since a coefficient per raw unit cannot be compared directly with one per standard deviation. Examine uncertainty intervals as well as point estimates; a change in a coefficient alone does not establish that the corresponding associations differ precisely.

A large change in estimate after adding another marker may reflect real correlation and different estimands, but it can also signal that the data provide limited information to separate the markers. Look for very high marker correlation, sparse combinations of marker values, unstable estimates across reasonable model specifications, and wide uncertainty intervals. Also consider whether the conditional proportional hazards specification is plausible. If the marginal risk-set association changes over time, a constant-coefficient single-marker model may summarize that pattern imperfectly.

Common mistake: “The simultaneous model gives a smaller coefficient for marker 1, so marker 2 explained exactly the amount by which marker 1’s effect was inflated.” This reasoning treats hazard coefficients like coefficients in a simple linear decomposition. The correction is that the models generally target different conditional and marginal quantities; risk-set selection and hazard-ratio non-collapsibility can change the relationship. Report each estimate with its model, scale, and intended interpretation rather than treating their difference as a universal adjustment formula.

These approaches have limits. A conditional coefficient is conditional only on the markers and covariates actually modeled, and it can be imprecise when correlated markers carry similar information. A marginal association can depend on the marker distribution in the population and on follow-up time. Neither coefficient alone establishes causality: causal interpretation requires additional design and assumptions beyond a correctly fitted joint association model.

Key takeaway: A conditional marker coefficient compares hazards while holding the other modeled markers fixed. A marginal marker association averages over omitted marker information, whose distribution may depend on the marker of interest and on remaining event-free. Correlation and risk-set selection can therefore change both the magnitude and direction of the association.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. In a simultaneous-marker proportional hazards model, what does \(\exp(\beta_1)\) compare?
  2. At entry, marker 1 has conditional hazard ratio 1.4, and the omitted marker contributes average hazard multipliers of 1.1 in the marker-1-low group and 1.6 in the marker-1-high group. What is the entry-time marginal hazard ratio?
  3. Why might an entry-time marginal hazard ratio fail to describe the marginal association at later follow-up times?
  4. Can a positive conditional coefficient correspond to a negative marginal association? Give the essential reason.

Solutions. (1) It compares hazards for a one-unit increase in marker 1, holding the other modeled marker summaries and covariates fixed; the unit depends on the marker’s scale. (2) The ratio is \(1.4(1.6/1.1)=2.04\), to three significant figures. (3) Events change the marker distribution among those still at risk, so the omitted-marker average can change over time. (4) Yes. If marker 1 is associated with a protective omitted marker, averaging over that marker can outweigh the positive conditional association.

Clinical Biostats