Discrete-Time Hazard of Migration

Statistics
Introduced by
Paul D. Allison
Year
1982
Type
Discrete-time hazard model of migration timing
Family
Migration studies / event-history analysis

What does it do?

The discrete-time hazard model analyzes when migration happens when event times are recorded in coarse intervals, such as years, rather than as exact dates.

Allison's 1982 treatment showed that such an event history can be analyzed by expanding each person into one record per period at risk, marking whether a move occurred in that period, and fitting a binary regression with a logit or complementary log-log link to the conditional probability of moving. A baseline term for period or duration captures how the risk of moving changes over the time spent in an at-risk spell, and covariates can take different values in different periods. Because this reduces to a binary regression that most statistical software can fit, it is a practical option for interval-recorded migration data such as annual panels and registers.

The intuition behind the method

Suppose you only know, for each year, whether a person moved or stayed. The trick is to stop treating each person as one data point and instead treat each person-year as a binary trial: in this year, did they move or not? A person who stayed put for several years and then moved contributes one 'stayed' record for each year before the move and a final 'moved' record, and then leaves the risk pool. Once the data are laid out this way, the conditional probability of moving in a given year can be estimated with a binary regression in which one predictor is the time already spent in the current spell. That duration term plays the role of a baseline hazard: it allows the risk of moving to be high soon after arrival, decline, or peak at particular durations. Covariates that change from year to year, such as a new job or a change in household composition, enter simply as columns that vary across a person's records.

History

Allison (1982) presented discrete-time methods for event histories in Sociological Methodology and showed that event histories grouped into intervals can be analysed by maximum-likelihood logit or complementary log-log models fitted to person-period data. Blossfeld and Rohwer's Techniques of Event History Modeling is a later general reference on event-history modelling. The person-period approach is used in migration research for interval-recorded data, but the sources cited here do not document its use in that field.

When to use it

Choose the discrete-time hazard model when migration timing is recorded in coarse intervals, such as annual panel waves, register years or census-based duration data, so that exact event times are unavailable or many moves fall in the same period. It suits designs in which duration dependence should be modelled flexibly and in which covariates change between periods and should enter as period-specific values. It is also appropriate when moves fall into distinguishable types that call for competing-risks or destination-choice modelling. Do not use it when exact dates are available and tied event times are rare; a continuous-time Cox model is then more natural. If the object of study is the rate of repeated moves within a person rather than the timing of a single transition, a repeated-events design is more suitable.

Limitations and considerations

  • The person-period expansion multiplies the number of records by the number of periods each person is at risk, which can produce very large files when many individuals are followed over many years.
  • Estimates depend on the width of the time interval: coarser periods blur the timing within a period and can combine moves that would otherwise be distinct.
  • Unobserved heterogeneity can be mistaken for duration dependence unless a frailty term or comparable control is included, as in continuous-time models.
  • Because a person contributes several records, errors are correlated within individuals, and ignoring this clustering overstates the precision of the estimates.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Turns event-history analysis into a binary regression on person-period records, so it can be run in standard logit or cloglog software on large datasets.
  • Handles tied event times naturally, which is the situation created by annual or interval-censored migration data.
  • Models duration dependence through explicit baseline period terms rather than imposing a functional form on the hazard.
  • Extends to competing destinations and repeat moves, so the analyst can study where people move as well as when.

Applications

  • Modelling the annual probability of an internal move from panel data, with the time since the last move as the baseline term.
  • Estimating the timing of leaving the parental home from person-year records with covariates updated each year.
  • Competing-risks analysis of whether a move is short-distance, long-distance internal or international.
  • Studying repeat and return migration by stacking several at-risk spells per person in discrete time.
  • Relating period-specific events, such as changes in employment or policy, to the hazard of moving in that period.

How it works

How it works

1

The defining step is the person-period expansion. Each individual is replaced by a set of records, one for every period in which they were at risk of moving, ending with the period in which they moved or were censored. In each record a binary outcome indicates whether the move occurred in that period. This reshaping turns an event history into a dataset of binary records that can be analysed with standard regression routines, rather than requiring specialised survival software.

Formula
i \mapsto \{(i,1),(i,2),\dots,(i,t_i)\},\quad y_{it}=\mathbb{1}[\text{move of } i \text{ in period } t]
2

The quantity being modelled is the discrete-time hazard: the probability that a person moves in period t, given that they have not moved before t. The product of the complements of these period hazards gives the discrete survivor function, the probability of having stayed up to a given period. The model works with this conditional period probability because only people still at risk in a period can move in it. This conditioning is what allows the pooled binary regression to serve as the likelihood for the event history.

Formula
h_{it}=\Pr(T_i=t\mid T_i\ge t,\,x_{it}),\quad S_{it}=\prod_{s\le t}(1-h_{is})
3

