You are on page 1of 8

Wednesday, 18 March 2020 20:02:28 1

The MEANS Procedure

Analysis Variable : MPG

N
ENGINE_SIZE MPG Obs N Mean Std Dev Minimum Maximum

61 53 1 1 53.0000000 . 53.0000000 53.0000000

70 23 3 3 23.0000000 0 23.0000000 23.0000000

79 42 1 1 42.0000000 . 42.0000000 42.0000000

80 23 1 1 23.0000000 . 23.0000000 23.0000000

90 38 6 6 38.0000000 0 38.0000000 38.0000000

41 2 2 41.0000000 0 41.0000000 41.0000000

43 4 4 43.0000000 0 43.0000000 43.0000000

91 31 1 1 31.0000000 . 31.0000000 31.0000000

38 4 4 38.0000000 0 38.0000000 38.0000000

92 34 4 4 34.0000000 0 34.0000000 34.0000000

37 1 1 37.0000000 . 37.0000000 37.0000000

38 5 5 38.0000000 0 38.0000000 38.0000000

39 1 1 39.0000000 . 39.0000000 39.0000000

41 1 1 41.0000000 . 41.0000000 41.0000000

54 1 1 54.0000000 . 54.0000000 54.0000000

97 36 1 1 36.0000000 . 36.0000000 36.0000000

37 8 8 37.0000000 0 37.0000000 37.0000000

98 29 2 2 29.0000000 0 29.0000000 29.0000000

30 4 4 30.0000000 0 30.0000000 30.0000000

34 4 4 34.0000000 0 34.0000000 34.0000000

37 2 2 37.0000000 0 37.0000000 37.0000000

38 1 1 38.0000000 . 38.0000000 38.0000000

47 1 1 47.0000000 . 47.0000000 47.0000000

108 29 2 2 29.0000000 0 29.0000000 29.0000000

31 2 2 31.0000000 0 31.0000000 31.0000000

32 2 2 32.0000000 0 32.0000000 32.0000000

33 1 1 33.0000000 . 33.0000000 33.0000000

37 1 1 37.0000000 . 37.0000000 37.0000000

109 29 1 1 29.0000000 . 29.0000000 29.0000000

30 1 1 30.0000000 . 30.0000000 30.0000000

31 1 1 31.0000000 . 31.0000000 31.0000000

32 1 1 32.0000000 . 32.0000000 32.0000000

34 3 3 34.0000000 0 34.0000000 34.0000000

110 28 1 1 28.0000000 . 28.0000000 28.0000000

30 3 3 30.0000000 0 30.0000000 30.0000000

31 1 1 31.0000000 . 31.0000000 31.0000000

33 4 4 33.0000000 0 33.0000000 33.0000000

111 29 1 1 29.0000000 . 29.0000000 29.0000000


Wednesday, 18 March 2020 20:02:28 2

The MEANS Procedure

Analysis Variable : MPG

N
ENGINE_SIZE MPG Obs N Mean Std Dev Minimum Maximum

119 29 1 1 29.0000000 . 29.0000000 29.0000000

120 24 5 5 24.0000000 0 24.0000000 24.0000000

34 2 2 34.0000000 0 34.0000000 34.0000000

121 26 2 2 26.0000000 0 26.0000000 26.0000000

28 4 4 28.0000000 0 28.0000000 28.0000000

122 30 2 2 30.0000000 0 30.0000000 30.0000000

32 11 11 32.0000000 0 32.0000000 32.0000000

34 1 1 34.0000000 . 34.0000000 34.0000000

130 22 2 2 22.0000000 0 22.0000000 22.0000000

131 20 1 1 20.0000000 . 20.0000000 20.0000000

132 31 2 2 31.0000000 0 31.0000000 31.0000000

134 24 1 1 24.0000000 . 24.0000000 24.0000000

136 24 1 1 24.0000000 . 24.0000000 24.0000000

25 3 3 25.0000000 0 25.0000000 25.0000000

140 24 1 1 24.0000000 . 24.0000000 24.0000000

27 1 1 27.0000000 . 27.0000000 27.0000000

141 25 2 2 25.0000000 0 25.0000000 25.0000000

28 5 5 28.0000000 0 28.0000000 28.0000000

146 30 2 2 30.0000000 0 30.0000000 30.0000000

151 27 1 1 27.0000000 . 27.0000000 27.0000000

152 26 1 1 26.0000000 . 26.0000000 26.0000000

156 24 5 5 24.0000000 0 24.0000000 24.0000000

161 24 1 1 24.0000000 . 24.0000000 24.0000000

164 25 1 1 25.0000000 . 25.0000000 25.0000000

28 2 2 28.0000000 0 28.0000000 28.0000000

171 24 3 3 24.0000000 0 24.0000000 24.0000000

173 23 1 1 23.0000000 . 23.0000000 23.0000000

181 22 2 2 22.0000000 0 22.0000000 22.0000000

23 1 1 23.0000000 . 23.0000000 23.0000000

25 3 3 25.0000000 0 25.0000000 25.0000000

203 28 1 1 28.0000000 . 28.0000000 28.0000000

209 20 1 1 20.0000000 . 20.0000000 20.0000000

22 2 2 22.0000000 0 22.0000000 22.0000000

234 18 1 1 18.0000000 . 18.0000000 18.0000000

258 19 2 2 19.0000000 0 19.0000000 19.0000000

308 16 1 1 16.0000000 . 16.0000000 16.0000000

326 17 1 1 17.0000000 . 17.0000000 17.0000000


Wednesday, 18 March 2020 20:02:28 3

Engine size against Miles per Gallon

50

40
MPG

30

20

