**1.6k**wrote:

Hi ,

I am trying to do a survival analysis for a gene using TCGA data, I did this by both ways, continuous expression value and discrete values (Low and high using median expression values). In both cases there is huge difference in p-values. Can anyone help me which way is better for survival analysis?

my command:

```
coxph(Surv(time, status) ~ expression, data = survdata)
```

results:

```
HR=0.82, logrankP= 0.02 (when I used discrete model)
HR= 0.87, logrankP= 0.00001 (when I used continuous model)
```

Thanks