rglwbysm {afthd} | R Documentation |
Provides posterior Estimates of selected variable in AFT model for multivariable(maximum 5 at a time) in high dimensional gene expression data with MCMC.Incorporated variable selection has been done with regularization technique. It also deals covariates with missing values.
rglwbysm(m, n, STime, Event, nc, ni, alpha, 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. |
nc |
number of markov chain. |
ni |
number of iteration for MCMC. |
alpha |
It is chosen value between 0 and 1 to know the regularization method. alpha=1 for Lasso, alpha=0 for Ridge and alpha between 0 and 1 for elastic net regularization. |
data |
High dimensional gene expression data that contains event status, survival time and and set of covariates. |
Here weibull distribution has been used for AFT model with MCMC. 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 selected covariates using regularization technique. 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>
wbysuni,wbysmv, rglwbysu, aftbybmv
##
data(hdata)
set.seed(1000)
rglwbysm(9,45,STime="os",Event="death",2,10,1,hdata)
##