nsrdb.utilities.statistics

Created on Fri Dec 21 10:29:51 2018

@author: gbuster

Functions

N(x, x_true)

Get the number of non-nan values common to both arrays.

mae(x, x_true)

Calculate the mean absolute error (has units).

mae_perc(x, x_true)

Calculate the mean absolute error (percentage of true).

mbe(x, x_true)

Calculate the mean bias error (has units).

mbe_perc(x, x_true)

Calculate the mean bias error (percentage of true).

rmse(x, x_true)

Calculate the root mean square error (has units).

rmse_perc(x, x_true)

Calculate the root mean square error (percentage of true).