maxlikparamPHsurv: maxlikparamPHsurv function

View source: R/nonspatial_log_likelihood_and_derivatives.R

maxlikparamPHsurvR Documentation

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)

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

Value

initial estimates of the parameters

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.


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.