Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Combining Frequency Tables


From   Oren Jalon <oren@mentor-initiative.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Combining Frequency Tables
Date   Tue, 01 Jun 2010 16:09:05 +0200

Not quite. For example, if Var X has 100 records and Var Y has 200 records where Var X has #6 twenty times and and Var Y has #6 ten times, the frequency of the variable would be:

(20+10) /(100+200) = 30/300 or 0.1

I guess 'table' is the wrong term. I need the combined frequency of two variables. Does this make sense?

Thanks,

Oren


On 6/1/2010 3:00 PM, Maarten buis wrote:
--- Oren Jalon wrote:
I have two variables (Var X and Var Y) which both have values ranging
from 1 to 9.  I can tabulate the frequency of values from each variable
individually but is there a way to combine all the values and get a
combined frequency table?
-tab x y- will give you a cross tabulation, which is I suppose what
you mean with a "combined frequency table". For more see: -help tab2-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------




*
*   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/

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index