Displaying 1 result from an estimated 1 matches for "obstrue".
Did you mean:
observe
2012 Jan 19
0
state multi-state modeling using hidden markov routine in the msm package
...0.166, 0.166), c(0, 0.25, 0, 0.25), c(0,
0, 0, 0))
ematrix <- rbind(
c(0, 0.01, 0, 0),
c(0.01, 0, 0.01,0),
c(0, 0.1, 0, 0),
c(0, 0, 0, 0))
2. the model:
msm_covariates_sexandage <- msm(state ~ duration, subject = SerialNo,
data = Data, qmatrix = twoway4.q, ematrix = ematrix,death = 4, obstrue = firstobs, covariates = ~ sex + age, method = "BFGS", control = list(reltol = 1e-10, fnscale = 50000, trace=1,REPORT=1))
msm stops after only 100 iterations and fails to compute the Hessian (See the output below). Why is it stopping at 100 only iterations yet i have specified reltol =...