I need to perform a two-way ANOVA on my data ($Y$: sleeping hours). My data is quite normal $p$-value = $0.07$ with Shapiro-Wilk test but when I run the normality test for my residual, $p$-value is less than $0.01$. So I did the transformation by using $f(x) = \sin(\sqrt{x})$. My new normality test for residual from coded data is 0.03. My question is
- Is $\alpha = 0.03$ enough for the normality test to perform two-way ANOVA? I have tried $\ln(x)$, $\sin(x)$, inverse, $\sqrt{x}$, but they are all worse.
- What does $f(x) = \sin(\sqrt{x})$ really do to my data?