Skip to content

Support for non-equal MCMC chain lengths #449

@florence-bockting

Description

@florence-bockting

Background

Some MCMC samplers produce chains of unequal length (e.g., WALNUTS). Currently, the posterior package does not support this case. This issue outlines some initial ideas for how to handle it.

Proposed options

  • Option 1: Thin chains to equal length Automatically thin longer chains to match the shortest chain length.
  • Option 2: Equal-length storage with NA padding Store chains in the existing equal-length format but pad shorter chains with NA values. New utility functions or arguments would be added to support working with padded draws.
  • Option 3: Native support for non-equal chain lengths Support natively stored chains of different length.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions