openpharma / mmrm

Mixed Models for Repeated Measures (MMRM) in R.
https://openpharma.github.io/mmrm/
Other
127 stars 22 forks source link

Add positive definiteness check of `theta_vcov` to `h_mmrm_tmb_check_conv()` #442

Closed danielinteractive closed 1 week ago

danielinteractive commented 4 months ago

Problem: It is possible that other convergence checks pass, but theta_vcov is not positive definite. Downstream, this causes then the problem that the Satterthwaite d.f. can be negative, failing assertions.

To do: