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: svy: total command


From   Rebecca Pietrelli <rebecca.pietrelli@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: svy: total command
Date   Mon, 19 Nov 2012 12:49:01 +0100

Dear all,

I am using the Stata command svy: total, in order to estimate the
total number of migrants from Uganda, residing within or outside
Uganda, who remit money to their origin family.


The specific command I am using is:

. tab q518_1, gen(dremit)

(the answer to the question 5.18_1 is a label variable: yes if the
migrant remits and no otherwhise)

. svy, over(internal): total dremit1

(internal = 1 if the migrant has migrated within Uganda and 0 otherwhise).


Is this procedure correct?
Or should I use total command directly on label variable q518_1?

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