Open Licun1 opened 2 months ago
I run TableSubgroupMultiGLM(status ~ sex, var_subgroups = c("kk", "kk1"), data = lung, family = “binomial”)
. The below is the result.
Could you show what that wrong result is ?
Variable Count Percent OR Lower Upper P value P for interaction
sex2 Overall 228 100 3.01 1.65 5.47 <0.001 <NA>
1 kk <NA> <NA> <NA> <NA> <NA> NA 0.476
2 0 38 16.9 7 0.7 70.03 0.098 <NA>
3 1 187 83.1 2.94 1.55 5.57 0.001 <NA>
4 kk1 <NA> <NA> <NA> <NA> <NA> NA 0.984
5 0 8 3.6 314366015.19 0 Inf 0.997 <NA>
6 1 217 96.4 2.85 1.55 5.25 0.001 <NA>
Thank you very much for providing this package. However, when I use the TableSubgroupMultiGLM function, it seems that the returned values are incorrect. But when I use the TableSubgroupMultiCox function, it returns the correct values. What's wrong with it?