Reshape data in Stata – An easy to understand tutorial
From wide to long format Suppose we have the data in the following format +-------------------------------------------------------+ | id sex inc80 inc81 inc82 ue80 ue81 ue82 | |-------------------------------------------------------| | 1 0 5000 5500 6000 0 1 0 | | 2 1 2000 2200 3300 1 0 0 | | 3 0 3000 2000 1000 0 0 1 [...]
asdoc version 2.3.3 : New Features
Version 2.3.3.2, dated Feb 23, 2019, of asdoc bring significant improvements to existing routines and introduces few new features. Details are given below. If you have not used asdoc previously, I would encourage you to read this half page quick start to asdoc. New Features 1.Font style 2. Formatting the header row and header column 3. [...]
Getting p-values and t-values with asreg
Xi asked the following question: How can I get p-values and t-values using asreg program? Introduction to asreg asreg is a Stata program, written by Dr. Attaullah Shah. The program is available for free and can be downloaded from SSC by typing the following on the Stata command window: ssc install asreg asreg was primarily written [...]
Ordering variables in a nested regression table of asdoc in Stata
In this blog entry, I shall highlight one important, yet a less known, feature of the option keep() in nested regression tables of asdoc. If you have not used asdoc previously, this half-page introduction will put you on a fast track. And for a quick start of regression tables with asdoc, you can also watch [...]
Exporting ttest results from Stata to Word using asdoc
asdoc installation If you have not already studied the features of asdoc, you can visit this page that lists the table of contents of what asdoc can do. You can also read this one paragraph introduction to asdoc. The following line of code will install asdoc from SSC ssc install asdochelp asdoc Reporting t-tests with asdoc Before we [...]
asdoc: Cutomizing the regression output | MS Word from Stata | Confidence Interval, adding stars, etc.
Version 2.3 of asdoc adds the following features for reporting detailed regression tables. 1. Reporting confidence interval 2. Suppressing confidence intervals 3. Suppressing the stars which are used to show significance level 4. Customization of significance level for stars These features are discussed in details below. If you have not already studied the features [...]