Statistics for Multivariate comparisons of the period–light-curve shape distributions of Cepheids in five galaxies