I am trying to understand the basic approach of the cox() family in brms. My understanding was that the idea is to model the baseline rate as a spline using the spline2 package, and then the covariates are proportional hazards off this baseline hazard rate.
Effectively, rather than having a semi-parametric baseline rate like in the classic Cox-PH, you instead have a modelled baseline curve using a spline.
So far, so good.
The problem lies when I try to reconstruct that spline from the various parameters outputted by the model. I appreciate this output is not available currently in brms, but I am happy to hack out a solutoin for this myself, but I am not quite understanding the logic in the cox() family code in brms.
I was extracting the spline but the baseline rate seems to start a 1 and so my estimated survival rates are much too low, despite both the brms and classic mle mostly agreeing on the values of the model parameters.
Any pointers welcome and happy to share code and any other bits that might help.!
