From 349eebb202e43b78e02e79075fa547acba7a9061 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sun, 16 Oct 2022 01:44:05 +1100 Subject: [PATCH] =?UTF-8?q?Rename=20=CE=B4=20->=20=CE=94=CE=BC=20for=20cla?= =?UTF-8?q?rity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yli/sig_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yli/sig_tests.py b/yli/sig_tests.py index 0258b71..368cc2c 100644 --- a/yli/sig_tests.py +++ b/yli/sig_tests.py @@ -43,10 +43,10 @@ class TTestResult: self.delta_direction = delta_direction def _repr_html_(self): - return 't({:.0f}) = {:.2f}; p {}
δ ({:g}% CI) = {}, {}'.format(self.dof, self.statistic, fmt_p(self.pvalue, html=True), (1-config.alpha)*100, self.delta.summary(), self.delta_direction) + return 't({:.0f}) = {:.2f}; p {}
Δμ ({:g}% CI) = {}, {}'.format(self.dof, self.statistic, fmt_p(self.pvalue, html=True), (1-config.alpha)*100, self.delta.summary(), self.delta_direction) def summary(self): - return 't({:.0f}) = {:.2f}; p {}\nδ ({:g}% CI) = {}, {}'.format(self.dof, self.statistic, fmt_p(self.pvalue, html=False), (1-config.alpha)*100, self.delta.summary(), self.delta_direction) + return 't({:.0f}) = {:.2f}; p {}\nΔμ ({:g}% CI) = {}, {}'.format(self.dof, self.statistic, fmt_p(self.pvalue, html=False), (1-config.alpha)*100, self.delta.summary(), self.delta_direction) def ttest_ind(df, dep, ind, *, nan_policy='warn'): """Perform an independent-sample Student's t test"""