Discrete#
- class Discrete[source]#
Bases:
object- static ChiSquare(predicted, observed, **kwargs)[source]#
Compute the Chi-Square statistic.
- Parameters:
- predictedarray_like
The predicted values.
- observedarray_like
The observed values.
- Returns:
floatThe Chi-Square statistic.
- static G2(predicted, observed, **kwargs)[source]#
Compute the G2 statistic.
- Parameters:
- predictedarray_like
The predicted values.
- observedarray_like
The observed values.
- Returns:
floatThe G2 statistic.