Bayesian mixed effect model with random intercept and slopes. Data longitudinally measured missing value and having batched information. Fits using MCMC on longitudinal data set
Bysmxmss(m, tmax, timepoints, group, chains, iter, data)
Starting number of column from where repeated observations begin
Maximum batch of visits considered as repeated measurements
Timepoint information on which repeadted observations were taken
A categorical variable either 0 or 1. i.e. Gender - 1 male and 0 female
Number of MCMC chains to be performed
Number of iterations to be performed
High dimensional longitudinal data
Gives posterior means, standard deviation.
Bhattacharjee, A. (2020). Bayesian Approaches in Oncology Using R and OpenBUGS. CRC Press.
Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A., & Rubin, D. B. (2013). Bayesian data analysis. CRC press.
Fitzmaurice, G. M., Laird, N. M., & Ware, J. H. (2012). Applied longitudinal analysis (Vol. 998). John Wiley & Sons.
# NOT RUN {
##
data(repdat)
# }
Run the code above in your browser using DataLab