To compare the differences between your broad categories—such as English vs. Russian prompts and new models vs. old models—you need statistical methods that can handle multiple factors and non-normal data distributions. Here's what I recommend:
1. Use Non-Parametric Factorial ANOVA (Aligned Rank Transform ANOVA):
Since your data may not be normally distributed and involves multiple factors (language, model type, and questions), a standard ANOVA may not be appropriate due to its assumptions of normality and homogeneity of variances. Instead, you can use the Aligned Rank Transform (ART) ANOVA, which is a non-parametric method suitable for factorial designs. The ART ANOVA allows you to test main effects and interactions between factors without assuming normality.
Steps to Perform ART ANOVA:
-
Align and Rank the Data: Transform your data using the aligned rank transform procedure, which adjusts the data for the effects of other factors.
-
Run ANOVA on Transformed Data: Perform the ANOVA on the transformed (aligned and ranked) data to test for significant effects of language, model generation, and their interaction.
-
Post-Hoc Tests: If significant effects are found, conduct post-hoc tests using the aligned ranks to determine which groups differ from each other.
2. Consider Generalized Linear Mixed Models (GLMM):
If you prefer a modeling approach that can handle non-normal data and account for random effects (such as variability between questions), you can use a Generalized Linear Mixed Model. GLMMs extend generalized linear models to include both fixed and random effects, accommodating the hierarchical structure of your data (e.g., samples nested within questions).
Key Points for GLMM:
-
Choose an Appropriate Distribution and Link Function: Since your response variable is an integer between 1 and 10, you might model it using a Poisson or negative binomial distribution if it's count data, or use an ordinal logistic regression if the data is ordinal.
-
Include Fixed and Random Effects: Include language and model generation as fixed effects, and consider questions as random effects to account for dependencies within questions.
-
Interpret the Results Carefully: GLMMs can be complex, so ensure you interpret the fixed effects (main effects and interactions) in the context of the model.
3. Use Non-Parametric Tests for Pairwise Comparisons:
If you decide to compare categories one at a time:
-
Mann-Whitney U Test: For comparing two independent groups (e.g., English vs. Russian prompts), use the Mann-Whitney U test (also known as the Wilcoxon rank-sum test).
-
Kruskal-Wallis Test: For comparing more than two groups (e.g., different models), use the Kruskal-Wallis test, which is the non-parametric equivalent of one-way ANOVA.
Important Considerations:
-
Check Data Distribution: Even though you're assuming the data may not be normal, it's good practice to examine the distributions (e.g., using histograms or Q-Q plots) to inform your choice of statistical tests.
-
Multiple Comparisons Correction: If you're conducting multiple tests, apply a correction (like Bonferroni or False Discovery Rate) to control for Type I error.
-
Data Standardization: You've already standardized the data within each question, which helps reduce variance due to question-specific effects. Ensure this standardization is appropriate for the statistical tests you choose.
Summary:
Given your data and objectives, the Aligned Rank Transform ANOVA is a robust choice for analyzing differences between your categories without relying on the assumption of normality. It accommodates multiple factors and their interactions, allowing you to draw meaningful conclusions about the effects of language and model generation on your outcomes.
References:
- Wobbrock, J. O., Findlater, L., Gergle, D., & Higgins, J. J. (2011). The aligned rank transform for nonparametric factorial analyses using only ANOVA procedures. Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, 143–146.
- Howell, D. C. (2012). Statistical methods for psychology (8th ed.). Wadsworth.
Software Implementation:
- ART ANOVA: Available in statistical software like R (using the
ARTool package) or Python.
- GLMM: Can be performed using software like R (
lme4, nlme packages) or Python (statsmodels, pymer4).
By applying these methods, you'll be able to rigorously test your hypotheses about the differences between languages and model generations in your dataset.