Mean of x and intercepts from the simple mediation model from means of x, m and y.

Mfrommu(mux, mum, muy, taudot, beta, alpha)

Arguments

mux

Numeric. Mean of x \(\left( \mu_x \right)\) .

mum

Numeric. Mean of m \(\left( \mu_m \right)\) .

muy

Numeric. Mean of y \(\left( \mu_y \right)\) .

taudot

Numeric. Slope of path from x to y \(\left( \dot{\tau} \right)\).

beta

Numeric. Slope of path from m to y \(\left( \beta \right)\) .

alpha

Numeric. Slope of path from x to m \(\left( \alpha \right)\) .

Details

The simple mediation model is given by $$ y_i = \delta_y + \dot{\tau} x_i + \beta m_i + \varepsilon_{y_{i}} $$

$$ m_i = \delta_m + \alpha x_i + \varepsilon_{m_{i}} $$

The parameters for the mean structure are $$ \boldsymbol{\theta}_{\text{mean structure}} = \left\{ \mu_x, \delta_m, \delta_y \right\} . $$

The parameters for the covariance structure are $$ \boldsymbol{\theta}_{\text{covariance structure}} = \left\{ \dot{\tau}, \beta, \alpha, \sigma_{x}^{2}, \sigma_{\varepsilon_{m}}^{2}, \sigma_{\varepsilon_{y}}^{2} \right\} . $$

See also

Other reticular action model functions: A.std(), A(), M(), S.std(), Sfromsigma2(), Sigmatheta.std(), Sigmathetafromsigma2(), Sigmatheta(), S(), mutheta()

Author

Ivan Jacob Agaloos Pesigan

Examples

Mfrommu( mux = 70.18, mum = 3.06, muy = 3.24, taudot = 0.207648, beta = 0.451039, alpha = 0.338593 )
#> x m y #> 70.18000 -20.70246 -12.71292