1. Refer to the MANATEES data. Plot the total number of manatee deaths in each year on the vertical axis and the year on the horizontal axis. Mark these points on the plot with a T. On the same plot, show the total number of deaths attributed to humans (from all watercraft, flood gates, canal locks, and other human-related deaths) plotted against the year. Mark the human-related fatalities with the character H.
2. The Gainesville Sun recently published the following list of the 1st and 3rd quartiles of the distributions of SAT scores for freshmen admitted to the University of Florida.
Year Lower Upper
Quartile Quartile
1998 1200 1360
1997 1170 1330
1996 1170 1330
1995 1140 1330
1994 1130 1320
1993 1110 1310
1992 1140 1310
1991 1120 1290
1990 1130 1300
1989 1150 1310
Prepare a scatterplot with the lower quartile on the vertical axis versus the year on the horizontal axis. Mark these observations on the plot with the character v. On the same plot, show the upper quartile plotted against the year. Mark these points with a ^. (You may want to use this idea to show confidence intervals or prediction intervals on a plot.)
3. Refer to the IRIS data. Create labels for the variables in the dataset. Prepare three scatterplots (one for each iris species) to illustrate the relationship between sepal length and sepal width within each species. Use the UNIFORM option so that all 3 plots have the same dimensions for the X- and Y-axes. Add an appropriate descriptive title to the plots.
4. Refer to the CLINTON data. Calculate the average percent approval rating for President Clinton in each year from 1992-1998, and plot the average approval rating on the vertical axis versus the year on the horizontal axis.
5. Refer to the CATS data. Plot the GFR of the treated kidney at Week 1 on the vertical axis versus the GFR of the untreated kidney at Week 1 on the horizontal axis. Label the points on the plot with the first letter of each cat's name. Then, on the same graph, plot the GFR of the untreated kidney at Week 1 versus the GFR of the untreated kidney at Week 1 and label the points with +. Then, on the same graph, plot the GFR of the treated kidney at Week 1 versus the GFR of the treated kidney at Week 1 and label the points with +.
This scatterplot shows a line (+) that would be followed by the data if the surgically-treated kidney and the control kidney were identical after 1 week. The letters indicate how individual cats responded to the treatment.
6. Refer to the AIRPORTS data. Create a SAS dataset. Within the DATA step, create a new variable called PLOTCHAR with this command:
PLOTCHAR=BYTE(_N_+32);
Print the resulting dataset. Now, plot the 1995 passenger total versus the 1985 passenger total and label the points in the plot with the first letter of the city. On a separate graph, plot the 1995 passenger total versus the 1985 passenger total and label the points in the plot with PLOTCHAR. What advantage does the second plot have over the first plot?
7. Refer to the DOGS1 dataset. To fairly assess the effects of the three shampoo treatments, we want to see if roughly equal numbers of male and female dogs received each treatment. (For example, if only males have severe allergic reactions to the drug, we want enough males in the study to be able to see the adverse reaction occur.) Prepare a side-by-side vertical bar chart which shows the frequencies of males and females within each treatment group. Your chart should have 6 bars (2 genders X 3 treatments = 6 bars).
8. Refer to the LIMES dataset. Fruits and vegetables are sometimes classified into groups by size for sale on the market. Suppose that "extra-fancy" limes are those with diameters of at least 6 centimeters and lengths of at least 7 centimeters. Plot the fruit diameters versus fruit lengths, and insert horizontal and vertical reference lines to indicate the 6-cm mark for diameters and the 7-cm mark for lengths. Use the plot to estimate the number of "extra-fancy" limes in the sample.