## Interface

student (n:int) : real

where `n>=1`

. Returns a drawing from a Student distribution (also called t distribution) with `n`

degrees of freedom.

Note that as `n`

increases, the Student density approaches the normal density. Indeed, even for `n=8`

, the Student density is almost the same as the normal density.

Raises Student exception, if `n<1`

.

## Characteristics

- Mean:
`0`

- Variance:
`1/n-2`

Density functions for student distributions:

## Example

An example for this distribution has been omitted due to the fact that it is rarely found in nature. Instead, the distribution is used when doing statistical tests.

You must be logged in to post a comment.