Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More than one random effect for nonparametricbootstrap #56

Open
joseah opened this issue May 9, 2024 · 0 comments
Open

More than one random effect for nonparametricbootstrap #56

joseah opened this issue May 9, 2024 · 0 comments

Comments

@joseah
Copy link

joseah commented May 9, 2024

Dear Phillip,

First of all, many thanks for all the work you've put into this package so far!
Following this issue from theMixedModels.jl library, I've tried out using the nonparametricbootstrap method. However, I've run into the following error when trying to use two random effects in the model. For example:

sleepstudy = MixedModels.dataset(:sleepstudy)
m1 = fit(MixedModel, @formula(reaction ~ (1 | days) + (1 | subj)), sleepstudy; progress=false)
non = nonparametricbootstrap(MersenneTwister(42), 1000, m1)

ERROR: MethodError: no method matching lmul!(::Matrix{Float64}, ::Matrix{Float64})

I'm not sure if this is an error or a limitation in the current implementation.

Cheers,
Jose

  • Julia v1.10.3
  • MixedModels v4.22.5
  • [647c4018] MixedModelsPermutations v0.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant