Importing death table into markov transition
I made a decision tree using markov model. for the transition to death of other causes I have a death table that gives the rates of mortality for each year of life. (ex 20years old, death rate is 0.009. 21 years old death rate is 0.008 etc). I currently have a table set up in treeage so that row 1 is mortality for cycle 1, row two is mortality for cycle two and so on. Each cycle is one year.
What do I put in the transition probability to pull from my table where each cycle it will take the probability one row down?. right now I tried tablename[_tunnel], but that doesnt seem to work.
Thanks in advance,