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 |
who is the best SAS clinical Trainer in Hyderabad?
If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro
calculate the sum of value using only DATA STEP. data count_; input year name $ value; cards; 2006 xxx 10 2007 yyy 12 2006 xxx 20 2008 yyy 15 2007 xxx 15 ; out put should be like this year name T_value ----------------------- 2006 xxx 30 2007 xxx 15 2007 yyy 12 2008 xxx 15
Mention what is the difference between nodupkey and nodup options?
What is instream data in SAS?
How would you code a merge that will keep only the observations that have matches from both sets.
5 Answers Accenture, Bank Of America,
How to do user inputs and command line arguments in SAS? D&B
Explain the purpose of substr functions in sas programming.
which date function advances a date, time or datetime value by a given interval? : Sas programming
Hi, If anyone has base SAS certification dumps, please share.
Explain the use of proc gplot? : sas-grid-administration
How would you invoke a macro? : sas-macro