Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paired T test function does not work on multiple group comparisons if sample sizes are unequal (if some observations are missing) #192

Open
turalu4 opened this issue Jul 19, 2023 · 0 comments

Comments

@turalu4
Copy link

turalu4 commented Jul 19, 2023

Hi,
Rstatix is very user friendly package. I don’t see any problem in paired T test function if you have two groups like before and after. However, paired t-test function does not work on multiple group comparisons if sample sizes are unequal (if some observations are missing in different time points). It needs missing observations to be determined by the user. But it is very time consuming due to many groups to compare (And I don’t want use drop.na). Missing observations are randomly distributed in my big dataset at 5 consecutive measurements. As you know, spss can easily perform pairwise deletion. So, you don’t need to delete all observations if it is missing at only one observation in spss (One comparison maybe based on 34 pairs while other maybe 36). In this scanario, rstatix produce complete.cases(x,y) warning. Force the user to establish equal sample sizes for all comparisons. Is there a solution to perform paired T test in different N of pairs. Let say 39 pairs while comparing time 1 and 2, and 33 pairs while comparing time 3 and 4 at once?
I would like to hear your recommendations.
Thank you,
Umit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant