Statalist


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

st: RE: AW: adding ammounts


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: AW: adding ammounts
Date   Wed, 22 Apr 2009 16:30:41 +0100

Martin gave good advice on Ana's first question. 

Ana's second question looks unanswerable to me without some exact
specification of of her data and what she typed. 

Nick 
n.j.cox@durham.ac.uk 

Martin Weiss

Much rides on the form of your data. If you could give an excerpt, that
would be great. Look at -egen, rowtotal()-, -egen, total()- and the -by-
prefix for solutions. Also, as always in such cases, Nick`s
http://www.stata-journal.com/sjpdf.html?articlenum=pr0004

Ana Gabriela Guerrero Serdan

I am trying to caluculate the total income value for each household in a
survey. I have around 30 categories of income. 

Is there a simple way to do so? 

I am using the + operator and Stata reports only zeros. Do you know why?



*
*   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   |   What's new   |   Site index