Learn R Programming

MicSim (version 2.0.1)

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

361

Version

2.0.1

License

GPL-2

Maintainer

Sabine Zinn

Last Published

January 23rd, 2024

Functions in MicSim (2.0.1)

getInDays_my

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

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

Reshaping microsimulation output into wide format
getInDays

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

Reshaping microsimulation output into long format
buildTransitionMatrix

Determining transition pattern and transition functions
MicSim-package

MicSim: Continuous-time microsimulation for population projection
getInDateFormat

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

Get from a given date the age in days
getMonth

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

Transition rates for migration example of MicSim package.
getYear

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

Run microsimulation (sequentially)
initPopMigrExp

One possible initial population for the MicSim package.
immigrPopMigrExp

One possible population of migrants for the MicSim package.
micSimParallel

Run microsimulation (parallel computing)