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

I'm wondering if the function(TableSubgroupMultiGLM) could support family = 'binomial( link = logit)". #19

Closed
chuckbyron opened this issue Feb 24, 2024 · 8 comments

Comments

@chuckbyron
Copy link

Dear author.thanks for your excellent R package, but i have one question:

I am analyzing cohort data, and I wish to analysis RR instead of OR value in subgroup analysis.

TableSubgroupMultiGLM(
formula,
var_subgroups = NULL,
var_cov = NULL,
data,
family = "binomial",
decimal.estimate = 2,
decimal.percent = 1,
decimal.pvalue = 3,
line = F
)

I'm wondering if the function could support family = 'binomial( link = logit)".

thank u very much!

@jinseob2kim
Copy link
Owner

family = "binomial" is equal to family = 'binomial( link = logit)"

@chuckbyron
Copy link
Author

family = "binomial" is equal to family = 'binomial( link = logit)"

Dear author.thanks a lot for your reply.

I hope to calculate the RR value, instead of OR value. When I use TableSubgroupMultiGLM() function, I got the OR value.
And the readme file in your GitHub also shows the OR value. Could you kindly support the methods to calculate RR value.

thans you very much, and best wishes!

@jinseob2kim
Copy link
Owner

Currently, jsmodule can't support RR(poisson or quasipoisson).
I will update RR until next CRAN release.
Thanks for your feedback

@jinseob2kim
Copy link
Owner

I update RR to TableSubgroupMultiGLM

  • family: poisson or quasipoisson
    please use the latest version via remotes::install_github("jinseob2kim/jstable")

@chuckbyron
Copy link
Author

Thanks for your reply, and the updated package could calculate the RR value in poisson distribution regression. But I still have one request, could you try to support log-binomial regression, sorry to bother you, I meant family = 'binomial( link = log)".

Best wishes!

@jinseob2kim
Copy link
Owner

I've never used binomial(link=log) before. Can you share some example data and code?

@chuckbyron
Copy link
Author

@jinseob2kim
Copy link
Owner

Thanks for the link. Sorry, I've never used the "log" option, so it's hard to apply.

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

2 participants