Rename δ -> Δμ for clarity
This commit is contained in:
parent
8d40e9db8b
commit
349eebb202
@ -43,10 +43,10 @@ class TTestResult:
|
||||
self.delta_direction = delta_direction
|
||||
|
||||
def _repr_html_(self):
|
||||
return '<i>t</i>({:.0f}) = {:.2f}; <i>p</i> {}<br><i>δ</i> ({:g}% CI) = {}, {}'.format(self.dof, self.statistic, fmt_p(self.pvalue, html=True), (1-config.alpha)*100, self.delta.summary(), self.delta_direction)
|
||||
return '<i>t</i>({:.0f}) = {:.2f}; <i>p</i> {}<br>Δ<i>μ</i> ({: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"""
|
||||
|
Loading…
Reference in New Issue
Block a user