{"title":"Reporting empirical results to .docx files","authors":"Yuan Xue, Chuntao Li, Haitao Si","doi":"10.1177/1536867X231175334","DOIUrl":null,"url":null,"abstract":"Reporting empirical results to automatically generate structured tables is important but time consuming for empirical researchers. Because of the lack of commands that can effectively create and edit Office Open XML documents (.docx documents), neither official commands nor community-contributed commands could tabulate results to this regularly used document type until putdocx was launched in Stata 15. In this article, we introduce four new commands: sum2docx, corr2docx, t2docx, and reg2docx. These new commands are all based on putdocx. They can be coalesced and can report summary statistics, correlation coefficient matrices, split-sample t tests, and regression results automatically in one .docx file. The commands are user friendly and can provide researchers with new options for reporting empirical results.","PeriodicalId":51171,"journal":{"name":"Stata Journal","volume":null,"pages":null},"PeriodicalIF":3.2000,"publicationDate":"2023-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Stata Journal","FirstCategoryId":"100","ListUrlMain":"https://doi.org/10.1177/1536867X231175334","RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"SOCIAL SCIENCES, MATHEMATICAL METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
Reporting empirical results to automatically generate structured tables is important but time consuming for empirical researchers. Because of the lack of commands that can effectively create and edit Office Open XML documents (.docx documents), neither official commands nor community-contributed commands could tabulate results to this regularly used document type until putdocx was launched in Stata 15. In this article, we introduce four new commands: sum2docx, corr2docx, t2docx, and reg2docx. These new commands are all based on putdocx. They can be coalesced and can report summary statistics, correlation coefficient matrices, split-sample t tests, and regression results automatically in one .docx file. The commands are user friendly and can provide researchers with new options for reporting empirical results.
报告实证结果,以自动生成结构化表是重要的,但耗时的实证研究人员。由于缺乏能够有效地创建和编辑Office Open XML文档(.docx文档)的命令,官方命令和社区贡献的命令都无法将结果制表为这种经常使用的文档类型,直到Stata 15中推出putdocx。在本文中,我们将介绍四个新命令:sum2docx、corr2docx、t2docx和reg2docx。这些新命令都是基于putdocx的。它们可以合并在一起,并且可以在一个.docx文件中自动报告汇总统计信息、相关系数矩阵、分离样本t检验和回归结果。这些命令是用户友好的,可以为研究人员提供报告经验结果的新选项。
期刊介绍:
The Stata Journal is a quarterly publication containing articles about statistics, data analysis, teaching methods, and effective use of Stata''s language. The Stata Journal publishes reviewed papers together with shorter notes and comments, regular columns, book reviews, and other material of interest to researchers applying statistics in a variety of disciplines.