@Reeza , so in order to get this pie chart I need a variable that consists of the different average values which will make up the pie "slices," yes? I know how to compute the averages, but how do I create a variable that consists of just those values so that I can do the pie chart? Here's where i'm at: libname practice "~/425/425_Final_Paper";
*import compustat dataset;
PROC IMPORT out=practice.CompuStat_Execucomp
datafile="~/425/425_Final_Paper/CompuStat_Execucomp.csv" DBMS=CSV replace;
getnames=yes;
guessingrows=2000;
run;
proc contents data=practice.CompuStat_Execucomp;
run;
proc means data=practice.CompuStat_Execucomp;
var salary;
output out=avg mean=avg_salary;
run;
proc means data=practice.CompuStat_Execucomp;
var bonus;
output out=avg mean=avg_bonus;
run;
proc means data=practice.CompuStat_Execucomp;
var option_awards;
output out=avg mean=avg_optionawards;
run; Again, I want to show the composition of CEO compensation, broken down into just these three or maybe 4 or 5 (if I include other measure) categories.
... View more