jinseob2kim/jstable

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

chuckbyron opened this issue · 8 comments

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!

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

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!

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

I update RR to TableSubgroupMultiGLM

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

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!

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

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