# scipy.stats._result_classes.BinomTestResult

class scipy.stats._result_classes.BinomTestResult(k, n, alternative, pvalue, proportion_estimate)

  Result of `scipy.stats.binomtest`.

  Attributes
    k int

      The number of successes (copied from binomtest input).

    n int

      The number of trials (copied from binomtest input).

    alternative str

      Indicates the alternative hypothesis specified in the input to binomtest. It will be one of `'two-sided'`, `'greater'`, or `'less'`.

    pvalue float

      The p-value of the hypothesis test.

    proportion_estimate float

      The estimate of the proportion of successes.

  Methods

  proportion_ci : | Compute the confidence interval for the estimate of the proportion.

scipy.stats._result_classes.RelativeRiskResult Low-level callback functions