PoissonProdLik¶
- class glimix_core.lik.PoissonProdLik(link=None)[source]¶
Product of Poisson likelihoods.
- Parameters
link (link_func) – Link function establishing \(g(y_i) = x_i\). Defaults to
None, which leads to theglimix_core.link.LogitLinklink function.
Methods
__init__([link])Initialize self.
mean(x)Mean of the number of occurrences.
sample(x[, random_state])Sample from the likelihood distribution.
Attributes
nameGet the name of this likelihood.
noccurrencesGet or set an array of number of occurrences.
sample_sizeGet the number of samples.