I have performed a number of Cox regression analyses using Stata 14.2 and SPSS v24 (both in Windows 7) on a given data set comprising 318 individuals measured on approximately 30 variables, with some missing observations. In each Cox analysis, I have included 2 specific explanatory variables. Some of these analyses give identical results using the 2 packages and others give different estimated HRs and p-values, although the conclusions drawn on the basis of the p-values are the same. I note that the number of observations used when the packages give different results are not identical, e.g. 157 in SPSS and 155 in Stata. I also used R as a check and R gave the same results as SPSS. Can anyone explain why I am getting different results in Stata?
-
Login or Register
- Log in with
Comment