Write SAS codes to compare two datasets. Suppose the
allowable difference is 0.1.
Answers were Sorted based on User's Feedback
Answer / kumar
0.1 diff can be achieved by using criterion= option in
compare.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / reshma
Proc compare to compare to datasets with respect to all
variables.
proc sort data= data1 ;
by var1;
run;
proc sort data= data2 ;
by var1;
run;
Proc comapre base=data1 compare=data2;
run;
don't know abt 0.1 diff
| Is This Answer Correct ? | 5 Yes | 4 No |
what is information maps?
explain about various caches available in data integrator? : Sas-di
What is the purpose of using the N=PS option?
Explain the message ‘MERGE HAS ONE OR MORE DATASETS WITH REPEATS OF BY VARIABLE’.
what is the effect of the options statement errors=1? : Sas programming
how do you pull data from equifax?tell me the process?
0 Answers Synchrony Financial,
What is the basic structure of the SAS base program?
In SAS how to read the variable values having different formats. eg:mar99,mar1999 (in a single variable)
8 Answers GSK GlaxoSmithKline,
what are input dataset and output dataset options?
if we dont want to print output what we have to do..???give syntax..???
8 Answers Accenture, GSK GlaxoSmithKline,
/* To determine the maximum and minimum of V1 */ data before3; input v1 v2 v3; cards; 3 2 1 4 6 5 2 1 3 6 5 4 1 3 2 5 4 6 ; run;
how to add distinctly var variable values ex.. Data a; input var; datalines; 0 1 2 3 -1 -2 -3 ; run; adding all +ve value in one varibale n do the same for -ve too