# ANOVA and Kruskal-Wallis Test in One Study

I am currently analyzing the results of my study which deals with several dependent variables. I have tested the data for normality and homogeneity and all but one passed the assumptions for ANOVA. This particular variable passed Shapiro-Wilk test but failed Levene's test. The homogeneity is not just a minor violation but a significant one since the p-value is 0.000. My question is can I use Kruskal-Wallis test to analyze this one particular variable while using ANOVA for the others. Will that be acceptable?

If your data passes normality tests, but fails test for homogeneity of variances, you can use Welch's ANOVA (and Games-Howell test as a post-hoc for pair-wise comparisons).

An example how to do the tests in R:

data(Moore, package = "car")

# Welch's ANOVA
oneway.test(fscore ~ fcategory, data = Moore)

# Games-Howell test
library(userfriendlyscience)
posthocTGH(Moore$fscore, Moore$fcategory, method = "Games-Howell")