Reporting empirical results to .docx files
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.
BibTeX
@article{xue2023reporting,
author = {Yuan Xue and Chuntao Li and Haitao Si},
title = {{Reporting empirical results to .docx files}},
journal = {The Stata Journal Promoting Communications on Statistics and Stata},
year = {2023},
doi = {10.1177/1536867x231175334},
}Ask Althea to put this paper to the test.
Loading related content...