rStats.js v1.3.0
    Preparing search index...

    Function qt

    • Quantile function of the t distribution. Equivalent to R's qt(p, df, ncp, lower.tail = TRUE, log.p = FALSE).

      If ncp is omitted the central distribution is used; otherwise the noncentral t distribution.

      Type Parameters

      Parameters

      Returns VectorResult<T>

      The quantile(s).

      qt(0.975, 10);         // 2.228138851986274
      qt([0.025, 0.975], 5); // [-2.5705818356363155, 2.5705818356363146]