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 on April 23, and its replacement, statalist.org is already up and running.


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

st: Test for the difference between two ratios


From   Marcos Sanches <msanches35@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Test for the difference between two ratios
Date   Tue, 25 Oct 2011 09:14:32 -0400

Hi all,

This might be a simple question but I did not manage to find the
answer to it. I have two variables, say X and Y, so I calculated the
ratio:

svy: ratio x/y
svy: ratio x/y if gender ==1
svy: ratio x/y if gender ==2

Now, what I want to do is to test whether this ratio is the same for,
say, males and females. I would be grateful if someone could shed some
light on how to do this..

Thanks a lot!

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