pywhy_stats.pvalue_result.PValueResult#
- class PValueResult(pvalue, statistic=None, additional_information=None)[source]#
- Data class representing the results of an hypothesis test that produces a p-value. - Attributes:
- pvaluefloat
- The p-value represents the probability of observing the given test statistic, or more extreme results, under a certain null hypothesis. 
- statisticfloator array_like orNone
- The test statistic of the hypothesis test, which might not always be available. 
- additional_informationobject or None
- Any additional information or metadata relevant to the specific test conducted. These could also be a state of the method to re-use it. 
 
- pvalue