stan-dev / stan-dev/cmdstanpy

CmdStanMCMC.summary: allow filtering of variables

Open
#846 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature method outputs
Dominant language
Python
Stars
198
Forks
81
PR merge metrics
No merged PRs in 30d

Description

This can use the -i argument from https://github.com/stan-dev/cmdstan/pull/1143

Some care will be needed if we want to support mapping from containers to all their indices, e.g. if the user can specify vars=['a'] for a vector[3] a; and that's equivalent to -i a.1 -i a.2 -i a.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating CmdStanMCMC.summary and compare its variable handling with CmdStan's -i argument described in pull request 1143. Done means summary accepts a variable filter and defines whether a container such as vector[3] a can expand to all indexed variables.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.