SAS应用_医学统计学的例题程序及其结果,学习SAS的必备资料.
源代码在线查看: 例02-01计算结果.lst
The SAS System 20:00 Sunday, March 31, 2002 10
Cumulative Cumulative
Z Frequency Percent Frequency Percent
-------------------------------------------------
2.3 1 1.0 1 1.0
2.6 3 3.0 4 4.0
2.9 6 5.9 10 9.9
3.2 8 7.9 18 17.8
3.5 17 16.8 35 34.7
3.8 20 19.8 55 54.5
4.1 17 16.8 72 71.3
4.4 12 11.9 84 83.2
4.7 9 8.9 93 92.1
5 5 5.0 98 97.0
5.3 2 2.0 100 99.0
5.6 1 1.0 101 100.0
The SAS System 20:00 Sunday, March 31, 2002 11
Analysis Variable : X
N Mean Std Dev Std Error Lower 95.0% CLM Upper 95.0% CLM
-------------------------------------------------------------------------------
101 4.0295050 0.6592183 0.0655947 3.8993670 4.1596429
-------------------------------------------------------------------------------
The SAS System 20:00 Sunday, March 31, 2002 12
Analysis Variable : X
N Mean Std Dev Minimum Maximum
--------------------------------------------------------------------
101 3.9069307 0.6539507 2.3000000 5.6000000
--------------------------------------------------------------------
The SAS System 20:00 Sunday, March 31, 2002 13
Univariate Procedure
Variable=X
Moments Quantiles(Def=5)
N 12 Sum Wgts 12 100% Max 5.6 99% 5.6
Mean 3.95 Sum 47.4 75% Q3 4.85 95% 5.6
Std Dev 1.081665 Variance 1.17 50% Med 3.95 90% 5.3
Skewness 0 Kurtosis -1.2 25% Q1 3.05 10% 2.6
USS 200.1 CSS 12.87 0% Min 2.3 5% 2.3
CV 27.38393 Std Mean 0.31225 1% 2.3
T:Mean=0 12.65012 Pr>|T| 0.0001 Range 3.3
Num ^= 0 12 Num > 0 12 Q3-Q1 1.8
M(Sign) 6 Pr>=|M| 0.0005 Mode 2.3
Sgn Rank 39 Pr>=|S| 0.0005
Extremes
Lowest Obs Highest Obs
2.3( 1) 4.4( 8)
2.6( 2) 4.7( 9)
2.9( 3) 5( 10)
3.2( 4) 5.3( 11)
3.5( 5) 5.6( 12)
The SAS System 20:00 Sunday, March 31, 2002 14
OBS P2_5 P97_5
1 2.3 5.6
The SAS System 20:00 Sunday, March 31, 2002 15
Univariate Procedure
Variable=X
Moments Quantiles(Def=5)
N 12 Sum Wgts 12 100% Max 5.6 99% 5.6
Mean 3.95 Sum 47.4 75% Q3 4.85 95% 5.6
Std Dev 1.081665 Variance 1.17 50% Med 3.95 90% 5.3
Skewness 0 Kurtosis -1.2 25% Q1 3.05 10% 2.6
USS 200.1 CSS 12.87 0% Min 2.3 5% 2.3
CV 27.38393 Std Mean 0.31225 1% 2.3
T:Mean=0 12.65012 Pr>|T| 0.0001 Range 3.3
Num ^= 0 12 Num > 0 12 Q3-Q1 1.8
M(Sign) 6 Pr>=|M| 0.0005 Mode 2.3
Sgn Rank 39 Pr>=|S| 0.0005
W:Normal 0.970472 Pr
Extremes
Lowest Obs Highest Obs
2.3( 1) 4.4( 8)
2.6( 2) 4.7( 9)
2.9( 3) 5( 10)
3.2( 4) 5.3( 11)
3.5( 5) 5.6( 12)
Stem Leaf # Boxplot
5 6 1 |
5 03 2 |
4 7 1 +-----+
4 14 2 *--+--*
3 58 2 | |
3 2 1 +-----+
2 69 2 |
2 3 1 |
----+----+----+----+
Normal Probability Plot
5.75+ +*++
| * +*+++
| *++++
| *+*++
| +*+*+
| +++*
| ++*++*
2.25+ ++*++
+----+----+----+----+----+----+----+----+----+----+
-2 -1 0 +1 +2