Skip to main content

Module generative

Module generative 

Source

Structs§

GenerativeSpec
First-class generative specification: mean process + observation noise.

Enums§

NoiseModel
Observation-noise model used for generative sampling.

Traits§

CustomFamilyGenerative
Extension trait for custom multi-block families that provide explicit generative semantics (mean + observation noise) at a fitted state.

Functions§

family_noise_parameter
THE single source of truth for the scalar dispersion the generative observation model uses for a fitted family — the value handed to NoiseModel::from_likelihood / generativespec_from_predict as gaussian_scale.
generativespec_from_predict
Build a generative specification for built-in GAM families from eta/mean.
sampleobservation_replicates
Draw multiple synthetic replicates (n_draws x nobs).
sampleobservations
Draw one synthetic observation vector from a generative spec.