Mfrommu: M Vector

Description Usage Arguments Details Author(s) See Also Examples

View source: R/ram.R

Description

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

Usage

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

Arguments

mux

Numeric. Mean of x ≤ft( μ_x \right) .

mum

Numeric. Mean of m ≤ft( μ_m \right) .

muy

Numeric. Mean of y ≤ft( μ_y \right) .

taudot

Numeric. Slope of path from x to y ≤ft( \dot{τ} \right).

beta

Numeric. Slope of path from m to y ≤ft( β \right) .

alpha

Numeric. Slope of path from x to m ≤ft( α \right) .

Details

The simple mediation model is given by

y_i = δ_y + \dot{τ} x_i + β m_i + \varepsilon_{y_{i}}

m_i = δ_m + α x_i + \varepsilon_{m_{i}}

The parameters for the mean structure are

\boldsymbol{θ}_{\text{mean structure}} = ≤ft\{ μ_x, δ_m, δ_y \right\} .

The parameters for the covariance structure are

\boldsymbol{θ}_{\text{covariance structure}} = ≤ft\{ \dot{τ}, β, α, σ_{x}^{2}, σ_{\varepsilon_{m}}^{2}, σ_{\varepsilon_{y}}^{2} \right\} .

Author(s)

Ivan Jacob Agaloos Pesigan

See Also

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

Examples

1
2
3
4
5
6
7
8
Mfrommu(
  mux = 70.18,
  mum = 3.06,
  muy = 3.24,
  taudot = 0.207648,
  beta = 0.451039,
  alpha = 0.338593
)

jeksterslabds/jeksterslabRmedsimple documentation built on Oct. 16, 2020, 11:30 a.m.