Move thinning to occur after fitting the Stan model
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by locating where rbmi fits the Stan model and currently passes Stan's thinning option. Read how the retained Stan object is used for rbmi inference, then separate full-model fitting from the later sample thinning step. Done means inference can use all fitted samples while rbmi applies thinning afterward to address autocorrelation.
Written by the indexing model from the issue text.
Description
Use case that has come up is one where you wish to do inference on the complete set of samples where auto correlation is not (or less?) of an issue but then apply thinning to the samples used by rbmi to remove said autocorrelation.
At the moment we just uses Stans inbuilt thinning so this could be implemented simply by manually applying the thinning after fitting the full Stan model (as the retained Stan object would contain the full set of samples).
- Dominant language
- R
- Stars
- 21
- Forks
- 13
- Avg merge
- 13h 22m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from openpharma/rbmi
-
Release rbmi 1.7.1Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
openpharma/rbmi#606 ·
Maintainers usually reply within 1 day
-
To be evaluated
Difficulty 5/5 Over a week Newbie friendliness 35/100
openpharma/rbmi#595 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
openpharma/rbmi#591 · 3 reactions ·
Maintainers usually reply within 1 day
-
Feature request: Add `analyse_mi_data()`.Possibly taken @danielinteractive claimed this 49 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
openpharma/rbmi#589 · 8 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
openpharma/rbmi#563 · 6 comments ·
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
OHDSI/CohortGenerator#281 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100