get_refmodel: latent projection cannot be combined with observation weights
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 114
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
Hi! Not sure if this is an issue, but just wanted to ask for clarification. I wanted to perform projpred on my multilevel binomial brms model, so following the vignette, I ran get_refmodel(my_model, latent=TRUE) as a first step. I received an error message as follows:
Error in extract_model_data(object, newdata = NULL, extract_y = TRUE) :
Currently, the latent projection may not be combined with observation weights (other than 1).
As far as I'm aware, my model has no observation weights. May I know what may be causing the issue and how I can remedy it? Thanks!
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 get_refmodel(my_model, latent=TRUE) entry point and the extract_model_data error shown in the report. Reproduce the multilevel binomial brms case from the vignette, then inspect how observation weights are detected. Done means the cause is identified and either the behavior is corrected or the required model conditions are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100