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.
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.
#After the installation is complete, open our data. The editor uses the data auto that comes with Stata as an example.
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".
Click to open the Myfile.doc file. You can see that the regression analysis results we want have been exported to the Word document.
After that we just need to adjust the format
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 English version
Recommended: Win version, supports code prompts!

SublimeText3 Chinese version
Chinese version, very easy to use

Dreamweaver Mac version
Visual web development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft