Sampling with partial replacement and stratification