Skip to main content

Module likelihood

Module likelihood 

Source
Expand description

Likelihoods of one latent, for @integrate (docs/semantics.md, section 13): what observations whose parameters are outcomes of the latent say about it, as a weight on its distribution. The latent keeps its distribution and its CDF coordinates u, and its posterior there has the density w(u) ∝ Π L(x(u)) for x(u) its quantile. Probabilities, quantiles and moments come from integrating w numerically, to a relative tolerance, with a table of its integral shared by every question.

Structs§

Factor
One observation of value from law, with its parameters.
Likelihood
The product of what observations of a latent say about it, as a weight on its distribution, with the table of its integral.

Enums§

Law
The distribution an observation is from.
Param
A parameter of an observation: a number, or an outcome of the latent, by its pieces in the latent’s coordinates.

Type Aliases§

MomentKey
An outcome’s pieces and domain, which its moments are of.