Monte Carlo Simulation Parameters (Exponential X)

paramsexp

Format

A data frame with 12 variables

taskid

Simulation task identification number.

rate

Rate. Exponential distribution parameter \(\lambda\).

n

Sample size.

mux

Population mean of x \(\left( \mu_x \right)\).

mum

Population mean of m \(\left( \mu_m \right)\).

muy

Population mean of y \(\left( \mu_y \right)\).

taudot

Population slope of path from x to y \(\left( \dot{\tau} \right)\)

beta

Population slope of path from m to y \(\left( \beta \right)\)

alpha

Population slope of path from x to m \(\left( \alpha \right)\)

sigma2x

Population variance of x \(\left( \sigma_{x}^{2} \right)\)

sigma2m

Population variance of m \(\left( \sigma_{m}^{2} \right)\)

sigma2y

Population variance of y \(\left( \sigma_{y}^{2} \right)\)

reps

Monte Carlo replications.

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 parameters functions: paramsbeta, paramsmvn

Examples

data(paramsexp, package = "jeksterslabRmedsimple") head(paramsexp)
#> taskid rate n mux mum muy taudot beta alpha sigma2x sigma2m #> 1 1 1 1000 1 1 1 0.1414214 0.7140742 0.7140742 1 1 #> 2 2 1 500 1 1 1 0.1414214 0.7140742 0.7140742 1 1 #> 3 3 1 250 1 1 1 0.1414214 0.7140742 0.7140742 1 1 #> 4 4 1 200 1 1 1 0.1414214 0.7140742 0.7140742 1 1 #> 5 5 1 150 1 1 1 0.1414214 0.7140742 0.7140742 1 1 #> 6 6 1 100 1 1 1 0.1414214 0.7140742 0.7140742 1 1 #> sigma2y reps #> 1 1 5000 #> 2 1 5000 #> 3 1 5000 #> 4 1 5000 #> 5 1 5000 #> 6 1 5000
str(paramsexp)
#> 'data.frame': 531 obs. of 13 variables: #> $ taskid : int 1 2 3 4 5 6 7 8 9 10 ... #> $ rate : num 1 1 1 1 1 1 1 1 1 1 ... #> $ n : num 1000 500 250 200 150 100 75 50 20 1000 ... #> $ mux : num 1 1 1 1 1 1 1 1 1 1 ... #> $ mum : num 1 1 1 1 1 1 1 1 1 1 ... #> $ muy : num 1 1 1 1 1 1 1 1 1 1 ... #> $ taudot : num 0.141 0.141 0.141 0.141 0.141 ... #> $ beta : num 0.714 0.714 0.714 0.714 0.714 ... #> $ alpha : num 0.714 0.714 0.714 0.714 0.714 ... #> $ sigma2x: num 1 1 1 1 1 1 1 1 1 1 ... #> $ sigma2m: num 1 1 1 1 1 1 1 1 1 1 ... #> $ sigma2y: num 1 1 1 1 1 1 1 1 1 1 ... #> $ reps : num 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 ...