tfp.edward2.Moyal

View source on GitHub

Create a random variable for Moyal.

See Moyal for more details.

RandomVariable.

Original Docstring for Distribution

Construct Moyal distributions with location and scale loc and scale.

The parameters loc and scale must be shaped in a way that supports broadcasting (e.g. loc + scale is a valid operation).

loc Floating point tensor, the means of the distribution(s).
scale Floating point tensor, the scales of the distribution(s). scale must contain only positive values.
validate_args Python bool, default False. When True distribution parameters are checked for validity despite possibly degrading runtime performance. When False invalid inputs may silently render incorrect outputs. Default value: False.
allow_nan_stats Python bool, default True. When True, statistics (e.g., mean, mode, variance) use the value NaN to indicate the result is undefined. When False, an exception is raised if one or more of the statistic's batch members are undefined. Default value: True.
name Python str name prefixed to Ops created by this class. Default value: 'Moyal'.

TypeError if loc and scale are different dtypes.

References

[1] J.E. Moyal, "XXX. Theory of ionization fluctuations", The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science. https://www.tandfonline.com/doi/abs/10.1080/14786440308521076 [2] G. Cordeiro, J. Nobre, R. Pescim, E. Ortega, "The beta Moyal: a useful skew distribution", https://www.arpapress.com/Volumes/Vol10Issue2/IJRRAS_10_2_02.pdf