Skip to contents

Computes the logits from probabilities

Usage

limited_logit(p, stab = 0.001)

Arguments

p

probability (vector)

stab

limit p to [stab, 1-stab] for numerical stability

Value

log(p / (1 - p))