Name

tdis_rnd — Student random draws

CALLING SEQUENCE

[t]=tdis_rnd(n,df)

PARAMETERS

Input

• n = size of vector

• df = a scalar dof parameter

Output

• t = a vector of random draws from the t(n) distribution

DESCRIPTION

Returns random draws from the t(n) distribution. NOTE: mean=0, std=1

EXAMPLE


x=tdis_rnd(100,25)

               

AUTHOR

Eric Dubois 2002