{"title":"用R理解SEM的教程:所有的数字是从哪里来的?","authors":"Yves Rosseel, Marc Vidal","doi":"10.1111/bmsp.70003","DOIUrl":null,"url":null,"abstract":"<p><p>Structural equation modeling (SEM) is often seen as a complex and difficult method, especially for those who want to understand how the numbers in SEM software output are actually computed. Although many open-source SEM tools are now available-especially in the R programming environment-looking into their source code to understand the underlying calculations can still be overwhelming. This tutorial aims to provide a clear and accessible introduction to the basic computations behind standard SEM analyses. Using two well-known example datasets, we show how to manually reproduce key results such as parameter estimates, standard errors, and fit measures using simple R scripts. The focus is on clarity and understanding rather than speed or efficiency. We hope that by following this tutorial, readers will gain a better grasp of how SEM works \"under the hood,\" and be able to apply similar ideas in their own research.</p>","PeriodicalId":55322,"journal":{"name":"British Journal of Mathematical & Statistical Psychology","volume":" ","pages":""},"PeriodicalIF":1.8000,"publicationDate":"2025-07-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A tutorial for understanding SEM using R: Where do all the numbers come from?\",\"authors\":\"Yves Rosseel, Marc Vidal\",\"doi\":\"10.1111/bmsp.70003\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>Structural equation modeling (SEM) is often seen as a complex and difficult method, especially for those who want to understand how the numbers in SEM software output are actually computed. Although many open-source SEM tools are now available-especially in the R programming environment-looking into their source code to understand the underlying calculations can still be overwhelming. This tutorial aims to provide a clear and accessible introduction to the basic computations behind standard SEM analyses. Using two well-known example datasets, we show how to manually reproduce key results such as parameter estimates, standard errors, and fit measures using simple R scripts. The focus is on clarity and understanding rather than speed or efficiency. We hope that by following this tutorial, readers will gain a better grasp of how SEM works \\\"under the hood,\\\" and be able to apply similar ideas in their own research.</p>\",\"PeriodicalId\":55322,\"journal\":{\"name\":\"British Journal of Mathematical & Statistical Psychology\",\"volume\":\" \",\"pages\":\"\"},\"PeriodicalIF\":1.8000,\"publicationDate\":\"2025-07-13\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"British Journal of Mathematical & Statistical Psychology\",\"FirstCategoryId\":\"102\",\"ListUrlMain\":\"https://doi.org/10.1111/bmsp.70003\",\"RegionNum\":3,\"RegionCategory\":\"心理学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"MATHEMATICS, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"British Journal of Mathematical & Statistical Psychology","FirstCategoryId":"102","ListUrlMain":"https://doi.org/10.1111/bmsp.70003","RegionNum":3,"RegionCategory":"心理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MATHEMATICS, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
A tutorial for understanding SEM using R: Where do all the numbers come from?
Structural equation modeling (SEM) is often seen as a complex and difficult method, especially for those who want to understand how the numbers in SEM software output are actually computed. Although many open-source SEM tools are now available-especially in the R programming environment-looking into their source code to understand the underlying calculations can still be overwhelming. This tutorial aims to provide a clear and accessible introduction to the basic computations behind standard SEM analyses. Using two well-known example datasets, we show how to manually reproduce key results such as parameter estimates, standard errors, and fit measures using simple R scripts. The focus is on clarity and understanding rather than speed or efficiency. We hope that by following this tutorial, readers will gain a better grasp of how SEM works "under the hood," and be able to apply similar ideas in their own research.
期刊介绍:
The British Journal of Mathematical and Statistical Psychology publishes articles relating to areas of psychology which have a greater mathematical or statistical aspect of their argument than is usually acceptable to other journals including:
• mathematical psychology
• statistics
• psychometrics
• decision making
• psychophysics
• classification
• relevant areas of mathematics, computing and computer software
These include articles that address substantitive psychological issues or that develop and extend techniques useful to psychologists. New models for psychological processes, new approaches to existing data, critiques of existing models and improved algorithms for estimating the parameters of a model are examples of articles which may be favoured.