9. Sampling discrete parameters