Skip to content

FIX: avoid zero division and log0 in loglike calculation (resolve conflicts) - #3231

Closed
bfcondon wants to merge 1 commit into
statsmodels:mainfrom
bfcondon:div-zero
Closed

bfcondon wants to merge 1 commit into
statsmodels:mainfrom
bfcondon:div-zero

Conversation

@bfcondon

@bfcondon bfcondon commented Oct 8, 2016

Copy link
Copy Markdown
Contributor

This PR resolves the conflicts in #2301

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 89.255% when pulling f52da82 on bfcondon:div-zero into 9872ada on statsmodels:master.

@bfcondon

bfcondon commented Oct 8, 2016

Copy link
Copy Markdown
Contributor Author

@josef-pkt I rebased the div zero PR and resubmitted it. However, there are a large number of errors that are unrelated to these changes.

@josef-pkt

Copy link
Copy Markdown
Member

@bfcondon thank you, I'll go through it and merge tomorrow or in the next few days.
I didn't investigate those errors yet, they have been showing up for a few days now.

@josef-pkt

Copy link
Copy Markdown
Member

temporarily prio-high, need to check various problems and proposals for genmod
there is a suggestion to just clip instead as in other classes

@jbrockmendel jbrockmendel mentioned this pull request May 20, 2017
22 of 27 tasks
@jbrockmendel

Copy link
Copy Markdown
Contributor

Did the clip suggestion ever get a decision?

@josef-pkt

Copy link
Copy Markdown
Member

family binomial has now a clip in the deviance computation.

I guess we still don't have a test case to check if there are problems left (e.g. loglike does not clip, and I'm not sure it should)

@josef-pkt

Copy link
Copy Markdown
Member

check if this is still relevant or superseded

@bfcondon bfcondon closed this by deleting the head repository Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants