Diagnosis plots for Lambda, U, C, Mu, Pi, Z and Epsilon
Diagnosis plots for Lambda, U, C, Mu, Pi, Z and Epsilon
Diagnostics plots for hazard rate (Lambda), latent variable (U), dependence variable (C), mean of cure threshold (Mu), cure proportion (Pi), cure threshold (Z) and the parameter of the hierarchical prior (Epsilon).
CuPlotDiag(M, variable ="Lambda", pos =1)
Arguments
M: List. Contains the output by CuMRes.
variable: Either "Lambda", "U", "C", "Mu", "Pi", "Z" or "Epsilon". Variable for which diagnostic plot will be shown.
pos: Positive integer. Position of the selected variable to be plotted.
Details
This function returns a diagnostics plot for which the chain for the selected variable can be monitored. Diagnostics includes trace, ergodic mean, autocorrelation function and histogram.
Nieto-Barajas, L. E., & Yin, G. (2008). Bayesian semiparametric cure rate model with an unknown threshold. Scandinavian Journal of Statistics, 35(3) , 540-556. https://doi.org/10.1111/j.1467-9469.2007.00589.x