Home > Common Problem > body text

How to export stata results to word

醉折花枝作酒筹
Release: 2023-01-13 00:36:26
Original
58946 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!