## models.pit_from_draws()


The PIT of `y` under the empirical distribution of [draws](distributions.Sampled.md#prospicio.distributions.Sampled.draws),


Usage


``` python
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`
