The data set DANS_std.csv was used in the empirical example for the paper "A Tutorial in Bayesian Mediation Analysis with Latent Variables".
The original data set comes from the study “Gezin en Persoonlijkheid” ("Personality and Family Relationships") conducted in the Netherlands (Haselager & van Aken, 2000) and available in its entirety via https://doi.org/10.17026/dans-xk5-y7vc.
The file DANS_std.csv accompanies the R2OpenBUGS code in the paper, and it contains only 9 variables from the original data set. This data file was created in 3 steps:
1)The variables w1peoo01, reverse-scored w1peoo03, w1peoo28, w2famo19, w2famo42, w2famo52, w3famo32, w3famo38, and reverse-coded w3famo49 were extracted from the original data set.
2) Listwise deletion was performed to eliminate cases that had missing values on any of the 9 variables measured over the three waves of the study.
3) The 9 variables were standardized to create the variables z_prettig,z_sympathiek,z_prikkelbaar_r,z_aggressive,z_ridicules,z_impatient,z_critizied,z_refuse_request,z_accept_r.
The substantive meaning of these 9 variables is described in the text of the paper.
Tha data set DANS_std_nonames.csv accompanies the example Mplus code in the paper. It contains the same variables and cases in the same order as DANS_std.csv.