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

    Function qbeta

    • Quantile function of the beta distribution. Equivalent to R's qbeta(p, shape1, shape2, ncp = 0, lower.tail = TRUE, log.p = FALSE).

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

      Type Parameters

      Parameters

      • p: T

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

      • shape1: number

        First shape parameter (a).

      • shape2: number

        Second shape parameter (b).

      • options: TailOptions & NoncentralOption = {}

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

      Returns VectorResult<T>

      The quantile(s).

      qbeta(0.025, 3, 7);          // 0.07485463141969181
      qbeta([0.025, 0.975], 3, 7); // [0.07485463141969181, 0.6000935737163121]