easystats / easystats/parameters
Error when compute bootstrapped parameters glmmTMB model - semi-parametric bootstrapping
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 499
- Forks
- 45
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 3
Description
I conducted a linear mixed model using glmmTMB.
glmmTB_model_randomintercept <- glmmTMB(Max ~ Condition*Block+ (1|ID),
data = my_data,
na.action=na.exclude,
family = gaussian(link = "identity"),
REML = FALSE,
se = TRUE)
I want to compute bootstrapped parameters using semi-parametric bootstrapping. I receive the following error.
boot_results <-bootstrap_parameters(glmmTB_model_randomintercept, type = "semiparametric", iterations = 10)
Error in lme4::bootMer(model, boot_function, nsim = iterations, type = type, :
semiparametric bootstrapping with use.u=FALSE not yet implemented
I can calculate the bootstrapped parameters when I select "parametric"
boot_results <-bootstrap_parameters(glmmTB_model_randomintercept, type = "parametric", iterations = 10)z
I read in the package description that it should be compatible for semiparametric bootstrapping & glmmTMB. Could you advice me on how I can extract those values?
Thanks in advance
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 shown bootstrap_parameters call and trace how type="semiparametric" is passed to lme4::bootMer for a glmmTMB model. The issue names no repository files or tests; done means either semiparametric bootstrapping returns the requested values or the limitation and supported alternative are documented clearly.
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
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100