Package: epibyhand 0.1.0

Raj Subedi
epibyhand: Worked Derivations for Classical Epidemiological Measures
Computes classical epidemiological measures and returns the complete worked derivation alongside the result: every intermediate quantity, the formula, and the formula with the observed numbers substituted in. Intended for teaching, for checking hand calculations, and for generating worked solutions in course materials. Scope is deliberately limited to methods a student can compute by hand on paper. Methods follow Mantel and Haenszel (1959) <doi:10.1093/jnci/22.4.719>, Greenland and Robins (1985, Biometrics 41, 55-68), Robins, Breslow and Greenland (1986, Biometrics 42, 311-323), and Breslow and Day (1980, IARC Scientific Publications No. 32).
Authors:
epibyhand_0.1.0.tar.gz
epibyhand_0.1.0.zip(r-4.7-any)epibyhand_0.1.0.zip(r-4.6-any)epibyhand_0.1.0.zip(r-4.5-any)
epibyhand_0.1.0.tgz(r-4.6-any)epibyhand_0.1.0.tgz(r-4.5-any)
epibyhand_0.1.0.tar.gz(r-4.7-any)epibyhand_0.1.0.tar.gz(r-4.6-any)
epibyhand_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
epibyhand/json (API)
| # Install 'epibyhand' in R: |
| install.packages('epibyhand', repos = c('https://rajsubediresearch.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rajsubediresearch/epibyhand/issues
attributable-fractionbiostatisticsepidemiologymantel-haenszelodds-ratiopublic-healthstatistics-educationteaching
Last updated from:1ef039ea4c. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 126 | ||
| source / vignettes | OK | 169 | ||
| linux-release | OK | 116 | ||
| macos-release | OK | 195 | ||
| macos-oldrel | OK | 200 | ||
| windows-devel | OK | 71 | ||
| windows-release | OK | 65 | ||
| windows-oldrel | OK | 67 | ||
| wasm-release | OK | 98 |
Exports:attributable_fractioncheck_workcollapse_strataderivationderivation_stepepi_strataepi2x2estimatehomogeneitymh_odds_ratiomh_risk_ratioodds_ratiorisk_differencerisk_ratiosteps_table
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Attributable fraction, with worked derivation | attributable_fraction |
| Check a hand calculation against a derivation | check_work |
| Collapse strata into a single 2 x 2 table | collapse_strata |
| Extract the confidence interval from a derivation | confint.epibyhand_derivation |
| Create a derivation object | derivation |
| Create one step of a derivation | derivation_step |
| Build a set of stratified 2 x 2 tables | epi_strata |
| Build a 2 x 2 table | epi2x2 |
| Extract the point estimate from a derivation | estimate |
| Breslow-Day test of homogeneity, with worked derivation | homogeneity |
| Mantel-Haenszel odds ratio with worked derivation | mh_odds_ratio |
| Mantel-Haenszel risk ratio with worked derivation | mh_risk_ratio |
| Odds ratio with worked derivation | odds_ratio |
| Print stratified tables | print.epi_strata |
| Print a 2 x 2 table with margins | print.epi2x2 |
| Print a worked derivation | print.epibyhand_derivation |
| Risk difference with worked derivation | risk_difference |
| Risk ratio with worked derivation | risk_ratio |
| Return the steps of a derivation as a data frame | steps_table |