Using the Tidyverse Package in R for Simulation Studies in SEM

被引:11
作者
Lee, Sunbok [1 ]
Sriutaisuk, Suppanut [1 ]
Kim, Hanjoe [1 ]
机构
[1] Univ Houston, Houston, TX 77204 USA
关键词
Structural equation modeling; simulation study; R; tidyverse;
D O I
10.1080/10705511.2019.1644515
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
A Monte Carlo simulation study is an essential tool for examining the behavior of various models in structural equation modeling (SEM). Recently, the tidyverse package in R is gaining popularity for data science because of its efficient data manipulation, exploration, and visualization capabilities. This article introduces how to write more parsimonious, readable, maintainable, and parallelizable R simulation codes using the tidyverse package. Specifically, this article (a) introduces some key functions and technical terminologies in the tidyverse package that are useful for implementing simulation studies in R, and (b) provides a concrete example to demonstrate how to generate datasets, run models, parallelize the simulation process, summarize results, and visualize results using the tidyverse package. By leveraging the power of the tidyverse package, researchers can conduct their simulation studies more efficiently.
引用
收藏
页码:468 / 482
页数:15
相关论文
共 14 条