Learn R Programming

MicSim (version 3.0.0)

Performing Continuous-Time Microsimulation

Description

This toolkit allows performing continuous-time microsimulation for a wide range of life science (demography, social sciences, epidemiology) applications. Individual life-courses are specified by a continuous-time multi-state model as described in Zinn (2014) .

Copy Link

Version

Install

install.packages('MicSim')

Monthly Downloads

378

Version

3.0.0

License

GPL (>= 2)

Maintainer

Sabine Zinn

Last Published

August 29th, 2025

Functions in MicSim (3.0.0)

initPopMigrExp

One possible initial population for the MicSim package.
micSimParallel

micSimParallel
immigrPopMigrExp

One possible population of migrants for the MicSim package.
migrExpRates

Transition rates for migration example of MicSim package.
rates_mdd

Rate Data for Simulation of MDD example
getYear

Get the calendar year from days elapsed since 01-01-1970
micSim

micSim
getDay

Get the day in a month (in a year) from days elapsed since 01-01-1970
convertToWideFormat

Reshaping microsimulation output into wide format
convertToLongFormat

Reshaping microsimulation output into long format
getInDateFormat

Get date in the format 'yyyyddmm' from days elapsed since 01-01-1970
getInDays

Get from a date given in the numeric format yyyymmdd the number of days elapsed since 1970-01-01
getInDays_my

Get the number of days that have pasted from 1970-01-01 until 'yyyymm11'.
getAgeInDays

Get from a given date the age in days
getMonth

Get the month in a year from days elapsed since 01-01-1970
MicSim-package

MicSim: Continuous-time microsimulation for population projection
buildTransitionMatrix

Determining transition pattern and transition functions