Skip to content

draw_values not generating samples from joint distribution with HalfNormal or Bound(Normal) #3685

Closed
@adrn

Description

@adrn

Description of your problem

draw_values() does not draw from the joint distribution for HalfNormal, or Bound'ed Normal distributions.

My understanding of #3273 is that draw_values() should now properly generate samples in joint distributions instead of the individual marginals. This works for, e.g., Normal, but doesn't seem to work for a Bound(Normal), or for HalfNormal, as demonstrated in this notebook: https://gist.github.com/f4269724588b4bfbe4ae597cf5c6d39a

Versions and main components

  • PyMC3 Version: 3.7
  • Theano Version: 1.0.7
  • Python Version: 3.7.3
  • Operating system: macOS
  • How did you install PyMC3: pip

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