Question: Use the world SAS data set and proc sgplot to obtain horizontal bar charts showing the means of the per capita GNP variable for each
Use the world SAS data set and proc sgplot to obtain horizontal bar charts showing the means of the per capita GNP variable for each of the two groups of countries with level of technology defined by the Techgrp variable. Subdivide each bar into the three groups, defined by the Infgrp variable. Use the keylegend statement to position the legend in the topright corner inside the outline. To make room for the legend includes the statement yaxis offsetmin=.2; in your proc step. Use appropriate user-defined formats for all grouping variables. For this problem, assume that the world SAS data set created in Exercise 2.14 is available (otherwise, you may create this data set by executing SAS code as described in that exercise).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
