Description Usage Arguments Details Value Author(s) See Also Examples
This function performs a t-test, but does so in a way that adheres to the 7 steps of data analysis (it reports residuals/effect sizes/parameter estimates before showing significance).
1 | ttest(y, x, related = F)
|
y |
Either a vector containing the Dependent variable scores, or a vector containing the scores of group 1 |
x |
Either a vector containing the group categories, or a vector containing the scores of group 2 |
related |
Are the two groups related (paired)? Specify true if the people are matched or if there's repeated measures. |
The validity of a t-test relies on basic statistical assumptions (normality, homoskedasiticity, and independence). Furthermore, statistical significance can easily be
conflated with practical significance. This function is simply a wrapper for r's native t.test
function, but outputs the results in such a way that encourages
the user to focus on estimation as model appropriateness.
Two objects: cohen's d and a table of estimates (means and difference between groups)
Dustin Fife
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.