When I try to replicate this in v9.4 with the same code: proc sgpanel data=murdock.test;
panelBy sex;
vbarparm category=age_group response=meanNP / group=wave groupdisplay=cluster
limitlower=lowNP limitupper=topNP;
run; receive this error msg: 71 proc sgpanel data=murdock.test;
72 panelBy sex;
73 vbarparm category=age_group response=meanNP / group=wave groupdisplay=cluster
------------
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, ATTRID, BARWIDTH, CLUSTERWIDTH, DATALABEL, DATALABELATTRS,
DATASKIN, DISCRETEOFFSET, FILL, FILLATTRS, GROUP, GROUPORDER, LEGENDLABEL, LIMITATTRS, LIMITLOWER, LIMITUPPER,
MISSING, NAME, NOFILL, NOOUTLINE, OUTLINE, TRANSPARENCY, URL.
ERROR 76-322: Syntax error, statement will be ignored.
74 limitlower=lowNP limitupper=topNP;
75 run;
71 proc sgpanel data=murdock.test;
72 panelBy sex;
73 vbarparm category=age_group response=meanNP / group=wave groupdisplay=cluster
------------
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, ATTRID, BARWIDTH, CLUSTERWIDTH, DATALABEL, DATALABELATTRS,
DATASKIN, DISCRETEOFFSET, FILL, FILLATTRS, GROUP, GROUPORDER, LEGENDLABEL, LIMITATTRS, LIMITLOWER, LIMITUPPER,
MISSING, NAME, NOFILL, NOOUTLINE, OUTLINE, TRANSPARENCY, URL.
ERROR 76-322: Syntax error, statement will be ignored.
74 limitlower=lowNP limitupper=topNP;
75 run;
If I try PROC SGPANEL w/ VBAR, the excellent bar graph appears, but without error bars. proc sgpanel data=murdock.pals_v1_v2_phys_perf;
panelBy sex;
title1 font="helvetica/bold"
'PALS Usual Gait Speed (Age Group by Visit by Sex)';
vbar age_group / response=normal_pace groupdisplay=cluster dataskin=matte
group=wave stat=mean limitstat=stddev;
run; Thanks, Andy
... View more