grpreg icon indicating copy to clipboard operation
grpreg copied to clipboard

Specify unpenalized groups through group.multiplier

Open pbreheny opened this issue 8 years ago • 0 comments

One should be able to specify unpenalized groups through group.multiplier, as in:

data(Birthwt)
X <- Birthwt$X
y <- Birthwt$bwt
group <- Birthwt$group
fit <- grpreg(X, y, group, group.multiplier=0:7)

But this doesn't work; they have to be given a group number of 0.

pbreheny avatar Jan 05 '17 17:01 pbreheny