Tutorial 2: Resampling dataset for simulations