A function to evaluate the log-likelihood of a non-spatial parametric proportional hazards model. Not intended for general use.
NonSpatialLogLikelihood_or_gradient(
surv,
X,
beta,
omega,
control,
loglikelihood,
gradient
)
...
an object of class Surv
the design matrix, containing covariate information
parameter beta
parameter omega
a list containg various control parameters for the MCMC and post-processing routines
logical whether to evaluate the log-likelihood
logical whether to evaluate the gradient
Benjamin M. Taylor and Barry S. Rowlingson (2017). spatsurv: An R Package for Bayesian Inference with Spatial Survival Models. Journal of Statistical Software, 77(4), 1-32, doi:10.18637/jss.v077.i04.