Skip to content

Commit

Permalink
Update conditional_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
quant12345 committed May 14, 2024
1 parent 61208a9 commit 604d1bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion statsmodels/discrete/conditional_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,6 @@ def loglike(self, params):
x = lpr[ii, :]
jj = np.arange(x.shape[0], dtype=int)
y = self.endog[ii]

denom = np.sum(x[jj, list(itertools.permutations(y))], axis=1)
ll += x[(jj, y)].sum() - logsumexp(denom)

Expand Down

0 comments on commit 604d1bc

Please sign in to comment.