Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 23.1 - Sampling from a Cauchy
Exercise 23.1 - Sampling from a Cauchy
Answers
Recall that the p.d.f. of a standard Cauchy is:
where:
Thus the c.d.f. is:
whose inverse is:
So we can sample from and transform it by , the result would follow a standard Cauchy.
2021-03-24 13:42