Description Usage Arguments Value Note Author(s) References Examples
Function to perform a two independent sample t-test based on sample size, means, and standard deviations
1 |
m1 |
Sample mean group 1 |
m2 |
Sample mean group 2 |
s1 |
Sample S.D. group 1 |
s2 |
Sample S.D. group 2 |
n1 |
Sample size group 1 |
n2 |
Sample size group 1 |
m0 |
the null value for the difference in means to be tested for. Default is 0. |
equal.variance |
Whether or not to assume equal variance. Default is FALSE. |
returns vector with difference of means, standard error, t-value, p-value
Copied from https://stats.stackexchange.com/questions/30394/how-to-perform-two-sample-t-tests-in-r-by-inputting-sample-statistics-rather-tha
Dominik Vogel
https://stats.stackexchange.com/questions/30394/how-to-perform-two-sample-t-tests-in-r-by-inputting-sample-statistics-rather-tha
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.