Hello, everyone. Can someone help me fix this code? I am trying to summarize data by the following variables: age group, county, year admitted admissionmonth, race, and sex. Below is a snippet of the data. proc sql number;
create table rr as
select distinct AdmissionMonth, AgeGroup, County, Ethnicity, Race, HealthOutcomeID, MonthlyHosp,
Sex, ADYEAR,
count (case when ASTHMA_FLAG=1
from count_Asthma
group by AdmissionMonth, AgeGroup, County, Ethnicity, Race, HealthOutcomeID, MonthlyHosp,
Sex, ADYEAR;
quit;
... View more