Displaying 1 result from an estimated 1 matches for "comorbidites".
Did you mean:
comorbidities
2013 Apr 30
0
Fastbw() function: grouping of variables
...is a group of comorbidity variables that I would like to be assessed all together and not as separate components as this makes more sense from the perspective of interpretation.
The Force = ... option seems to only work for pre-specified variables and does not solve my problem. In the case of the comorbidites, the variables are not mutually exclusive, so I would be very difficult to recode them as a factor variable with multiple levels.
Examples:
fit1 <-lrm(outcome~age + gender + med_a + med_b + med_a:med_b, x = TRUE, y = TRUE, data = example)
fastbw(fit1, type = "residual).
--> fastbw may d...