04 sampling and inference