Thank you so much for all of your help! unfortunately I cannot send the file due to hospital policies. I attach the syntax.
STATS COMPRISK FAILTIME=T_TOT_SPP FAILSTATUS=Cause_Death_GROUP FIXEDCOVAR=agephase2 SEX_NEW norigin
ishunll TTG DIab_Group_N MCA_GROUP BP_GROUP2 BMI_GROUP TCH_GROUP
FAILCODE=2 CENSORCODE=1
/OPTIONS MISSING=OMIT PLOT=YES QUANTILES=.25 .50 .75 MAXITER=10 TOL=.000001.
STATS COMPRISK FAILTIME=T_TOT_SPP FAILSTATUS=Cause_Death_GROUP FIXEDCOVAR=agephase2 SEX_NEW norigin
ishunll TTG DIab_Group_N MCA_GROUP BP_GROUP2 BMI_GROUP TCH_GROUP
FAILCODE=2 CENSORCODE=1
/OPTIONS MISSING=OMIT PLOT=YES QUANTILES=.25 .50 .75 MAXITER=10 TOL=.000001.
Error in data.frame(df[noncatcovar], catdf) :
arguments imply differing number of rows: 1830, 1795
The porblem was fixed after I ignored the missing values.
Thank you
#SPSSStatistics#Support#SupportMigration