| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Jenkins Console Log Machine information No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal CPU: G++: Clang: |
Sorry, something went wrong.
There was a problem hiding this comment.
Few small changes but looks good!
Sorry, something went wrong.
Jenkins Console Log Machine information No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal CPU: G++: Clang: |
Sorry, something went wrong.
|
Everything here looks good! We are in a release review period but I'll approve and merge this once that is over. |
Sorry, something went wrong.
|
Yes! |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me! @lingium are you able to press the merge button? If not I'll add you to the Stan math repo so you can
Sorry, something went wrong.
|
Thanks! |
Sorry, something went wrong.
|
Hi @WardBrian! yes, let me first address the rest recently before we expose them |
Sorry, something went wrong.
|
Sounds good! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
With this PR the lpmf of Yule Simon distribution are added.
See issue #3219
Other functions of this distribution will be added in following PRs.
Expressions involved:
PMF
$$ \log f(n) = \log \alpha + \log\text{Beta}(n,\alpha+1), \quad n=1,2,... \quad \alpha>0 $$
Derivatives w.r.t the parameter
$$ \begin{align} \frac{\partial \log f(\alpha)}{\partial \alpha} &= \frac{1}{\alpha} + \text{digamma}(\alpha+1) - \text{digamma}(n + \alpha +1) \end{align} $$
Tests
Test is written follow the guide.
Side Effects
No
Release notes
yule_simon_lpmf is available if merged. Allows modeling power-law count data.
Checklist
Copyright holder: Zhi Ling
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
the basic tests are passing
the code is written in idiomatic C++ and changes are documented in the doxygen
the new changes are tested