Skip to content

Statistics

earth2studio.statistics

Various statistic and metric calculations for analysing inference data.

statistics.accStatistic for calculating the anomaly correlation coefficient of two tensors over a set of given dimensions, with respect to some optional climatology.
statistics.brierAPI reference page.
statistics.crpsCompute the Continuous Ranked Probability Score (CRPS).
statistics.energy_scoreCompute the Energy Score for multivariate ensemble forecast verification.
statistics.fssStatistic for calculating the fractions skill score (FSS) of one tensors with respect to another over a set of given dimensions.
statistics.lsdAPI reference page.
statistics.maeStatistic for calculating the mean absolute error of two tensors over a set of given dimensions.
statistics.meanStatistic for calculating the sample mean over a set of given dimensions.
statistics.rank_histogramCompute the Rank Histogram for a given set of ensemble forecasts.
statistics.rmseStatistic for calculating the root mean squared error of two tensors over a set of given dimensions.
statistics.spread_skill_ratioMetric for calculating the spread/skill ratio of an ensemble forecast.
statistics.stdStatistic for calculating the sample standard deviation over a set of given dimensions.
statistics.varianceStatistic for calculating the sample variance over a set of given dimensions.

Utilities

statistics.weights.lat_weightCompute the cosine-based latitude weighting for a given tensor representing latitude coordinates.