# Ignore strata in external validation of stratified Cox prop hazards model?

I've fit a stratified Cox proportional hazards model to some survival data, where I've stratified by a potential confounder which is the batch the data comes from (there are three batches).

Now, I'd like to externally validate this model on a new set of data, that also come from the three batches (independent samples though). Should I be using the strata information in this prediction? My thoughts are to exclude the strata, as I want to remove this confounding factor and not artificially inflate my predictive value (C-index etc).

Is this correct?

Edit for clarification:

Say I'm developing a diagnostic test for some disease, using a stratified Cox model to account for a confounder (a batch effect like which hospital the data was collected at). Now, if I go to apply this test in the real world, a new individual won't have the batch effect associated with my study, so there's no point in assigning them to some pre-defined stratum.

• You should still fit a stratified model. The model in training and validation part should remain the same. – Peter Oct 16 '14 at 12:21
• The main issue is the validation: I can validate C-index within each stratum separately, or I can evaluate over all individuals ignoring the strata, which leads to different results. – purple51 Oct 20 '14 at 5:01

Your second issue is how to do the validation when a variable is not part of the covariate portion of the model. In the R rms package val.surv and calibrate functions this is done by getting calibration curves for survival probabilitiies at a specific time point. This takes strata into account and allows the stratification variable to contribution to predictive discrimination. If you want to not get any credit for predictive discrimination for having the strata then you can take the linear predictor $X_{test}\hat{\beta}_{train}$ and fit it as a single variable in the test sample, stratified by the new stratification factors, and judge how close to 1.0 is the coefficient of the linear predictor.