Description Usage Arguments Value Author(s)
Perform a two-tailed t-test between two variables
1 |
x |
a numeric vector |
y |
a numeric vector |
variance_equal |
boolean (TRUE/FALSE) indicating if variance of x and y are equal or not. If variances are equal, the function will calculate the pooled variance. Else, it will use the formula for unequal variances. |
... |
optional named arguments. You may pass the following arguments:
|
list of class 't_test' containing:
inputs: list containing input variables and optional arguments
summary_statistics: list containing summary statistics means, variance, number of observations, pooled variance (if applicable)
test: test statistic, degrees of freedom, p-value
CI: 95% bootstrapped confidence intervals, the average test statistic and bias compared to the computed t-statistic found under 'test'
Jasper Ginn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.