easystats / easystats/parameters

mixed vs fixed model bootstrap does not use the same type

Open
#505 25 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Consistency :green_apple: :apple:
Dominant language
R
Stars
499
Forks
45
Avg merge
3d 1h
Merged PRs (30d)
3

Description

In bootstrap_model:

  • lme4::bootMer() defaults to type = "parametric".
  • boot::boot() defaults to sim = "ordinary" which is non-parametric.

Should we be consistent? Or does the diff between the models somehow justify this?

@bwiernik thoughts?

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 bootstrap_model implementation and inspect how it calls lme4::bootMer() and boot::boot(), including their default type and sim arguments. Compare the mixed-model and fixed-model paths and determine whether the differing bootstrap methods are intentional; done means the behavior is consistently justified or aligned, with tests covering both paths.

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
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.