Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: algebraic with missings


From   "Roberto De Miguel" <rdemi@indec.mecon.gov.ar>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: algebraic with missings
Date   Tue, 18 Nov 2003 10:24:38 -0300

Dear statalisters,
  
To solve an equation of the type:  
  
p = a + b + c  
  
where a, b or c can be missing,  
I use the following sentence:  
  
egen p = rsum (a b c)  
  
But now I want to solve:  
  
q = a + b - c  
  
How can I do that?
  
Thank you in advance,  
  
Roberto


*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index