Contents Previous Next Subchapters Current Chapters-> prctile ftail tpdf ttail ittail cnormal inormal rand snormal seed colmad colmse colrange colmode kurtosis skewness randperm ranseed unifm0v1 unirnd normrnd exprnd gamrnd cauchyrnd gumbelrnd laplacernd lognrnd wblrnd binornd poissrnd exppdf expcdf normpdf unifpdf unifcdf wblpdf wblcdf colcor colcov colmean colstd colmax rowmax colsum rowsum colnorm rownorm median colmedian colmead colvar corr conv conv2 sum cumsum prod cumprod Parent Chapters-> Omatrix6 statistics ttail Search Tools-> contents reference index search

Tail Probability Of A T-Statistic
 Syntax `ttail(`t`, `df`)` See Also tpdf , ftail , cnormal

Description
Returns the element-by-element tail probability for a T-statistic, where t is a real or double-precision matrix specifying values for the T-statistic and df is an integer matrix specifying the number of degrees of freedom. All of the elements of t must be positive. ``` ```The return value is ```       +infinity      /      | tpdf(x, df) dx      /       t ```where tpdf is the probability density function for the T-distribution. The return value has the same type and dimension as t.

Example ```      N   = 100      t   = 6. * seq(N) / real(N)      df  = 5      gtitle("|t|-statistic Tail Probabilities")      gplot(t, ttail(t, df)) ``` returns ``` ```