/********************* cars1.sas ***************************/ title 'Metric Cars Data'; title2 'Basic Descriptive Statistics'; data auto; infile '/home/u1407221/441s24/SAS01/mcars4b.data.txt'; input ID country $ lper100k weight length; mpg = 100/lper100k * 0.6214/0.2642; label Country = 'Location of Head Office' lper100k = 'Litres per 100 kilometers' mpg = 'Miles per Gallon' weight = 'Weight in kg' length = 'Length in meters'; proc freq; tables country; proc means; var lper100k mpg weight length; run; /* This should be the last line in every SAS program. */