Closed edbonneville closed 2 years ago
Thanks for reporting this. The issues should be resolved in the development version on GitHub. We will do some extra tests before releasing it to CRAN.
Thanks a lot! I have not tried it yet but I wonder how the development version will now choose between two identically named knots()
helper functions.. no problem waiting for the next CRAN release.
Hi
{JMbayes2}
team - thank you for the impressive work on this package!Related to #24, but I was noticing strange results (and totally different compared to
{JM}
) when using the baseline hazards that were not piecewise exponential. It was with an applied dataset where events only started occurring after 1 month (and maximum follow-up was 6 months, with administrative censoring). I tried to reproduce a similar set up based on the pbc2 data below:Created on 2022-07-15 by the reprex package (v2.0.1)
So beyond the results being very different, there is also:
pbc_JMbayes2_m1
are placed outside of the follow-up window. If you try the same code withBsplines_degree = 3L
, the first knot will even be placed at a negative timepoint!splineDesign()
here. Based on whatJM::jointModel()
does, it would seem you need the boundary knots to be repeatedBsplines_degree + 1L
times. Somehow though, things still work out with the defaults if you have data with events starting from the beginning of follow-up (if you re-run the above example with the original pbc2 datasets, results are the same for all three models..)I am using the latest version of
{JM}
, and the latest development version of{JMbayes2}
. Thanks in advance!