Main Content

nctinv

Noncentral t inverse cumulative distribution function

Syntax

X = nctinv(P,NU,DELTA)

Description

X = nctinv(P,NU,DELTA) returns the inverse of the noncentral t cdf with NU degrees of freedom and noncentrality parameter DELTA for the corresponding probabilities in P. P, NU, and DELTA can be vectors, matrices, or multidimensional arrays that all have the same size, which is also the size of X. A scalar input for P, NU, or DELTA is expanded to a constant array with the same dimensions as the other inputs.

Examples

x = nctinv([0.1 0.2],10,1)
x =
  -0.2914  0.1618

References

[1] Evans, M., N. Hastings, and B. Peacock. Statistical Distributions. 2nd ed., Hoboken, NJ: John Wiley & Sons, Inc., 1993, pp. 147–148.

[2] Johnson, N., and S. Kotz. Distributions in Statistics: Continuous Univariate Distributions-2. Hoboken, NJ: John Wiley & Sons, Inc., 1970, pp. 201–219.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced before R2006a