Attempts to reduce expression distributions to closed-form distributions when mathematical identities apply. For example:

  • normal + normal = normal (sum of independent normals)

  • normal - normal = normal (difference of independent normals)

# S3 method for class 'edist'
simplify(x, ...)

Arguments

x

The edist object to simplify

...

Additional arguments to pass (not used)

Value

The simplified distribution, or unchanged edist if no rule applies