Statistics Toolbox
  Go to function:
    Search    Help Desk 
tpdf    Examples

Student's t probability density function (pdf).

Syntax

Description

tpdf(X,V) computes Student's t pdf with parameter V at the values in X. The arguments X and V must be the same size except that a scalar argument functions as a constant matrix of the same size of the other argument.

The degrees of freedom, V, must be a positive integer.

Student's t pdf is:


Examples

The mode of the t distribution is at x = 0. This example shows that the value of the function at the mode is an increasing function of the degrees of freedom.

The t distribution converges to the standard normal distribution as the degrees of freedom approaches infinity. How good is the approximation for v = 30?



[ Previous | Help Desk | Next ]