AusClimateService / plotting_maps

Standardising hazard maps for ACS
4 stars 1 forks source link

Mode statistic on continuous data #1

Closed xenct closed 3 months ago

xenct commented 4 months ago

Continuous data that is presented as categorical data (eg aridity, FFDI) may be summarised using the mode. The "mode" of the data gives the most common value. It will be a useful summary statistic, especially when the index has no meaningful order to its categories. At the moment, acs_regional_stats can calculate the mode for non-continuous variables. The solution to this issue is likely to require pd.cut or xarray.DataArray.groupby_bins