Skip to content

generated quantities block - naming conventions for posterior predictive checks and cross-validation #962

Open

Description

@mitzimorris

Clarify and standardize use of y_tilde, y_rep, and y_sim across the Stan User's Guilde.

  • y_tilde is the posterior predictive on new data x_tilde
  • y_rep is the posterior predictive given y
  • y_sim is simulated data.
  • log_lik[n] for log likelihood of data item n

Provide links to downstream analysis tools: ArviZ for Python and bayesplot, posterior, and LOO for R for posterior predictive checks and cross-validation.

Edit: added log_lik for cross-validation.

Activity

  1. changed the title [-]standardize generated quantities block variable names for log likelihood, posterior and prior predictive checks[/-] [+]generated quantities block - naming conventions for posterior predictive checks and cross-validation[/+] on Jul 11, 2026
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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions