PROC REPORT to calculate one variable by another

Reply
Occasional Contributor
Posts: 12

PROC REPORT to calculate one variable by another

Hi I would like to be able to calculate the population in each county FIPS by race:

proc report data = population NOWINDOWS HEADLINE HEADSKIP split='*' ;

format POP COMMA10.;

define State / 'State*Name';

define FIPS / 'County*FIPS';

define race/ ACROSS;

run;

Ask a Question
Discussion stats
  • 0 replies
  • 137 views
  • 0 likes
  • 1 in conversation