Skip to content

Add functions for PIT and LOO-PIT #338

@TeemuSailynoja

Description

@TeemuSailynoja

loo_pit is currently in rstantools but needs implementation for discrete variables, and should probably be moved to posterior.
pit isn't currently available, but is used, for example, by bayesplot, where I have currently implemented the computation.

My questions are:
1 . PIT would require observations in addition to the draws object, which to my understanding isn't the case for other functions. Is this a problem?
2. Should there be a new subtitle on the functions page for PIT and LOO-PIT to fall under?
3. Should they be in the same function as regular PIT is just LOO-PIT with even weights?

Metadata

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