Skip to content

Conversation

@ajinkya-k
Copy link
Contributor

@ajinkya-k ajinkya-k commented Mar 25, 2025

I wanted to document the exact formulas for the link functions, especially the less common ones such as CloglogLink and CauchitLink used and ended up writing some detailed docs. Comments would be welcome

See preview here: https://ajinkya-k.github.io/GLM.jl/models (note I used documentervitepress for preview only, that is not pushed in this PR)

TODOs

  • write the "three components" GLM intro a la wikipedia
  • add a table to summarize all distributions and the corresponding link and mean functions with formulas (like the table here)
  • add cauchit and cloglog link
  • add Gamma
  • add text for all distributions documented on the home page

@codecov
Copy link

codecov bot commented Mar 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.54%. Comparing base (78c3ee6) to head (3ef731d).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #593      +/-   ##
==========================================
+ Coverage   90.33%   90.54%   +0.20%     
==========================================
  Files           8        8              
  Lines        1107     1089      -18     
==========================================
- Hits         1000      986      -14     
+ Misses        107      103       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ajinkya-k
Copy link
Contributor Author

@dmbates @palday @andreasnoack Comments are welcome!

@ajinkya-k
Copy link
Contributor Author

Can someone help me fill out this table? I want to include in the docs:

legend:
✅ = canonical link
✓ = can use with distribution
❌ = cannot use with distribution

Link\Dist Normal Bern. Binom. Gamma Geom. Inv-Gaussian Neg-Binom Pois.
Identity lm ? ? ?
Cauchit ? ? ? ? ? ?
Cloglog ? ? ? ? ? ?
Inverse ? ? ? ? ? ? ?
Logit ? ? ? ? ? ?
Log ? ? ? ? ? ?
NegBinomial ? ? ? ? ? ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant