Diagnostics plots for lambda, U, C, Epsilon and Theta
Diagnostics plots for hazard rate (Lambda), latent variable (U), dependence variable (C), parameter of the hierarchical model (Epsilon) and regression coefficients (Theta).
CGaPlotDiag(M, variable = "Lambda", pos = 1)
M |
Tibble. Contains the output by |
variable |
Either "Lambda", "U", "C", "Epsilon" or "Theta". Variable for which diagnostics plot will be shown. |
pos |
Positive integer. Position of the selected |
This function returns a diagnostics plot for the chain of the selected variable. The diagnostics includes trace, ergodic mean, autocorrelation function and histogram.
- Nieto-Barajas, L. E. (2003). Discrete time Markov gamma processes and time dependent covariates in survival analysis. Bulletin of the International Statistical Institute 54th Session. Berlin. (CD-ROM).
- Nieto-Barajas, L. E. & Walker, S. G. (2002). Markov beta and gamma processes for modelling hazard rates. Scandinavian Journal of Statistics 29: 413-424.
## Simulations may be time intensive. Be patient. ## Example 1 # data(leukemiaFZ) # leukemia1 <- leukemiaFZ # leukemia1$wbc <- log(leukemiaFZ$wbc) # CGEX1 <- CGaMRes(data = leukemia1, K = 10, iterations = 1000, thinning = 1) # CGaPlotDiag(CGEX1,variable="Theta",pos=1)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.