SSBinomialTestResult

public struct SSBinomialTestResult<T, FPT> : CustomStringConvertible, Codable where T : Comparable, T : Decodable, T : Encodable, T : Hashable, FPT : Decodable, FPT : Encodable, FPT : SSFloatingPoint

Binomial test results

  • number of trials

    Declaration

    Swift

    public var nTrials: Int?
  • number of successes

    Declaration

    Swift

    public var nSuccess: Int?
  • number of failures

    Declaration

    Swift

    public var nFailure: Int?
  • one sided p value (exact)

    Declaration

    Swift

    public var pValueExact: FPT?
  • probability for success

    Declaration

    Swift

    public var probSuccess: FPT?
  • probability for failure

    Declaration

    Swift

    public var probFailure: FPT?
  • test probability

    Declaration

    Swift

    public var probTest: FPT?
  • success id

    Declaration

    Swift

    public var successCode: T?
  • 1 - alpha confidence interval (Jeffreys)

    Declaration

    Swift

    public var confIntJeffreys: SSConfIntv<FPT>?
  • 1 - alpha confidence interval (Clopper/Pearson)

    Declaration

    Swift

    public var confIntClopperPearson: SSConfIntv<FPT>?
  • Returns a description

    Declaration

    Swift

    public var description: String { get }