Skip to content

Protocol Generator · TIT

Trend-in-Trend protocol

In plain terms. A drug's use rises steeply in some kinds of patient and barely at all in others. If the drug really causes the outcome, the outcome should rise fastest exactly where the drug's use rose fastest. Trend-in-trend reads the effect off that co-movement rather than off a comparison of treated with untreated people — so a confounder that sits still over time cannot produce it.

How that is done precisely (Ji et al, Epidemiology 2017)

Stage 1 fits a logistic model of exposure on covariates that affect exposure but are not affected by it, and takes each person's predicted probability of being exposed at any point in the study period — the cumulative probability of exposure (CPE). Covariates are treated as time-invariant, so each person sits in one CPE stratum for the whole study. The population is then cut into quantiles of CPE (quintiles in the original paper), which sorts people by how steeply their exposure prevalence trends. Stage 2 tabulates, for every CPE stratum and calendar period, a 2 × 2 table of exposed / unexposed × case / non-case, and maximises the trend-in-trend likelihood over those tables. The estimate is exp(β₁), an odds ratio.

When it fails. The design is unbiased unless there are unmeasured factors affecting the outcome whose prevalence trends over calendar time in a way that is correlated with the exposure trend across CPE strata. A confounder that is stable over time therefore cannot bias it; a co-intervention or a secular change that arrives alongside uptake can. It also needs a genuinely strong time trend in exposure — without one there is nothing to read the effect off, and the likelihood may not be identified.

← All designs
1 · Identity

📚 Databases / sites (fills “Data source(s)”)

Taiwan

South Korea

Japan

Hong Kong

Australia

Finland

United Kingdom

Netherlands

United States

2 · Question
Population
Exposure (rising/falling in use)
Outcome
3 · Calendar trend & CPE strata
4 · Estimator & assumptions

Assumptions, stated as the paper states them. (1) There is a strong time trend in exposure — without one there is nothing to identify. (2) The estimate is unbiased unless unmeasured factors affecting the outcome have prevalence trends over calendar time that are correlated with the exposure trends across CPE strata; a time-stable confounder therefore cannot bias it. (3) Covariates in the stage-1 exposure model are treated as time-invariant, so each person stays in one CPE stratum throughout.

5 · Subgroups & sensitivity
Subgroup analyses (tick to perform)
Sensitivity analyses (tick to perform)
Auto-saved to this browser.

Live protocol preview

 

Consistency checks · TIT 防呆

Study design diagram