Project 7

Contents Index <<Browse<< >>Browse>>


Proc gplot and proc g3d are used here to produce some relatively simple graphs.

1. The file skin.dat contains data on skin cancer incidence per 100,000 and sunspot activity. The structure of each line in the file is: Year Male Total Sunspot, where Male is the incidence of skin cancer in males, Total is the incidence of skin cancer in the total population, and Sunspot is a measure of sunspot activity. Turn in a single graph showing a nice plot of the Male versus Year data and the Total versus Year data using a different line style for the male and total data. Use the /overlay option of proc gplot.

2. Make a nice line graph of Male versus Year and Sunspot versus Year on the same graph using two different vertical axes for the two measurements.

3. Make a nice graph of the Total versus Year and Sunspot versus Year data on the same graph with a single vertical axis, this time with a line graph for Total and a needle graph for Sunspot.

4. The file tomato.dat contains the yield of tomato plants grown in 5 different types of soil with 3 different types of fertilizer. Use proc g3d to make a plot of yield as a function of soil and fertilizer. Does a 2 factor additive model for yield as a function of soil and fertilizer make sense here?


Contents Index <<Browse<< >>Browse>>

Copyright © 1997 by Jerry Alan Veeh. All rights reserved.