More Related Content
Similar to Sas 16 08-2014-test
Similar to Sas 16 08-2014-test (20)
Sas 16 08-2014-test
- 7. The SAS System
The FREQ Procedure
image
image Frequency Percent Cumulative
Frequency
Cumulative
Percent
fattening 6 4.35 6 4.35
men 6 4.35 12 8.70
South Australian 6 4.35 18 13.04
traditional 6 4.35 24 17.39
premium 6 4.35 30 21.74
healthy 6 4.35 36 26.09
caffeine 6 4.35 42 30.43
new 6 4.35 48 34.78
attractive 6 4.35 54 39.13
tough 6 4.35 60 43.48
popular 6 4.35 66 47.83
cure 6 4.35 72 52.17
low fat 6 4.35 78 56.52
children 6 4.35 84 60.87
working 6 4.35 90 65.22
sweet 6 4.35 96 69.57
unpopular 6 4.35 102 73.91
ugly 6 4.35 108 78.26
fresh 6 4.35 114 82.61
yuppies 6 4.35 120 86.96
nutritious 6 4.35 126 91.30
women 6 4.35 132 95.65
minor 6 4.35 138 100.00
brand
brand Frequency Percent Cumulative
Frequency
Cumulative
Percent
AA 23 16.67 23 16.67
- 8. brand
brand Frequency Percent Cumulative
Frequency
Cumulative
Percent
BB 23 16.67 46 33.33
CC 23 16.67 69 50.00
DD 23 16.67 92 66.67
EE 23 16.67 115 83.33
FF 23 16.67 138 100.00
freq
freq Frequency Percent Cumulative
Frequency
Cumulative
Percent
0 3 2.17 3 2.17
1 6 4.35 9 6.52
2 3 2.17 12 8.70
3 5 3.62 17 12.32
4 4 2.90 21 15.22
5 2 1.45 23 16.67
6 3 2.17 26 18.84
7 5 3.62 31 22.46
8 2 1.45 33 23.91
9 5 3.62 38 27.54
10 4 2.90 42 30.43
11 2 1.45 44 31.88
12 2 1.45 46 33.33
13 2 1.45 48 34.78
14 3 2.17 51 36.96
15 4 2.90 55 39.86
16 2 1.45 57 41.30
17 2 1.45 59 42.75
18 2 1.45 61 44.20
19 2 1.45 63 45.65
- 9. freq
freq Frequency Percent Cumulative
Frequency
Cumulative
Percent
20 3 2.17 66 47.83
21 2 1.45 68 49.28
22 3 2.17 71 51.45
23 5 3.62 76 55.07
24 3 2.17 79 57.25
25 2 1.45 81 58.70
26 2 1.45 83 60.14
27 2 1.45 85 61.59
30 2 1.45 87 63.04
31 1 0.72 88 63.77
32 5 3.62 93 67.39
33 2 1.45 95 68.84
35 1 0.72 96 69.57
42 1 0.72 97 70.29
43 2 1.45 99 71.74
44 1 0.72 100 72.46
46 1 0.72 101 73.19
47 2 1.45 103 74.64
48 1 0.72 104 75.36
49 1 0.72 105 76.09
50 1 0.72 106 76.81
53 1 0.72 107 77.54
55 1 0.72 108 78.26
56 1 0.72 109 78.99
60 1 0.72 110 79.71
65 1 0.72 111 80.43
66 1 0.72 112 81.16
69 1 0.72 113 81.88
72 2 1.45 115 83.33
- 10. freq
freq Frequency Percent Cumulative
Frequency
Cumulative
Percent
73 3 2.17 118 85.51
76 2 1.45 120 86.96
78 2 1.45 122 88.41
82 1 0.72 123 89.13
92 1 0.72 124 89.86
93 1 0.72 125 90.58
96 3 2.17 128 92.75
99 1 0.72 129 93.48
101 1 0.72 130 94.20
104 1 0.72 131 94.93
107 1 0.72 132 95.65
110 1 0.72 133 96.38
111 1 0.72 134 97.10
119 1 0.72 135 97.83
137 2 1.45 137 99.28
144 1 0.72 138 100.00
- 11. The SAS System
The FREQ Procedure
Frequency
Percent
Row Pct
Col Pct
Table of image by brand
image(imag) brand(brand)
AA BB CC DD EE FF Total
fattening 1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
6
4.35
men 1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
6
4.35
South
Australian
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
6
4.35
traditional 1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
6
4.35
premium 1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
6
4.35
healthy 1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
1
0.72
16.67
4.35
6
4.35
- 16. Simple Statistics
Variable N Mean Std Dev Sum Minimum Maximum Label
AreaIrrg 15 69.26667 19.64131 1039 41.00000 92.00000 AreaIrrg
Seedtype 15 2.46667 1.18723 37.00000 1.00000 5.00000 Seedtype
Automate 15 34.53333 10.29471 518.00000 20.00000 52.00000 Automate
Pearson Correlation Coefficients, N = 15
Prob > |r| under H0: Rho=0
Yield Rainfall Soiltype Fertilizer AreaIrrg Seedtyp
e
Automat
e
Yield
Yield
1.0000
0
0.06680
0.8130
0.8483
0
<.0001
0.70099
0.0036
0.92915
<.0001
0.9370
9
<.0001
0.91550
<.0001
Rainfall
Rainfall
0.0668
0
0.8130
1.00000 0.0240
2
0.9323
-
0.06737
0.8115
-
0.00859
0.9758
0.0555
7
0.8441
-
0.00088
0.9975
Soiltype
Soiltype
0.8483
0
<.0001
0.02402
0.9323
1.0000
0
0.84681
<.0001
0.81030
0.0002
0.9185
7
<.0001
0.81768
0.0002
Fertilizer
Fertilizer
0.7009
9
0.0036
-
0.06737
0.8115
0.8468
1
<.0001
1.00000 0.70595
0.0033
0.7128
4
0.0029
0.73597
0.0018
AreaIrrg
AreaIrrg
0.9291
5
<.0001
-
0.00859
0.9758
0.8103
0
0.0002
0.70595
0.0033
1.00000 0.8121
4
0.0002
0.94067
<.0001
Seedtype
Seedtype
0.9370
9
<.0001
0.05557
0.8441
0.9185
7
<.0001
0.71284
0.0029
0.81214
0.0002
1.0000
0
0.81974
0.0002
Automat
e
Automate
0.9155
0
<.0001
-
0.00088
0.9975
0.8176
8
0.0002
0.73597
0.0018
0.94067
<.0001
0.8197
4
0.0002
1.00000
- 17. The SAS System
The REG Procedure
Model: MODEL1
Dependent Variable: Yield Yield
Number of Observations Read 15
Number of Observations Used 15
Analysis of Variance
Source DF Sum of
Squares
Mean
Square
F Value Pr > F
Model 6 1485.32922 247.55487 65.14 <.0001
Error 8 30.40411 3.80051
Corrected Total 14 1515.73333
Root MSE 1.94949 R-Square 0.9799
Dependent Mean 42.13333 Adj R-Sq 0.9649
Coeff Var 4.62696
Parameter Estimates
Variable Label DF Parameter
Estimate
Standard
Error
t Value Pr > |t|
Intercept Intercept 1 9.38455 2.59533 3.62 0.0068
Rainfall Rainfall 1 0.02704 0.03247 0.83 0.4291
Soiltype Soiltype 1 -3.04699 1.31868 -2.31 0.0496
Fertilizer Fertilizer 1 0.36232 0.45470 0.80 0.4485
AreaIrrg AreaIrrg 1 0.23777 0.08055 2.95 0.0184
Seedtype Seedtype 1 6.90257 1.25812 5.49 0.0006
Automate Automate 1 0.12275 0.15996 0.77 0.4649