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

shortestcovint() and .allpars fail for bootstrap results of zerocorr model #569

Closed
HaiyangJin opened this issue Sep 16, 2021 · 1 comment · Fixed by #570
Closed

shortestcovint() and .allpars fail for bootstrap results of zerocorr model #569

HaiyangJin opened this issue Sep 16, 2021 · 1 comment · Fixed by #570

Comments

@HaiyangJin
Copy link

using MixedModels, Random # MixedModels version: v4.2.1

lmm = fit(LinearMixedModel,
	@formula(reaction ~ 1+days+(1+days|subj)),
	MixedModels.dataset("sleepstudy"))
bs = parametricbootstrap(MersenneTwister(42), 2000, lmm);
shortestcovint(bs)
bs.allpars

All the above codes work well.

lmm_zero = fit(LinearMixedModel,
	@formula(reaction ~ 1+days+zerocorr(1+days|subj)),
	MixedModels.dataset("sleepstudy"))
bs_zero = parametricbootstrap(MersenneTwister(42), 2000, lmm_zero);
shortestcovint(bs_zero)
bs_zero.allpars

However, shortestcovint() and .allpars fail when zerocorr model is used. The error messages are the same:
LoadError: type Diagonal has no field data.

Could you please help with this? Thanks in advance.

@palday
Copy link
Member

palday commented Sep 17, 2021

Should be fixed in the new release

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

Successfully merging a pull request may close this issue.

2 participants