search for: med_b

Displaying 1 result from an estimated 1 matches for "med_b".

Did you mean: md_b
2013 Apr 30
0
Fastbw() function: grouping of variables
...ion 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 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(fit...