I need help regarding data set up and the right command for time varying dependent variables. I am using financial data and for that I think that time-dependent cox regression should be used.

My research is about companies which producing either product A (35 companies) or product B (23 companies). The event of interest is whether the companies are distress or not after the production. Independent variables are in decimal points (from ratios calculation).

The variables are:

Id: companies

Time to distress : time in year until distress

Group : if produced product A (1), otherwise B (2)

Status: 1 if distress, otherwise 0 (censored)

Independent variables: X1, X2, X3 (all are time-dependent, yearly data)

Attached is the illustration of my data set.

I need help on the following :

1. Whether the data set up is correct

2. What is the SPSS time-dependent command for 3 IVs above?

I have been reading and searching about this matter for many months.

I really need helps.

Appreciate your kind help.

Many thanks.