| Date: | Thu, 14 Aug 2008 01:10:50 -0700 |
| Reply-To: | shashi <shashi2707@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | shashi <shashi2707@GMAIL.COM> |
| Organization: | http://groups.google.com |
| Subject: | gcd for non-missing values |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
Hi,
Here I have a query. My data looks like
a b c d
2 . 3 6
10 14 . 24
. 10 30 .
I want gcd as another column which contains gcd for nonmissing values
for each row. i.e.,
a b c d gcd
2 . 3 6 1
10 14 . 24 2
. 10 30 . 10
Could anybody suggest me on this?
|