Sampling from a t distribution is harder than I thought. I wrote some code that implements a relatively new method by Shaw, Luu, and Brickman:
https://github.com/szego/truncated-student-t-rng
Sampling from a t distribution is harder than I thought. I wrote some code that implements a relatively new method by Shaw, Luu, and Brickman:
https://github.com/szego/truncated-student-t-rng