Does Stan have any built-in support for discrete Power Law distributions? I’m trying to implement something like Zipf’s Law distribution (a.k.a. Zeta distribution) which is a discrete distribution analogous to the Pareto distribution. It seems that the missing piece is that the Riemann zeta function. There is a thread on how to compile this is in, but I’m just checking if I’ve overlooked something simpler.
It is not in Stan Math Library or language
I’m available to offer some help should you need any.
Thanks for the offer @maxbiostat ! Let me play around and let you know if I get stuck.