Using projpred in multi-response models with group correlated hierarchical effects
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 114
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
In multivariate models such as:
brm(mvbind(y1, y2, y3) ~ x1 + x2 + (1 |id| grp), data = data, family = family())
Projpred crashes with the error: Unexpected number of | characters in group terms. Please notify the package maintainer.
Running it without the <id> works currently.
What would you advise ?
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
Reproduce the reported brm multivariate model with the correlated group effect, then compare it with the version without the id. Trace the handling of group terms that produces the unexpected | error. Done means projpred handles the grouped multi-response model without crashing, with regression coverage for both model forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100