[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Sum of variables with missing values
From
Eldon Spackman <[email protected]>
To
[email protected]
Subject
Re: st: Sum of variables with missing values
Date
Wed, 8 Apr 2009 14:48:31 -0700 (PDT)
You could replace missing values with the value 0.
Eldon
On Wed, 8 Apr 2009 [email protected] wrote:
Dear statalist,
I have to make this operation:
gen capscore= quality+newequip+intrd+skilltrai+skilled+edu+traiprog
I have several missing values in the different variables.
I would like to proceed with the sum (forgetting missing values), what may
I do?
For instance, if I have one of the 7 variables that have missing values, I
woul like to see the result of the sum of the other 6.
Thanks and regards,
Alejandra Molina
*
* 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/
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |