Skip to content

pp_check and rvars #548

Description

@mhollanders

Hi all,

Is there a way to use rvars with posterior predictive checks?

Cheers,

Matt

Activity

  1. jgabry commented on Jun 5, 2026

    @jgabry
    Member

    Sorry for the slow reply. I actually haven't tried this, but I don't think you could pass an rvar directly to the yrep argument of the ppc_* functions. I think draws formats from the posterior package work (if you use bayesplot from GitHub, maybe not the CRAN version yet), but a raw rvar isn't itself in a draws format. But I would be interested in rvar support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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