Home  >  Article  >  How to export stata results to word

How to export stata results to word

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-05-17 13:54:5258957browse

Method: First enter "ssc install asdoc, replace" in Stata to install the external command "asdoc"; then enter "asdoc reg price mpg weight" in the data; finally generate a file named "Myfile.doc" ” file.

How to export stata results to word

The operating environment of this tutorial: Windows 7 system, Microsoft Office word 2013 version, Dell G3 computer.

First, enter the code (ssc install asdoc, replace) in Stata to install the external command asdoc.

How to export stata results to word

#After the installation is complete, open our data. The editor uses the data auto that comes with Stata as an example.

How to export stata results to word

Next, the editor will do a regression analysis of the mpg and weight variables on the price variable, and export the results directly to Word. Enter the command: asdoc reg price mpg weight. As shown in the figure, Stata will automatically generate a file named "Myfile.doc".

How to export stata results to word

Click to open the Myfile.doc file. You can see that the regression analysis results we want have been exported to the Word document.

How to export stata results to word

After that we just need to adjust the format

How to export stata results to word

For more computer related knowledge, please visit FAQ column!

The above is the detailed content of How to export stata results to word. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn