I am currently working through a survival problem and I wanted to get some advice with how to proceed.
I wanted to estimate survival probabilities over time based on knowing only the $\log({\rm hazard})$ which takes the form of powers of $t$. For example: $\ln({\rm hazard}(t)) = -5 + 1.2t^2 + 0.5t$
I've read elsewhere that this obtains an analytically intractable integral and thus requires numerical techniques.
Essentially I am looking to obtain a formula which predicts survival over time based on this hazard. Can anyone give me a heads-up about how I proceed with this? Does anyone know of a function in R that may help with the problem?