mitchelloharawild / distributional

Vectorised distributions for R
https://pkg.mitchelloharawild.com/distributional
GNU General Public License v3.0
94 stars 15 forks source link

Add derivative methods for distribution #83

Open mitchelloharawild opened 1 year ago

mitchelloharawild commented 1 year ago

Such as computing the score for a distribution.

We will need to provide gradient_log_density() and score() generics+methods to support development of packages like https://github.com/wilson-ye-chen/stein.thinning/

mitchelloharawild commented 1 year ago

Would be nice to find a resource that provides these derivatives for common distributions @wilson-ye-chen :+1: