Statistical inference on populations of weighted or unweighted