-
-
Notifications
You must be signed in to change notification settings - Fork 23
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 anova type 3 #460
fix anova type 3 #460
Conversation
after #455 merged we may further improve the code |
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.
thanks @clarkliming , I also merged the other PR, so can go from updated version now
Co-authored-by: Daniel Sabanes Bove <[email protected]>
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.
Thanks @clarkliming
Code Coverage Summary
Diff against main
Results for commit: 1bda930 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 46 suites 27s ⏱️ Results for commit 1bda930. ♻️ This comment has been updated with latest results. |
Unit Test Performance DifferenceAdditional test case details
Results for commit 61873e5 ♻️ This comment has been updated with latest results. |
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.
Thanks @clarkliming , just a few minor suggestions
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Co-authored-by: Daniel Sabanes Bove <[email protected]>
Thank you for the quick fix! At first glance, it works fine now. I wanted to run some more thorough checks and also have a look at 3-way interactions. Thanks again! |
It seems that for the 3 way case, there is still a discrepancy.
SAS reports The difference is in the two-way interactions now, 3-way and marginals are fine. I must admit that I am struggling a bit with the code in |
Hi @kkmann I updated again, hopefully this cover all cases |
@InkaRo could you share the current discrepancy case directly in this PR so that we can discuss it here? @clarkliming it seems that the contrast matrices are stil la bit off in the three way case. I am sorry, but it is quite difficult for Inka and me to reverse engineer the h_* functions without more specs / comments. Could we maybe document hiw we expect the the h_get_contrast() function to behave and test it directly for higher order interactions? Lines 17 to 28 in 875322e
|
hi @kkmann the details can be found at https://openpharma.github.io/mmrm/latest-tag/articles/hypothesis_testing.html; and this vignettes is just following the SAS. So in what cases do you observe a difference in the contrast? |
@kkmann @InkaRo @clarkliming From the sidelines: Maybe it would be easier to have a short meeting to clarify on this topic? |
A meeting is a good idea. Do you want to set sth up @danielinteractive? |
@InkaRo we actually have one today at 2.30 pm CET if you have time? You could let me know your email via [email protected] and I can add you |
Hi @clarkliming, @InkaRo and I just double checked on the latest published commit 875322e and the problem persists. The problem seems to be that the contrasts still need to be sorted in the order of appearance in the formula statement. |
@clarkliming @danielinteractive sorry, my bad, I did not use load_all(), so I still had the old functions. It works fine now, contrasts look good. |
Apologies from my end as well. Missed it to. Thanks @clarkliming for seeing this through - hope we get that fix to CRAN soon x) |
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.
🚀 works for us, thanks so much for addressing thsi so quickly @clarkliming
There seems to be an issue with a fa icon on the website, remove?
close #459