I'm trying to run a number of independent samples t-tests. I'm using the yuen function in the WRS2
package because my data are non-normal and ordinal. My sample size is 391, but the output of the yuen function gives df values of between 2 and 16.35 depending on the variable. I don't really understand what df means in this context, but it seems weirdly low. When I run Welch two-sample t-tests on the same data, I get very different results for some variables (p = 0.07 for Welch compared to p = 0.41 for Yuen)
Is there something wrong with what I'm doing? Is having such low degrees of freedom some kind of error? I've read all the information I can find about the package and can't find anything relevant.
I know I'm supposed to give sample code, but I'm pretty new to R and I haven't been able to figure out how. I've provided my output if that helps.
Call:
yuen(formula = Choose_Approach ~ Cause_B_BrainChemicals, data = data2)
Test statistic: 0.8556 (df = 12), p-value = 0.40901
Trimmed mean difference: 0.27143
95 percent confidence interval:
-0.4198 0.9627
Explanatory measure of effect size: 0.25