exa.core.error_estimation.fit_statistical_error.statistical_uncertainty

exa.core.error_estimation.fit_statistical_error.statistical_uncertainty#

statistical_uncertainty(values, fit_errors)#

Given a list of fitted values, and a list of their respective errors, calculate an statistical estimate of the sample uncertainty.

Parameters:
  • values (np.ndarray) – list of fit values

  • fit_errors (np.ndarray) – list of fit errors

Returns:

Statistical estimate of the sample uncertainty

Return type:

float