hdaftma {autohd} | R Documentation |
Given the dimension of variables and survival information the function filters significant variables by fitting AFT model. Further, it performs mediation analysis among the signifiant variables and provides handful variables with their alpha.a values which are mediator model exposure coefficients and beta.a coefficients.
hdaftma(m, n, survdur, event, ths, sig, 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. |
ths |
A numeric between 0 to 100. |
sig |
Level of significance. |
b |
Number of MCMC iterations to burn. |
d |
Number of draws for the iterations. |
data |
High dimensional data containing survival observations and high dimensional covariates. |
Data frame containing the beta and alpha values of active variables among the significant variables.
## hdaftma(m=8,n=80,survdur="os",event="death",sig=0.05,ths=0.02,b=10,d=10,data=hnscc2) ##