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...

In the SAS Data step what is the difference between the
subsetting done by Where and subsetting done by If?

Answer Posted / govardhan bandari

IF-Works With New Variable
Where- Cant work With New Variables

IF-Works After PDV
Where-Works Before PDV

IF-in backend if process all the variable and it gives output based on condition
BUT
Where-process only conditionally met obseravtions

IF-Cant work with proceduers(except proc report with compute statement)
WHERE- work with proceduers

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give e an example of..

2050


what is sas and what are the functions? : Sas-administrator

941


Differences between where and if statement?

1033


How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro

1004


how can you put a "trace" in your program? : Sas programming

1015


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

988


How to limit decimal places for variable using proc means?

1061


What is run-group processing?

1105


What are the default statistics for means procedure?

1187


How do dates work in SAS data?

1138


In SAS explain which statement does not perform automatic conversions in comparisons?

1279


How do you use the do loop if you don’t know how many times you should execute the do loop?

1229


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

1017


Are you involved in writing the inferential analysis plan? Tables specifications?

3911


what does the run statement do? : Sas programming

1009