I am running a causal mediation analysis in blavaan. I specified four defined parameters.
I got the summary of the model (including the defined parameters) with the following instruction: summary(fitted.model).
Nevertheless, when specify "blavInspect(fitted.model, what="mcobj")", the defined parameters don't appear. I want that information to draw a graph of their posterior distributions. Do you know I can get that information?
blavaan (0.3-14) results of 5000 samples after 1000 adapt/burnin iterations
Number of observations 44
Number of missing patterns 1
Statistic
Value
Regressions:
Estimate Post.SD pi.lower pi.upper Rhat Prior
M ~
X (a) 3.565 0.688 NA NA 1.000 normal(0,30)
Y ~
M (b) 0.515 0.239 NA NA 1.000 normal(0,30)
X (cp) -5.605 5.247 NA NA 1.000 normal(0,30)
X:M (h) 0.779 0.670 NA NA 1.000 normal(0,30)
Intercepts:
Estimate Post.SD pi.lower pi.upper Rhat Prior
.M (i2) 4.540 0.468 NA NA 1.000 normal(0,30)
.Y (i3) 9.728 1.281 NA NA 1.000 normal(0,30)
Variances:
Estimate Post.SD pi.lower pi.upper Rhat Prior
.M 5.230 1.173 NA NA 1.000 gamma(1,1)[prec]
.Y 11.023 2.556 NA NA 1.000 gamma(1,1)[prec]
Defined Parameters:
Estimate Post.SD pi.lower pi.upper Rhat Prior
PNDE -2.069 2.461 -6.892 2.755 NA
TNDE 0.708 1.408 -2.052 3.468 NA
PNIE 1.836 0.935 0.003 3.669 NA
TNIE 4.613 2.441 -0.171 9.397 NA
varnames(draws.to.analyze)
[1] "beta.1" "beta.2" "beta.3" "beta.4" "sigma.squared.e1"
[6] "sigma.squared.e2" "beta.0.1" "beta.0.2" "lp__" >