Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Output from tabulate to a matrix


From   "Tomas Lind" <[email protected]>
To   <[email protected]>
Subject   st: Output from tabulate to a matrix
Date   Thu, 21 Jan 2010 13:26:21 +0100

Hi listers,

This syntax-

svy : tabulate area  kon , count

produces a table like this (with 4 rows shown (fake data)).

area  men    women   Total
--------------------------
aa    1200    1300    2500
bb    1100     900    2000
cc		4500		
dd		1000
--------------------------
Total                10000  
Key:  weighted counts


Is it possible to divide all rowtotals with "totaltotal" (10000) and store
all these values in a matrix for later use? 

How can I display a specific element of the stored values?


Yours

Tomas   

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index