Dear Statalisters:
I have a dummy variable "small_profit" and use the -tabulate- command
for several countries (see output excerpt below).
bysort country: tabulate small_profit
-------------------------------------------------------------------------------------------------------------------
-> country = AUS
small_profi |
          t |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |      2,651       56.52       56.52
          1 |      2,039       43.48      100.00
------------+-----------------------------------
      Total |      4,690      100.00
I am looking for a way to get the ratio: number of "1"/number of "0".
I read the help of -tabulate- and -table- but did not find a solution. 
Would you have any thoughts?
Best regards
Hervé Stolowy
***********************************************************
Professeur/Professor
HEC Paris
Département Comptabilité Contrôle de gestion / Dept of Accounting and
Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
mail: stolowy at hec dot fr
web: http://www.hec.fr/stolowy
*
*   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/