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: RE: ratio function


From   "Eirik Egeland Nerheim" <[email protected]>
To   <[email protected]>
Subject   st: RE: ratio function
Date   Thu, 1 Apr 2010 14:12:12 +0200

You might be looking for something like this:
http://kb.iu.edu/data/atuo.html

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Roman Kasal
Sent: 1. april 2010 13:58
To: [email protected]
Subject: st: ratio function

dear Sir/Madam

How to come around command like this?

svy: mean(columnA)/mean(columnB)

I would like to estimate ratio of means and its standard error. How is
it possible with STATA?
It is strange that function "ratio" takes into account just pairs....but
why when "ratio" divides whole mean(columnA)/mean(columnB)? Why the
function ignores missing values? In real life is very improbable that I
have perfect paired variables.

thank you

Roman Kasal


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