standalone generated quantities need way to run stansummary on resulting csv file
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 238
- Forks
- 106
- Avg merge
- 2h 29m
- Merged PRs (30d)
- 6
Description
Summary:
The CmdStan method generate_quantities doesn't directly provide a way to summarize the output csv file;
either modify stansummary to recognize generate quantities output, or create new utility.
Description:
The csv output file isn't a proper Stan csv output file - it's missing:
- initial comment with "thin" information
- final comments for timing information
Add comments to CSV file so that it looks like a Stan CSV file that can be parsed
by stan::io::csv_reader; modify stansummary so that missing sampler params columns are OK.
Current Version:
v2.23.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CmdStan generate_quantities output and the stansummary handling described in the issue, then inspect how stan::io::csv_reader parses CSV comments and columns. Add the missing thin and timing comments and allow missing sampler-parameter columns; done means the resulting CSV can be parsed and summarized by stansummary.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100