fitbccv.lognsp {bcfrailph}R Documentation

Bivariate correlated lognormal frailty model fitting function.

Description

Semi-parametric Bivariate correlated lognormal frailty model fitting function.

Usage

fitbccv.lognsp(X, Y, initfrailp, control = bcfrailph.control())

Arguments

X

Matix of predictors. This should not include an intercept.

Y

a Surv object containing 2 columns (coxph.fit).

initfrailp

Initial estimates for the frailty parameters. If not specified, initial frailty variance will be obtained from coxph with univariate lognormal frailty model and for correlation c(0.5) will be used.

control

Arguments to control the fit. The default is bcfrailph.control.

Value

An object of that contains the following components.

Note

This function is important especially for simulation studies as it reduced checking time. Parameters of Bivariate correlated lognormal frailty model is based on the penalized partial likelihood approach by Rippatti and Palmgren (2000).

References

Rippatti, S. and Palmgren, J (2000). Estimation of multivariate frailty models using penalized partial likelihood. Biometrics, 56: 1016-1022.

See Also

bcfrailph

Examples

set.seed(18)
simdata<-simbcfrailph(psize=100, cenr= c(0.2),beta=c(1,-0.7,0.5),frailty=c("lognormal"),
frailpar=c(0.5,-0.25),bhaz=c("exponential"),
bhazpar=list(scale = c(0.1)),covartype= c("N","N","B"),
covarpar=list(fargs=c(0,0,1),sargs=c(1,1,0.5)),comncovar=2)
Y<-simdata$Y;X<-simdata$X

bcspfit<-fitbccv.lognsp(X=X,Y=Y,initfrailp=NULL)
bcspfit$coef 
bcspfit$frailpar


[Package bcfrailph version 0.1.1 Index]