JuliaStats / GLM.jl

Generalized linear models in Julia
Other
593 stars 114 forks source link

WIP: Add `cooksdistance(::GeneralizedLinearModel)` #510

Open ararslan opened 1 year ago

ararslan commented 1 year ago

The formulation is based on chapter 6 of Modern Methods for Robust Regression by Robert Anderson. No performance tuning and minimal testing has been done thus far but results match R in the cases I've checked.

Needs:

codecov-commenter commented 1 year ago

Codecov Report

Base: 88.75% // Head: 87.85% // Decreases project coverage by -0.90% :warning:

Coverage data is based on head (018f282) compared to base (b728917). Patch coverage: 63.93% of modified lines in pull request are covered.

:exclamation: Current head 018f282 differs from pull request most recent head 8c24375. Consider uploading reports for the commit 8c24375 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #510 +/- ## ========================================== - Coverage 88.75% 87.85% -0.90% ========================================== Files 8 9 +1 Lines 1040 1087 +47 ========================================== + Hits 923 955 +32 - Misses 117 132 +15 ``` | [Impacted Files](https://codecov.io/gh/JuliaStats/GLM.jl/pull/510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaStats) | Coverage Δ | | |---|---|---| | [src/GLM.jl](https://codecov.io/gh/JuliaStats/GLM.jl/pull/510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaStats#diff-c3JjL0dMTS5qbA==) | `50.00% <ø> (ø)` | | | [src/lm.jl](https://codecov.io/gh/JuliaStats/GLM.jl/pull/510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaStats#diff-c3JjL2xtLmps) | `94.40% <ø> (+0.13%)` | :arrow_up: | | [src/influence.jl](https://codecov.io/gh/JuliaStats/GLM.jl/pull/510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaStats#diff-c3JjL2luZmx1ZW5jZS5qbA==) | `63.93% <63.93%> (ø)` | | | [src/glmfit.jl](https://codecov.io/gh/JuliaStats/GLM.jl/pull/510?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaStats#diff-c3JjL2dsbWZpdC5qbA==) | `83.37% <0.00%> (+1.58%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaStats). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=JuliaStats)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.