impuni {autohd} | R Documentation |
Given the dimension of variables and survival information the function performs imputations using missForest function and filters significant variables, allowing the user to do univariate survival analysis with higher number of iterations. Further, it performs mediation analysis among the significant variables and provides handful variables with their alpha.a values which are mediator model exposure coefficients and beta.a coefficients.
impuni(m, n, Survdur, event, time, lcr = NULL, t, i, b, d, data)
m |
Starting column number from where high dimensional variates to be selected. |
n |
Ending column number till where high dimensional variates to be selected. |
Survdur |
"Column/Variable name" consisting duration of survival. |
event |
"Column/Variable name" consisting survival event. |
time |
"Column/Variable name" consisting time of repeated observations. |
lcr |
"Leftcensoring information" |
t |
A numeric threshold value between 0 to 1. |
i |
Number of MCMC iteration to perform in obtaining posterior estimates of HR by CoxPH. |
b |
Number of MCMC iterations to burn. |
d |
Number of draws for the iterations. |
data |
High dimensional data containing survival observations with multiple covariates. |
Data frame containing the beta and alpha values of active variables among the significant variables.
## Not run: ## impuni(m=8,n=25,Survdur="os",event="death",lcr=,t=0.02,i=6,b=10,d=10,data=hnscc) ## ## End(Not run)