-
Notifications
You must be signed in to change notification settings - Fork 1
Distance decay functions
A distance decay function defines the relation between travel impedance
Travel potential can be calculated with the GeoDMS directly from travel impedance tables, see Origin Destination matrix (trip table).
| Name | Definition | Notes |
|---|---|---|
| Inverse | Diverges as |
|
| Inverse squared | Steeper, the classical gravity analogue | |
| Power-b | General power family, with |
|
| Negative exponential | Better behaved near zero, standard in trip distribution | |
| Cut off | Reduces the potential measure to a cumulative opportunity count | |
| Log logistic | Flat near the origin, then a steep fall, often the best empirical fit |
The log logistic form can be rewritten as
with
The shape matters more than the family. Three properties are worth checking against what you know about the behaviour being modelled.
- Behaviour near zero. Power functions go to infinity at
$d = 0$ , which turns a destination in the same zone as the origin into an artefact. Exponential and log logistic forms do not. - The tail. A heavy tail lets distant destinations keep contributing; a thin one makes the indicator effectively local. This decides how sensitive your result is to the study area boundary.
- The middle. Log logistic functions have a plateau followed by a steep drop, which matches observed behaviour for many trip purposes better than a smooth monotone decline. People are fairly indifferent between 5 and 10 minutes, and much less so between 30 and 45.
Parameters should be estimated from observed trip data for the same purpose and mode where possible. Borrowed parameters are common and often unavoidable, but they carry the travel behaviour of the study they came from. A commuting decay function applied to grocery trips will overstate the value of distant shops.
Always report a sensitivity analysis over the parameters. If the policy conclusion flips between
Inside the interaction model, the decay function is chosen through the impedance options, which offer two forms.
dist_decay(gamma) is the power family, OrgZone_min and DstZone_min options are the other
answer, imposing a floor on the impedance.
dist_logit(alpha,beta,gamma) is the log logistic form, extended with a term in
At dist_logit(-6.899, 2.326, 0) with
Note that the parameters are named in Latin characters in the documentation, deliberately, because
the surrounding interaction options already use
Decay applies to the impedance used for the interaction, which need not be the impedance used to choose the route. See Travel impedance.
- Accessibility indicators, where decay functions are used
- Spatial Interaction Models, estimating decay parameters from flow data
-
Travel impedance, what goes into
$d_{ij}$ - Impedance options, the implementation
Accessibility modelling documentation

Concepts
Networks
- Network data sources
- OSM
- NWB
- GTFS
- Building a routable network
- Network optimisation algorithm
- Travel speeds per mode
Origins & destinations
Computation
- Shortest path and the Dijkstra algorithm
- Origin Destination matrix (trip table)
- Isochrones and catchment areas
- Public transport routing
Indicators
Applications
Network models
Reference