'''
- coxph(formula = Surv(time, hyper) ~ age + drink + smoke + sodium * tchl * BMI, data = male)
- coxph(formula = Surv(time, hyper) ~ age + drink + smoke + sodium * tchl * BMI, data = female)
- The 3-term variables are factors (=categorical)
- male patient:1506, control: 162
- female patient:1548, control: 363
- time: 7 periods
'''
The result of 3 terms interaction of 1 (male, n=1668)) :
coef exp(coef) se(coef) z Pr(>|z|)sodium:tchl:BMI NA NA 0.000e+00 NA NAThe result of 3 terms interaction of 2 (female, n=1971) :
sodium:tchl:BMI 4.545e-01 1.575e+00 1.582e+00 0.287 0.774
< > coef exp(coef) se(coef) z Pr(>|z|)
Why is the result of the male NA?
sodium
,tchl
, andBMI
categorical predictors for males. My guess is that one combination category will have either no members or no events. Please also edit to define "tchl"; I infer that to be "total cholesterol" but I don't think that's a standard abbreviation. Finally, consider why you are modeling these continuous variables as categorical. I recall a lot of confusion when someone I know was diagnosed with "low sodium" when the value was 134, just below the arbitrary low cutoff of 135. $\endgroup$