Plotting the percentage in ROPE of the difference between BSEM mediation effects #553
JulianGaviriaL
started this conversation in
Show and tell
Replies: 1 comment
-
Seeing as how you have everything in a data frame already: library(bayestestR)
res <- data.frame(A = rnorm(3000),
B = rnorm(3000))
(rp <- rope(res, range = c(0, 0.5)))
#> # Proportion of samples inside the ROPE [0.00, 0.50]:
#>
#> Parameter | inside ROPE
#> -----------------------
#> A | 21.79 %
#> B | 20.98 %
plot(rp) Created on 2022-06-27 by the reprex package (v2.0.1) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I implemented the following steps:
Step1. BSEM regression on 6 variables
Step2. Computing the Mediation effects of the LV (Abeh, Nbeh) on
PA_1~ TA_4
andPN_1 ~ TN_4
respectivelyStep3. Comparing those mediation effects from Step2.
Question how can I plot/visualize the percentage in ROPE of the differences obtained in the Step3? Such as it's illustrated here:
https://easystats.github.io/bayestestR/articles/region_of_practical_equivalence.html
Many thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions