I am using Stata command stcox to run the Cox regression with time-varying covariates over years.
Despite Cox model is generally a continuous time duration model, I am basically dealing with a discrete case since I have a new line in my data for each consequent year (1,2,3....etc.) in which covariate changes. Since Cox model, as well as other types of survival models (i.e., Weibull, etc.) produce reasonable results in Stata on my data, I assume that Cox model can be also applied in the setting, as mine.
Does anyone know whether is it correct to use stcox command in Stata for the discrete setting? Maybe there are some references I did not manage to find.
Thanks a lot!
Maria
Despite Cox model is generally a continuous time duration model, I am basically dealing with a discrete case since I have a new line in my data for each consequent year (1,2,3....etc.) in which covariate changes. Since Cox model, as well as other types of survival models (i.e., Weibull, etc.) produce reasonable results in Stata on my data, I assume that Cox model can be also applied in the setting, as mine.
Does anyone know whether is it correct to use stcox command in Stata for the discrete setting? Maybe there are some references I did not manage to find.
Thanks a lot!
Maria
Comment