Dear all,

May I ask is there any functions in R to evaluate the fitness of "coxph" and
"survreg" in survival analysis, please?

For example, the results from Cox regression and Parametric survival
analysis are shown below. Which method is prefered and how to see that / how
to compare the methods?

1. coxph(formula = y ~ pspline(x1, df = 2))

                                     coef   se(coef)   se2      Chisq   DF
p
pspline(x1, df = 2), line 0.0522 0.00867  0.00866 36.23 1.00   1.8e-09
pspline(x1, df = 2), nonl                                        3.27 1.04
7.5e-02

Iterations: 4 outer, 13 Newton-Raphson
     Theta= 0.91
Degrees of freedom for terms= 2
Likelihood ratio test=34.6  on 2.04 df, p=3.24e-08

2. survreg(formula = y ~ pspline(x1, df = 2))

                                   coef    se(coef)    se2      Chisq    DF
  p
(Intercept)                    2.8199 0.15980  0.09933 311.37  1.0   0.0e+00
pspline(x1, df = 2), line -0.0193 0.00248  0.00248  60.35  1.0   8.0e-15
pspline(x1, df = 2), nonl                                         1.43  1.1
2.6e-01

Scale= 0.304

Iterations: 6 outer, 20 Newton-Raphson
     Theta= 0.991
Degrees of freedom for terms= 0.4 2.1 1.0
Likelihood ratio test=48.2  on 1.5 df, p=1.18e-11


I really appreciate for your help. Thank you very much in advance.

Best wishes,
He

	[[alternative HTML version deleted]]

