DeltaProdLik¶
- class glimix_core.lik.DeltaProdLik(link=None)[source]¶
Product of Kronecker delta likelihoods.
The product can be written as
\[\prod_i \delta[y_i = x_i]\]- Parameters
link (link_func) – Link function establishing \(g(y_i) = x_i\). Defaults to
None, which leads to the identity link function.
Methods
__init__([link])Initialize self.
mean(x)Outcome mean.
sample(x, *_)Attributes
nameGet the name of this likelihood.
outcomeGet or set an array of outcomes.
sample_sizeGet the number of samples.