Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify unpenalized groups through group.multiplier #9

Open
pbreheny opened this issue Jan 5, 2017 · 0 comments
Open

Specify unpenalized groups through group.multiplier #9

pbreheny opened this issue Jan 5, 2017 · 0 comments
Labels
Milestone

Comments

@pbreheny
Copy link
Owner

pbreheny commented Jan 5, 2017

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 pbreheny added this to the Version 3.4 milestone May 18, 2021
@pbreheny pbreheny added the bug label May 18, 2021
@pbreheny pbreheny modified the milestones: Version 3.4, Version 3.5 Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant