Hi as you may know, i've been using -predictms- I've had several problems despite following the official stata conference slides of 2017 and 2018. There's been an update but unfortunately the slides haven't been updated. I've now been following -help predictms- However I still have problems as you can see below
I've created a new thread as I've made some progress compared to the previous post. Any thoughts how I can fix it? Do you normal users if you load this code, do you get the same error?
However I obtain the following error:

I've created a new thread as I've made some progress compared to the previous post. Any thoughts how I can fix it? Do you normal users if you load this code, do you get the same error?
Code:
clear all use http://fmwww.bc.edu/repec/bocode/m/multistate_example,clear msset, id(pid) states(rfi osi) times(rf os) covariates(age) //Stores matrix callted tmat name, stores the values from transmatrix mat tmat = r(transmatrix) //Displays tmat ie the values of transmatrix mat list tmat //Declare survival data stset _stop, enter(_start) failure(_status=1) scale(12) stmerlin age if _trans1==1, distribution(weibull) estimate store m1 stmerlin age if _trans2==1, distribution(weibull) estimate store m2 stmerlin age if _trans3==1, distribution(weibull) estimate store m3 ///transition probabilities for a patient with age 50 predictms, transmatrix(tmat) models(m1 m2 m3) probability at1(age 50)
Comment