Description Usage Arguments Value Examples
Excess CIF prediction based on newdata and geepack::geese estimates.
1 | ecif.coef(model, times, link = "log", level = 0.95)
|
model |
geese object. To be defined if coefs and vcov are null. |
times |
vector of timepoints as the one used to estimate the GEE model |
link |
link used to estimate the model. Choose between c("log","logit","identity") |
level |
confindence interval level, default=0.95 |
table with coefficient estimates, sandwich standard error, function of coefficient for interpretation and p-value.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | dcif<-sim.data.MatchCR(1000,5)
tp<-c(0.5,1,2,5,10,15,25)
setdcif1<-compcomp(timereg::Event(time=FALSE,time2=time,cause=cause)~X1+X2,
data=dcif, cluster=i, idControl=j, time.points=tp,
cens.formula=NULL, event=1)
exc.cif.mod1<-geepack::geese(Rt~-1+factor(h)+X1+X2,
data=setdcif1,
family="gaussian", #error distribution
mean.link = "log", #link function for Rt
corstr="independence", #correlation structure
id=clust.num, #cluster vector
weights=weights #censoring weights
)
ecif.coef(exc.cif.mod1,times = tp, link = "log")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.