Dear All, I have been trying to make a map using MAPS in SAS studio, but it appears it is broken. I think an alternative is the MAPSGFK.US_COUNTIES, for which I am not familiar on its usage and I have been trying to make a map on US States based on the following quartiles. The code and data I used is below: * Calling the into SAS and creating a permanent library for it; libname final "/home/augustinetarkom0/my_courses/"; FILENAME exam2 "/home/augustinetarkom0/my_courses/RISKFACTORSANDACCESSTOCARE.csv"; PROC IMPORT DATAFILE = exam2 DBMS = CSV OUT = final.exam2; GETNAMES = YES; RUN; * This is to printout the content of the raw data; title "Listing of the content of the raw data"; PROC CONTENTS DATA = final.exam2; RUN; * Here, I print the last 10 observations of the raw data that is uncleaned; title "Listing of first 10 Observations of the Raw uncleaned data"; proc print data = final.exam2 (obs = 10); run; * Cleaning the data; data final; set final.exam2; array a(*) _numeric_; do i = 1 to dim(a); if fuzz(a(i)) in (-1111.1,-2222,-2222.2) then a(i) = .; end; drop i; run; title "Listing the First 10 obs of the cleaned data"; proc print data = final (obs = 10); run; * Quartiles Calculations; title "Table 1"; title2 "Listing of Quartiles"; proc means data = final StackODSOutput P25 P50 P75 nway; var No_Exercise Few_Fruit_Veg Obesity High_Blood_Pres Smoker Diabetes Uninsured Elderly_Medicare Prim_Care_Phys_Rate Dentist_Rate; ods output summary = quart; run; proc print data = quart(rename = (P25 = Q1 P50 = Median P75 = Q3)); run; * fill patterns for the map areas (gray-scale fills); pattern1 v = s c = grayff; pattern2 v = s c = grayda; pattern3 v = s c = grayaa; pattern4 v = s c = gray68; proc GPROJECT data=mapsgfk.us_counties out=mystates degrees eastlong latlong; id state; run; Can anyone assist me on how to make the a US map with the QUARTILES calculated above? Thank you very much tarkom
... View more