Density of the t distribution. Equivalent to R's dt(x, df, ncp, log = FALSE).
dt(x, df, ncp, log = FALSE)
If ncp is omitted the central distribution is used; otherwise the noncentral t distribution.
ncp
As in R, ncp: 0 gives the same values as the central distribution.
ncp: 0
Value(s) at which to evaluate: a number, number[] or Float64Array. The result has the same shape.
number[]
Float64Array
Degrees of freedom.
ncp (see NoncentralOption) and log (see DensityOptions).
log
The density (or log density).
dt(0, 5); // 0.37960668982249446dt(1, 5, { ncp: 1 }); // 0.36232483923371867 Copy
dt(0, 5); // 0.37960668982249446dt(1, 5, { ncp: 1 }); // 0.36232483923371867
Density of the t distribution. Equivalent to R's
dt(x, df, ncp, log = FALSE).If
ncpis omitted the central distribution is used; otherwise the noncentral t distribution.As in R,
ncp: 0gives the same values as the central distribution.