CIMethod

Selects the method used to compute the confidence interval for a proportion.

Different methods offer different trade-offs between coverage accuracy and interval width. The Clopper-Pearson interval is exact but conservative (wider than necessary), while the Wilson and Agresti-Coull intervals are approximate but tend to have coverage closer to the nominal confidence level.

See also

Entries

Link copied to clipboard

Clopper-Pearson exact interval based on the Beta distribution.

Link copied to clipboard

Wilson score interval based on inverting the normal approximation test.

Link copied to clipboard

Agresti-Coull adjusted Wald interval.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): CIMethod

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.