I ran this code:
DATA marker_map;
input id $2. VALUE $7. MARKERSYMBOL $5. MARKERCOLOR $6.;
VALUE = strip(value);
DATALINES;
ms Male X blue
ms Female plus green
;
run;
PROC SGPANEL data= death_1 dattrmap=marker_map;
panelby Age_group;
SCATTER Y = COVID_19_Deaths X = Total_Deaths / group =Sex attrid=ms;
RUN;
And for some reason it runs the proc sgpanel BUT it doesn't want to read attrid=ms. It keeps returning with the warning: Invalid attrid "MS" specified. The attrid will be ignored.
What am I doing wrong?
Provide the contents of your Dattrmap dataset marker_map.
If you do not have id "ms" that is the primary issue.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.