pscEst.glm {psc} | R Documentation |
Function for estimating initial parameter values 'flexsurvreg'
Description
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 'glm'
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 |
Details
An MCMC routine for fitting a psc model
Value
a matrix containing the draws form the posterior distribution
[Package psc version 1.3.0 Index]