Subscript ranges
Posted: Thu Mar 25, 2010 11:05 am
Hi,
I am trying to create an SIS (infection) model using subscripts and subranges to represent age groups and gender but I am getting confused with subscript mapping. There are 3 different infection rates depending on the age of the contact partner which I am trying to capture in the rate lr t:
1. those who contract the condition as a result of contact with someone of the opposite <b>***</b> in the same age group as the index patient
2. those who contract the condition as a result of contact with someone of the opposite <b>***</b> in the age group below the index patient
3. those who contract the condition as a result of contact with someone of the opposite <b>***</b> in the age group above the index patient
I have 4 age groups 12-15, 16-20,21-25 and 26-40. I am having trouble with points 2 and 3 above as the 12-15 age group does not have a younger age group and the 26-40 age group does not have an older group.
I have worked through the examples in chapter 17 and also searched the web and this forum, any advice or tips would be greatly received.
Many thanks
Joe
I am trying to create an SIS (infection) model using subscripts and subranges to represent age groups and gender but I am getting confused with subscript mapping. There are 3 different infection rates depending on the age of the contact partner which I am trying to capture in the rate lr t:
1. those who contract the condition as a result of contact with someone of the opposite <b>***</b> in the same age group as the index patient
2. those who contract the condition as a result of contact with someone of the opposite <b>***</b> in the age group below the index patient
3. those who contract the condition as a result of contact with someone of the opposite <b>***</b> in the age group above the index patient
I have 4 age groups 12-15, 16-20,21-25 and 26-40. I am having trouble with points 2 and 3 above as the 12-15 age group does not have a younger age group and the 26-40 age group does not have an older group.
I have worked through the examples in chapter 17 and also searched the web and this forum, any advice or tips would be greatly received.
Many thanks
Joe