<>
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
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Ana Gabriela
Guerrero Serdan
Gesendet: Mittwoch, 22. April 2009 17:23
An: stata listserve
Betreff: st: adding ammounts
Dear all,
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?
thanks,
gaby
*
* 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/