Next: Regression Models
Up: Model Types in OPUS
Previous: Sampling Models
Index
Another simple generic model supported in OPUS is the Allocation Model, which does not require estimating model parameters. This model proportionately allocates some aggregate quantity to a smaller unit of analysis using a weight. This model could be configured, for example, to allocate visitor population estimates, military population, nursing home population, and other quantities to traffic analysis zones for use in the travel model system. Or it could be used to build up a simplistic incremental land use allocation model (though this would not contain much behavioral content).
The algorithm for this type of model is quite simple. To create an Allocation Model, we need to specify six arguments:
- Dataset to contain the new computed variable
- Name of the new computed variable
, which will be indexed by the ids of the dataset it is being allocated to,
.
- Dataset containing the total quantity to be allocated (this can contain a geographic identifier, and will include a year column).
- Variable containing the control total to be allocated,
- Variable containing the (optional) capacity value
, indexed as
- Variable containing the weight to use in the allocation
, indexed as
, with a sum across all
as
The algorithm is then just:
 |
(3) |
If a capacity variable is specified, we add an iterative loop, from
to
, to allocate any excess above the capacity to other destinations that still have remaining capacity:
 |
(4) |
In each iteration, we exclude alternatives where
, and repeat the allocation with the remaining unallocated total:
 |
(5) |
We then iterate over
until
This simple algorithm is fairly versatile, and can be used in two modes: as incremental growth or as total values. If used in incremental mode, it adds the allocated quantity to the existing quantities. The alternative, total, mode for this model replaces the quantities with the new predicted values.
Next: Regression Models
Up: Model Types in OPUS
Previous: Sampling Models
Index
info (at) urbansim.org