Package: probmed 0.3.0

probmed: Probabilistic Effect Sizes for Causal Mediation Analysis

Compute P_med, a scale-free probabilistic effect size for causal mediation analysis.

Authors:Davood Tofighi [aut, cre, cph]

probmed_0.3.0.tar.gz
probmed_0.3.0.zip(r-4.7-any)probmed_0.3.0.zip(r-4.6-any)probmed_0.3.0.zip(r-4.5-any)
probmed_0.3.0.tgz(r-4.6-any)probmed_0.3.0.tgz(r-4.5-any)
probmed_0.3.0.tar.gz(r-4.7-any)probmed_0.3.0.tar.gz(r-4.6-any)
probmed_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
probmed/json (API)

# Install 'probmed' in R:
install.packages('probmed', repos = c('https://data-wise.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/data-wise/probmed/issues

Pkgdown/docs site:https://data-wise.github.io

On CRAN:

Conda:

quarto

4.41 score 1 stars 43 scripts 12 exports 10 dependencies

Last updated from:0486b012b2 (on main). Checks:9 OK. Indexed: yes.
A new build is currently in progress.

TargetResultTimeFilesSyslog
linux-develOK399
source / vignettesOK251
linux-releaseOK409
macos-releaseOK489
macos-oldrelOK379
windows-develOK525
windows-releaseOK514
windows-oldrelOK465
wasm-releaseOK115

Exports:extract_mediationGaugePmedResultincr_pmedIncrPmedResultpmedpmed_sensitivityPmedResultPmedSensitivitysobol_from_thetasobol_pmedSobolPmedResultward_residual

Dependencies:backportscheckmatecligenericslifecycleMASSmedfitnloptrrlangS7

Gauge-calibrated proportion mediated: the residual W
The problem with a single proportion-mediated number | A clean (additive) example | An interaction breaks the split | Non-binary-coded exposures: a0 / a1 | Inference for a skewed ratio | Summary

Last update: 2026-06-22
Started: 2026-06-22

Parallel mediation: joint P_med
Overview | The joint estimand | A worked example | Plugin (point estimate) | Parametric bootstrap | Nonparametric bootstrap | MBCO (deterministic) | Scope and limitations

Last update: 2026-06-14
Started: 2026-06-14

Introduction to probmed
Overview | What is $P_{med}$? | Installation | Basic Example: Linear Mediation | 1. Simulate Data | 2. Estimate $P_{med}$ | 3. Interpret Results | MBCO intervals (deterministic) | Advanced Example: Binary Outcome (GLM) | 1. Simulate Binary Data | 2. Estimate with GLM | Conclusion

Last update: 2026-06-14
Started: 2025-12-02

Comparing probmed Workflows
Feature Comparison | Workflow 1: Base R (lm/glm) | Workflow 2: lavaan | Workflow 3: mediation | Conclusion

Last update: 2025-12-02
Started: 2025-12-02