Repository navigation
Return 1 from step at zero, as BUGS does - #572
shravanngoswamii wants to merge 1 commit into
Conversation
|
JuliaBUGS.jl documentation for PR #572 is available at: |
Benchmark ResultsJulia 1.13.4 on AMD EPYC 7763 64-Core Processor (Linux) Ratio = JuliaBUGS/Stan (lower is better for JuliaBUGS)
Log Density uses generated evaluation. Gradient columns measure log density + gradient. McRvs = Mooncake reverse mode with generated evaluation; FwdDiff = ForwardDiff with graph evaluation.
Note: Stan benchmarks use hand-optimized Stan models, not direct BUGS translations. Comparison is illustrative only. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #572 +/- ##
==========================================
- Coverage 88.49% 88.08% -0.42%
==========================================
Files 30 30
Lines 3851 3851
==========================================
- Hits 3408 3392 -16
- Misses 443 459 +16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
BUGS defines
step(e)as 1 ife >= 0(OpenBUGS manual, Appendix II), and so does JAGS.It matters when the argument is a count. Eye Tracking's
cl[j] <- step(sumSC[j] - 1)skipped every cluster with one member, soKcame out low.