hdraftma: High dimensional competing risk analysis using multivariate...

Description Usage Arguments Value Examples

View source: R/hdraftma.R

Description

Given the dimension of variables and survival information including the competing risks the function filters significant variables, allowing the user to fit multivariate AFT model. 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.

Usage

1
hdraftma(m, n, survdur, event, sig, ths, b, d, data)

Arguments

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.

sig

Level of significance pre-determined by the user.

ths

A numeric between 0 to 100.

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.

Value

Data frame containing the beta and alpha values of active variables among the significant variables.

Examples

1
2
3
##
hdraftma(m=8,n=100,survdur="os",event="death2",sig=0.1,ths=0.02,b=10,d=10,data=hnscc2)
##

autohd documentation built on May 10, 2021, 9:10 a.m.

Related to hdraftma in autohd...