# Student's T > Student's t distribution.
## Usage ```javascript var t = require( '@stdlib/stats/base/dists/t' ); ``` #### t Student's t distribution. ```javascript var dist = t; // returns {...} ``` The namespace contains the following distribution functions:
- [`cdf( x, v )`][@stdlib/stats/base/dists/t/cdf]: Student's t distribution cumulative distribution function (CDF). - [`logcdf( x, v )`][@stdlib/stats/base/dists/t/logcdf]: evaluate the natural logarithm of the cumulative distribution function (CDF) for a Student's t distribution. - [`logpdf( x, v )`][@stdlib/stats/base/dists/t/logpdf]: evaluate the natural logarithm of the probability density function (PDF) for a Student's t distribution. - [`pdf( x, v )`][@stdlib/stats/base/dists/t/pdf]: Student's t distribution probability density function (PDF). - [`quantile( p, v )`][@stdlib/stats/base/dists/t/quantile]: Student's t distribution quantile function.
The namespace contains the following functions for calculating distribution properties:
- [`entropy( v )`][@stdlib/stats/base/dists/t/entropy]: Student's t distribution differential entropy. - [`kurtosis( v )`][@stdlib/stats/base/dists/t/kurtosis]: Student's t distribution excess kurtosis. - [`mean( v )`][@stdlib/stats/base/dists/t/mean]: Student's t distribution expected value. - [`median( v )`][@stdlib/stats/base/dists/t/median]: Student's t distribution median. - [`mode( v )`][@stdlib/stats/base/dists/t/mode]: Student's t distribution mode. - [`skewness( v )`][@stdlib/stats/base/dists/t/skewness]: Student's t distribution skewness. - [`stdev( v )`][@stdlib/stats/base/dists/t/stdev]: Student's t distribution variance. - [`variance( v )`][@stdlib/stats/base/dists/t/variance]: Student's t distribution variance.
The namespace contains a constructor function for creating a [Student's t][t-distribution] distribution object.
- [`T( [v] )`][@stdlib/stats/base/dists/t/ctor]: Student's t distribution constructor.
```javascript var T = require( '@stdlib/stats/base/dists/t' ).T; var dist = new T( 2.0 ); var y = dist.cdf( 0.5 ); // returns ~0.667 ```
## Examples ```javascript var objectKeys = require( '@stdlib/utils/keys' ); var t = require( '@stdlib/stats/base/dists/t' ); console.log( objectKeys( t ) ); ```