survexpMC: Exponential survival analysis with MCMC

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/survexpMC.R

Description

Survival analysis with exponential distribution by MCMC

Usage

1
survexpMC(m1, n1, m2, n2, chains, iter, data)

Arguments

m1

Starting column number from where variables of high dimensional data will be selected.

n1

Ending column number till where variables of high dimensional data will get selected.

m2

Starting column number from where demographic observations starts

n2

Ending column number of the demographic observations

chains

Number of MCMC chains

iter

Number of MCMC iterations

data

High dimensional data having survival duration as (OS), event information as Death (1 if died, or 0 if alive).

Value

survexpMCout A data set listing estimated posterior means and deviances

Author(s)

Atanu Bhattacharjee and Akash Pawar

References

Kumar, M., Sonker, P. K., Saroj, A., Jain, A., Bhattacharjee, A., & Saroj, R. K. (2020). Parametric survival analysis using R: Illustration with lung cancer data. Cancer Reports, 3(4), e1210.

See Also

survweibMC

Examples

1
2
3
4
5
6
7
## Not run: 
##
data(headnneck)
survexpMC(m1=8,n1=12,m2=4,n2=7,chains=2,iter=10,data=headnneck)
##

## End(Not run)

SurviMChd documentation built on May 23, 2021, 5:07 p.m.