We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
confint(::MixedModelProfile)
lower
upper
REML
All works fine for models fitted with ML:
m = fit(MixedModel, @formula(reaction ~ 1 + days + (1|subj)), MixedModels.dataset(:sleepstudy)); confint(profile(m))
DictTable with 3 columns and 4 rows: par estimate lower upper ────┬─────────────────────────── β1 │ 251.405 231.992 270.818 β2 │ 10.4673 8.88655 12.048 σ │ 30.8954 27.8139 34.5911 σ1 │ 36.0121 26.0079 52.9358
But with REML, lower and upper values are seemingly swapped for the βs:
refit!(m, REML=true); confint(profile(m))
DictTable with 3 columns and 4 rows: par estimate lower upper ────┬─────────────────────────── β1 │ 251.405 265.901 236.909 β2 │ 10.4673 11.6974 9.23715 σ │ 30.9912 27.8913 34.7109 σ1 │ 37.1238 26.6233 55.1929
The text was updated successfully, but these errors were encountered:
Thanks for including an MWE!
I'm looking into what causes this -- both REML and ML models use the same confint method, so this is a little bit surprising.
confint
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
All works fine for models fitted with ML:
But with REML,
lower
andupper
values are seemingly swapped for the βs:The text was updated successfully, but these errors were encountered: