bayesplain.frequentist.FrequentistTwin¶
-
class bayesplain.frequentist.FrequentistTwin(test, statistic_name, statistic, pvalue, dof=
None, estimate=None, interval=None, interval_level=0.95, interval_method='', null_statement='')[source]¶ A conventional test result, with its interpretation attached.
- Variables:¶
- test : str¶
Name of the test, as a student would meet it in a methods section.
- statistic_name : str¶
Symbol for the test statistic, e.g.
"chi-square"or"z".- statistic : float¶
The test statistic.
- pvalue : float¶
The p-value.
- dof : float or None¶
Degrees of freedom, where the test has them.
- estimate : float or None¶
The point estimate the test is built around.
- interval : tuple of float or None¶
Confidence interval on
estimate.- interval_level : float¶
Coverage of
interval.- interval_method : str¶
How the interval was constructed, since the choice is not unique.
- null_statement : str¶
The null hypothesis in words.
Methods
claims()State, in words, what this p-value does claim.
State what this p-value is routinely but wrongly taken to claim.
interval_claims([formatter])State what the confidence interval does and does not claim.
Express the p-value as a frequency, without rounding it to zero.
-
interval_claims(formatter=
None)[source]¶ State what the confidence interval does and does not claim.