Description Usage Arguments Value Author(s) Examples
View source: R/sPSE_true value.R
Derive the true iPSEsv based on real parameters.
1 2 3 |
mediators |
The name of mediators. |
parameters |
The real values of parameters |
A list of true iPSEsv and partPSEsv
An-Shun Tai daansh13@gmail.com, Pei-Hsuan Lin a52012232@gmail.com, and Sheng-Hsuan Lin shenglin@nctu.edu.tw
1 2 3 4 5 6 7 8 9 | TrueV <- iPSEsv_t(mediators=c("x1","x2"),
alpha_Y=matrix(1,1,1),beta_Y=matrix(1),gamma_Y=matrix(c(0.5,0.6),1,2),
delta_Y=matrix(c(0.5,0.6),1,2),
alpha_M=matrix(1,2,2),beta_M=matrix(1,2,1),gamma_M=matrix(1,2,2),
delta_M=matrix(1,2,1),sigma2_M=matrix(1,2,1),
alpha_C=matrix(1,2,2),beta_C=matrix(1,2,1),gamma_C=matrix(1,2,2),
delta_C=matrix(1,2,1),sigma2_C=matrix(1,2,1),
C_hat = c(1,0.5),
a1=1,a0=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.