Skip to contents

Explicitly named alias for prob_w1_exceeds. The legacy w1 name remains mathematically valid because the first GEM weight is a size-biased pick, but W_SB makes the estimand unambiguous.

Usage

prob_wsb_exceeds(threshold, a, b)

Arguments

threshold

Numeric vector of thresholds.

a, b

Positive scalar shape and rate of the Gamma prior on alpha.

Value

Numeric vector containing \(P(W_{SB}>threshold)\).

Examples

prob_wsb_exceeds(0.5, a = 2, b = 1)
#> [1] 0.3488274