Question: Using SAS programming: The three variables and their types are shown below: Customer _ id $ , Order _ month, and Sale _ amt 1

Using SAS programming:
The three variables and their types are shown below: Customer_id $, Order_month, and Sale_amt
1) Write a macro with the %LET statement to find the sales amounts when the month=1(of the Order_month variable) and make sure it has a title that references the macro you wrote in terms of the month selected (something like Orders for ...).
2) Next, write another macro that uses %MACRO and %MEND to create a program that will use a PROC PRINT to print the sales amounts (so the var statement will be Sale_Amt) and a PROC MEANS to generate the mean Sale_Amt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!