segregation.singlegroup.DistanceDecayInteraction¶
- class segregation.singlegroup.DistanceDecayInteraction(data, group_pop_var, total_pop_var, alpha=0.6, beta=0.5, **kwargs)[source]¶
Distance-Decay Interaction Index.
- Parameters:
- data
pandas.DataFrame
orgeopandas.GeoDataFrame
,required
dataframe or geodataframe if spatial index holding data for location of interest
- group_pop_var
str
,required
name of column on dataframe holding population totals for focal group
- total_pop_var
str
,required
name of column on dataframe holding total overall population
- alpha
float
A parameter that estimates the extent of the proximity within the same unit. Default value is 0.6
- beta
float
A parameter that estimates the extent of the proximity within the same unit. Default value is 0.5
- data
- Attributes:
Notes
It may be interpreted as the probability that the next person a group member meets anywhere in space is from the same group.
Based on Morgan, Barrie S. “A distance-decay based interaction index to measure residential segregation.” Area (1983): 211-217.
The pairwise distance between unit i and itself is (alpha * area_of_unit_i) ^ beta.
Reference: [Morgan, 1983].
Methods
__init__
(data, group_pop_var, total_pop_var)Init.