Formula for sampling distribution