Stixbox Function
Last update : 21/4/2006

loddsinv - inverse of log odd

Calling Sequence

p = loddsinv(z,b)

Description

Compute the inverse of log odds. The function is equal to 1/(1+exp(-u)) with

u = zif only one input argument is given
u = z*bif size(z,2) = length(b)
u = z*b(1:n-1) + b(n) if size(z,2) < length(b)