Hi, I am using the Cox regression with censored data for analyzing firm survival; one firm=one observation. I have 500 firms and the time span is 20 years. Each firm has its own time-independent characteristics that I use as main explanatory variables. In addition, I want to include time-varying covariates. To include “internal” time-varying covariates (for example, firm size, measured with sales of each year), I guess that the unique methodology is to split the sample. However, first I want to include an “external” time-varying covariate, such as the yearly change of GDP or, as an alternative, a dummy variable equal to 1 if the GDP is increasing and equal to 0 if the GDP is decreasing. In other words, the time-varying covariate is the same for all firms every year. Is there a simple method to do it instead of splitting each observation in 20 observations? Thank you,
Andrea
Andrea
Comment