Description Usage Arguments Value
Computes the Deviance Information Criteria, effective number of parameters, and posterior mean of the residual deviance for a given model, and produces a rainbow plot (called a leverage plot in the NICE Technical Support Document 2). Points outside of the purple curve can be said to contribute to the model's poor fit.
1 | Stan.nma.fit(nma, plot.pD = TRUE, plot.DIC = TRUE, plot.Dres = TRUE, ...)
|
nma |
A BUGSnetRun object produced by running |
plot.pD |
Whether to include the effective number of parameters on the plot, default is |
plot.DIC |
Whether to include the DIC on the plot, default is |
plot.Dres |
Whether to include the posterior mean of the residual deviance on the plot, default is |
... |
Graphical arguments such as |
DIC
- The Deviance Information Criteria
leverage
- A vector of leverages calculated for each data point (one per arm per study)
w
- A vector of each data point's contribution to the posterior mean deviance
pmdev
- A vector of the posterior mean residual deviance for each data point
Dres
- The posterior mean of the residual deviance
pD
- The effective number of parameters, calculated as the sum of leverage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.