Hi @olivuntu !
Would you mind if I incorporated your distributions from your code (e.g., https://github.com/olivuntu/greta/blob/master/R/probability_distributions.R#L400-L445) into
greta.distributions ? You will be listed as author in the R package
No worries if you would prefer to do it yourself, I’m just kind of keen to get this incorporated into
greta.distributions in the coming weeks.
Sorry for the recent statu quo. I’ve just pulled a request to greta-dev just now with the code for the ZI distributions. I have to say, my first pull ever, so you may also want to add the code yourself to greta if that’s more convenient, that’s also fine with me.
For some reason that still escapes me, I could not run the formal test to compare the ZINB distribution with that of
chek_tf_version cannot be found…). That’s why I have not pushed the changes so far.
Otherwise it does the job, and for the story, since all that, I’ve been using greta with a post-doc fellow to fit his nice ecological model of ZINB-distributed seedlings numbers with several hierarchical levels, including an explicative process level of dispersed seeds numbers itself modeled as a multinomial response of higher-level species fruit fecundity and other traits… It’s really neat to be able to code such things (relatively) simply thanks to greta !!
And thanks for the addition to the authors’ list, a pleasure ! Happy to contribute further when possible !