stan-dev / stan-dev/rstanarm

Use simpler regularize horseshoe parameterization

Open
#427 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

performance
Dominant language
R
Stars
401
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Summary:

There are different regularized horseshoe parameterizations. Two of them with Stan code are presented in Appendix C of https://projecteuclid.org/euclid.ejs/1513306866

The current rstanarm code is using parameterization shown in Appendix C.2. This parameterization was chosen as it seemed to be useful for non-regularized horseshoe.

Appendix C.1 has a simpler parameterization which has D+1 less parameters where D is the number of regression coefficients. This simpler parameterization is faster as the posterior dimensionality is smaller. We also now have lot of experimental experience that it works well with regularized horseshoe and thus it would be good to switch to the simpler parameterization.

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 current regularized horseshoe implementation in rstanarm and compare it with the Stan code in Appendix C.1 and C.2 of the linked paper. Confirm the simpler parameterization preserves the model’s behavior while reducing posterior dimensionality by D+1 parameters, then run the relevant existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.