Closed skiptoniam closed 7 years ago
Create a poisson likelihood function for SAMs
It might be possible to create a Poisson distribution using a fixed dispersion parameter.
finally went with ipp
,poisson
,negative_binomial
,bernoulli
,tweedie
,gaussian
Currently species mix uses:
bernoulli
(presence absence data; default),negbin
(abundance data with negative binomial) ortweedie
(biomass data with tweedie distribution).While RCPmod uses:
Bernoulli
(for binary data),Poisson
andNegBin
(for count data),Tweedie
(for biomass, non-negative, data), andNormal
(for quantity data).I suggest we use lower case:
bernoulli
poisson
- this will be essentially negative_binomal with dispersion parameter set to 1 (phi).negative_binomial
tweedie
gaussian
- appears to be missing from species mix - we might need to fix this or create an error message.