To analyze the differences between groups , the chi-square test and the Mann-Whitney U test were used , while the Friedman analysis of variance ( ANOVA ) on ranks was used for the analyses between baseline data and follow-up measurements , all with a significance level set at P < .05 .