50 100 150 200 250 300


ENGINE_SIZE
MANUFACTURER
alfa-rom audi bmw chevrole dodge honda isuzu jaguar
mazda mercedes mercury mitsubis nissan peugot plymouth porsche
renault saab subaru toyota volkswag volvo
Wednesday, 18 March 2020 20:02:28 4
Correlation between Engine size and MPG

The CORR Procedure

2 Variables: ENGINE_SIZE MPG

Simple Statistics

Variable N Mean Std Dev Sum Minimum Maximum

ENGINE_SIZE 163 123.56442 40.63114 20141 61.00000 326.00000

MPG 163 30.76687 6.63564 5015 16.00000 54.00000

Pearson Correlation Coefficients, N = 163


Prob > |r| under H0: Rho=0

ENGINE_SIZE MPG

ENGINE_SIZE 1.00000 -0.69980


<.0001

MPG -0.69980 1.00000


<.0001
Wednesday, 18 March 2020 20:02:28 5
Correlation between Engine size and MPG

The FREQ Procedure

Cumulative Cumulative
MPG Frequency Percent Frequency Percent

16 1 0.61 1 0.61

17 1 0.61 2 1.23

18 1 0.61 3 1.84

19 2 1.23 5 3.07

20 2 1.23 7 4.29

22 6 3.68 13 7.98

23 6 3.68 19 11.66

24 17 10.43 36 22.09

25 9 5.52 45 27.61

26 3 1.84 48 29.45

27 2 1.23 50 30.67

28 13 7.98 63 38.65

29 7 4.29 70 42.94

30 12 7.36 82 50.31

31 7 4.29 89 54.60

32 14 8.59 103 63.19

33 5 3.07 108 66.26

34 14 8.59 122 74.85

36 1 0.61 123 75.46

37 12 7.36 135 82.82

38 16 9.82 151 92.64

39 1 0.61 152 93.25

41 3 1.84 155 95.09

42 1 0.61 156 95.71

43 4 2.45 160 98.16

47 1 0.61 161 98.77

53 1 0.61 162 99.39

54 1 0.61 163 100.00


Wednesday, 18 March 2020 20:02:28 6
Correlation between Engine size and MPG

The FREQ Procedure

Distribution of MPG

53

43

41

38

36

33
MPG

31

29

27

25

23

20

18

16

0 5 10 15 20
Frequency
Comparing Nissan to Honda Wednesday, 18 March 2020 20:02:28 7

The COMPARE Procedure


Comparison of WORK.HONDACARS with WORK.NISSANCARS
(Method=EXACT)

Data Set Summary

Dataset Created Modified NVar NObs

WORK.HONDACARS 18MAR20:20:02:30 18MAR20:20:02:30 3 13


WORK.NISSANCARS 18MAR20:20:02:30 18MAR20:20:02:30 3 16

Variables Summary

Number of Variables in Common: 3.


Number of VAR Statement Variables: 1.
Number of WITH Statement Variables: 1.

Observation Summary

Observation Base Compare

First Obs 1 1
First Unequal 1 1
Last Unequal 13 13
Last Match 13 13
Last Obs . 16

Number of Observations in Common: 13.


Number of Observations in WORK.NISSANCARS but not in WORK.HONDACARS: 3.
Total Number of Observations Read from WORK.HONDACARS: 13.
Total Number of Observations Read from WORK.NISSANCARS: 16.

Number of Observations with Some Compared Variables Unequal: 12.


Number of Observations with All Compared Variables Equal: 1.

Values Comparison Summary

Number of Variables Compared with All Observations Equal: 0.


Number of Variables Compared with Some Observations Unequal: 1.
Total Number of Values which Compare Unequal: 12.
Maximum Difference: 17.

All Variables Compared have Unequal Values

Variable Type Len Compare Len Ndif MaxDif

MPG NUM 8 MPG 8 12 17.000


Comparing Nissan to Honda Wednesday, 18 March 2020 20:02:28 8

The COMPARE Procedure


Comparison of WORK.HONDACARS with WORK.NISSANCARS
(Method=EXACT)

Value Comparison Results for Variables

__________________________________________________________
|| Base Compare
Obs || MPG MPG Diff. % Diff
________ || _________ _________ _________ _________
||
1 || 54.0000 37.0000 -17.0000 -31.4815
2 || 38.0000 34.0000 -4.0000 -10.5263
3 || 42.0000 37.0000 -5.0000 -11.9048
4 || 34.0000 37.0000 3.0000 8.8235
5 || 34.0000 37.0000 3.0000 8.8235
6 || 33.0000 37.0000 4.0000 12.1212
7 || 33.0000 37.0000 4.0000 12.1212
9 || 33.0000 37.0000 4.0000 12.1212
10 || 33.0000 37.0000 4.0000 12.1212
11 || 28.0000 22.0000 -6.0000 -21.4286
12 || 31.0000 25.0000 -6.0000 -19.3548
13 || 34.0000 22.0000 -12.0000 -35.2941
________ || _________ _________ _________ _________
||
N || 13 13 13 13
Mean || 35.4615 33.3077 -2.1538 -4.9122
Std || 6.4629 6.0192 6.8781 17.6843
Max || 54.0000 37.0000 4.0000 12.1212
Min || 28.0000 22.0000 -17.0000 -35.2941
StdErr || 1.7925 1.6694 1.9076 4.9047
t || 19.7834 19.9516 -1.1291 -1.0015
Prob>|t| || <.0001 <.0001 0.2809 0.3363
||
Ndif || 12 92.308%
DifMeans || -6.074% -6.467% -2.1538
r, rsq || 0.394 0.156
__________________________________________________________

You might also like