Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2026.0.0 - Français


cdftnc

cumulative distribution function of the non-central Student's T distribution

Syntax

[P, Q] = cdftnc("PQ", T, Df, Pnonc)
T = cdftnc("T", Df, Pnonc, P, Q)
Df = cdftnc("Df", Pnonc, P, Q, T)
Pnonc = cdftnc("Pnonc", P, Q, T, Df)

Arguments

P, Q (Q = 1 - P)

real scalar or matrix, the lower-tail probability. Input range: (0,1].

T

real scalar or matrix, quantile value(s) of the non-central t distribution.

Df

real positive scalar or matrix, degrees of freedom of the t-distribution.

Pnonc

real positive scalar or matrix, non-centrality parameter.

Description

The function cdftnc computes the cumulative distribution function (CDF) of the non-central Student's t-distribution with

  • Degrees of freedom Df

  • Non-centrality parameters Pnonc

  • Evaluated at value(s) T

T = cdftnc("T", Df, Pnonc, P, Q) computes the inverse of the non-central cumulative distribution (CDF) of the non-central Student's t-distribution.

P, Q, T, Df and Pnonc must have the same size.

Examples

T = 5;
Df = 2;
Pnonc = 1;
// Expected : P = 0.9301738 and Q = 1-P
[P, Q] = cdftnc("PQ", T, Df, Pnonc)

T = [-2 -1 1 2];
Df = 10*ones(T);
pn = 2*ones(T);
[P, Q] = cdftnc("PQ", T, Df, pn)

See also

  • cdft — fonction de répartition de la distribution de Student

History

VersionDescription
2026.0.0 Function added.
Report an issue
<< cdft Fonctions de répartition Moyennes - Valeur centrale >>

Copyright (c) 2022-2025 (Dassault Systèmes S.E.)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 16 09:08:42 CEST 2025