calculate.contrast.deviance: Find deviance statistics such as DIC and pD.

Description Usage Arguments Value References Examples

View source: R/contrast.network.R

Description

Calculates deviance statistics. This function automatically called in contrast.network.run and the deviance statistics are stored after sampling is finished.

Usage

1

Arguments

result

Object created by contrast.network.run function

Value

Dbar

Overall residual deviance

pD

Sum of leverage_arm (i.e. total leverage)

DIC

Deviance information criteria (sum of Dbar and pD)

resdev_study

Posterior mean of the residual deviance in each study

devtilda_study

Deviance at the posterior mean of the fitted values

leverage_study

Difference between resdev_study and devtilda_study for each trial

References

A.J. Franchini, S. Dias, A.E. Ades, J.P. Jansen, N.J. Welton (2012), Accounting for correlation in network meta-analysis with multi-arm trials, Research Synthesis Methods 3(2):142-160. [https://doi.org/10.1002/jrsm.1049]

S. Dias, A.J. Sutton, A.E. Ades, and N.J. Welton (2013a), A Generalized Linear Modeling Framework for Pairwise and Network Meta-analysis of Randomized Controlled Trials, Medical Decision Making 33(5):607-617. [https://doi.org/10.1177/0272989X12458724]

Examples

1
2
3
4
5
6
network <- with(parkinsons_contrast, {
 contrast.network.data(Outcomes, Treat, SE, na, V)
})

result <- contrast.network.run(network)
calculate.contrast.deviance(result)

bnma documentation built on Dec. 10, 2019, 5:07 p.m.