Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: ztest documentation says that it returns pvalue of the t-test . #9169

Open
Shakoth opened this issue Mar 8, 2024 · 2 comments · May be fixed by #9226
Open

DOC: ztest documentation says that it returns pvalue of the t-test . #9169

Shakoth opened this issue Mar 8, 2024 · 2 comments · May be fixed by #9226

Comments

@Shakoth
Copy link

Shakoth commented Mar 8, 2024

Just a minor mistype I think. Was a little confused when read that z-test function returns t-test p-value.
From the ztest docstring:

Returns

tstat : float
test statistic
pvalue : float
pvalue of the t-test

@luke396
Copy link
Contributor

luke396 commented Apr 21, 2024

Hi @Shakoth, could you please paste the specific document page you mentioned? If it still exists, I'd like to fix it.

@Shakoth
Copy link
Author

Shakoth commented Apr 21, 2024

Sure, here it is:
https://www.statsmodels.org/dev/generated/statsmodels.stats.weightstats.ztest.html

The docstring in the code says the same (my version is 0.14.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants