Displaying 1 result from an estimated 1 matches for "comorb_b".
Did you mean:
comorb_a
2013 Apr 30
0
Fastbw() function: grouping of variables
...le 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 drop med_a and keep the med_a:med_b interaction instead.
fit2 <-lrm(outcome~age + gender + comorb_a + comorb_b + comorb_c + other predictors, x = TRUE, y = TRUE, data = example)
fastbw(fit2, type = "residual).
--> fastbw may drop some of the comorbidities, but I would like to consider them as one group.
Any help is much appreciated!
Maaike
-------------------------------------------------------...