Skip to content

Support more distributions as random variables #44

Open
@eigenfoo

Description

@eigenfoo

Filing this as an issue so we don't forget: #41 (comment)

I think we can achieve most of the important distributions using tfp.distributions.Mixture and tfp.distributions.Bijector (e.g. the zero-inflated distributions are just mixtures with the zero distribution).

@ColCarroll I'm assuming there will be a problem with having a distribution/RV named Deterministic? 😄 That's what tfp calls the thing that PyMC calls the Constant distribution. If so, I can write something to remap names.

Continuous:

  • Flat
  • HalfFlat
  • SkewNormal
  • HalfStudentT
  • Weibull
  • Wald (a.k.a. InverseGaussian)
  • ExGaussian
  • LogitNormal
  • Interpolated

Discrete:

  • BetaBinomial
  • ZeroInflatedBinomial
  • ZeroInflatedPoisson
  • ZeroInflatedNegativeBinomial
  • DiscreteUniform
  • Constant (EDIT: actually, tfp does have this, but it's called tfp.distributions.Deterministic... which may be problematic for us 😝)
  • DiscreteWeibull
  • OrderedLogistic

Multivariate:

  • MatrixNormal
  • KroneckerNormal
  • LKJCholeskyCov (EDIT: the tfp "LKJ" distribution is the same as "LKJCorr", though)

Timeseries:

  • All Timeseries distributions

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions