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
Give e an example of..
what is sas and what are the functions? : Sas-administrator
Differences between where and if statement?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
how can you put a "trace" in your program? : Sas programming
how does sas handle missing values in assignment statements? : Sas programming
How to limit decimal places for variable using proc means?
What is run-group processing?
What are the default statistics for means procedure?
How do dates work in SAS data?
In SAS explain which statement does not perform automatic conversions in comparisons?
How do you use the do loop if you don’t know how many times you should execute the do loop?
explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di
Are you involved in writing the inferential analysis plan? Tables specifications?
what does the run statement do? : Sas programming