Date: Thursday, June 11, 2009
Time: 9:00 am – 3:00 pm
Cost: CDN$50.00
Lunch and refreshments are included
Location: Statistics Canada, Jean Talon Conference Room
170 Tunney’s Pasture Driveway, Ottawa ON K1A 0T6
Modgen: A Programming Language for Microsimulation Model Development
Description: This workshop will introduce the underlying background and concepts of the Modgen programming language and then provide a practical, step-by-step approach showing the creation and development of dynamic microsimulation models using Modgen.
Modgen (Model Generator) is a generic microsimulation programming language supporting the creation, maintenance and documentation of dynamic microsimulation models. Several types of models can be accommodated, be they continuous or discrete time, with interacting or non-interacting populations.
Furthermore, a model developer does not need to have advanced programming skills as a prerequisite to use Modgen. This is possible because Modgen hides underlying mechanisms like event queueing, and creates a stand-alone model with a complete visual interface and detailed model documentation. Model developers can therefore concentrate on model specific code: the declaration of parameters, simulated actors, and events.
High efficiency coding also extends to a model’s output. The programming of an output table only requires a couple of lines. Tabulation is done in continuous time and includes a mechanism for estimating the Monte Carlo variation for any cell of any table.
The origin of Modgen dates back to the early 1990’s when it was created at Statistics Canada to assist in the development of a model to study diseases. Today, however, the use of Modgen has expanded internationally to diverse institutions such as:
Models are currently established or in development to:
Modgen has also been used as an instructional tool to teach microsimulation itself to social scientists in both Canada and Europe.
Modgen runs under the Microsoft Windows operating system. It integrates itself into the Microsoft Visual Studio C++ environment, which is a prerequisite to develop models but not to run them.
The Modgen software and associated documentation are available for download.
For any additional questions, please contact:
microsimulation@statcan.gc.ca