simulate_student_t


function simulate_student_t(ν:Real) -> Real

Simulate a Student's t-distribution.

  • ν: Degrees of freedom.

function simulate_student_t(ν:Real, μ:Real, σ2:Real) -> Real

Simulate a Student's t-distribution with location and scale.

  • ν: Degrees of freedom.
  • μ: Location.
  • σ2: Squared scale.