TNONCT Function

Returns the value of the noncentrality parameter from the Student's t distribution.

Categories:Mathematical
CAS

Syntax

TNONCT(x, df, prob)

Required Arguments

x

is a numeric random variable.

df

is a numeric degrees of freedom parameter.

Rangedf > 0

prob

is a probability.

Range0 < prob < 1

Details

The TNONCT function returns the nonnegative noncentrality parameter from a noncentral t distribution whose parameters are x, df, and nc. A Newton-type algorithm is used to find a root nc of the equation
The following relationship applies to the preceding equation:
If the algorithm fails to converge to a fixed point, a missing value is returned.

Example

The following example computes the noncentrality parameter from the t distribution.
data work;
   x=2;
   df=4;
   do nc=1 to 3 by .5;
      prob=probt(x, df, nc);
      ncc=tnonct(x, df, prob);
      output;
   end;
run;
proc print;
run;
Output from the Computations of the Noncentrality Parameter for the t Distribution
Output from the Computations of the Noncentrality Parameter for the t Distribution
Last updated: March 16, 2017