hdmarjg {longit} | R Documentation |
Missing at ranom by MCMC
Description
Missing at ranom by MCMC
Usage
hdmarjg(m, n, treatment, n.chains, n.iter, dat)
Arguments
m |
Starting column number of the Y observations |
n |
Ending column number of the Y observations |
treatment |
Variable/column name containing the Treatment observations |
n.chains |
Number of MCMC chains |
n.iter |
Number of MCMC iterations |
dat |
Data set containing treatment column and repeated observations arrange by columns observations |
Value
A data table listing the posterior mean and sigma results
Author(s)
Atanu Bhattacharjee, Akash Pawar and Bhrigu Kumar Rajbongshi
References
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.
Examples
##
data(gh)
hdmarjg(m=1,n=3,treatment="Treatment",n.chains=2,n.iter=10,dat=gh)
##