stan-dev / stan-dev/rstan

Use only the upper triangle of correlation matrices in summaries/plots

Open
#329 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Currently, if a model involves a parameter that is a correlation matrix, the various print/summary and plot functions return values/plots for all entries in the matrix, when the diagonal is useless and the lower triangle is redundant. Would be better to keep the index labels (ex. "Omega[1,2]") but omit the entries from the diagonal and lower triangle.

Contributor guide

No contributing guide indexed for this repository

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 the print, summary, and plot functions that handle parameters represented as correlation matrices. Trace how matrix entries receive index labels such as "Omega[1,2]" and compare the different output paths. Done means diagonal and lower-triangle entries are omitted while upper-triangle labels and values remain available consistently.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.