ClimateFIR customize agg for apriori
Customize Apriori
Current status: When applying ClimateFIR, apriori is calculated always on means (e.g. monthly mean).
IDEA: As especially for chemicals the span of values might spread a lot, one could consider to use the more robust median to replace the average. As can be seen in the example, the estimate is not that good.
In the next example, one can see that in some cases the median is much lower than the mean and very close to the lower percentile. This indicates, that some "bigger" values increase the mean while in most cases concentration is low.
In summer, there is less this issue:
TODOs
-
be able to use given statistic (from mean
,median
, maybe think about quantiles)