Export results of kwallis command
kwallis
performs a Kruskal-Wallis test of the hypothesis that several samples are from the same population. This test is a multi-sample generalization of the two-sample Wilcoxon (Mann-Whitney) rank-sum test. To export its output with asdocx, see the following example.
* Load some example data sysuse nlsw88 * Run the test and send its output to MS Word asdocx kwallis wage, by(occupation )
occupation | Obs | Rank Sum |
---|---|---|
Professional/technical | 317 | 499123 |
Managers/admin | 264 | 389792.5 |
Sales | 726 | 780880 |
Clerical/unskilled | 102 | 103105 |
Craftsmen | 53 | 58279 |
Operatives | 246 | 202712.5 |
Transport | 28 | 7954.5 |
Laborers | 286 | 176817.5 |
Farmers | 1 | 1475 |
Farm laborers | 9 | 1987.5 |
Service | 16 | 15356.5 |
Household workers | 2 | 2263.5 |
Other | 187 | 263456.5 |
Chi2 test (df: 12) | 571.042 | |
Probability | 0.000 | |
Chi2 test with ties (df: 12) | 571.059 | |
Probability | 0.000 | |
Order asdocx
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.