Skip to contents

A function which performs the Bayesian MCMC estimation procedure for estimating the efficacy parameter (\(\beta\)) using personalised sunthetic controls methodology.

Usage

# S3 method for class 'flexsurvreg'
pscEst(CFM, DC_clean, nsim, start, start.se, trt = trt)

Arguments

CFM

a model object supplied to pscfit

DC_clean

a cleaned dataset ontained using dataComb().

nsim

the number of MCMC simulations to run

start

the stating value for

start.se

the stating value fo

trt

an optional vector denoting treatment allocations where multiple treatment comparisons are being made

Value

A matrix containing the draws form the posterior distribution

Details

An MCMC routine for fitting a psc model