# Student's t Distribution

Evaluate and generate random samples from Student’s t distribution

Statistics and Machine Learning Toolbox™ offers multiple ways to work with the Student’s t distribution.

• Use distribution-specific functions with specified distribution parameters. The distribution-specific functions can accept parameters of multiple Student’s t distributions.

• Use generic distribution functions (`cdf`, `icdf`, `pdf`, `random`) with a specified distribution name (`'T'`) and parameters.

To learn about the Student's t distribution, see Student's t Distribution.

## Functions

expand all

 `cdf` Cumulative distribution function `icdf` Inverse cumulative distribution function `pdf` Probability density function `random` Random numbers `randtool` Interactive random number generation
 `tcdf` Student's t cumulative distribution function `tpdf` Student's t probability density function `tinv` Student's t inverse cumulative distribution function `tstat` Student's t mean and variance `trnd` Student's t random numbers `ttest` One-sample and paired-sample t-test `ttest2` Two-sample t-test

## Topics

Student's t Distribution

The Student’s t distribution is a family of curves depending on a single parameter ν (the degrees of freedom).

Generate Cauchy Random Numbers Using Student's t

This example shows how to use the Student's t distribution to generate random numbers from a standard Cauchy distribution.