Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: On the joint frequency distribution


From   Syed Basher <[email protected]>
To   [email protected]
Subject   st: On the joint frequency distribution
Date   Fri, 29 Nov 2013 22:45:52 +0300

Dear Stata Users,

I am using Stata 12.1. I have two series X and Y (2280 obs each). I
want to compute the joint frequency distribution of the two variables
(i.e., cross tabulation). First, I want to sort the variables in
ascending order. Second, I would like to divide each series evenly
into 10 bins. Finally, I want to get the joint frequency distribution
of the two series for all combination of (i,j) cells (that is, the
diagonal and off-diagonal elements). Problem is how can I do this in
Stata. Your help, hint or suggestion is highly appreciated.

Regards,
Syed Basher
Doha, Qatar
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index