mtc.deviance: Inspect residual deviance

Description Usage Arguments Details Value Author(s) See Also

View source: R/deviance.R

Description

Inspect the posterior residual deviance and summarize it using plots

Usage

1
2
3
4
5
6
7
mtc.deviance(result)

mtc.devplot(x, ...)
mtc.levplot(x, ...)

## S3 method for class 'mtc.deviance'
plot(x, auto.layout=TRUE, ...)

Arguments

result

An object of class mtc.result.

x

An object of class mtc.deviance.

auto.layout

If TRUE, the separate plots will be shown as panels on a single page.

...

Graphical parameters.

Details

mtc.devplot will generate a stem plot of the posterior deviance per arm (if there are only arm-based data) or the mean per data point deviance per study (if there are contrast-based data).

mtc.levplot will plot the leverage versus the square root of the residual deviance (mean per data point for each study).

The generic plot function will display both on a single page (unless auto.layout=FALSE).

Value

mtc.deviance returns the deviance statistics of a mtc.result.

Author(s)

Gert van Valkenhoef

See Also

mtc.run


gemtc documentation built on May 15, 2021, 1:07 a.m.