p.compute: computes the probability vector using logistic coefficients
Description
computes the probability vector using cumulative logistic coefficients
Usage
p.compute(alpha,decal)
Arguments
alpha
a vector of cumulative logistic coefficients, the first value can
be -Inf, followed by, eventually, only one negative value,
then only positive values. It can end by Inf values.
decal
offset term to be applied to sums of logistic coefficients
Value
p: a probability vector
Details
If alpha has S-1 values, p.compute returns p of length S. If Y is a random variable taking values in {1,...,S} with
probabilities p, coefficients alpha[i] are given by: