Main Content

nctinv

Noncentraltinverse cumulative distribution function

Syntax

X = nctinv(P,NU,DELTA)

Description

X = nctinv(P,NU,DELTA)returns the inverse of the noncentraltcdf withNUdegrees of freedom and noncentrality parameterDELTAfor the corresponding probabilities inP.P,NU, andDELTAcan be vectors, matrices, or multidimensional arrays that all have the same size, which is also the size ofX. A scalar input forP,NU, orDELTAis 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™.

Introduced before R2006a