Skip to content

calc_expectation but for labelled distributions #1486

Open
@sbenthall

Description

calc_expectation returns the expected value of a function over a distribution.

https://github.com/econ-ark/HARK/blob/master/HARK/distribution.py#L2298

It isn't yet implemented to be compatible with Labelled distributions:
https://github.com/econ-ark/HARK/blob/master/HARK/distribution.py#L1450

It probably can be written to wrap expected:
https://github.com/econ-ark/HARK/blob/master/HARK/distribution.py#L2422

See also #1483

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