Hello, I am getting a Proc Means error that the variables cannot be found. (Errors in image 1). I have run the Proc Contents to verify the variable names (Image 2). I have tried running this with and without the ClassData argument. CAR_10, CAR_01, etc are all variables that I would like to compute the means for (each variable's mean individually). Ideally, I would like to do this by the variable "Type" in the dataset "biotech_list" (Image3). Can someone tell me what I'm doing wrong? /* Mean CARs for all mergers */
data temp.FirmLevelCars_sort; set temp.FirmLevelCars_sort;
run;
proc means data=temp.FirmLevelCars_sort nway noprint;
classdata=stat.biotech_list; by type;
var car_01 car_11 car_10 car_02 car_05;
label car_01 = '(0,1)';
label car_11 = '(-1,1)';
label car_10 = '(-1,0)';
label car_02 = '(0,2)';
label car_05 = '(0,5)';
title 'Table 2 Panel B';
run;
... View more