Description Usage Arguments Value Note Author(s) Source
This function calculates a t-test for the means, standard deviations, and sample sizes of two groups, and prints the results.
1 | ttestfromMeans(x1, x2, sd1, sd2, n1, n2)
|
x1 |
mean of group 1. |
x2 |
mean of group 2. |
sd1 |
standard deviation of group 1. |
sd2 |
standard deviation of group 2. |
n1 |
sample size of group 1. |
n2 |
sample size of group 2. |
None
Permission to publish under MIT license granted by Andy Field. Copyright remains with the authors of the function.
Field, Andy. Miles, Jeremy. Field, Zoƫ.
Field, Andy. (2012) 'Discovering Statistics Using R', p. 375. London, England: SAGE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.