wbyscrkm {afthd} | R Documentation |
Provides multivariate(maximum 5 covariates of column at a time) posterior estimates of AFT model using MCMC for competing risk high dimensional gene expression data. It also deal with missing values.
wbyscrkm(m, n, STime, Event, nc, ni, data)
m |
Starting column number of covariates of study from high dimensional entered data. |
n |
Ending column number of covariates of study from high dimensional entered data. |
STime |
name of survival time in data. |
Event |
name of event status in data. 0 is for censored and 1 for occurrence of event of interest and 2 for occurrence of event due to other causes. |
nc |
number of markov chain. |
ni |
number of iteration for MCMC. |
data |
High dimensional gene expression data that contains event status with competing risk, survival time and and set of covariates. |
Here AFT model has been used with weibull distribution. This function deals covariates (in data) with missing values. Missing value in any column(covariate) is replaced by mean of that particular covariate.
Data frame is containing posterior estimates mean, sd, credible intervals, n.eff and Rhat for beta's, sigma, alpha, tau and deviance (DIC information) of the model for the chosen covariates as columns between m and n. beta's of regression coefficient of the model. beta[1] is for intercept and others are for covariates (which is/are chosen order as columns in data). alpha is shape parameter of the distribution. 'sigma' is the scale parameter of the distribution.
Atanu Bhattacharjee, Gajendra Kumar Vishwakarma and Pragya Kumari
Prabhash et al(2016) <doi:10.21307/stattrans-2016-046>
wbysmv, wbyscrku
##
data(hdata)
wbyscrkm(9,11,STime="os",Event="death2",2,10,hdata)
##