rcatool.stats.pdf.perkins_skill_score

rcatool.stats.pdf.perkins_skill_score(p_mod, p_obs, axis=0)[source]

Calculate the Perkins Skill Score (PSS).

Parameters:
  • p_mod (list/array) – 1d or 2d arrays with frequency of values (probability) in a given bin from the model and observations respectively. Make sure that the sum of probabilities over all the bins should be equal to one. This depends on how the pdf was calculated. Bins with unity width gives total prob of one.

  • p_obs (list/array) – 1d or 2d arrays with frequency of values (probability) in a given bin from the model and observations respectively. Make sure that the sum of probabilities over all the bins should be equal to one. This depends on how the pdf was calculated. Bins with unity width gives total prob of one.

  • axis (int) – If data is 2d, the PSS will be calculated along this axis. Default axis is zero.

Returns:

pss – Returns Perkins Skill Score, single float or array with floats.

Return type:

float/array