SEMinR: Domain-Specific Language for Building, Estimating, and Visualizing Structural Equation Models in R

Soumya Ray, N. Danks, André Calero Valdez
{"title":"SEMinR: Domain-Specific Language for Building, Estimating, and Visualizing Structural Equation Models in R","authors":"Soumya Ray, N. Danks, André Calero Valdez","doi":"10.2139/ssrn.3900621","DOIUrl":null,"url":null,"abstract":"SEMinR seeks to bring the latest state-of-the-art advances in SEM methods to the R ecosystem. This package also seeks to make describing and analyzing SEMs easier for practitioners. There have been several recent advances in the various branches of SEM that are often not reflected in existing R packages. For example, the PLS-PM approach requires adjustment in how models with interaction terms are estimated. PLS-PM methods have recently incorporated predictive methods such as plsPredict. Meanwhile, CB-SEM approach can avail ten Berge factor-score extraction that obtains construct scores with the same correlation patterns as the latent factors themselves. CB-SEM researchers should also consider VIF scores in their regression models. SEMinR incorporates these and other advancements. Estimating an SEM using CB-SEM and PLS-PM requires different packages for the two estimation methods, which often requires researchers to wholly redescribe their models in different syntax. SEMinR allows researchers to describe their model once in a common syntax, and estimate the model using different estimation methods. SEMinr includes its own implementation of PLS-PM estimation that is tested against leading commercial applications to ensure comparable results. For CB-SEM estimation, SEMinR delegates the estimation to the popular Lavaan package. Regardless of which estimation method one uses, the results are structured in a similar way for reporting and visualization. R packages for SEM often use a custom syntax that does not correspond to any programming language; nor does the syntax not reflect the terminology of SEM with which practitioners are familiar. SEMinR offers researchers a domain-specific language for modeling SEMs that uses function names that evoke major SEM components: constructs, relationships, paths, reflective, composite, etc. As SEMinR’s syntax is built using R functions, researchers can inject their own custom functions to extend the behavior of SEMinR. SEMinR is the first package that allows researchers applying PLS-PM to visualize their graphical models and measurement qualities. Visualization of CB-SEM models is delegated to the semplot package. Moreover, SEMinR allows researchers to visualize models either before or after estimation.","PeriodicalId":11465,"journal":{"name":"Econometrics: Econometric & Statistical Methods - General eJournal","volume":"249 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2021-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Econometrics: Econometric & Statistical Methods - General eJournal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2139/ssrn.3900621","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

Abstract

SEMinR seeks to bring the latest state-of-the-art advances in SEM methods to the R ecosystem. This package also seeks to make describing and analyzing SEMs easier for practitioners. There have been several recent advances in the various branches of SEM that are often not reflected in existing R packages. For example, the PLS-PM approach requires adjustment in how models with interaction terms are estimated. PLS-PM methods have recently incorporated predictive methods such as plsPredict. Meanwhile, CB-SEM approach can avail ten Berge factor-score extraction that obtains construct scores with the same correlation patterns as the latent factors themselves. CB-SEM researchers should also consider VIF scores in their regression models. SEMinR incorporates these and other advancements. Estimating an SEM using CB-SEM and PLS-PM requires different packages for the two estimation methods, which often requires researchers to wholly redescribe their models in different syntax. SEMinR allows researchers to describe their model once in a common syntax, and estimate the model using different estimation methods. SEMinr includes its own implementation of PLS-PM estimation that is tested against leading commercial applications to ensure comparable results. For CB-SEM estimation, SEMinR delegates the estimation to the popular Lavaan package. Regardless of which estimation method one uses, the results are structured in a similar way for reporting and visualization. R packages for SEM often use a custom syntax that does not correspond to any programming language; nor does the syntax not reflect the terminology of SEM with which practitioners are familiar. SEMinR offers researchers a domain-specific language for modeling SEMs that uses function names that evoke major SEM components: constructs, relationships, paths, reflective, composite, etc. As SEMinR’s syntax is built using R functions, researchers can inject their own custom functions to extend the behavior of SEMinR. SEMinR is the first package that allows researchers applying PLS-PM to visualize their graphical models and measurement qualities. Visualization of CB-SEM models is delegated to the semplot package. Moreover, SEMinR allows researchers to visualize models either before or after estimation.
semr:用于构建、估计和可视化结构方程模型的领域特定语言
semr致力于将SEM方法的最新进展带入R生态系统。这个包还试图使从业者更容易地描述和分析sme。在SEM的各个分支中有一些最近的进展,这些进展通常没有反映在现有的R包中。例如,PLS-PM方法需要调整如何估计具有交互项的模型。PLS-PM方法最近纳入了预测方法,如plpredict。同时,CB-SEM方法可以利用10个Berge因子得分提取,得到与潜在因素本身具有相同相关模式的构造分数。CB-SEM研究者也应该在他们的回归模型中考虑VIF分数。semr结合了这些和其他先进技术。使用CB-SEM和PLS-PM估算SEM需要针对两种估计方法的不同包,这通常需要研究人员用不同的语法完全重新描述他们的模型。semr允许研究人员用一种通用的语法描述他们的模型,并使用不同的估计方法估计模型。semr包括自己的PLS-PM估算实现,该实现针对领先的商业应用进行了测试,以确保可比较的结果。对于CB-SEM估计,semr将估计委托给流行的Lavaan包。无论使用哪种评估方法,结果都以类似的方式结构化,以用于报告和可视化。用于SEM的R包通常使用不对应于任何编程语言的自定义语法;语法也不反映从业者所熟悉的SEM术语。semr为研究人员提供了一种领域特定的语言,用于对SEM进行建模,该语言使用的函数名可以唤起SEM的主要组件:构造、关系、路径、反射、复合等。由于semr的语法是使用R函数构建的,研究人员可以注入自己的自定义函数来扩展semr的行为。semr是第一个允许研究人员应用PLS-PM可视化其图形模型和测量质量的软件包。CB-SEM模型的可视化委托给了示例包。此外,semr允许研究人员在估计之前或之后可视化模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信