segregation.aspatial.MinMax¶
-
class
segregation.aspatial.
MinMax
(data, group_pop_var, total_pop_var)[source]¶ Calculation of the Aspatial version of SpatialMinMax
- Parameters
- dataa pandas DataFrame
- group_pop_varstring
The name of variable in data that contains the population size of the group of interest
- total_pop_varstring
The name of variable in data that contains the total population of the unit
Notes
Based on O’Sullivan & Wong (2007). A Surface‐Based Approach to Measuring Spatial Segregation. Geographical Analysis 39 (2). https://doi.org/10.1111/j.1538-4632.2007.00699.x
Reference: [OSullivanW07].
We’d like to thank @AnttiHaerkoenen for this contribution!
- Attributes
- statisticfloat
MinMax Index
- core_dataa pandas DataFrame
A pandas DataFrame that contains the columns used to perform the estimate.
-
__init__
(data, group_pop_var, total_pop_var)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(data, group_pop_var, total_pop_var)Initialize self.