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

    Function qf

    • Quantile function of the F distribution. Equivalent to R's qf(p, df1, df2, ncp, lower.tail = TRUE, log.p = FALSE).

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

      Type Parameters

      Parameters

      • p: T

        Probability (or log probability with logP): a number, number[] or Float64Array. The result has the same shape.

      • df1: number

        Numerator degrees of freedom.

      • df2: number

        Denominator degrees of freedom.

      • options: TailOptions & NoncentralOption = {}

        ncp (see NoncentralOption), lowerTail and logP (see TailOptions).

      Returns VectorResult<T>

      The quantile(s).

      qf(0.95, 3, 10); // 3.708264819046843
      qf(0.05, 2, 20, { lowerTail: false }); // 3.4928284767356335