Description Usage Arguments Value
Function which performs a 2-sample t-test using sample statistics (mean, sd, n) instead of a lists of observations. Not recommended for use outside gg_ttest_between().
1 |
mean1 |
Mean for sample 1 |
mean2 |
Mean for sample 2 |
sd1 |
Standard deviation for sample 1 |
sd2 |
Standard deviation for sample 2 |
n1 |
Number of replicates for sample 1 |
n2 |
Number of replicated for sample 2 |
m0 |
Difference in means to test for. Default is 0. |
equal.variance |
Optional – Boolean for whether variances are equal. TRUE results in a student's t-test. FALSE results in a Welch test. Defaults to TRUE. |
Named list containing "Difference of means", "Std Error", "t", "df", and "p-value"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.