this is my first time developing a survival analysis model so bare with me if the nomenclature is not on point.
Basically, I'm running a Cox PH model for the length a contract is active, where 1 is terminated and 0 not.
That in itself is a pretty standard survival problem if I'm not mistaken, but there is a characteristic in my data that I'm not sure how to clean for this model.
To explain, here are some stats: 67% of cases were terminated, while 33% were not. Here is the histogram of the length of the contract for each group:
As you can see, most terminated contracts do so before 100 days, while not terminated contracts tend to last longer (the median is 187 days).
What I want to do is truncate the number of days so, let's say if the value is 300, any observation with more than 300 days will be rewritten as 300 days. This is because I am more interested in the terminated case, and if I leave the data as it is, the predicted time to event is not very precise. I found that if I truncate the time (I tried it with 100 days but I believe it is too little given the not truncated distribution) the estimated time to event is better.
To sum up, my question is, is there a way I can find the best value to truncate the length of the contracts to? Maybe the median time for not terminated contracts?