Description Usage Arguments Author(s) See Also Examples
View source: R/mvn_complete_std_mc.mvn.delta.R
Monte Carlo Method Assuming Multivariate Normal Distribution using Delta Method Standard Errors for Indirect Effect in a Standardized Simple Mediation Model for Data Generated from a Multivariate Normal Distribution
1 2 3 4 5 6 7 8 | mvn_std_mc.mvn.delta(
taskid,
R = 20000L,
alphahatprime,
sehatalphahatprimedelta,
betahatprime,
sehatbetahatprimedelta
)
|
taskid |
Numeric. Task ID. |
R |
Integer. Monte Carlo replications. |
alphahatprime |
Numeric.
Estimated standardized slope of path from |
sehatalphahatprimedelta |
Numeric.
Estimated delta method standard error of standardized slope of path from |
betahatprime |
Numeric.
Estimated standardized slope of path from |
sehatbetahatprimedelta |
Numeric.
Estimated delta method standard error of standardized slope of path from |
Ivan Jacob Agaloos Pesigan
Other monte carlo method functions:
beta_ols_mc.mvn_pcci_simulation()
,
beta_ols_mc.mvn_pcci_task()
,
beta_ols_mc.mvn_simulation()
,
beta_ols_mc.mvn_task()
,
beta_ols_mc.mvn()
,
exp_ols_mc.mvn_pcci_simulation()
,
exp_ols_mc.mvn_pcci_task()
,
exp_ols_mc.mvn_simulation()
,
exp_ols_mc.mvn_task()
,
exp_ols_mc.mvn()
,
mc.mvn()
,
mc.t()
,
mc.wishart()
,
mvn_mar_10_mc.mvn_pcci_simulation()
,
mvn_mar_10_mc.mvn_pcci_task()
,
mvn_mar_10_mc.mvn_simulation()
,
mvn_mar_10_mc.mvn_task()
,
mvn_mar_10_mc.mvn()
,
mvn_mar_20_mc.mvn_pcci_simulation()
,
mvn_mar_20_mc.mvn_pcci_task()
,
mvn_mar_20_mc.mvn_simulation()
,
mvn_mar_20_mc.mvn_task()
,
mvn_mar_20_mc.mvn()
,
mvn_mar_30_mc.mvn_pcci_simulation()
,
mvn_mar_30_mc.mvn_pcci_task()
,
mvn_mar_30_mc.mvn_simulation()
,
mvn_mar_30_mc.mvn_task()
,
mvn_mar_30_mc.mvn()
,
mvn_mcar_10_mc.mvn_pcci_simulation()
,
mvn_mcar_10_mc.mvn_pcci_task()
,
mvn_mcar_10_mc.mvn_simulation()
,
mvn_mcar_10_mc.mvn_task()
,
mvn_mcar_10_mc.mvn()
,
mvn_mcar_20_mc.mvn_pcci_simulation()
,
mvn_mcar_20_mc.mvn_pcci_task()
,
mvn_mcar_20_mc.mvn_simulation()
,
mvn_mcar_20_mc.mvn_task()
,
mvn_mcar_20_mc.mvn()
,
mvn_mcar_30_mc.mvn_pcci_simulation()
,
mvn_mcar_30_mc.mvn_pcci_task()
,
mvn_mcar_30_mc.mvn_simulation()
,
mvn_mcar_30_mc.mvn_task()
,
mvn_mcar_30_mc.mvn()
,
mvn_mnar_10_mc.mvn_pcci_simulation()
,
mvn_mnar_10_mc.mvn_pcci_task()
,
mvn_mnar_10_mc.mvn_simulation()
,
mvn_mnar_10_mc.mvn_task()
,
mvn_mnar_10_mc.mvn()
,
mvn_mnar_20_mc.mvn_pcci_simulation()
,
mvn_mnar_20_mc.mvn_pcci_task()
,
mvn_mnar_20_mc.mvn_simulation()
,
mvn_mnar_20_mc.mvn_task()
,
mvn_mnar_20_mc.mvn()
,
mvn_mnar_30_mc.mvn_pcci_simulation()
,
mvn_mnar_30_mc.mvn_pcci_task()
,
mvn_mnar_30_mc.mvn_simulation()
,
mvn_mnar_30_mc.mvn_task()
,
mvn_mnar_30_mc.mvn()
,
mvn_ols_mc.mvn_pcci_simulation()
,
mvn_ols_mc.mvn_pcci_task()
,
mvn_ols_mc.mvn_simulation()
,
mvn_ols_mc.mvn_task()
,
mvn_ols_mc.mvn()
,
mvn_sem_mc.mvn_pcci_simulation()
,
mvn_sem_mc.mvn_pcci_task()
,
mvn_sem_mc.mvn_simulation()
,
mvn_sem_mc.mvn_task()
,
mvn_sem_mc.mvn()
,
mvn_std_mc.mvn.delta_pcci_simulation()
,
mvn_std_mc.mvn.delta_pcci_task()
,
mvn_std_mc.mvn.delta_simulation()
,
mvn_std_mc.mvn.delta_task()
,
mvn_std_mc.mvn.sem_pcci_simulation()
,
mvn_std_mc.mvn.sem_pcci_task()
,
mvn_std_mc.mvn.sem_simulation()
,
mvn_std_mc.mvn.sem_task()
,
mvn_std_mc.mvn.sem()
,
mvn_std_mc.mvn.tb_pcci_simulation()
,
mvn_std_mc.mvn.tb_pcci_task()
,
mvn_std_mc.mvn.tb_simulation()
,
mvn_std_mc.mvn.tb_task()
,
mvn_std_mc.mvn.tb()
,
mvn_std_mc.wishart_pcci_simulation()
,
mvn_std_mc.wishart_pcci_task()
,
mvn_std_mc.wishart_simulation()
,
mvn_std_mc.wishart_task()
,
mvn_std_mc.wishart()
,
vm_mod_ols_mc.mvn_pcci_simulation()
,
vm_mod_ols_mc.mvn_pcci_task()
,
vm_mod_ols_mc.mvn_simulation()
,
vm_mod_ols_mc.mvn_task()
,
vm_mod_ols_mc.mvn()
,
vm_mod_sem_mc.mvn_pcci_simulation()
,
vm_mod_sem_mc.mvn_pcci_task()
,
vm_mod_sem_mc.mvn_simulation()
,
vm_mod_sem_mc.mvn_task()
,
vm_mod_sem_mc.mvn()
,
vm_sev_ols_mc.mvn_pcci_simulation()
,
vm_sev_ols_mc.mvn_pcci_task()
,
vm_sev_ols_mc.mvn_simulation()
,
vm_sev_ols_mc.mvn_task()
,
vm_sev_ols_mc.mvn()
,
vm_sev_sem_mc.mvn_pcci_simulation()
,
vm_sev_sem_mc.mvn_pcci_task()
,
vm_sev_sem_mc.mvn_simulation()
,
vm_sev_sem_mc.mvn_task()
,
vm_sev_sem_mc.mvn()
1 2 3 4 5 6 7 8 9 10 11 | taskid <- 1
data <- mvn_dat(taskid = taskid)
fit.ols(data = data, minimal = TRUE)
fit <- mvn_fit.ols(data = data, taskid = taskid)
thetahatstar <- mvn_std_mc.mvn.delta(
taskid = taskid, R = 20000L,
alphahatprime = fit["alphahatprime"], sehatalphahatprimedelta = fit["sehatalphahatprimedelta"],
betahatprime = fit["betahatprime"], sehatbetahatprimedelta = fit["sehatbetahatprimedelta"]
)
hist(thetahatstar)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.