statsmodels.stats.mediation.MediationResults#

class statsmodels.stats.mediation.MediationResults(indirect_effects, direct_effects)[source]#

A class for holding the results of a mediation analysis

The following terms are used in the summary output:

ACME : average causal mediated effect ADE : average direct effect

Parameters:
indirect_effectslist of ndarray

Indirect (mediated) effect estimates for the control and treatment conditions, as produced by Mediation.fit.

direct_effectslist of ndarray

Direct effect estimates for the control and treatment conditions, as produced by Mediation.fit.

Methods

summary([alpha])

Provide a summary of a mediation analysis

Methods

summary([alpha])

Provide a summary of a mediation analysis