Estimating the distance distribution of subpopulations and testing observation outlyingness for a large-scale complex survey