| Date: | Fri, 20 Aug 2010 09:14:27 -0500 |
| Reply-To: | "Data _null_;" <iebupdte@GMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Data _null_;" <iebupdte@GMAIL.COM> |
| Subject: | Re: Compare Data - Basic Question |
|
| In-Reply-To: | <5B1372272ABB7B4DB178622784D52BC1084917A690@MOR-EXMBPRD01.bvnet.bv> |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Regards of what the others have suggested I would use PROC COMPARE;
it provides options for tuning the comparison of numeric values when
small difference are acceptable. There are also options for
outputting the differences.
proc compare data=<data> out=... other options.
var v1;
with v2;
run;
On 8/20/10, Ricardo Gonçalves da Silva
<rgs.rsilva@bancovotorantim.com.br> wrote:
> Hi,
>
> I want to compare V1 with V2 observation by observation.
>
> Thanks
>
> Rick
>
>
> -----Mensagem original-----
> De: Data _null_; [mailto:iebupdte@gmail.com]
> Enviada em: sexta-feira, 20 de agosto de 2010 09:32
> Para: Ricardo Gonçalves da Silva
> Cc: SAS-L@listserv.uga.edu
> Assunto: Re: Compare Data - Basic Question
>
> Do you want to compare levels, discrete values, in V1 vs V2 or do you want to
> compare V1 with V2 observation by observation? Or something else?
>
> Example data and example results always help.
>
> On 8/20/10, Ricardo Gonçalves da Silva
> <rgs.rsilva@bancovotorantim.com.br> wrote:
> > Hi,
> >
> > My table have two numeric variables V1 and V2.
> > I would like to compare both in order to know which values I have in V1
> > which isn't in V2.
> >
> > Since the table is VERY big, what's the best way to implement this simple task?
> >
> > Thanks
> >
> > Rick
> >
> >
> > Esta mensagem e seus anexos podem conter informações confidenciais ou privilegiadas. Se você não é o destinatário dos mesmos você não está autorizado a utilizar o material para qualquer fim. Solicitamos que você apague a mensagem e avise imediatamente ao remetente. O conteúdo desta mensagem e seus anexos não representam necessariamente a opinião e a intenção da empresa, não implicando em qualquer obrigaçâo ou responsabilidade da parte da mesma.
> > This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. The contents of this message and its attachments do not necessarily express the opinion or the intention of the company, and do not implies any legal obligation or responsibilities from this company.
> >
> Esta mensagem e seus anexos podem conter informações confidenciais ou privilegiadas. Se você não é o destinatário dos mesmos você não está autorizado a utilizar o material para qualquer fim. Solicitamos que você apague a mensagem e avise imediatamente ao remetente. O conteúdo desta mensagem e seus anexos não representam necessariamente a opinião e a intenção da empresa, não implicando em qualquer obrigaçâo ou responsabilidade da parte da mesma.
> This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. The contents of this message and its attachments do not necessarily express the opinion or the intention of the company, and do not implies any legal obligation or responsibilities from this company.
>
>
|