Question: Using SAS programming language: Explain a data step that uses at least two SAS functions. Type it in SAS Studio and copy and paste it
Using SAS programming language:
Explain a data step that uses at least two SAS functions. Type it in SAS Studio and copy and paste it here. You can use an existing data set in the sashelp library or you can use raw data that you have created. Be sure to explain what each SAS function is doing.
Example (DO NOT COPY this EXAMPLE):
data counties; retain city statecode city_state; set sashelp.zipcode; City = upcase(City); City_State = catx(" ",city,statecode); run;
Using here the upcase function to capitalize all the city names. I am using the catx function to concatenate the city and state together.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
