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

Adds the student-t likelihood and a few more changes #10

Merged
merged 13 commits into from
Dec 17, 2021
Merged

Conversation

theogf
Copy link
Member

@theogf theogf commented Dec 17, 2021

  • Adds the Student-T likelihood as a scale-mixture of Gamma
  • Define a new type compatible with the ntmean and ntrand functions. This helps unifying existing distributions and created ones under one hood

@codecov
Copy link

codecov bot commented Dec 17, 2021

Codecov Report

Merging #10 (ab6dc5f) into main (66eeaa0) will increase coverage by 0.48%.
The diff coverage is 92.30%.

❗ Current head ab6dc5f differs from pull request most recent head 4640e56. Consider uploading reports for the commit 4640e56 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   93.09%   93.57%   +0.48%     
==========================================
  Files           8       10       +2     
  Lines         304      358      +54     
==========================================
+ Hits          283      335      +52     
- Misses         21       23       +2     
Impacted Files Coverage Δ
src/SpecialDistributions/SpecialDistributions.jl 60.00% <50.00%> (-40.00%) ⬇️
src/SpecialDistributions/polyagamma.jl 91.96% <50.00%> (+1.28%) ⬆️
src/SpecialDistributions/ntdist.jl 90.47% <90.47%> (ø)
src/likelihoods/studentt.jl 94.59% <94.59%> (ø)
src/SpecialDistributions/polyagammapoisson.jl 100.00% <100.00%> (+8.33%) ⬆️
src/TestUtils.jl 96.36% <100.00%> (+0.06%) ⬆️
src/generic.jl 80.00% <100.00%> (+3.07%) ⬆️
src/likelihoods/bernoulli.jl 100.00% <100.00%> (ø)
src/likelihoods/poisson.jl 100.00% <100.00%> (ø)
src/utils.jl 100.00% <100.00%> (ø)
... and 1 more

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 66eeaa0...4640e56. Read the comment docs.

@theogf theogf merged commit 5ae1e3a into main Dec 17, 2021
@theogf theogf deleted the student-t branch December 17, 2021 16:54
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