Repository navigation
ENH: Adding logc link - #8155
Conversation
Update links.py
7cffb86 to
8f29c1f
Compare
|
compared to spss we are also still missing the odds-power link. separate followup. (this PR is for adding the link) |
|
looks good, but I'm not sure what the best clipping should be for the link and link_inverse we can merge, after clipping p<1 |
The p<1 issue is fixed. Let me know if this needs anything else to be merged in. |
|
should be ready to merge |
|
merged as is I will try out an example later |
|
Wonderful. Thanks! |
NumPy's guide.
This pull request adds the logc link the binomial generalized linear model.
Changes are
1 Define link's class.
2 Test link.
3 Add link to binomial family.
4 Add to doc.
5 Clip cauchy link for numerical approximation to be accurate. (Test failed before change.)
This PR is a rebase of #8153.
Details
Notes:
needed for doc changes.
then show that it is fixed with the new code.
verify you changes are well formatted by running
flake8is installed. This command is also available on Windowsusing the Windows System for Linux once
flake8is installed in thelocal Linux environment. While passing this test is not required, it is good practice and it help
improve code quality in
statsmodels.