Causal mediation with a negative binomial count outcome
Natural direct and indirect effects for an overdispersed count outcome modelled by NB2 regression.
음이항 횟수 결과 인과 매개분석 — 과산포 횟수 결과를 NB2 회귀로 모형화해 자연 직접·간접 효과를 구합니다.
Runs Causal Mediation Analysis (Natural Direct and Indirect Effects) with: model y set to “negbin”.
기본 방법(Causal Mediation Analysis (Natural Direct and Indirect Effects))에 다음 설정을 고정해 실행합니다: model y = negbin.
My count outcome is overdispersed; how do I run causal mediation with it?
횟수 결과가 과산포인데, 인과 매개분석은 어떻게 하나요?
Natural direct and indirect effects are computed with an NB2 negative binomial outcome model. Behind it is Causal Mediation Analysis (Natural Direct and Indirect Effects) with model_y = negbin already set; checks and report are the same as for Causal Mediation Analysis (Natural Direct and Indirect Effects).
When to use Causal mediation with a negative binomial count outcome
- Counts whose variance clearly exceeds the mean.
- Health-care use or event counts.
When to use something else
- Many structural zeros; a zero-inflated model may be needed.
- You want to try other settings side by side; open Causal Mediation Analysis (Natural Direct and Indirect Effects) and set the options yourself.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable, a treatment indicator and predictor (feature) columns.
Assumptions and requirements
The same as for Causal Mediation Analysis (Natural Direct and Indirect Effects):
- Sequential ignorability: no unmeasured treatment-outcome, treatment-mediator or mediator-outcome confounding given the covariates.
- No mediator-outcome confounder affected by the treatment.
- Mediator and outcome models (linear or logistic) are correctly specified.
What the analysis reports
The output of Causal Mediation Analysis (Natural Direct and Indirect Effects), with the preset shown in the settings:
- ACME and ADE under control and under treatment, and the total effect, with quasi-Bayesian 95% CIs and p-values
- Proportion mediated with CI
- Sensitivity of the ACME to the error correlation rho, and the rho at which it vanishes (linear models without interaction)
- Effect plot with intervals
- Optional controlled direct effects CDE(m) at chosen mediator values, from an outcome regression with a treatment-by-mediator interaction, with bootstrap confidence intervals
How this is validated
검증 근거
This variant runs the same engine as Causal Mediation Analysis (Natural Direct and Indirect Effects) with the settings above fixed, so the evidence is that method’s: compared with independent computations. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Causal Mediation Analysis (Natural Direct and Indirect Effects)와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Causal Mediation Analysis (Natural Direct and Indirect Effects)
- Causal mediation with a Poisson count outcome
- Causal mediation on the ratio scale
- Conditional causal mediation at chosen covariate values
- Causal mediation with a count (Poisson) mediator
- Causal mediation with probit models
- Causal mediation with exponential-mean models
- Causal mediation with a continuous treatment
- Causal mediation with a multivalued treatment
- Weighting-based mediation (inverse probability weighting)
- Inverse odds ratio weighting (IORW) mediation
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable, a treatment indicator and predictor (feature) columns
- Price
- Same as Causal Mediation Analysis (Natural Direct and Indirect Effects): 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Compared with independent computations, as recorded for Causal Mediation Analysis (Natural Direct and Indirect Effects) (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.