popsynth.aux_samplers.lognormal_aux_sampler module
- class popsynth.aux_samplers.lognormal_aux_sampler.LogNormalAuxSampler(name: str, observed: bool = True)[source]
Bases:
AuxiliarySampler- mu
- tau
- sigma
- __init__(name: str, observed: bool = True)[source]
A Log normal sampler, where property ~ e^N(
mu,sigma).- Parameters
name (str) – Name of the property
observed (bool) – True if the property is observed, False if it is latent. Defaults to True
mu (
AuxiliaryParameter) – Mean of the lognormaltau (
AuxiliaryParameter) – Standard deviation of the lognormalsigma (
AuxiliaryParameter) – Standard deviation of normal distribution from which observed values are sampled, ifobservedis True
- class popsynth.aux_samplers.lognormal_aux_sampler.Log10NormalAuxSampler(name: str, observed: bool = True)[source]
Bases:
AuxiliarySampler- mu
- tau
- sigma
- __init__(name: str, observed: bool = True)[source]
A Log10 normal sampler, where property ~ 10^N(
mu,sigma).- Parameters
name (str) – Name of the property
observed (bool) – True if the property is observed, False if it is latent. Defaults to True
mu (
AuxiliaryParameter) – Mean of the log10normaltau (
AuxiliaryParameter) – Standard deviation of the log10normalsigma (
AuxiliaryParameter) – Standard deviation of normal distribution from which observed values are sampled, ifobservedis True