easystats / easystats/parameters

Error when compute bootstrapped parameters glmmTMB model - semi-parametric bootstrapping

Open
#1,242 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3 investigators :grey_question::question: Bug :bug:
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

Open the contributing guide

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.