貯蓄現在高回級別世帯分布(勤労者世帯)
分布形状と統計量
/* Lesson 7-1 */
/* File Name = les0701.sas 05/30/02 */
data gakusei;
infile 'waseda02.prn';
input sex $ shintyou taijyuu kyoui
jitaku $ kodukai carryer $ tsuuwa;
proc print data=gakusei(obs=5);
run;
proc means data=gakusei;
run;
proc univariate data=gakusei plot; : 基礎統計量の算出、plot オプション
var shintyou taijyuu kodukai; : 指定した変量について計算
run; :
SAS システム 3
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=SHINTYOU
Moments
N 38 Sum Wgts 38
Mean 165.8921 Sum 6303.9
Std Dev 8.698039 Variance 75.65588
Skewness -0.18598 Kurtosis -0.79905
USS 1048567 CSS 2799.268
CV 5.24319 Std Mean 1.411008
T:Mean=0 117.5699 Pr>|T| 0.0001
Num ^= 0 38 Num > 0 38
M(Sign) 19 Pr>=|M| 0.0001
Sgn Rank 370.5 Pr>=|S| 0.0001
SAS システム 4
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=SHINTYOU
Quantiles(Def=5)
100% Max 181.5 99% 181.5
75% Q3 172 95% 180
50% Med 167 90% 177
25% Q1 160 10% 153
0% Min 148 5% 152
1% 148
Range 33.5
Q3-Q1 12
Mode 160
SAS システム 5
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=SHINTYOU
Extremes
Lowest Obs Highest Obs
148( 12) 176.6( 24)
152( 25) 177( 38)
153( 29) 179( 17)
153( 14) 180( 1)
153.5( 21) 181.5( 34)
SAS システム 6
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=SHINTYOU
Stem Leaf # Boxplot
18 02 2 |
17 6779 4 |
17 000122244 9 +-----+
16 556677788 9 *--+--*
16 00023 5 +-----+
15 5668 4 |
15 2334 4 |
14 8 1 |
----+----+----+----+
Multiply Stem.Leaf by 10**+1
SAS システム 7
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=SHINTYOU
Normal Probability Plot
182.5+ *+++*
| *+**+*+
| *******+
| **+*+*++
| ****++
| ++***+
| +*+*++*
147.5+ +++*++
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2
SAS システム 14
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=KODUKAI
Moments
N 36 Sum Wgts 36
Mean 44888.89 Sum 1616000
Std Dev 57705.05 Variance 3.3299E9
Skewness 2.72329 Kurtosis 10.19551
USS 1.891E11 CSS 1.165E11
CV 128.5509 Std Mean 9617.509
T:Mean=0 4.667413 Pr>|T| 0.0001
Num ^= 0 28 Num > 0 28
M(Sign) 14 Pr>=|M| 0.0001
Sgn Rank 203 Pr>=|S| 0.0001
SAS システム 15
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=KODUKAI
Quantiles(Def=5)
100% Max 300000 99% 300000
75% Q3 60000 95% 125000
50% Med 30000 90% 120000
25% Q1 4000 10% 0
0% Min 0 5% 0
1% 0
Range 300000
Q3-Q1 56000
Mode 0
SAS システム 16
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=KODUKAI
Extremes
Lowest Obs Highest Obs
0( 37) 100000( 32)
0( 36) 120000( 7)
0( 31) 120000( 34)
0( 18) 125000( 29)
0( 9) 300000( 17)
Missing Value .
Count 2
% Count/Nobs 5.26
SAS システム 18
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=KODUKAI
Stem Leaf # Boxplot
3 0 1 *
2
2
1
1 00222 5 |
0 5566677 7 +-----+
0 00000000000122222333444 23 *--+--*
----+----+----+----+---
Multiply Stem.Leaf by 10**+5
SAS システム 19
09:08 Thursday, May 23, 2002
Univariate Procedure
Variable=KODUKAI
Normal Probability Plot
325000+ *
|
|
175000+ +++++++
| **+*+++*+
| +++***+*+
25000+ * * * * *****+**+*** *
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2
/* Lesson 7-2 */
/* File Name = les0702.sas 05/30/02 */
data gakusei;
infile 'waseda02.prn';
input sex $ shintyou taijyuu kyoui
jitaku $ kodukai carryer $ tsuuwa;
proc print data=gakusei(obs=5);
run;
proc means data=gakusei;
run;
proc chart data=gakusei;
hbar shintyou taijyuu kodukai;
run;
proc univariate data=gakusei plot;
var shintyou taijyuu kodukai;
run;
:
proc sort data=gakusei; : 並べ替え(ソート)
by sex; : 性別ごとに
run; :
:
proc means data=gakusei; : 平均の計算
var shintyou taijyuu kodukai; : 指定した変量について計算
by sex; : 性別ごとに
run; :
proc chart data=gakusei; : ヒストグラム
hbar shintyou taijyuu kodukai; : 指定した変量について計算
by sex; : 性別ごとに
run; :
proc chart data=gakusei; : ヒストグラム
hbar shintyou taijyuu kodukai/group=sex; : 性別ごとに併置して
run; :
proc univariate data=gakusei plot; : 基礎統計量の計算
var shintyou taijyuu kodukai; : 指定した変量について計算
by sex; : 性別ごとに
run; :
SAS システム 2
22:42 Tuesday, May 28, 2002
Variable N Mean Std Dev Minimum Maximum
--------------------------------------------------------------------
SHINTYOU 38 165.8921053 8.6980390 148.0000000 181.5000000
TAIJYUU 36 54.0138889 9.5815046 35.0000000 74.5000000
KYOUI 9 82.0000000 5.1720402 75.0000000 90.0000000
KODUKAI 36 44888.89 57705.05 0 300000.00
TSUUWA 31 8120.97 5186.07 2000.00 30000.00
--------------------------------------------------------------------
SAS システム 3
22:42 Tuesday, May 28, 2002
SHINTYOU Cum. Cum.
Midpoint Freq Freq Percent Percent
|
150 |**** 2 2 5.26 5.26
156 |************** 7 9 18.42 23.68
162 |********** 5 14 13.16 36.84
168 |************************ 12 26 31.58 68.42
174 |**************** 8 34 21.05 89.47
180 |******** 4 38 10.53 100.00
|
----+---+---+---+---+---+
2 4 6 8 10 12
Frequency
SAS システム 23
22:42 Tuesday, May 28, 2002
-------------------------------- SEX=' ' -------------------------------
Variable N Mean Std Dev Minimum Maximum
--------------------------------------------------------------------
SHINTYOU 1 168.0000000 . 168.0000000 168.0000000
TAIJYUU 1 60.0000000 . 60.0000000 60.0000000
KODUKAI 1 23000.00 . 23000.00 23000.00
--------------------------------------------------------------------
SAS システム 24
22:42 Tuesday, May 28, 2002
--------------------------------- SEX=F --------------------------------
Variable N Mean Std Dev Minimum Maximum
--------------------------------------------------------------------
SHINTYOU 17 158.7941176 6.3222297 148.0000000 171.0000000
TAIJYUU 15 45.7333333 5.0739766 35.0000000 55.0000000
KODUKAI 16 52187.50 36604.59 0 125000.00
--------------------------------------------------------------------
SAS システム 25
22:42 Tuesday, May 28, 2002
--------------------------------- SEX=M --------------------------------
Variable N Mean Std Dev Minimum Maximum
--------------------------------------------------------------------
SHINTYOU 20 171.8200000 5.6008082 160.0000000 181.5000000
TAIJYUU 20 59.9250000 7.5727263 48.0000000 74.5000000
KODUKAI 19 39894.74 72511.22 0 300000.00
--------------------------------------------------------------------
SAS システム 29
22:42 Tuesday, May 28, 2002
-------------------------------- SEX=F ---------------------------------
SHINTYOU Cum. Cum.
Midpoint Freq Freq Percent Percent
|
150 |********** 2 2 11.76 11.76
155 |****************************** 6 8 35.29 47.06
160 |******************** 4 12 23.53 70.59
165 |******************** 4 16 23.53 94.12
170 |***** 1 17 5.88 100.00
|
-----+----+----+----+----+----+
1 2 3 4 5 6
Frequency
SAS システム 32
22:42 Tuesday, May 28, 2002
-------------------------------- SEX=M ---------------------------------
SHINTYOU Cum. Cum.
Midpoint Freq Freq Percent Percent
|
160 |***** 1 1 5.00 5.00
165 |******************** 4 5 20.00 25.00
170 |****************************** 6 11 30.00 55.00
175 |****************************** 6 17 30.00 85.00
180 |*************** 3 20 15.00 100.00
|
-----+----+----+----+----+----+
1 2 3 4 5 6
Frequency
SAS システム 35
22:42 Tuesday, May 28, 2002
SEX SHINTYOU Cum. Cum.
Midpoint Freq Freq Percent Percent
|
150 | 0 0 0.00 0.00
156 | 0 0 0.00 0.00
162 | 0 0 0.00 0.00
168 |** 1 1 2.63 2.63
174 | 0 1 0.00 2.63
180 | 0 1 0.00 2.63
|
F 150 |**** 2 3 5.26 7.89
156 |************** 7 10 18.42 26.32
162 |******** 4 14 10.53 36.84
168 |****** 3 17 7.89 44.74
174 |** 1 18 2.63 47.37
180 | 0 18 0.00 47.37
|
M 150 | 0 18 0.00 47.37
156 | 0 18 0.00 47.37
162 |** 1 19 2.63 50.00
168 |**************** 8 27 21.05 71.05
174 |************** 7 34 18.42 89.47
180 |******** 4 38 10.53 100.00
|
----+---+---+---+
2 4 6 8
Frequency
SAS システム 53
22:42 Tuesday, May 28, 2002
-------------------------------- SEX=F ---------------------------------
Univariate Procedure
Variable=SHINTYOU
Moments
N 17 Sum Wgts 17
Mean 158.7941 Sum 2699.5
Std Dev 6.32223 Variance 39.97059
Skewness 0.286687 Kurtosis -0.71459
USS 429304.3 CSS 639.5294
CV 3.9814 Std Mean 1.533366
T:Mean=0 103.5592 Pr>|T| 0.0001
Num ^= 0 17 Num > 0 17
M(Sign) 8.5 Pr>=|M| 0.0001
Sgn Rank 76.5 Pr>=|S| 0.0001
SAS システム 55
22:42 Tuesday, May 28, 2002
-------------------------------- SEX=F ---------------------------------
Univariate Procedure
Variable=SHINTYOU
Quantiles(Def=5)
100% Max 171 99% 171
75% Q3 163 95% 171
50% Med 158 90% 167
25% Q1 153.5 10% 152
0% Min 148 5% 148
1% 148
Range 23
Q3-Q1 9.5
Mode 153
SAS システム 73
22:42 Tuesday, May 28, 2002
-------------------------------- SEX=M ---------------------------------
Univariate Procedure
Variable=SHINTYOU
Moments
N 20 Sum Wgts 20
Mean 171.82 Sum 3436.4
Std Dev 5.600808 Variance 31.36905
Skewness -0.12986 Kurtosis -0.3941
USS 591038.3 CSS 596.012
CV 3.259695 Std Mean 1.252379
T:Mean=0 137.1949 Pr>|T| 0.0001
Num ^= 0 20 Num > 0 20
M(Sign) 10 Pr>=|M| 0.0001
Sgn Rank 105 Pr>=|S| 0.0001
SAS システム 75
22:42 Tuesday, May 28, 2002
-------------------------------- SEX=M ---------------------------------
Univariate Procedure
Variable=SHINTYOU
Quantiles(Def=5)
100% Max 181.5 99% 181.5
75% Q3 176.55 95% 180.75
50% Med 171.75 90% 179.5
25% Q1 167.5 10% 165
0% Min 160 5% 162.5
1% 160
Range 21.5
Q3-Q1 9.05
Mode 165
SAS システム 92
22:42 Tuesday, May 28, 2002
Univariate Procedure
Schematic Plots
Variable=SHINTYOU
|
180 + |
| | *--+--*
| *--+--* | +-----+
160 + *--+--* |
| +-----+
| |
140 +
------------+-----------+-----------+-----------
SEX F M
SAS システム 93
22:42 Tuesday, May 28, 2002
Univariate Procedure
Schematic Plots
Variable=TAIJYUU
80 +
| |
| +-----+
60 + *--+--* *--+--*
| +-----+ +-----+
| *--+--* |
40 + +-----+
| |
|
20 +
------------+-----------+-----------+-----------
SEX F M
SAS システム 94
22:42 Tuesday, May 28, 2002
Univariate Procedure
Schematic Plots
Variable=KODUKAI
300000 + *
|
|
200000 +
|
| | 0
100000 + |
| *--+--*
| *--+--* +-----+ *--+--*
0 + | +-----+
------------+-----------+-----------+-----------
SEX F M