nectarchain.utils.utils.Statistics# class Statistics[source]# Bases: object Statistical utility functions. Methods chi2_pvalue Compute the p-value from a chi-squared distribution. static chi2_pvalue(ndof: int, likelihood: float)[source]# Compute the p-value from a chi-squared distribution. Parameters: ndofintNumber of degrees of freedom. likelihoodfloatThe likelihood value. Returns: floatThe p-value.