Tail Probability for t-distribution
Usage
tprob(xval, df, direction, xval2 = NULL)
Arguments
- xval
observed value.
- df
degrees of freedom.
- direction
direction for probability calculation, "above" or "below"; if
"outside" or "between" are used, a second larger observation, xval2
must be
specified
- xval2
second observation value.
Value
The tail probability in the specified direction using the given
parameters.