Skip to content

Commit

Permalink
feat: Update pvalue description in weightstats.py of ztest
Browse files Browse the repository at this point in the history
The pvalue description in the `weightstats.py` file has been updated from "pvalue of the t-test" to "pvalue of the z-test". This change ensures accurate documentation of the statistical test being performed.
  • Loading branch information
luke396 committed Apr 21, 2024
1 parent c22837f commit fb613b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions statsmodels/stats/weightstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def ztest_mean(self, value=0, alternative="two-sided"):
tstat : float
test statistic
pvalue : float
pvalue of the t-test
pvalue of the z-test
Notes
-----
Expand Down Expand Up @@ -1524,7 +1524,7 @@ def ztest(
tstat : float
test statistic
pvalue : float
pvalue of the t-test
pvalue of the z-test
Notes
-----
Expand Down

0 comments on commit fb613b2

Please sign in to comment.