SAS应用_医学统计学的例题程序及其结果,学习SAS的必备资料.

源代码在线查看: 例18-04计算结果.lst

软件大小: 415 K
上传用户: zh64077118
关键词: SAS 程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				                                       The SAS System         20:26 Monday, April 1, 2002 146
				
				                                    Discriminant Analysis
				
				                         17 Observations        16 DF Total
				                          4 Variables           14 DF Within Classes
				                          3 Classes              2 DF Between Classes
				
				
				                                   Class Level Information
				
				                                                                             Prior
				                      G     Frequency        Weight     Proportion     Probability
				
				                      1             7        7.0000       0.411765        0.333333
				                      2             4        4.0000       0.235294        0.333333
				                      3             6        6.0000       0.352941        0.333333
				                                       The SAS System         20:26 Monday, April 1, 2002 147
				
				               Discriminant Analysis     Pooled Covariance Matrix Information
				
				                       Covariance       Natural Log of the Determinant
				                       Matrix Rank      of the Covariance Matrix
				
				                             4                    17.8289259
				                                       The SAS System         20:26 Monday, April 1, 2002 148
				
				       Discriminant Analysis     Pairwise Generalized Squared Distances Between Groups
				
				                              2         _   _       -1  _   _
				                             D (i|j) = (X - X )' COV   (X - X )
				                                         i   j           i   j
				
				                                Generalized Squared Distance to G
				
				                     From G                1                2                3
				
				                          1                0          6.10523         12.89173
				                          2          6.10523                0          1.34012
				                          3         12.89173          1.34012                0
				                                       The SAS System         20:26 Monday, April 1, 2002 149
				
				                   Discriminant Analysis     Linear Discriminant Function
				
				                               _     -1 _                              -1 _
				                Constant = -.5 X' COV   X      Coefficient Vector = COV   X
				                                j        j                                 j
				
				                                              G
				
				                                         1                2                3
				
				                 CONSTANT       -222.41777       -198.43738       -188.99997
				                 X1               -0.07387         -0.04477         -0.03956
				                 X2              -19.41173        -18.09747        -17.45729
				                 X3                4.54927          4.66069          4.72033
				                 X4                1.58220          1.41404          1.33662
				
				                                       The SAS System         20:26 Monday, April 1, 2002 150
				
				     Discriminant Analysis     Classification Summary for Calibration Data: WORK.EX18_4
				
				                  Resubstitution Summary using Linear Discriminant Function
				
				 Generalized Squared Distance Function:       Posterior Probability of Membership in each G:
				
				  2         _       -1   _                                       2                    2
				 D (X) = (X-X )' COV  (X-X )                  Pr(j|X) = exp(-.5 D (X)) / SUM exp(-.5 D (X))
				  j          j            j                                      j        k           k
				
				                         Number of Observations and Percent Classified into G:
				
				             From G                 1                 2                 3             Total
				
				                  1                 6                 1                 0                 7
				                                85.71             14.29              0.00            100.00
				
				                  2                 0                 4                 0                 4
				                                 0.00            100.00              0.00            100.00
				
				                  3                 1                 0                 5                 6
				                                16.67              0.00             83.33            100.00
				
				              Total                 7                 5                 5                17
				            Percent             41.18             29.41             29.41            100.00
				
				             Priors            0.3333            0.3333            0.3333
				
				
				                      Error Count Estimates for G:
				
				                                 1                2                3        Total
				
				           Rate             0.1429           0.0000           0.1667       0.1032
				
				           Priors           0.3333           0.3333           0.3333
							

相关资源