models.pit()
Probability integral transform of each outcome under the family’s
Usage
models.pit(
family,
y,
mu,
dispersion=1.0,
weights=None,
seed=0,
theta=None,
power=None
)predictive distribution, randomized where it has atoms (counts, a Tweedie’s zero); uniform when the model is calibrated.
Parameters
family: stry: list of floatmu: list of floatdispersion: float = 1.0weights: list of float = Noneseed: int = 0-
Seeds the randomization.
theta: float = Nonepower: float = None
Returns
list of float