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

Error while executing a negative binomial model #10

Open
bhara033 opened this issue Aug 7, 2023 · 0 comments
Open

Error while executing a negative binomial model #10

bhara033 opened this issue Aug 7, 2023 · 0 comments

Comments

@bhara033
Copy link

bhara033 commented Aug 7, 2023

Hello Kevin,

Hope you are doing well. I am trying to run a negative binomial regression using "RegParallel." I am getting the error "FUNtype not recognised. Choose one of glm, lm, coxph, clogit, or bayesglm." The package documentation lists glm.nb() as one of the supported functions. Could you please help me understand why this error is occurring? I have included my code below:

res <- RegParallel(
data = data,
formula = 'response ~ .',
FUN = function(formula, data)
glm.nb(formula = formula,
data = data),
FUNtype = 'glm.nb',
variables = colnames(data),
p.adjust = "none",
blocksize = 5,
cores = 2)

Thank you for your time.

Kind Regards,

Suhas

@bhara033 bhara033 closed this as completed Aug 7, 2023
@bhara033 bhara033 reopened this Aug 8, 2023
@bhara033 bhara033 changed the title Error while executing a linear model Error while executing a negative binomial model Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant