Package: mcwr 1.0.0
mcwr: Markov Chains with Rewards
In the context of multistate models, which are popular in sociology, demography, and epidemiology, Markov chain with rewards calculations can help to refine transition timings and so obtain more accurate estimates. The package code accommodates up to nine transient states and irregular age (time) intervals. Traditional demographic life tables result as a special case. Formulas and methods involved are explained in detail in the accompanying article: Schneider / Myrskyla / van Raalte (2021): Flexible Transition Timing in Discrete-Time Multistate Life Tables Using Markov Chains with Rewards, MPIDR Working Paper WP-2021-002.
Authors:
mcwr_1.0.0.tar.gz
mcwr_1.0.0.zip(r-4.5)mcwr_1.0.0.zip(r-4.4)mcwr_1.0.0.zip(r-4.3)
mcwr_1.0.0.tgz(r-4.4-any)mcwr_1.0.0.tgz(r-4.3-any)
mcwr_1.0.0.tar.gz(r-4.5-noble)mcwr_1.0.0.tar.gz(r-4.4-noble)
mcwr_1.0.0.tgz(r-4.4-emscripten)mcwr_1.0.0.tgz(r-4.3-emscripten)
mcwr.pdf |mcwr.html✨
mcwr/json (API)
# Install 'mcwr' in R: |
install.packages('mcwr', repos = c('https://dcschneider.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 4 years agofrom:a0eab72c7d. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 13 2024 |
R-4.5-win | OK | Nov 13 2024 |
R-4.5-linux | OK | Nov 13 2024 |
R-4.4-win | OK | Nov 13 2024 |
R-4.4-mac | OK | Nov 13 2024 |
R-4.3-win | OK | Nov 13 2024 |
R-4.3-mac | OK | Nov 13 2024 |
Exports:mcwr_checkmcwr_exampledatamcwr_exitmcwr_expectanciesmcwr_genvarsmcwr_switch
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
mcwr: Markov chain with rewards calculations | mcwr |
Check mcwr data frame | mcwr_check |
Load mcwr example data | mcwr_exampledata |
Examine last (exit) row of data set | mcwr_exit |
Calculate expectancies | mcwr_expectancies |
Generate mcwr variables | mcwr_genvars |
Switch from-state and target state | mcwr_switch |