Question: 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

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). Write five proc steps using statistical graphics (sg) procedures in the same SAS program (or separate SAS programs) to access the world SAS data set and produce the following plots:

a. Scatterplot of crude birth rate against per capita GNP identifying each point by the country name. (Use markerattrs= option on the scatter statement to select the color, symbol, and size of the marker symbol and data labels)

b. Histogram of life expectancy with bins staring at 30 with binwidth of 4. The variable on the vertical axis must be the frequencies (counts).

c. Simple linear regression of life expectancy against crude birth rate showing confidence and prediction bands.

d. Scatterplot matrix of the four variables crude birth rate, crude death rate, infant mortality, and life expectancy identifying each point by technology group.

e. Obtain a dot plot of the Lifeexp variable to display life expectancy per country with countries for each technology group in separate panels (one panel per row). (Use rowaxis statement to control the color and size of the labels on the category variable axis.)

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 Categorical Data Analysis Questions!