Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

This is a sas imitation/enhancement of the graph on p.15 of the following doc:
http://sww.sas.com/~realliso/democd17/ICC_Exhibits_AllRevised_Less.ppt

This starts out as a simple scatter plot, and then adds on some neat (and
sometimes tricky) extras...

The symbol shapes & colors are controlled by 'symbol' statements.
The small black dots are simple/normal symbols, and the larger blue
symbols are characters from the 'marker' and 'special' sas/graph
software fonts.

Since sas 'proc sql' doesn't calculate the median, I calculate the
mean for the risk & return instead.  I save these into macro variables,
and then use them as the red href and vref lines in the gplot, and 
I annotate the values onto the lines.

To get the table below the graph, I use annotated text/labels.  
I line up the columns using the annotate position= variable, to 
left-justify, right-justify, and center the text.

Back to Samples Index