1. Will the following SAS code results in an output dataset or a results viewer? Proc means data=cashvolatility noprint;
var cash;
by year;
output out=means mean=avgcash std=stdcash;
run; No to output dataset, yes to results viewer No to both Yes to output dataset , no to results viewer Yes to both 2. If this sample includes company information for years 2001 to 2010, how many observations would be included in an output dataset (if one exists)? Use the following SAS code: Proc means data=cashvolatility noprint;
var cash;
by year;
output out=means mean=avgcash std=stdcash;
run; 100 10 Unknown because we do not know how many companies are in the initial dataset 1 3. What does mean=avgcash do in the following SAS code? Proc means data=cashvolatility noprint;
var cash;
by year;
output out=means mean=avgcash std=stdcash;
run; Requires only the output to include the mean of cash Takes the average of cash holdings Renames the variable representing mean of cash to avgcash Ensures that the mean of cash is measured as the average of cash Reference the following SAS code: Data Cash; Set Leverage;
Run; 4. Was a new dataset created by this line? If so what is the dataset name? No Yes, Leverage Yes, Cash Yes, Data
... View more