Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nulldeviance for models with no intercept #175

Merged
merged 3 commits into from
May 16, 2022

Conversation

pbastide
Copy link
Member

Update the nulldeviance function to deal with models without an intercept.

The updated function should be consistent with the new definition proposed in JuliaStats/StatsAPI.jl#14.

The implementation is similar to JuliaStats/GLM.jl#481, with a redefined hasintercept function for PhyloNetworkLinearModels.

@codecov
Copy link

codecov bot commented May 16, 2022

Codecov Report

Merging #175 (b764dae) into master (fe4fb30) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
- Coverage   85.88%   85.88%   -0.01%     
==========================================
  Files          29       29              
  Lines       11819    11823       +4     
==========================================
+ Hits        10151    10154       +3     
- Misses       1668     1669       +1     
Impacted Files Coverage Δ
src/traits.jl 96.97% <100.00%> (+0.01%) ⬆️
src/phyLiNCoptimization.jl 94.97% <0.00%> (-0.14%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe4fb30...b764dae. Read the comment docs.

@cecileane
Copy link
Member

Thank you so much Paul!

@cecileane cecileane merged commit 6abc5ce into master May 16, 2022
@cecileane cecileane deleted the updateNullDeviance branch May 16, 2022 21:40
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.

2 participants