# Differentiation of incomplete Beta function

**URL:** <https://discourse.julialang.org/t/differentiation-of-incomplete-beta-function/49675>\
**Category:** Numerics\
**Tags:** question, differentiation, forwarddiff\
**Created:** [November 6, 2020, 10:42am UTC](https://discourse.julialang.org/t/differentiation-of-incomplete-beta-function/49675 "2020-11-06T10:42:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![arzwa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/arzwa/32/12886_2.png) [@arzwa](https://discourse.julialang.org/u/arzwa)\
**Post date:** [June 9, 2021, 7:22pm UTC](https://discourse.julialang.org/t/differentiation-of-incomplete-beta-function/49675/3 "2021-06-09T19:22:06Z")

</div>

Hi Benjamin, I haven’t followed up on this, but I put what I had implemented back when I asked this question here [https://github.com/arzwa/IncBetaDer](https://github.com/arzwa/IncBetaDer). The `beta_inc_grad` code is [here](https://github.com/arzwa/IncBetaDer/blob/main/src/beta_inc_grad.jl), I hope it can be useful. I’m not at all a numerical algorithms guy, so it might not be very good or correct currently, although I do think I had some tests. (Needless to say, I haven’t prepared this code for release or so, so comments etc. should be read as notes to myself).

---

_[View the full topic](https://discourse.julialang.org/t/differentiation-of-incomplete-beta-function/49675)._
