linkinv function

Computes trinomial probability distributions implied by linear predictors