Good work! Can an option to generate tables in TeX be added?
-
Login or Register
- Log in with
asdoc table workplace smokes race, by(sex) c(mean prob n pop) tzok row replace sex (32 observations deleted) ---------------------------------------------------- Dustiness | Race and Smokes of | ------ other ----- ------ white ----- workplace | no yes no yes ----------+----------------------------------------- least | .0020325 .0030612 .0077802 .0194138 | 4 4 5 4 | less | .0069444 .0045351 .018559 .0141844 | 3 4 5 3 | most | .07 .1115747 . . | 3 4 . 1 | Total | .0187737 .0429226 .0131696 .0171726 | 10 12 10 8 ---------------------------------------------------- astable(): 3301 subscript invalid <istmt>: - function returned error r(3301);
sysuse nlsw88 asdoc table industry south married , c(n wage mean wage sd wage) row col replace
. asdoc table industry south married , c(n wage mean wage sd wage) row col replace -------------------------------------------------------------------------------------- | married and lives in south | ---------- single ---------- ---------- married --------- industry | 0 1 Total 0 1 Total ------------------------+------------------------------------------------------------- Ag/Forestry/Fisheries | . 3 3 9 5 14 | . 2.339072 2.339072 6.132845 6.669248 6.324417 | . .4664714 .4664714 3.315386 3.084026 3.124395 | Mining | 3 . 3 . 1 1 | 17.24014 . 17.24014 . 9.677936 9.677936 | 19.89609 . 19.89609 . . . | Construction | 4 8 12 7 10 17 | 7.94864 8.14834 8.081773 5.285298 8.540472 7.200106 | 3.413319 2.402194 2.619027 1.900588 8.032533 6.354126 | Manufacturing | 89 73 162 112 93 205 | 8.833642 6.345379 7.712388 8.565445 5.853144 7.334987 | 5.80576 3.866272 5.162436 6.032962 4.460701 5.532619 | Transport/Comm/Utility | 31 12 43 34 13 47 | 12.04227 11.90651 12.00438 11.37165 9.775175 10.93007 | 7.115003 9.340002 7.681842 4.291639 4.140745 4.266955 | Wholesale/Retail Trade | 70 56 126 122 85 207 | 7.03069 5.77359 6.471979 6.385848 5.239774 5.915238 | 6.719845 6.845956 6.777989 4.594006 4.494423 4.577424 | Finance/Ins/Real Estate | 48 10 58 77 57 134 | 10.27306 14.80551 11.05452 9.641628 8.882838 9.318859 | 8.238971 11.91625 9.02081 8.706106 6.980108 7.998027 | Business/Repair Svc | 18 10 28 39 19 58 | 6.528289 3.828125 5.563944 9.253201 6.825929 8.458061 | 4.179373 1.106867 3.625211 8.452779 3.579834 7.28014 | Personal Services | 26 23 49 22 26 48 | 5.21605 3.444807 4.38465 4.599596 4.264118 4.417879 | 4.086683 1.299436 3.204685 1.93248 1.790133 1.844368 | Entertainment/Rec Svc | 3 6 9 4 4 8 | 9.681746 6.949812 7.860456 5.978025 4.914684 5.446355 | 5.969273 4.032128 4.575501 3.10937 3.736009 3.232408 | Professional Services | 134 100 234 352 238 590 | 9.447906 7.176556 8.477243 7.991952 7.096702 7.630817 | 6.620956 4.943632 6.055987 4.613311 4.717637 4.67241 | Public Administration | 37 34 71 57 48 105 | 9.059635 9.889779 9.457169 9.510747 8.261418 8.939625 | 2.387472 6.563184 4.838682 5.91685 4.066081 5.168537 | Total | 463 335 798 835 599 1,434 | 8.880502 7.053103 8.11336 8.144785 6.840288 7.59988 | 6.544851 5.91092 6.347179 5.668725 4.920767 5.40564 -------------------------------------------------------------------------------------- Click to Open File: Myfile.doc
net install asdoc, from(http://fintechprofessor.com) replace
Comment