BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
himalayancat
Fluorite | Level 6

hi all,

 

proc compare base=adata compare=cmpnew2.bdata
outdiff outnoequal listequalvar listcompvar
listbasevar
method=absolute
criterion=0.001
out=outfile;
run;

 

****************

i researched alot of criterion,but nowhere i found what exactly criterion means in layman terms.

 

my understanding is  when

a=2.005

b=2.004

the differance is 0.001.

so ,we are telling sas ,hey don't bother this 0.001 differance and consier it as equal. is that so??

 

and,

when it was exactly match for numeric value earlier say 

a=2

b=2

then ,

it would so all 0, now with criterion it shows 'E'.

what does this 'E' mean??

 

 

Thank You,

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisNZ
Tourmaline | Level 20

1. my understanding is  when a=2.005 b=2.004 the differance is 0.001. so ,we are telling sas ,hey don't bother this 0.001 differance and consier it as equal. is that so??

That's correct if method=absolute.

 

2. I don't recall seeing a E before. Please give more information.

View solution in original post

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

1. my understanding is  when a=2.005 b=2.004 the differance is 0.001. so ,we are telling sas ,hey don't bother this 0.001 differance and consier it as equal. is that so??

That's correct if method=absolute.

 

2. I don't recall seeing a E before. Please give more information.

ChrisNZ
Tourmaline | Level 20

This is a duplicate of this.

Marking as spam to avoid duplicates. Don't do this.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2513 views
  • 0 likes
  • 2 in conversation