net install asdoc, from(http://fintechprofessor.com) replace help asdoc
Details of the new features
The new features related to creating detailed regression tables with asdoc are discussed below with details.
1. Confidence interval
I received several emails and comments on blog posts suggesting the addition of confidence intervals (CI) to the detailed regression tables created by asdoc. In version 2.3 onwards, confidence intervals are shown by default. This means that we do not have to add an additional option to report CI. See the following example.
Similarly, if we are not interested in reporting significance stars, we can use option nostars. For example,
4. Setting custom significance level
The default significance levels for reporting stars are set at : *** for p-values <=0.01; ** for p-values <=0 .05, and * for p-values <=0.1. However, now we can set our own levels for statistical significance using option setstars. An example of setstars option looks like:
setstars(***@.01, **@.05, *@.1)
As we can see from the above line, setstars separates each argument by a comma. Each argument has three components. The first component is the symbol (in our case it is *) which will be reported for the given significance elve. The second component is the @ sign that connects the significance level with the symbol. And the third component is the value at which the significance level is set. So if we want to report stars such that
* for p-value .001 or less ** for p-value .01 or less *** for p-value .05 or less
We shall write the option setstars as
setstars(*@.001, **@.01, ***@.05)
Continuing with our example, let us use the above option to report our defined level of stars.