observe_student_t

function observe_student_t(x:Real, ν:Real) -> Real

Observe a Student's variate.

  • x: The variate.
  • ν: Degrees of freedom.

Returns: the log probability density.

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

Observe a Student's variate with location and scale.

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

Returns: the log probability density.