Export results of the median command
median performs a nonparametric K-sample test on the equality of medians. It tests the null hypothesis that the K samples were drawn from populations with the same median. For two samples, the chi-squared test statistic is computed both with and without a continuity correction. To export the output of
median command, we need to add asdocx to the beginning of the Stata command. See the following example.
* Load some example data sysuse nlsw88 asdocx median wage , by(race )
|Greater than the median||race|
Yearly license of asdocx is available at $9.99. Its life-time license is available at $49.99. With the asdocx membership, you get :
- Life-time license to use
- All future updates
- All premium templates / plugins.