Skip to content

about TableSubgroupMultiGLM #35

Open
@Licun1

Description

@Licun1

TableSubgroupMultiCox(Surv(time, status) ~ sex, var_subgroups = c("kk", "kk1"), data = lung, line = TRUE)
Variable Count Percent Point Estimate Lower Upper sex=1 sex=2 P value P for interaction
sex Overall 228 100 1.91 1.14 3.2 100 100 0.014
1
2 kk 0.525
3 0 38 16.9 2.88 0.31 26.49 10 100 0.35
4 1 187 83.1 1.84 1.08 3.14 100 100 0.026
5
6 kk1 0.997
7 0 8 3.6 0 100
8 1 217 96.4 1.88 1.12 3.17 100 100 0.018
警告信息:
In coxph.fit(X, Y, istrat, offset, init, control, weights = weights, :
Loglik converged before variable 1,2,3 ; coefficient may be infinite.
TableSubgroupMultiGLM(status ~ sex, var_subgroups = c("kk", "kk1"), data = lung, family = "binomial")
[1] "binomial"

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions