Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Statistics & risk

Confidence intervals for observed frequencies, Monte Carlo trial sizing, diffusion-style risk of ruin, and a Beta–Binomial fold-frequency updater.

Use this group when calibrating sim sample sizes, reporting HUD stats with error bars, or rough bankroll planning—not as a substitute for full stochastic poker modeling.

ExportSummary
monteCarloStandardErrorBinomial SE √(p̂(1−p̂)/n).
monteCarloTrialsForStandardErrorBoundSmallest n with SE ≤ target.
wilsonScoreIntervalWilson interval { lower, upper }.
agrestiCoullIntervalAgresti–Coull interval.
normalWaldBinomialIntervalWald p̂ ± z·SE clamped to [0,1].
monteCarloTrialsForHoeffdingBoundHoeffding trial count for ε, δ.
riskOfRuinDiffusionApproxDiffusion-style ROR.
bankrollForTargetRorDiffusionBankroll for target ROR.
betaBinomialFoldPosteriorBeta update on fold frequency.
binomialProportionCiWidthWilson interval width for a proportion.
monteCarloTrialsForWilsonHalfWidthTrials needed for target Wilson half-width.
varianceToStandardDeviationPerHandsqrt(variance) per hand.