Hello, I am trying to create a bargraph in which a scatter plot is overlaid with a bar graph. The bar graph is supposed to represent the geometric mean, and the error bars the lower and upper confidence limits of the mean. I used scatter and vbarparm statemens to achieve that, together with a dataset with precomputed values stacked under the raw dataset. Unfortunately, the vbarparm does not seem to like having datalabel together with limitlower and limitupper, I am getting the following error (not sure where German is coming from, other messages are in English): NOTE: Die Option DATALABEL= wird im Fehlerbalken nicht unterstützt. Das Etikett wird nicht erstellt. This is odd as the documentation indirectly implies that the options are compatible: If you also specify LIMITLOWER or LIMITUPPER, then the limit labels are also shown. Prior to SAS 9.4M5, limit labels are shown when you use DATALABEL or DATALABEL=variable with the limit options. Starting with SAS 9.4M5, limit labels are shown only when you use DATALABEL (without a variable). Here is the example code: proc summary data=sashelp.cars noprint nway;
var msrp;
class Origin Make;
output out=cars_summary mean= uclm= lclm= /autoname;
run;
data for_plot;
set sashelp.cars cars_summary;
run;
proc sgpanel data=for_plot;
panelby Origin /layout=columnlattice;
vbarparm category=Make response=MSRP_Mean / datalabel limitlower=MSRP_LCLM limitupper=MSRP_UCLM;
scatter x=Make y=MSRP/ jitter;
run; Is this supposed to work? If not, how can I overlay the geometric mean values on top of the panel?
... View more