Log-likelihood of logit model for each observation.
Parameters : | params : array-like
|
---|---|
Returns : | loglike : ndarray (nobs,)
|
Notes
\ln L=\sum_{i}\ln\Lambda\left(q_{i}x_{i}^{\prime}\beta\right)
for observations i=1,...,n
where q=2y-1. This simplification comes from the fact that the logistic distribution is symmetric.