Using the Tidyverse Package in R for Simulation Studies in SEM

Sunbok Lee, Suppanut Sriutaisuk, Hanjoe Kim

Research output: Contribution to journalArticlepeer-review

8 Scopus citations

Abstract

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.

Original languageEnglish
Pages (from-to)468-482
Number of pages15
JournalStructural Equation Modeling
Volume27
Issue number3
DOIs
StatePublished - 3 May 2020

Bibliographical note

Publisher Copyright:
© 2019, © 2019 Taylor & Francis Group, LLC.

Keywords

  • R
  • simulation study
  • Structural equation modeling
  • tidyverse

Fingerprint

Dive into the research topics of 'Using the Tidyverse Package in R for Simulation Studies in SEM'. Together they form a unique fingerprint.

Cite this