欢迎访问《生态学杂志》官方网站,今天是 分享到:

生态学杂志 ›› 2022, Vol. 41 ›› Issue (5): 1015-1023.doi: 10.13292/j.1000-4890.202203.016

• 研究报告 • 上一篇    下一篇

基于R的结构方程模型在生态学中的应用

石亚飞1,2,石善恒3,黄晓敏4,5*   

  1. (1中国科学院西北生态环境资源研究院, 沙坡头沙漠研究试验站, 兰州 730000; 2中国科学院大学, 北京 100049;3中国农业大学农学院, 北京 100193; 4江苏省作物遗传生理重点实验室/江苏省作物栽培生理重点实验室, 扬州大学农学院, 江苏扬州 225009;5江苏省粮食作物现代产业技术协同创新中心, 扬州大学, 江苏扬州 225009)
  • 出版日期:2022-05-10 发布日期:2022-10-10

The application of structural equation modeling in ecology based on R.

SHI Ya-Fei1,2, SHI Shan-Heng3, HUANG Xiao-Min4,5*   

  1. (1Shapotou Desert Research and Experiment Station, Northwest Institute of Eco-Environment and Resources, Chinese Academy of Sciences, Lanzhou 730000, China; 2University of Chinese Academy of Sciences, Beijing 100049, China; 3College of Agronomy and Biotechnology, China Agricultural University, Beijing 100193, China; 4Jiangsu Key Laboratory of Crop Genetics and Physiology/Jiangsu Key Laboratory of Crop Cultivation and Physiology, Agricultural College of Yangzhou University, Yangzhou 225009, Jiangsu, China; 5Jiangsu Co-Innovation Center for Modern Production Technology of Grain Crops, Yangzhou University, Yangzhou 225009, Jiangsu, China).
  • Online:2022-05-10 Published:2022-10-10

摘要: 结构方程模型已经成为当前生态数据分析的主要方法之一。与其他多变量统计方法不同,结构方程模型的建模过程由理论假设驱动,且可以同时量化多个变量间的直接和间接因果关系。然而,由于结构方程模型引入国内生态学领域的时间相对较短,研究者经常在实际应用中遇到各种问题,各种使用错误也屡见不鲜。对此,本文系统阐述了结构方程模型的建模原理、建模流程、模型评价、模型修正等方面内容,并且结合具体研究案例介绍了结构方程模型分析的两个主流R包—lavaanpiecewiseSEM。其中,lavaan可以分析纳入了潜变量的结构方程模型,piecewiseSEM则可以解决各观测数据不独立以及响应变量残差不满足多元正态分布等问题。本文将有助于研究者准确理解结构方程模型并能扩大其在生态学中的应用。

关键词: 生态复杂性, 因果关系, 潜变量, 路径分析, lavaan, piecewiseSEM

Abstract: Structural equation modeling (SEM) is a major approach for analyzing ecological data. Differing from other multivariate statistical methods, SEM is mainly driven by assumptions and could quantify both direct and indirect causal relationships among multi-variables. Since the introduction of SEM into the field of ecology in China is relatively short, scientists encounter many problems when using SEM, with various mistakes. Therefore, we elaborated principles, processes, evaluation and modification of SEM in this review. With a case study, we introduced the usage of two major R packages for SEM, i.e. lavaan and piecewiseSEM. Concretely, lavaancan perform SEM with latent variables, while piecewiseSEM can incorporate nonindependent observations, and handle response variables with residuals not satisfying multivariate normal distribution. This review can help researchers understand and use SEM correctly and accurately, and promote the usage of SEM in ecology.

Key words: ecological complexity, causality, latent variable, path analysis, lavaan, piecewiseSEM.