1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
70
71 /********************* cars1.sas ***************************/
72 title 'Metric Cars Data';
73 title2 'Basic Descriptive Statistics';
74
75 data auto;
76 infile '/home/brunner0/441s20/mcars4b.data.txt';
77 input ID country $ lper100k weight length;
78 mpg = 100/lper100k * 0.6214/0.2642;
79 label Country = 'Location of Head Office'
80 lper100k = 'Litres per 100 kilometers'
81 mpg = 'Miles per Gallon'
82 weight = 'Weight in kg'
83 length = 'Length in meters';
84
NOTE: The infile '/home/brunner0/441s20/mcars4b.data.txt' is:
Filename=/home/brunner0/441s20/mcars4b.data.txt,
Owner Name=brunner0,Group Name=oda,
Access Permission=-rw-r--r--,
Last Modified=11Dec2019:18:55:08,
File Size (bytes)=4200
NOTE: 100 records were read from the infile '/home/brunner0/441s20/mcars4b.data.txt'.
The minimum record length was 40.
The maximum record length was 40.
NOTE: The data set WORK.AUTO has 100 observations and 6 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 763.28k
OS Memory 27560.00k
Timestamp 01/08/2020 03:22:23 PM
Step Count 24 Switch Count 2
Page Faults 0
Page Reclaims 190
Page Swaps 0
Voluntary Context Switches 17
Involuntary Context Switches 0
Block Input Operations 16
Block Output Operations 264
85 proc freq;
86 tables country;
87
NOTE: There were 100 observations read from the data set WORK.AUTO.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.03 seconds
user cpu time 0.03 seconds
system cpu time 0.00 seconds
memory 2830.43k
OS Memory 29612.00k
Timestamp 01/08/2020 03:22:23 PM
Step Count 25 Switch Count 2
Page Faults 0
Page Reclaims 1011
Page Swaps 0
Voluntary Context Switches 11
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 272
88 proc means;
89 var lper100k mpg weight length;
90
91
92
93 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
104