A link function connects the hazard to a linear predictor. The logit link gives a proportional-odds model, which is ordinary logistic regression applied to the person-period records. The complementary log-log link gives a proportional-hazards form, which is the discrete-time counterpart of the Cox model and is often chosen when the estimates should be read on a hazard scale. In both cases the baseline is entered explicitly as a function of period or duration, for example as dummy variables, polynomials or splines, so that duration dependence is modelled rather than assumed away.

Formula
\operatorname{logit}(h_{it})=\alpha(t)+\beta^{\top}x_{it}\quad\text{or}\quad \operatorname{cloglog}(h_{it})=\alpha(t)+\beta^{\top}x_{it}
4

Migration is rarely a single undifferentiated event, since a move to another city is not the same as a move abroad. In the discrete-time framework, competing destinations can be handled by estimating a separate conditional hazard for each destination type, or by using a multinomial logit that, conditional on a move, allocates it across destinations. The second form is the one written in the mechanics, and it follows standard multinomial logit practice. This approach allows the analyst to ask both when people move and where they go, with covariates able to raise the probability of some destinations and lower it for others.

Formula
h^{(d)}_{it}=\Pr(T_i=t,\,D_i=d\mid T_i\ge t),\quad \Pr(D_i=d\mid \text{move})=\frac{e^{\gamma_d^{\top}x_{it}}}{\sum_{d'}e^{\gamma_{d'}^{\top}x_{it}}}
5

Estimation maximises the likelihood of the observed sequence of move and stay outcomes, which factorises into a product of Bernoulli terms over all person-periods. This likelihood is the same as the one from a single pooled binary regression on the expanded dataset, so it can be fitted with a logit or cloglog routine. This validity rests on several assumptions: censoring is independent of the move hazard given the covariates; the baseline period or duration term is flexible enough to avoid misspecification; covariates in period t are measured before the move decision in that period; and, for the cloglog form, covariate effects are proportional on the hazard scale. These are general assumptions of the method and should be checked against the data. Because each person contributes several records, standard errors should be clustered by individual if unmodelled within-person dependence is a concern. Coefficients are interpreted as effects on the odds of moving (logit) or on the period hazard (cloglog).

Formula
L=\prod_i\prod_{t=1}^{t_i} h_{it}^{\,y_{it}}(1-h_{it})^{1-y_{it}}\ \equiv\ \text{pooled binary regression on person-periods}

Common pitfalls

  • Fitting one binary record per person rather than expanding to person-periods, which discards the timing of the move and any duration dependence.
  • Omitting the baseline duration or period terms, which implicitly assumes a constant hazard and leads to misreading of covariate effects.
  • Letting covariates take values from after the move into the at-risk periods, which lets information from after the event predict the event.
  • Combining distinct destination types into a single move outcome when their drivers differ, instead of modelling them as competing risks. Inspect whether destination-specific effects differ before pooling.
  • Not checking the model: compare logit and cloglog fits, test whether the baseline is flexible enough (for example dummies versus splines), and test whether covariate effects vary with duration rather than assuming proportionality.

Frequently asked questions

Why does a discrete-time hazard model reduce to a binary regression?

Once each person is expanded into one record per at-risk period, with a move-or-stay indicator, the likelihood of the event history factorises into a product of Bernoulli terms. This is the likelihood of a binary regression on those records. Allison's contribution was to make this equivalence explicit, so that the conditional period probability of moving can be estimated with a logit or complementary log-log routine. The analyst must still include a baseline term for period or duration, which plays the role of the baseline hazard.

When should I use cloglog instead of logit?

The complementary log-log link is usually chosen when the estimates are to be read as proportional-hazards effects, for example when comparing with a grouped continuous-time model. The logit link gives proportional-odds interpretations and is a common choice. When per-period hazards are small, the two links usually give similar conditional probabilities; they can diverge when hazards are large or effects are strong. It is therefore sensible to fit both and compare them, choosing according to the interpretation the research question requires.

How do I model where people move, not just when?

Treat destinations as competing risks. One option is to fit a separate discrete-time hazard for each destination type, treating moves to other types as censored. Another, conditional on a move occurring, is to fit a multinomial logit that allocates the move across destination categories. This allows covariates to have different effects on different destinations, so one factor might raise the probability of a long-distance move while leaving short-distance moves unaffected.

Related methods

Sources

  1. Allison, P. D. (1982). Discrete-Time Methods for the Analysis of Event Histories. Sociological Methodology, 13, 61-98.

    Open DOI reference
  2. Blossfeld, H.-P., & Rohwer, G. (2002). Techniques of Event History Modeling: New Approaches to Causal Analysis (2nd ed.). Lawrence Erlbaum.

    ISBN: 9780805840919