Where to start

Home › Where to start

Use this when: you are new to probmed, or you are not sure which article or function you need.

Find the question closest to yours. Each row names one place to start.

Your question Start here
What is Pmed, and how do I compute it from fitted models? Introduction to probmed
I have a lavaan model Working with lavaan Models
I already ran mediation::mediate() Integration with the mediation Package
I have more than one mediator Parallel mediation: joint P_med
Which confidence interval should I use? Choosing a confidence interval for P_med
How sensitive is a mean-based indirect-to-total ratio to M-Y confounding? (does not cover pmed() itself; experimental) Sensitivity analysis for unmeasured M-Y confounding
Does the effect decompose additively enough to interpret one proportion? (experimental) Gauge-calibrated proportion mediated: the residual W
I want a short recipe for a common task Cookbook: common tasks
Where is the definition, and how was it validated? the estimand and the validation record

Other estimands, such as the incremental curve, the Sobol and Wasserstein versions and the scale-indexed flow, are compared in Modern estimands.

For what the package does not support, and what its confidence intervals do and do not guarantee, read Status and known limitations on the home page.

probmed is part of the mediationverse for mediation analysis in R.

Package Purpose Role
medfit Model fitting, extraction, bootstrap Foundation (probmed requires medfit 0.21.3 or later)
probmed (this package) Probabilistic effect size (P_med) Application
RMediation Confidence intervals (DOP, MBCO) Application
medrobust Sensitivity analysis Application
medsim Simulation infrastructure Support

References

  • Tofighi, D. (In Press). Probabilistic Effect Sizes for Mediation Analysis.
  • MacKinnon, D. P. (2008). Introduction to Statistical Mediation Analysis. Lawrence Erlbaum Associates.