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))