Computes the weights to be associated with a set of competing models in order to perform structural PSA
1 2  struct.psa(models, effect, cost, ref = 1, interventions = NULL,
Kmax = 50000, plot = F)

models 
A list containing the output from either R2jags or R2OpenBUGS/R2WinBUGS for all the models that need to be combined in the model average 
effect 
A list containing the measure of effectiveness computed from the various models (one matrix with n.sim x n.ints simulations for each model) 
cost 
A list containing the measure of costs computed from the various models (one matrix with n.sim x n.ints simulations for each model) 
ref 
Defines which intervention is considered to be the reference strategy. The default
value 
interventions 
Defines the labels to be associated with each intervention. By default and
if 
Kmax 
Maximum value of the willingness to pay to be considered. Default value is

plot 
A logical value indicating whether the function should produce the summary plot or not 
Gianluca Baio
Baio G. (2012). Bayesian Methods in Health Economics. CRC/Chapman Hall, London
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.