Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: relative frequency in tables


From   Paolo Grillo <paolo.grillo@guest.unimi.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: relative frequency in tables
Date   Mon, 21 Nov 2005 08:56:05 +0100

Nick,
I found the command tab3way - findit tab3way- that is exactly what I wanted.
This command looks more elegant than stratification.
Thanks
Paolo Grillo

Nick Cox wrote:
sysuse auto
gen himpg = mpg > 20 
bysort himpg : tab for rep78, row col 

Nick 
n.j.cox@durham.ac.uk 

Paolo Grillo
 
  
I need to build a table with three variables (one row, a col and a 
supercol) and I would like to put in each cell the frequency, the 
relative frequency within its row and within its column of 
each cell, as > it is possible in a -tabulate- twoway. 
    

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

__________ Informazione NOD32 1.1295 (20051120) __________

Questo messaggio  è stato controllato dal Sistema Antivirus NOD32
http://www.nod32.it



  


* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/



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