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
How is character variable converted into numeric variable and vice versa?
Explain the purpose of substr functions in sas programming.
Where do you use proc means over proc freq?
explain what is data set in sas? : Sas-administrator
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
explain the function of substr in sas? : Sas-administrator
What are the functions used for character handling?
what are the scrubbing procedures in sas? : Sas programming
Give an example where SAS fails to convert character value to numeric value automatically?
For what purpose would you use the RETAIN statement?
What is the purpose of trailing @ and @@? How do you use them?
What is the difference between INPUT and INFILE ?
What is your favorite all time computer book? Why?
How would you include common or reuse to be processed along with your statements?
explain the proc in sas? : Sas-administrator