Download presentation
Presentation is loading. Please wait.
Published byMaria Byrd Modified over 9 years ago
1
martin@spielauer.ca Microsimulation Conference 2007 The “LifeCourse” Model, a Competing Risk Cohort Microsimulation Model: Source Code and Basic Concepts of the Generic Microsimulation Programming Language Modgen Martin Spielauer
2
martin@spielauer.ca LifeCourse Model: Background & Aims -Developed at Max Planck Institute for Demographic Research alongside a study on fertility decline in Bulgaria and Russia -It was also developed and used as a teaching tool for the European Doctoral School for Demography -LifeCourse is a very simple continuous time cohort MSM -LifeCourse is programmed in Modgen, a generic MS language developed at Statistics Canada: efficient (few pages), readable (C++), modular, user-friendly GUI -LifeCourse serves as template for other models; e.g. it was recently extended and adapted for the study of the effect of union dissolution on fertility in France (Vienna Institute for Demography, Stockholm University)
3
martin@spielauer.ca LifeCourse Step by Step -The statistical model -The Modgen/C++ programming environment -Programming: -Simulation Engine -Parameter handling -Events -Table Output -The resulting Modgen Application LifeCourse -User Interface -Graphical display of individual histories
4
martin@spielauer.ca The Statistical Model -6 Piecewise constant hazard regression models for first and second births, first and second union formations, and first and second union dissolutions. -Simple (easy to interpret) models including interactions with calendar time to study changes over time. -E.g. Model for First Births:
5
martin@spielauer.ca The Modgen programming environment -Integrated into MS Visual Studio NET C++: Modgen code translated into C++ before being compiled -Efficient programming of MSM applications: -Event handling (event queue) -Handling of input parameters and output tables of any dimension -Efficient multilingual cross-referenced model documentation and input/output labeling -Modgen graphical user-interface -All output automatically includes information on Monte Carlo variability -Graphical visualization of individual life-courses by BioBrowser tool
6
martin@spielauer.ca The Modgen programming environment
7
martin@spielauer.ca Programming: 1) Simulation Engine
8
martin@spielauer.ca Programming: 2) Parameter Handling
9
martin@spielauer.ca Programming: 3) Events
10
martin@spielauer.ca Programming: 4) Table Output
11
martin@spielauer.ca The resulting Modgen Application LifeCourse
12
martin@spielauer.ca The resulting Modgen Application LifeCourse
13
martin@spielauer.ca Conclusion -I hope that „LifeCourse“ and its technical documentation is useful also for others as -Information resource introducing into Modgen -Model template for first steps into MSM development using Modgen -Modgen: -Mostly known in connection with extremely complex models (Lifepaths, POHEM), the strengths of Modgen unfold also for very simple models -NOTE: this presentation only covered a small fraction of the concepts and strengths of Modgen
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.