-
Notifications
You must be signed in to change notification settings - Fork 48
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
Fix simulate!
when only the estimable coefficients are provided
#756
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
….jl into pa/simulate_fixef
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #756 +/- ##
==========================================
+ Coverage 96.45% 96.87% +0.42%
==========================================
Files 34 34
Lines 3354 3358 +4
==========================================
+ Hits 3235 3253 +18
+ Misses 119 105 -14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had some comments/questions/suggestions but nothing blocking.
padding = length(model.feterm.piv) - m.feterm.rank | ||
append!(β, fill(-0.0, padding)) | ||
if length(β) == length(m.feterm.piv) | ||
# unlike LMM, GLMM stores the truncated, pivoted vector directly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tangential to this PR but it could be convenient to have some kind of pivot
accessor to retrieve this array.
Co-authored-by: Alex Arslan <[email protected]>
Co-authored-by: Alex Arslan <[email protected]>
closes #741
Did behavior change? Did you add need features? If so, please update NEWS.md
docs/NEWS-update.jl
to update the cross-references.Should we release your changes right away? If so, bump the version: