Support for non-equal MCMC chain lengths

オープン
#449 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
r
領域
data

調査の方向性

まず、posterior パッケージが現在、同じ長さの MCMC chain をどのように保存しているか、また既存のユーティリティがそれらの draw をどのように利用しているかを確認する。提案されている 3 つのアプローチ—thinning、NA padding、ネイティブな不等長保存—を比較する。1 つのアプローチを選択し、その保存方法とユーティリティの動作を定義して初めて、作業は完了となる。

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
R
スター
172
フォーク
27
平均マージ
5日 12時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stan-dev/posterior のほかの issue

stan-dev/posterior の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。