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 the glimix_core.link.LogitLink link function.

__init__(link=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([link])

Initialize self.

mean(x)

Mean of the number of occurrences.

sample(x[, random_state])

Sample from the likelihood distribution.

Attributes

name

Get the name of this likelihood.

noccurrences

Get or set an array of number of occurrences.

sample_size

Get the number of samples.