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

Implement visualization of test statistic, degrees of freedom and corresponding p-value #105

Open
JohannesWiesner opened this issue Nov 12, 2020 · 2 comments

Comments

@JohannesWiesner
Copy link

TableOne currently seems to visualize the respective hypothesis-tests using whole words (i.e. Two Sample T-test, Chi-squared). It would be nice if the respective test statistic, the degrees of freedom and the p-value could also be printed out in a separate column (sticking to APA convention):

Statistic
--------------------
t(28) = 2.6, p < .05
@tompollard
Copy link
Owner

@JohannesWiesner great suggestion, thanks! we'll take a look at this.

@JohannesWiesner
Copy link
Author

In the meantime (until this might be implemented in the future), is there a way to already obtain the test statistics and degrees of freedom from the TableOne() instance? I guess, TableOne uses something like scipy.stats.ttest_ind in the backend and the output is somehow saved as an attribute?

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

2 participants