v0.3.13
Bug Fixes
- When running with
TMB
package versions below 1.9.15, MMRM fit results are not completely reproducible. While this may not be relevant for most applications, because the numerical differences are very small, we now issue a warning to the user if this is the case. We advise users to upgrade theirTMB
package versions to 1.9.15 or higher to ensure reproducibility. - Previously,
mmrm
ignored contrasts defined for covariates in the input data set. This is fixed now. - Previously,
predict
always required the response to be valid, even for unconditional predictions. This is fixed now and unconditional prediction does not require the response to be valid or present any longer. model.frame
has been updated to ensure that thena.action
works correctly.- Previously
emmeans::emmeans
returnedNA
for spatial covariance structures. This is fixed now. - Previously
car::Anova
gave incorrect results if an interaction term is included and the covariate of interest was not the first categorical variable. This is fixed now. - Previously
car::Anova
failed if the model did not contain an intercept. This is fixed now.
Miscellaneous
- Upon fitting an MMRM, it is checked whether a not reproducible optimization feature of
TMB
is turned on. If so, a warning is issued to the user once per session. mmrm
now checks on the positive definiteness of the covariance matrixtheta_vcov
. If it is not positive definite, non-convergence is messaged appropriately.model.matrix
has been updated to ensure that theNA
values are dropped. Additionally, an argumentuse_response
is added to decide whether records withNA
values in the response should be discarded.predict
has been updated to allow duplicated subject IDs for unconditional prediction.
What's Changed
- fix emmeans on spatial covariance by @clarkliming in #450
- clean up simulations by @clarkliming in #456
- keep contrast using droplevels by @clarkliming in #455
- fix anova type 3 by @clarkliming in #460
- 464: TMB warnings by @danielinteractive in #466
- make unconditional prediction default by @clarkliming in #463
- signal non-convergence if theta_vcov is not positive definite by @danielinteractive in #468
- Create FUNDING.yml by @danielinteractive in #471
- 469 cran by @danielinteractive in #470
Full Changelog: v0.3.12...v0.3.13