Dear collective wisdom,
I am trying to understand bayesian mediation analyses but I am strugling with different issues. No matter the dozens of videos and papers I went through, some difficulties remain.
I have a standard model:
mod2 <- "
# a path
Social_Environmental ~ a * Ideology
# b path
Behavioral ~ b1 * Social_Environmental
# c prime path
Behavioral ~ cp * Ideology
# indirect and total effects
ab := a * b
total := cp + ab"
And explore it with the following code:
fit2 <- bsem(mod2, data = Etude.1.Jasp)
summary(fit2)
The result is as following :
blavaan (0.4-7) results of 1000 samples after 500 adapt/burnin iterations
Number of observations 514
Statistic MargLogLik PPP
Value -1790.046 0.479
Regressions:
Estimate Post.SD pi.lower pi.upper Rhat Prior
Social_Environmental ~
Ideology (a) -0.304 0.080 -0.462 -0.147 1.000 normal(0,10)
Behavioral ~
Scl_Envrn (b) 0.403 0.043 0.320 0.486 1.000 normal(0,10)
Ideology (cp) -0.973 0.075 -1.125 -0.829 1.000 normal(0,10)
Variances:
Estimate Post.SD pi.lower pi.upper Rhat Prior
.Socl_Envrnmntl 1.931 0.123 1.704 2.188 1.000 gamma(1,.5)[sd]
.Behavioral 1.759 0.111 1.558 1.983 1.000 gamma(1,.5)[sd]
Defined Parameters:
Estimate Post.SD pi.lower pi.upper Rhat Prior
ab -0.123 0.035 -0.191 -0.054
total -1.096 0.081 -1.255 -0.937
So first I suppose that the default priors do not fit well with the analyses. If I understood Liu et al., 2022 paper well, the priors for paths a and b, without specific assumptions, should be .50 (so the mediation path would be .25). How could I change these priors as the "normal(0,10)" corresponds to the "mean, SD"?
Second issue, how may I interpret a probability against the null hypothesis here?
As I mentioned early, I am a newbie in bayesian mediation so any help would be super helpfull. I tried to find step by step explanations but surprisingly I was not able to find clear (at least for my level ^^) content.
Thank you all for your help !
Nicolas