| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Statistics Toolbox |
| Contents | Index |
| Learn more about Statistics Toolbox |
| On this page… |
|---|
Student's t pdf is

where Γ( · ) is the Gamma function.
The t distribution is a family of curves depending on a single parameter ν (the degrees of freedom). As ν goes to infinity, the t distribution approaches the standard normal distribution.
W. S. Gossett discovered the distribution through his work at the Guinness brewery. At the time, Guinness did not allow its staff to publish, so Gossett used the pseudonym "Student."
If x is a random sample of size n from a normal distribution with mean μ, then the statistic
![]()
where
is
the sample mean and s is the sample standard
deviation, has Student's t distribution with n –
1 degrees of freedom.
The plot compares the t distribution with ν = 5 (solid line) to the shorter tailed, standard normal distribution (dashed line).
x = -5:0.1:5; y = tpdf(x,5); z = normpdf(x,0,1); plot(x,y,'-',x,z,'-.')

Continuous Distributions (Statistics)
![]() | Rician Distribution | t Location-Scale Distribution | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |