Search the site...

SASCRUNCH TRAINING
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
  • Home
  • Member's Area
  • How to Start
  • SAS Interface
  • Creating a Data Set
  • Practical SAS Training Course
  • SAS Certified Specialist Training Program
  • Proc SQL Course
  • Introduction to Time Series Analysis
  • SAS Project Training Course
  • Full Training / Membership
  • Sign up
  • About us
  • Contact us
Sentry Page Protection
Please Wait...
Exercise (1-2)

Please review the code below:

proc means data=sashelp.shoes sum maxdec=0;
var sales;
class product;
where region = "Africa";
run;


Modify the code so that the region (i.e. Africa) and the statistics (i.e. Sum) can be dynamically assigned instead of being hardcoded.

Which product has the highest total sales in Canada and how much was the sales?

Next
Already a member? Go to member's area.