lik.flexsurvreg.mtc {psc}R Documentation

Likelihood function for a psc model of class 'flexsurv' with multiple treatment comparisons

Description

A function which defines the likelihood for a PSC model where the Counter Factual Model (CFM) takes the form of a 'flexsurvreg' object and a mulitple efficacy parameters (\beta) is being estimated. For more details on fitting please see ?pscfit and ?pscEst

Usage

lik.flexsurvreg.mtc(beta, DC_clean)

Arguments

beta

a parameter to be estimate

DC_clean

a cleaned dataset including covariates to match the CFM

Details

A likelihood function for use by pscfit for a model of class 'flexsurvreg' where multiple treatment comparisons are required


[Package psc version 1.3.0 Index]