neurom.statsΒΆ

Statistical analysis helper functions

Nothing fancy. Just commonly used functions using scipy functionality.

Functions

compare_two Compares two distributions of data
fit Calculate the parameters of a fit of a distribution to a data set
fit_results_to_dict Create a JSON-comparable dict from a FitResults object
get_test Returns the correct stat test
optimal_distribution Calculate the parameters of a fit of different distributions to a data set
scalar_stats Calculate the stats from the given numpy functions
total_score Calculates the p-norm of the distances that have been calculated from the statistical test that has been applied on all the paired datasets.

Classes

FitResults Create new instance of FitResults(params, errs, type)
StatTests Enum representing valid statistical tests of scipy