>>> [email protected] 02/20/04 02:49pm >>>
How I can add two variables without consider missing-values?
A simple solution would be to replace missing values with zero and back to missing values after you have done your adding up. If you have very many variables, you can use a loop to execute that. Otherwise, experts in Stata will surely know of a shortcut to ask stata to ignore missing values.
Dev
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/