No articles match
Choosing a confidence interval1 days ago
Decision guide | MBCO | Model bootstrap | Percentile bootstrap | Reporting checklist
Comparing probmed Workflows1 days ago
Feature Comparison | Workflow 1: Base R (lm/glm) | Workflow 2: lavaan | Workflow 3: mediation | Conclusion
Cookbook1 days ago
Point estimate only | Interval by method | Read the result | Binary mediator or outcome with covariates | From a fitted lavaan or mediation object | Two mediators | Tipping point for unmeasured M-Y confounding (mean-based shares) | Weak identification check | Missing values | Reproducibility
Gauge-calibrated proportion mediated: the residual W1 days ago
The problem with a single proportion-mediated number | A clean (additive) example | An interaction breaks the split | Non-binary-coded exposures: a0 / a1 | Inference: what the two arms actually do | Summary
Incremental mediated elasticity: the P_med^delta curve1 days ago
Why a curve, not a number | A worked example | Inference | Sensitivity to M–Y confounding | Summary
Introduction to probmed1 days ago
Overview | What is $P_{med}$? | Installation | Basic Example: Linear Mediation | 1. Simulate Data | 2. Estimate $P_{med}$ | 3. Interpret Results | Model-based bootstrap (opt-in) | MBCO intervals (deterministic) | Advanced Example: Binary Outcome (GLM) | 1. Simulate Binary Data | 2. Estimate with GLM | Conclusion
Modern estimands1 days ago
Overview | Choosing an estimand | Verification status | Boundary behavior
Parallel mediation: joint P_med1 days ago
Overview | The joint estimand | A worked example | Plugin (point estimate) | Parametric bootstrap | Nonparametric bootstrap | MBCO (deterministic) | Scope and limitations
Sensitivity analysis1 days ago
From components | From a fitted object | Incremental version | Reading the result
Technical note: estimand1 days ago
Definition | Consequences | Gaussian closed form | Identification | Relation to other estimands
Technical note: validation1 days ago
Boundary behavior in one paragraph | What this record does not show | Reproducing
Where to start1 days ago
Related packages | References
Technical reference: design, contracts, and methodology5 days ago
1. Architecture (S7, four verbs, three classes) | 2. Ecosystem contracts | 2.1 medfit::MediationData (the fitting contract) | 2.2 RMediation (the inference contract) | 2.3 Dependency direction (no cycle) | 3. The MI estimator and Rubin's rules | Worked example: pooling three imputations | 3A. Treatment-by-mediator interaction (X:M) | 3A.1 Estimand | 3A.2 The four-way decomposition, pooled | 3A.3 What stays refused | 4. MBCO under MI: D4-stacking (and why it is hosted here) | 4.1 Why MBCO does not commute with Rubin's rules | 4.2 D4 combination | Worked example: pooling three MBCO statistics | 4.3 Hosting decision | 5. The IPW estimator | 5.1 Pipeline | 5.2 Weight estimation | Worked example: four weights, stabilized and trimmed | 5.3 Variance: sandwich vs model | 5A. Non-gaussian models (family_y, family_m) and the scale of a*b | 5A.1 The scale caveat | 5A.2 IPW plus a binomial family: the non-integer-successes warning | 5B. MNAR sensitivity (sensitivity_mnar()) | 5B.1 Method | 5B.2 What delta actually is — read before choosing a value | 5B.3 Reading a tipping point | 5B.4 Binary targets: when is a log-odds delta of 1 plausible? | 5B.5 Limitations | 6. Cross-package engineering decisions | 7. Design-choice summary | 7A. Self-check | 7A.1 Three common confusions | 8. References
Getting started with missingmed6 days ago
A worked example | 1. Specify the mediation model | 2. Fit each imputation | 3. Pool with Rubin's rules | 4. Inference on the indirect effect | A binary mediator (or outcome) | Structural equation models and latent mediators | Migrating from the S4 API
Missing-Data Mediation: MBCO-MI vs. Monte-Carlo CI7 days ago
Introduction | Installation | Step 1: Generate Nonnormal Data | Step 2: Insert Missingness | Step 3: Define a Missing-Data Scenario | Step 4: Run Both Estimators | Fixed-branch correction and the reference degrees of freedom | Step 5: Branch-Switch Diagnostics | Optional: Inverse-Probability Weighting | Next Steps
Cluster Testing: the two-tier model (Tier A on CRAN, Tier B on Hopper)7 days ago
Why two tiers | The structural reason FORK-RNG can only be Tier B | The self-contained synthetic study | Running Tier B | B2 — end-to-end coverage (the real number) | Combining runs under an integrity audit | B3 — the can-fail dogfood (planted defect) | B4 — many-core FORK RNG realism (the sole FORK guard) | B5 — production-grid seed-collision check | Pilot before scale | Summary
A First Analysis in Four Calls14 days ago
Overview | Call 1: data | Call 2: fit | Call 3: confidence interval for the indirect effect | Call 4: effect size | Where to go next
Getting Started with mediationverse14 days ago
Introduction | Installation | Loading the Ecosystem | Package Management | Check Installed Versions | Update Packages | Check for Conflicts | Core Workflow | 1. Fit Models | 2. Extract Mediation Structure | 3. Choose Your Analysis | Confidence Intervals (RMediation) | Probabilistic Effect Size (probmed) | Sensitivity Analysis (medrobust) | Bootstrap Inference (medfit) | Ecosystem Design | Foundation Package | Specialized Packages | Type Safety | Next Steps | Session Info
Getting Started with RMediation23 days ago
Introduction | Basic Usage | Single Mediator Analysis | Multiple Mediators | Three-Variable Indirect Effects (ProductNormal3) | Using S7 Classes | Available Methods | Integration with Structural Equation Modeling | Validation and Error Handling | Conclusion
Sensitivity to an Omitted Confounder in Multilevel Mediation1 months ago
What the function does | Inputs | A small example | Reproducing the published example | Things to know | Reference
Cookbook: Recipes for Common Tasks2 months ago
Design | Build a factorial grid of scenarios | Vary the sample size | Nonnormal variables | Missing data | Running | Smoke-test before a long run | Choose the number of replications | Keep a scratch run out of your project | Use several cores | Methods that sometimes fail | Run on a SLURM cluster | Saving and reporting | Save and reload results | Bias with Monte Carlo SEs | Write a table as CSV or Markdown | Restyle a figure
Tutorial: Your First Coverage Study2 months ago
What you will build | Step 1: Describe the data-generating model | Checkpoint | Scenario names are seeds | Step 2: Write the estimator | Step 3: State the truth | Step 4: Smoke test, then the real run | Where files go | Step 5: Read the results | Coverage | Type I error and power | Bias and standard errors | What you learned | Exercises | Next
Analyzing and Reporting Simulation Results2 months ago
Overview | The results object | Accuracy: medsim_analyze() | Performance with Monte Carlo SEs | Coverage and rejection rates | How many replications? | Comparing methods fairly | Keep scenario names fixed | Tables | Figures | Everything at once | Reference
Getting Started with medsim2 months ago
Introduction | Installation | Quick Start | Step 1: Define Your Method | Step 2: Configure the Simulation | Step 3: Select Scenarios | Step 4: Run the Simulation | Step 5: Analyze Results | Execution Modes | Custom Scenarios | HPC Cluster Support | Next Steps
Testing an indirect effect with incomplete data2 months ago
What you get | Before you impute: the imputation model | Worked example | The interval | The test | The result object | Options and edge cases | ariv = "fixed" or "own" | Without the pipeline: mbco_d4() | A single imputation | When (k) differs across imputations | MBCO on a pooled object | Models with an X:M interaction | Why MBCO does not commute with Rubin's rules | Operating characteristics | Not covered here | References
The mediationverse Ecosystem2 months ago
What the ecosystem is | Packages | Live status | Roadmap & planning | Get involved
A worked analysis with a missing mediator2 months ago
Part 1: the core analysis | The data | Step 1: the complete-data reference | Step 2: make the mediator missing at random | Step 3: impute the mediator | Step 4: a pooled Monte Carlo interval | Step 5: test the indirect effect with D4-MBCO | Step 6: when both paths are weak | Step 7: how much does the conclusion depend on MAR? | Part 2: new since missingmed 0.5.0 | The model is checked before it is fitted | Arguments that do not apply are reported | A treatment-by-mediator interaction | Sensitivity analysis with the MBCO test | Summary
Estimand Kinds: Sobol Variance Share and Gauge Residual5 months ago
Introduction | Sobol Variance-Share Proportion Mediated | Gauge-Residual Estimand | Comparing the Two | Next Steps
Comparing Confidence Interval Methods in RMediation5 months ago
Introduction | Overview of Methods | Method Comparison | Performance and Accuracy Comparison | When to Use Each Method | Distribution of Product (DOP) | Monte Carlo (MC) | Asymptotic Normal | Working with S7 Classes | Practical Recommendations | Conclusion
Serial Mediation with medfit5 months ago
Why this vignette | A serial chain from a lavaan fit | The same chain from lm/glm fits | Graceful degradation without medfit | See also
Complete Mediation Analysis Workflow5 months ago
Overview | Setup | Step 1: Simulate Data | Step 2: Fit Mediation Models | Step 3: Extract Mediation Structure | Step 4: Confidence Intervals (RMediation) | Distribution of Product Method | Monte Carlo Method | Compare Methods | Step 5: Probabilistic Effect Size (probmed) | Step 6: Sensitivity Analysis (medrobust) | Step 7: Bootstrap Inference (medfit) | Complete Results Summary | Interpretation | Using SEM with lavaan | Session Information | References