Statistics Toolbox Previous page   Next Page
tstat

Mean and variance for the Student's t distribution

Syntax

Description

[M,V] = tstat(NU) returns the mean and variance for Student's t distribution with parameters specified by NU. M and V are the same size as NU.

The mean of the Student's t distribution with parameter is zero for values of  greater than 1. If is one, the mean does not exist. The variance for values of  greater than 2 is .

Examples

Find the mean and variance for 1 to 30 degrees of freedom.

Note that the variance does not exist for one and two degrees of freedom.

See Also

tcdf, tinv, tpdf, trnd


Previous page  trnd ttest Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS