Learn R Programming

spatsurv (version 2.0)

maxlikparamPHsurv: maxlikparamPHsurv function

Description

A function to get initial estimates of model parameters using maximum likelihood. Not intended for general purose use.

Usage

maxlikparamPHsurv(surv, X, control)

Value

initial estimates of the parameters

Arguments

surv

an object of class Surv

X

the design matrix, containing covariate information

control

a list containg various control parameters for the MCMC and post-processing routines

References

  1. 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.