I would like to understand how term-specific p-values are calculated in the lifelines package ('p' in the summary table below).
The documentation says they are calculated using stats.chi2.sf(U, 1), but I don't understand how exactly this works. Is this a likelihood-ratio chi-squared test?
<lifelines.CoxPHFitter: fitted with 7350 observations, 5998 censored>
duration col = T
event col = label
number of subjects = 7350
number of events = 1352
log-likelihood = -10948.762
time fit was run = 2018-12-17 10:48:35 UTC
---
coef exp(coef) se(coef) z p lower 0.95 upper 0.95
AGE -0.0001 0.9999 0.0000 -10.6696 0.0000 -0.0001 -0.0001 ***
GRADE -1.0068 0.3654 0.0450 -22.3973 0.0000 -1.0949 -0.9187 ***
---
Signif. codes: 0 '***' 0.0001 '**' 0.001 '*' 0.01 '.' 0.05 ' ' 1
Concordance = 0.797
Likelihood ratio test = 1297.307 on 2 df, p=0.00000
Code Source = How to interpret CoxPH survival regression