neurom.stats.fit

neurom.stats.fit(data, distribution='norm')[source]

Calculate the parameters of a fit of a distribution to a data set

Parameters:data – array of data points to be fitted
Options:
distribution (str): type of distribution to fit. Default ‘norm’.
Returns:FitResults object with fitted parameters, errors and distrubution type

Note

Uses Kolmogorov-Smirnov test to estimate distance and p-value.