---
title: "Where to start"
description: "Pick the probmed article or function that matches your question."
format: html
vignette: >
  %\VignetteIndexEntry{Where to start}
  %\VignetteEngine{quarto::html}
  %\VignetteEncoding{UTF-8}
---

[Home](https://data-wise.github.io/probmed/) › 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 $P_{med}$, and how do I compute it from fitted models? | [Introduction to probmed](introduction.html) |
| I have a lavaan model | [Working with lavaan Models](lavaan-integration.html) |
| I already ran `mediation::mediate()` | [Integration with the mediation Package](mediation-integration.html) |
| I have more than one mediator | [Parallel mediation: joint P_med](parallel-mediation.html) |
| Which confidence interval should I use? | [Choosing a confidence interval for P_med](confidence-intervals.html) |
| 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](sensitivity-analysis.html) |
| Does the effect decompose additively enough to interpret one proportion? (experimental) | [Gauge-calibrated proportion mediated: the residual W](gauge-residual.html) |
| I want a short recipe for a common task | [Cookbook: common tasks](cookbook.html) |
| Where is the definition, and how was it validated? | [the estimand](technical-note-estimand.html) and [the validation record](technical-note-validation.html) |

Other estimands, such as the incremental curve, the Sobol and Wasserstein versions and the scale-indexed flow, are compared in [Modern estimands](modern-estimands.html).

For what the package does not support, and what its confidence intervals do and do not guarantee, read [Status and known limitations](https://data-wise.github.io/probmed/#status-and-known-limitations) on the home page.

## Related packages

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

| Package | Purpose | Role |
|---------|---------|------|
| [medfit](https://github.com/data-wise/medfit) | Model fitting, extraction, bootstrap | Foundation (probmed requires medfit 0.21.3 or later) |
| probmed (this package) | Probabilistic effect size (P_med) | Application |
| [RMediation](https://github.com/data-wise/rmediation) | Confidence intervals (DOP, MBCO) | Application |
| [medrobust](https://github.com/data-wise/medrobust) | Sensitivity analysis | Application |
| [medsim](https://github.com/data-wise/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.

::: {.next-action}
**Next:** read [Introduction to probmed](introduction.html).
:::
