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
what is sas data set?
What are the default statistics that proc means produce?
How do dates work in SAS data?
Tell e how how dealt with..
What are the functions which are used for character handling functions?
what does the run statement do? : Sas programming
Mention how to limit decimal places for the variable using proc means?
What is the difference between %put and symbolgen? : sas-macro
Describe a time when you were really stuck on a problem and how you solved it?
How do you test for missing values?
How can I remove header from output data set?
Explain the main difference between the sas procedures and functions? : Sas-administrator
What is proc sort?
what is program data vector? : Sas-administrator
What makes sas stand out to be the best over other data analytics tools?