alphaEst: Estimate the Interval Baseline Survival Rates for...

Description Usage Arguments Value Examples

Description

A method to estimate the baseline survival rate for each time interval for a multivariate frailty model. The estimation is conduced under the null hypothesis, i.e., that there is no fixed effect.

Usage

1
  alphaEst(dtime, delta)  	

Arguments

dtime

Vector of observed discrete survival times for each sample.

delta

Event indicator vector: 1 indicates observed event, 0 indicates censored.

Value

A list with one object:

alphaEst

Vector of estimates of the baseline survival rates.

Examples

1
2
3
4
5
# Generate dummy data	
dtime <- c(1, 3, 3, 2, 1, 1, 2, 3, 1)
delta <- c(1, 0, 1, 1, 1, 0, 1, 0, 1)
res   <- alphaEst(dtime, delta) 
res

lclGWAS documentation built on May 2, 2019, 2:46 p.m.