It would be very useful to be able to perform variable selection with competing risks. It would seem that it should be straightforward, since glmnet has a multinomial family. But as we've discovered, they use a different parametrization for the multinomial model which implies that constant offsets are dropped.
I see at least two solutions:
For obvious reasons, the first solution (if possible) would be preferable.
It would be very useful to be able to perform variable selection with competing risks. It would seem that it should be straightforward, since
glmnethas amultinomialfamily. But as we've discovered, they use a different parametrization for the multinomial model which implies that constant offsets are dropped.I see at least two solutions:
Find a way to adjust the
glmnetfit to account for the missing offset term.Implement our own version of penalized multinomial regression.
For obvious reasons, the first solution (if possible) would be preferable.