Transition probabilities dependent on age and cycle
I am in the process of creating a Markov model that will be analysed using microsimulation. I want to model different age groups separately (i.e. run the whole model separately for e.g. 10,000 30-year olds and then for 10,000 35-year olds). Transition probabilities in the model depend both on age and cycle. I have a variable "AgeGroup" that determines age in the model (defined at the root node). Is there a way of assigning the right transition probabilities based on e.g. a single table that includes the following columns:
- Age group
- transition probability
Ideally, I would first like to filter the table for the right age group and then look for the right transition probability using the _stage keyword. However, I haven't been able to do this in TreeAge. Any help would be greatly appreciated!