I ran the following Cox model and got 1526679 deleted observations, which is a large portion of my data.
Call: coxph(formula = Surv(time1sec, time2sec, event) ~ gain +
Buy + Lev + TP + frailty(ID), data)
n= 73322, number of events= 73322 (1526679 observations deleted due to missingness)
I am not sure why these observations were deleted. I am certain that these values are there, and are not empty. This started happening when I added the ID as a frailty term.
Any ideas what might be going on here?