Calculate the proportion mediated on the mean difference scale.

prop_med_yreg_linear(pnde, tnie)

Arguments

pnde

Pure natural direct effect.

tnie

Total natural indirect effect.

Value

Proportion mediated value.