easystats / easystats/parameters

bootstrap unavailable for clmm

Open
#1,056 0 comments 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

When I use the bootstrap option on the example proposed in the ordinal::clmm documentation, I get the following error

Error in [.data.frame(params, match(colnames(params_variance), colnames(params))) : undefined columns selected

library(ordinal)
fmm1 <- clmm(rating ~ temp + contact + (1|judge), data = wine)	
model_parameters(
  fmm1,
  bootstrap=TRUE,
  iterations = 100
)

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 by running the documented ordinal::clmm example with model_parameters(..., bootstrap=TRUE, iterations=100) and reproduce the undefined-columns error. Trace the bootstrap handling for this model type; done means the example completes without the error and returns bootstrap results.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.