I have built a prognostic model using stpm2 which includes a tvc (all covariates in model are centered, Sb variables are restricted cubic splines). The model is intended for clinical use which will involve generating survival probabilities at 2 and 5 years for individual patients.
Is it possible to calculate/predict survival probabilities in external data for a stpm2 model including a tvc?
I am having problems re-creating the tvc element of the model.

Many thanks in advance.
Kind regards
Anita

stset survtime, failure(iT==1) scale(12) id(ID)
stpm2 Pred_A_cent Sb1 Sb3 Sb2 Sb4 Pred_Hb_cent , tvc(Pred_Hb_cent) knotstvc(Pred_Hb_cent 5) scale(normal) df(3) noorthog

Coefficients from output table -
xb
Pred_A_cent -0.0223022 .
Sb1 -0.0196823
Sb3 0.0813105
Sb2 -0.0655064
Sb4 -0.0227443
Pred_Hb_cent 0 .0171128
_rcs1 0 .247728
_rcs2 0.14239
_rcs3 -0.3269927
_rcs_Pred_Hb_cent1 0. 0021463
_rcs_Pred_Hb_cent2 0.0003087
_cons -2.574488