grpreg icon indicating copy to clipboard operation
grpreg copied to clipboard

Weights option?

Open jeffwong-nflx opened this issue 8 years ago • 2 comments

Is there any way to modify the code to accept weights? This would really help in making the package compatible with glmnet

jeffwong-nflx avatar Sep 21 '16 18:09 jeffwong-nflx

I certainly recognize the value of this, but have never personally needed weights, so it remains low on my list of priorities. I'm going to tag this as an enhancement, because I do think it would be a useful feature, although I can't say I have any specific timeline for getting it done.

pbreheny avatar Sep 22 '16 15:09 pbreheny

I just wanted to follow this enhancement up. Increasingly regularly, I am coming across model selection with missing data problems where one approach is to fit a lasso on a stacked dataset of B imputed datasets, with weights equal to 1/B (or more complicated weights) to adjust for the inflated sample size. Currently unable to use grpreg which is my favourite group lasso package as without the weights too many variables are selected.

SlavichEve avatar Oct 19 '23 03:10 SlavichEve