Skip to content

Transformed random variables initialisation #368

@emilemathieu

Description

@emilemathieu

Hi all !

In HMC, VarInfo is initialised with vi = model() which consequently calls the default assume, then init(dist), then inittrans(dist) if dist is a subtype of TransformDistribution.

I don't understand why don't we sample from the prior (rand(dist)) for initialisation, instead of this uniform sampling (through some mapping) which can be quite far from the prior (and posterior). Do we need this for the transformations in HMCto be valid, or is this for performance ?

Maybe it's to allow to perform inference when we can only evaluate pointwise distributions' pdf and cannot sample from them ?

Best,
Emile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions