|
1 Creating a Basic Cohort Model |
|
|
1 | (28) |
|
1.1 Using the New Model Wizard |
|
|
2 | (4) |
|
1.2 The ModgenExample.mpp File (Appendix 1.1) |
|
|
6 | (2) |
|
1.3 The PersonCore.mpp File (Appendix 1.2) |
|
|
8 | (8) |
|
1.4 Compiling and Running the Simulation Program |
|
|
16 | (5) |
|
|
21 | (8) |
|
|
21 | (1) |
|
Appendix 1.1 ModgenExample.mpp |
|
|
21 | (3) |
|
Appendix 1.2 PersonCore.mpp |
|
|
24 | (5) |
|
|
29 | (34) |
|
2.1 Adding a Classification |
|
|
30 | (2) |
|
2.2 Adding a Numerical Range |
|
|
32 | (1) |
|
2.3 Adding an Event: The Birthday Event |
|
|
33 | (2) |
|
2.4 Modifying the Start Function |
|
|
35 | (2) |
|
2.5 Modifying the Mortality Event Function |
|
|
37 | (2) |
|
2.6 Adding Values in the Parameters File |
|
|
39 | (2) |
|
2.7 Generating New Tables: The Elements of the Life Table |
|
|
41 | (9) |
|
2.7.1 Derived States in the Table |
|
|
43 | (7) |
|
2.8 Modifying Parameters and Reorganising Tables with the User Interface |
|
|
50 | (5) |
|
|
55 | (8) |
|
|
55 | (1) |
|
Appendix 2.1 PersonCore.mpp |
|
|
55 | (6) |
|
Appendix 2.2 Base(PersonCore).dat |
|
|
61 | (2) |
|
3 The Multiple Increment-Decrement Life Table |
|
|
63 | (36) |
|
3.1 Self-Scheduling Events: The self_scheduling_int Function |
|
|
64 | (2) |
|
3.2 Creating a New Module for Interprovincial Migration |
|
|
66 | (5) |
|
3.3 Assigning a Province of Birth Using a cumrate Parameter and the Lookup Function |
|
|
71 | (3) |
|
3.4 Adding an Internal Migration Event |
|
|
74 | (4) |
|
3.5 Modifying the Mortality Parameter |
|
|
78 | (1) |
|
3.6 Multi-regional Tables |
|
|
79 | (4) |
|
3.7 Manipulating Tables in Modgen (Advanced Topic) |
|
|
83 | (3) |
|
3.8 Adding a Parameter File to a Scenario |
|
|
86 | (2) |
|
|
88 | (11) |
|
|
89 | (1) |
|
Appendix 3.1 PersonCore.mpp |
|
|
89 | (4) |
|
Appendix 3.2 Migration.mpp |
|
|
93 | (4) |
|
Appendix 3.3 Base(Migration).dat |
|
|
97 | (2) |
|
|
99 | (32) |
|
|
100 | (3) |
|
4.2 Creating a Fertility Module |
|
|
103 | (6) |
|
4.3 Modifying the PersonCore Module and the Start Function |
|
|
109 | (5) |
|
4.4 Bringing the Tables Together in a Results Module |
|
|
114 | (3) |
|
4.5 Looking at the Results |
|
|
117 | (3) |
|
|
120 | (11) |
|
|
121 | (1) |
|
Appendix 4.1 PersonCore.mpp |
|
|
121 | (4) |
|
Appendix 4.2 Fertility.mpp |
|
|
125 | (2) |
|
|
127 | (1) |
|
Appendix 4.4 ModgenExample.mpp |
|
|
128 | (3) |
|
|
131 | (22) |
|
5.1 Preparing a Microdata File |
|
|
132 | (1) |
|
5.2 Importing External Data into Modgen |
|
|
133 | (1) |
|
5.3 Integrating Import Functions into the Main File |
|
|
134 | (1) |
|
5.4 Using the Imported Data and Modifying the Start Function |
|
|
135 | (5) |
|
5.5 Modifying Calendar Time |
|
|
140 | (1) |
|
5.6 Modifying the Scenario and Running the Model |
|
|
141 | (2) |
|
|
143 | (10) |
|
|
144 | (1) |
|
Appendix 5.1 ModgenExample.mpp |
|
|
144 | (3) |
|
Appendix 5.2 PersonCore.mpp |
|
|
147 | (4) |
|
|
151 | (2) |
|
6 International Migration |
|
|
153 | (28) |
|
6.1 Creating an International Migration Module |
|
|
154 | (3) |
|
|
157 | (1) |
|
6.3 Modifying the Start Function |
|
|
158 | (3) |
|
6.4 Modifying the Simulation Loop to Include Immigration |
|
|
161 | (4) |
|
|
165 | (1) |
|
|
166 | (3) |
|
|
169 | (12) |
|
|
170 | (1) |
|
Appendix 6.1 InternationalMigration.mpp |
|
|
170 | (1) |
|
Appendix 6.2 ModgenExample.mpp |
|
|
171 | (4) |
|
Appendix 6.3 PersonCore.mpp |
|
|
175 | (4) |
|
|
179 | (2) |
Conclusion |
|
181 | (4) |
Appendix: Coding Standards |
|
185 | (2) |
Glossary |
|
187 | (2) |
References |
|
189 | (2) |
Index |
|
191 | |