Displaying 1 result from an estimated 1 matches for "slv0".
Did you mean:
lv0
2011 Sep 17
0
Warning in 'probtrans'-function ('mstate'-package)
...Markov model
cox1 <- coxph(Surv(Tstart, Tstop, status) ~
(v1.1 + v2.1) * v3.1 +
(v1.2 + v2.2) * v3.2 +
(v1.3 + v2.3) * v3.3 +
strata(trans), SLV,
method = "breslow")
summary(cox1)
# 'cloned' data for making predictions: specific covariate 'v3' fixed
at 0 (& 1):
SLV0 <- SLV[1:3,]
SLV0$v3.1 <- 0
SLV0$v3.2 <- 0
SLV0$v3.3 <- 0
SLV0$strata <- 1:3
SLV1 <- SLV0
SLV1$v3.1 <- 1
SLV1$v3.2 <- 1
SLV1$v3.3 <- 1
# estimate...
msf.0 <- msfit(cox1, SLV0, trans=tmat)
pt.0 <- probtrans(msf.0, predt=0)
# [..output:]
# Warning me...