Serial Mediation for Count Data (with R code)
Warning: Introduction This tutorial shows how to do serial mediation for count data. Complete R code is provided. The following are the theoretical models and conceptual framework, assuming IV, M1, M2 are close to normally distributed, and DV is the count data. Step 1 (Optional): Data Simulation The following is the code to generate the … Read more