Repository navigation
Conversation
|
Hello @gmcmacran! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2022-02-25 21:08:00 UTC |
|
I never looked at this one I found this article, it has a minus in front in the link function, so that linear predictor has to be positive Piegorsch, Walter W. 1992. “Complementary Log Regression for Generalized Linear Models.” The American Statistician 46 (2): 94–99. https://doi.org/10.2307/2684172. Do you have a specific reference that you used? |
|
skimming part of the article |
It is out of Generalized Linear Models and Extensions 3rd edition by James W. Hardin and Joseph M. Hilbe. Section 11.6.4 talks about the log complement. The formulas come out of tables in the appendix. This book defines the link as ln(1 -u) = XB. This stata documentation shows the link as I have it here. See page 7 of https://www.stata.com/manuals/rglm.pdf. SPSS shows the formula without the minus sign as well . https://www.ibm.com/docs/en/spss-statistics/28.0.0?topic=SSLVMB_28.0.0/statistics_mainhelp_ddita/spss/advanced/idh_idd_genlin_typeofmodel.html near the bottom in the link functions section. |
| CDFLink | ||
| CLogLog | ||
| LogLog | ||
| CLog |
There was a problem hiding this comment.
Thanks for finding this. It is fixed now.
|
cauchy now uses different random numbers because you inserted logc before cauchy in the loop |
|
LogC is a bit weird because it reverses the direction larger beta increases prob(0) and reduces mu. We might want to add a I don't have the Hardin Hilbe GLM book and never looked at it. |
|
Rebased in #8155. Closing this pull request. |
NumPy's guide.
Details
Please don't merge this pull request. I am making it to check style of code and execute tests. This branch will be rebased after tests and code style passes.
This code adds the log complement link the binomial family for the generalized linear model.