Partial Cox regression for time to event data analysis