r - Extract summary effect from object of class "summary.coxph" -
i have object of class "summary.coxph"
fixed-effects meta-analysis call: meta.summaries(d = a[[i]]$hr, se = a[[i]]$se, method = c("fixed"), names = a[[i]]$metabolite, conf.level = 0.95) summary effect=1.09 95% ci (1.05, 1.13) estimated heterogeneity variance: 0 p= 0.398
i need extract summary effect
, 95%ci
, p
. attempts failed. please me.
my data looks this:
$ :list of 14 ..$ effects : num [1:3] 1.07 1.07 1.14 ..$ stderrs : num [1:3] 0.0298 0.0421 0.0436 ..$ summary : num 1.09 ..$ se.summary : num 0.0213 ..$ test : num [1:2] 51.2 0 ..$ het : num [1:3] 1.841 2 0.398 ..$ call : language meta.summaries(d = a[[i]]$hr, se = a[[i]]$se, method = c("fixed"), names = a[[i]]$metabolite, conf.level = 0.95) ..$ names : chr [1:3] "xxl.vldl.tg" "xxl.vldl.tg" "xxl.vldl.tg" ..$ tau2 : num 0 ..$ variance.method: chr "fixed" ..$ weights : num [1:3] 1124 563 525 ..$ weight.method : chr "fixed" ..$ conf.level : num 0.95 ..$ logscale : logi false ..- attr(*, "class")= chr "meta.summaries" - attr(*, "class")= chr "summary.coxph"
thank help.
following @rawr's comment, find:
given summary.coxph
object x
, use x$het[3]
p-value, x$summary
summary effect, , x$summary + qnorm(c(0.025, 0.975)) * x$se.summary
95% ci.
Comments
Post a Comment