models.pit_from_draws()

The PIT of y under the empirical distribution of draws,

Usage

models.pit_from_draws(
    draws,
    y,
    u=0.5,
)

randomized over ties by u.

Parameters

draws: list of float
y: float
u: float = 0.5

Returns

float