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

Add p-value calculation in tTest and tTestTwoSample functions #354

Open
dongbohu opened this issue Jan 14, 2019 · 6 comments
Open

Add p-value calculation in tTest and tTestTwoSample functions #354

dongbohu opened this issue Jan 14, 2019 · 6 comments

Comments

@dongbohu
Copy link

I wonder whether you can add two more functions to return the p-values for tTest and tTestTwoSample. It will be very useful in our use case. Thanks you very much.

@chriszrc
Copy link
Contributor

chriszrc commented Jan 5, 2020

Absolutely agree, this is the first thing I attempted to use this library for. Is there anyway to use utilities within simplestatistics to get the p-value from the p score?

@NickHeiner
Copy link

If we can't return a p-value directly, it would be nice if the docs gave me a pointer as to how I could compute it myself.

@NickHeiner
Copy link

And, relatedly, in the docs for standardNormalTable, it would be nice to have a note about why it's a 1-dimensional table instead of a 2-dimensional table, since that's generally how z-tables are presented. (And how the user might translate the 2-dimensional lookup they're accustomed to into the 1-dimensional lookup this table requires.)

@nico-hernandez
Copy link

Hi! Are there news about it? Is it possible to retrieve p-value from two sample test function?

@mhkeller
Copy link

mhkeller commented Aug 9, 2022

Yes this would be very useful!

@kgryte
Copy link

kgryte commented Aug 10, 2022

@mhkeller For alternatives, see https://github.com/stdlib-js/stats-ttest and https://github.com/stdlib-js/stats-ttest2.

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

No branches or pull requests

6 participants