-
Login or Register
- Log in with
* Example generated by -dataex-. For more info, type help dataex clear input float(cat val) 1 10 2 20 3 30 end label values cat CAT label def CAT 1 "A", modify label def CAT 2 "C", modify label def CAT 3 "B", modify tabstat val, stat(mean) by(cat) net install asdoc, from(http://fintechprofessor.com) which asdoc asdoc tabstat val, stat(mean) by(cat)
.
. tabstat val, stat(mean) by(cat)
Summary for variables: val
Group variable: cat
cat | Mean
-------+----------
A | 10
C | 20
B | 30
-------+----------
Total | 20
------------------
.
. net install asdoc, from(http://fintechprofessor.com)
checking asdoc consistency and verifying not already installed...
installing into /Users/lisowskiw/Library/Application Support/Stata/ado/plus/...
installation complete.
. which asdoc
/Users/lisowskiw/Library/Application Support/Stata/ado/plus/a/asdoc.ado
*! Attaullah Shah; [email protected]
*! Tenured Associate Professor at the Institute of Management Sciences, Peshawar, Pakistan.
*!-------------------------------------------------------------------------------
*! Version 2.3.9.5 : Changes made on April 10 , 2021 : Bug fixed in sum command when a variable had all empty values
...
.
. asdoc tabstat val, stat(mean) by(cat)
cat
| val
-------------+-----------
A | 10
B | 20
C | 30
(file Myfile.doc not found)
Click to Open File: Myfile.doc
.
net install asdoc, from(http://fintechprofessor.com) replace
asdoc tabstat val , stat(mean ) by(cat) replace
Comment