Generalizations for complex probability sampling