alpha.compute: computes cumulative logistic coefficients using probabilities
Description
computes cumulative logistic coefficients using probabilities.
Usage
alpha.compute(p)
Arguments
p
a vector of probabilities (positive entries summing to 1).
Value
The function returns alpha: a vector of S-1 cumulative logistic coefficients.
Details
If p has one value (equal to 1) alpha.compute returns NA, if it has S (S>=2) values, alpha.compute returns S-1 coefficients
alpha such that if Y is a random variable taking values in {1,...,S} with probabilities p, coefficients alpha[i] are given by: