SAS PROJECT

profileguanqing

INFILE CARS.SAS7BDAT;

subset the data only include brands acura,ford,honda,subaru,and toyota;

sort the data by brand, automatic,and cylinders;

use proc means to get summary data for the variables citympg,hwympg,enginesize, by brand automatic and cylinders;

use ods trace to find the table name and ods output to assign the output table to a new dataset;

proc print the summary dataset,with a label statement and a format statement for the ouput variables, to improve the look of the output.

copy sas code and output  to word 

  • 7 years ago
  • 80
Answer(0)