Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write SAS codes to compare two datasets. Suppose the
allowable difference is 0.1.

Answers were Sorted based on User's Feedback



Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1...

Answer / kumar

0.1 diff can be achieved by using criterion= option in
compare.

Is This Answer Correct ?    3 Yes 0 No

Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1...

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

Post New Answer

More SAS Interview Questions

what is snowflake schema? : Sas-di

0 Answers  


List out some key concept of SAS

0 Answers  


how does sas handle missing values in assignment statements? : Sas programming

0 Answers  


What are the differences between sum function and using “+” operator?

0 Answers  


Give some ways by which you can define the variables to produce the summary report (using proc report)?

0 Answers  


what are different type of sas servers ? On which server does the sas code execute ?

4 Answers   TCS,


What is a pdv and what are its functions?

0 Answers  


what is the use of proc contents and proc print in sas? : Sas-administrator

0 Answers  


what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?

36 Answers   Accenture, College School Exams Tests, CTS, IBM, IHRD, Infosys, Sylhet Engineering College, TCS, Wipro,


/* This is example of age caluculate wihtout to display perfect days and years in output window */ data age; retain dob "12jun2003"d now "24may2011"d; age1=now-dob; age=(now-dob)/365.25; years=int(age); days1=round((age-years)*365.25); months=month(now)-1; if days1 gt 30 and months in(12,10,8,6,4,2)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month)*30.4375)+1; drop days1 month1 month; end; else if days1 gt 30 and months in (1,3,5,7,9,11)then do; month1=days1/30.4375; month=int(days1/30.4375); if day(now)=1 then days=1; else days=round((month1-month) *30.4375); drop days1 month1 month; end; drop age age1; proc print data=age; format dob now date.; run;

1 Answers   Emerio,


Did you used proc lifetest? when?

2 Answers   Accenture, Parexel, Quintiles,


Mention few ways with which a “table lookup’ is done in sas programming.

1 Answers  


Categories