easystats / easystats/parameters
bootstrap unavailable for clmm
Open
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
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 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