Skip to content

Implement Rayleigh RV as a scaled Chi2 #223

@twiecki

Description

@twiecki

Description

Code:

def rayleigh(scale=1.0, *, size=None, **kwargs):
  return chi2(df=2, size=size, **kwargs) * as_tensor_variable(scale)

from:
#220 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions