1. 引言
主成分分析(Principal Component Analysis, PCA)或称主分量分析,是一种降维的统计方法。通过正交变换将一组可能存在相关性的变量转换为一组线性不相关的综合变量,同时根据实际需要从中可以取出几个较少的综合变量尽可能多地反映原来变量的信息,转换后的这组综合变量叫主成分。主成分分析首先是由卡尔∙皮尔森(Karl Pearson)对非随机变量引入的,尔后霍特林将此方法推广到随机向量的情形。信息的大小通常用方差来衡量。
为研究总体主成分和样本主成分的性质,需要定义总体或样本的协方差(矩阵)和相关系数(矩阵)。它们的定义及性质请参见 [1] 。总体主成分的性质在 [2] - [10] 中已有很好的总结及证明,但是他们对样本主成分的性质讨论却不多。由于总体的协方差矩阵和相关系数矩阵一般是未知的,而样本资料阵一般是已知的,人们一般采用样本主成分进行计算,从而研究样本主成分的性质就显得非常重要。本文给出了样本主成分的性质及证明,分两种情况讨论:从
出发求主成分并给出了7个性质(S1)-(S7)及它们的证明;从
出发求主成分并给出了7个性质(R1)-(R7)及它们的证明。
本文剩余部分安排如下:第2节给出样本主成分的性质及证明,分两种情况讨论:从
出发求主成分和从
出发求主成分。这些性质(S1)-(S7)和(R1)-(R7)说明的关系在图1和图2中得到了充分的展现。第3节给出了两个数值模拟的例子来验证性质(S1)-(S7)和(R1)-(R7)的正确性。第4节总结。
2. 样本主成分的性质及证明
有总体主成分和样本主成分,有协方差矩阵和相关矩阵,把这两个概念结合在一起形成表1。本文讨论样本主成分的性质及证明。分两种情况讨论:从
或
出发求主成分。
2.1. 从S出发求主成分
设
为样本协方差矩阵
的特征值,
为相应的两两正交的单位特征向量,即
![](//html.hanspub.org/file/5-2580224x18_hanspub.png)
Figure 1. The relationships of the sample covariances (left) and the relationships of the sample correlations (right) among ![](//html.hanspub.org/file/5-2580224x19_hanspub.png)
图1.
的样本协方差关系图(左)和样本相关系数关系图(右)
![](//html.hanspub.org/file/5-2580224x21_hanspub.png)
Figure 2. The relationships of the sample covariances (left) and the relationships of the sample correlations (right) among ![](//html.hanspub.org/file/5-2580224x22_hanspub.png)
图2.
的样本协方差关系图(左)和样本相关系数关系图(右)
![](Images/Table_Tmp.jpg)
Table 1. The covariance matrix and the correlation matrix of the population and the sample
表1. 总体和样本的协方差矩阵和相关矩阵
![](//html.hanspub.org/file/5-2580224x28_hanspub.png)
令
,它是一个正交阵,
,写成矩阵形式,就是
![](//html.hanspub.org/file/5-2580224x31_hanspub.png)
上式两边左乘以
,得到
![](//html.hanspub.org/file/5-2580224x33_hanspub.png)
则第
个主成分
,其中
,且
![](//html.hanspub.org/file/5-2580224x37_hanspub.png)
下面构造样本主成分,令
![](//html.hanspub.org/file/5-2580224x38_hanspub.png)
因此样本主成分为
![](//html.hanspub.org/file/5-2580224x39_hanspub.png)
其中
表示样本主成分的各行,
表示样本主成分的各列。易知
![](//html.hanspub.org/file/5-2580224x42_hanspub.png)
类似于数据资料阵
的标准化 [1] ,可得到矩阵
的标准化矩阵
满足
![](//html.hanspub.org/file/5-2580224x46_hanspub.png)
其中
![](//html.hanspub.org/file/5-2580224x47_hanspub.png)
上式中
表示由向量
作为对角线元素构成的对角阵。注意,上式用到了(S2)的结论。从而
![](//html.hanspub.org/file/5-2580224x50_hanspub.png)
易知
![](//html.hanspub.org/file/5-2580224x51_hanspub.png)
因为
,人们自然会想到
,但是一般来说这是错误的。详细的证明请见本文的附录。
我们用
表示它是一个非负定阵,用
表示它是一个正定阵。令
为数据资料矩阵,
为主成分得分矩阵,则对于由
出发计算的样本主成分有如下性质:
(S1).
![](//html.hanspub.org/file/5-2580224x59_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x60_hanspub.png)
(S2).
![](//html.hanspub.org/file/5-2580224x61_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x62_hanspub.png)
(S3).
![](//html.hanspub.org/file/5-2580224x63_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x64_hanspub.png)
(S4).
![](//html.hanspub.org/file/5-2580224x65_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x66_hanspub.png)
(S5). 若
,则
![](//html.hanspub.org/file/5-2580224x68_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x69_hanspub.png)
(S6). 若
,则
![](//html.hanspub.org/file/5-2580224x71_hanspub.png)
其中
![](//html.hanspub.org/file/5-2580224x72_hanspub.png)
是
的对角线元素组成的对角阵。特别地,
![](//html.hanspub.org/file/5-2580224x74_hanspub.png)
(S7). 样本总方差
![](//html.hanspub.org/file/5-2580224x75_hanspub.png)
此式表明了样本
的样本(协)方差之和等于样本主成分
的样本(协)方差之和。
在以上7个性质中,(S1)显然,(S2)和(S6)的分量形式的结果和(S7)可以在 [7] 中找到。
注意,在(S5)和(S6)中我们要求
,而其余性质只要求
。因为在(S5)和(S6)的证明中会涉及到
![](//html.hanspub.org/file/5-2580224x80_hanspub.png)
若
有一个0特征值,即
,则
是没有意义的,从而结论不成立,数值结果也证实了这一点。
由性质(S1)-(S6)归纳得到样本
的样本协方差关系图((S1)-(S3))和样本相关系数关系图((S4)-(S6)),如图1。
性质(S1)-(S7)的证明有些是初等的,有些需要一定的技巧,由于这些证明较占篇幅,所以把它们放到了本文的附录中。
2.2. 从R出发求主成分
设
为样本相关矩阵
的特征值,
为相应的两两正交的单位特征向量,即
![](//html.hanspub.org/file/5-2580224x88_hanspub.png)
令
,它是一个正交阵,
,写成矩阵形式,就是
![](//html.hanspub.org/file/5-2580224x91_hanspub.png)
上式两边左乘以
,得到
![](//html.hanspub.org/file/5-2580224x93_hanspub.png)
则第
个主成分
,其中
。这是因为我们从样本相关矩阵
出发,所以变量已经标准化了。且
![](//html.hanspub.org/file/5-2580224x98_hanspub.png)
下面构造样本主成分,令
![](//html.hanspub.org/file/5-2580224x99_hanspub.png)
则
![](//html.hanspub.org/file/5-2580224x100_hanspub.png)
因此样本主成分为
![](//html.hanspub.org/file/5-2580224x101_hanspub.png)
其中
表示样本主成分的各行,
表示样本主成分的各列。注意到
![](//html.hanspub.org/file/5-2580224x104_hanspub.png)
和
可参照 [1] 中的数据资料矩阵
的标准化部分。但是,
![](//html.hanspub.org/file/5-2580224x108_hanspub.png)
所以
,从而
。易知
![](//html.hanspub.org/file/5-2580224x111_hanspub.png)
容易验证
![](//html.hanspub.org/file/5-2580224x112_hanspub.png)
由
和
有
![](//html.hanspub.org/file/5-2580224x115_hanspub.png)
其中
![](//html.hanspub.org/file/5-2580224x116_hanspub.png)
注意,上式用到了(S4)的结论
。则
![](//html.hanspub.org/file/5-2580224x118_hanspub.png)
易知
![](//html.hanspub.org/file/5-2580224x119_hanspub.png)
类似于矩阵
的标准化,可得到矩阵
的标准化矩阵
满足
![](//html.hanspub.org/file/5-2580224x123_hanspub.png)
其中
![](//html.hanspub.org/file/5-2580224x124_hanspub.png)
注意,上式用到了(R2)的结论。从而
![](//html.hanspub.org/file/5-2580224x125_hanspub.png)
易知
![](//html.hanspub.org/file/5-2580224x126_hanspub.png)
因为
,人们自然会想到
,同样,一般来说这是错误的。详细的证明请见本文的附录。
值得一提的是,矩阵
和它的标准化矩阵
的推导是新的。
我们用
表示它是一个非负定阵,
表示它是一个正定阵。令
为数据资料矩阵,
为主成分得分矩阵,则对于由
出发计算的样本主成分有如下性质:
(R1).
![](//html.hanspub.org/file/5-2580224x136_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x137_hanspub.png)
(R2).
![](//html.hanspub.org/file/5-2580224x138_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x139_hanspub.png)
(R3).
![](//html.hanspub.org/file/5-2580224x140_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x141_hanspub.png)
(R4).
![](//html.hanspub.org/file/5-2580224x142_hanspub.png)
特别地,对![](//html.hanspub.org/file/5-2580224x143_hanspub.png)
![](//html.hanspub.org/file/5-2580224x144_hanspub.png)
(R5). 若
,则
![](//html.hanspub.org/file/5-2580224x146_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x147_hanspub.png)
(R6). 若
,则
![](//html.hanspub.org/file/5-2580224x149_hanspub.png)
特别地,
![](//html.hanspub.org/file/5-2580224x150_hanspub.png)
(R7). 样本总方差
![](//html.hanspub.org/file/5-2580224x151_hanspub.png)
此式表明了样本
的样本(协)方差之和等于样本主成分
的样本(协)方差之和。
在以上7个性质中,(R1)显然,(R2)和(R6)的分量形式的结果和(R7)可以在 [7] 中找到。
注意,在(R5)和(R6)中我们要求
,而其余性质只要求
。因为在(R5)和(R6)的证明中会涉及到
![](//html.hanspub.org/file/5-2580224x156_hanspub.png)
若
有一个0特征值,即
,则
是没有意义的,从而结论不成立,数值结果也证实了这一点。
由性质(R1)-(R6)归纳得到样本
的样本协方差关系图((R1)-(R3))和样本相关系数关系图((R4)-(R6)),如图2。
性质(R1)-(R7)的证明有些是初等的,有些需要一定的技巧,由于这些证明较占篇幅,所以把它们放到了本文的附录中。
3. 数值模拟
此节我们在R软件 [11] 中编写程序,通过数值模拟来验证从样本协方差矩阵
出发计算的样本主成分的性质(S1)-(S7)及从样本相关矩阵
出发计算的样本主成分的性质(R1)-(R7)。
在R软件中,求矩阵的样本协方差矩阵的函数是cov(),求矩阵的样本相关矩阵的函数是cor() [12] 。性质(S1)-(S7)即是要验证
(S1).
(S2).
(S3). ![](//html.hanspub.org/file/5-2580224x165_hanspub.png)
(S4).
(S5). ![](//html.hanspub.org/file/5-2580224x167_hanspub.png)
(S6). ![](//html.hanspub.org/file/5-2580224x168_hanspub.png)
(S7). ![](//html.hanspub.org/file/5-2580224x169_hanspub.png)
注意在(S1)中的
和(S4)中的
分别为
![](//html.hanspub.org/file/5-2580224x172_hanspub.png)
性质(R1)-(R7)即是要验证
(R1).
(R2).
(R3). ![](//html.hanspub.org/file/5-2580224x175_hanspub.png)
(R4).
(R5). ![](//html.hanspub.org/file/5-2580224x177_hanspub.png)
(R6).
(R7). ![](//html.hanspub.org/file/5-2580224x179_hanspub.png)
注意在(S5)和(S6)中要求
,在(R5)和(R6)中要求
。
下面我们举两个例子来验证(S1)-(S7)和(R1)-(R7)的正确性。
例1.
![](//html.hanspub.org/file/5-2580224x182_hanspub.png)
为重复本文的结果,我们在R软件中使用set.seed(1),此时
.
容易验证
且
,(S1)-(S7)和(R1)-(R7)均是正确的。详细的数值模拟结果请见本文的附录。
下面给一个
且
的例子,即
和
都有1个0特征值,此时(S5),(S6),(R5)和(R6)是不成立的,但其余性质是成立的。
例2.
![](//html.hanspub.org/file/5-2580224x190_hanspub.png)
为重复本文的结果,我们在R软件中使用set.seed(1),此时
![](//html.hanspub.org/file/5-2580224x191_hanspub.png)
详细的数值模拟结果请见本文的附录。
4. 总结
我们给出了样本主成分的性质及证明,分两种情况讨论:从
出发求主成分和从
出发求主成分。在从
出发求主成分中,给出了7个性质(S1)-(S7)及它们的证明,这些性质说明的关系在图1中得到了充分的展现。同样,在从
出发求主成分中,给出了7个性质(R1)-(R7)及它们的证明,这些性质说明的关系在图2中得到了充分的展现。最后我们给出了两个数值模拟的例子来验证性质(S1)-(S7)和(R1)-(R7)的正确性。例1中的
且
,从而性质(S1)-(S7)和(R1)-(R7)均是正确的。例2中的
且
,即
和
都有1个0特征值,数值模拟显示(S5),(S6),(R5)和(R6)是不成立的,但其余性质是成立的,与理论结果相一致。
基金项目
本研究受中央高校基本科研业务费项目(CQDXWL-2012-004; CDJRC10100010),中国国家留学基金(201606055028)和教育部人文社会科学研究西部和边疆地区项目(14XJC910001)支持。
附录
附录中包含了性质(S1)-(S7)和(R1)-(R7)的证明,还有两个例子的详细的数值模拟结果。
A.1. 准备知识及杂项证明
准备知识
样本的协方差(矩阵)和相关系数(矩阵)的定义及性质请参见 [1] 。 [1] 中有三个公式在本文中经常用到:
(A.1)
(A.2)
其中
表示取矩阵
的对角线元素构成的对角阵,
(A.3)
另外,还有
(A.4)
杂项证明
因为
,人们自然会想到
,但是一般来说这是错误的。从 [1] 中,我们知道
![](//html.hanspub.org/file/5-2580224x210_hanspub.png)
其中,
![](//html.hanspub.org/file/5-2580224x211_hanspub.png)
易知
![](//html.hanspub.org/file/5-2580224x212_hanspub.png)
![](//html.hanspub.org/file/5-2580224x213_hanspub.png)
则
![](//html.hanspub.org/file/5-2580224x214_hanspub.png)
上式一般来说是不会一定成立的,所以一般来说
。
因为
,人们自然会想到
,同样,一般来说这是错误的。我们有
![](//html.hanspub.org/file/5-2580224x218_hanspub.png)
则
![](//html.hanspub.org/file/5-2580224x219_hanspub.png)
同样,上式一般来说是不会一定成立的,所以一般来说
。
A.2. 从S出发求主成分
证明:
(S1). 由数据资料阵
的样本协方差矩阵的定义有
![](//html.hanspub.org/file/5-2580224x222_hanspub.png)
由(A.1)得,
![](//html.hanspub.org/file/5-2580224x223_hanspub.png)
从而,
![](//html.hanspub.org/file/5-2580224x224_hanspub.png)
(S2). 易知
![](//html.hanspub.org/file/5-2580224x225_hanspub.png)
从而由矩阵
的样本协方差矩阵的定义有
![](//html.hanspub.org/file/5-2580224x227_hanspub.png)
由(A.1)得
![](//html.hanspub.org/file/5-2580224x228_hanspub.png)
从而
![](//html.hanspub.org/file/5-2580224x229_hanspub.png)
在证明
时,我们也可以利用样本协方差的定义直接来求。
![](//html.hanspub.org/file/5-2580224x231_hanspub.png)
从而
![](//html.hanspub.org/file/5-2580224x232_hanspub.png)
因此
![](//html.hanspub.org/file/5-2580224x233_hanspub.png)
类似地,在证明
时,我们也可以利用样本协方差的定义直接来求。
![](//html.hanspub.org/file/5-2580224x235_hanspub.png)
![](//html.hanspub.org/file/5-2580224x236_hanspub.png)
因此对![](//html.hanspub.org/file/5-2580224x237_hanspub.png)
![](//html.hanspub.org/file/5-2580224x238_hanspub.png)
由此我们发现用矩阵形式来证明比用分量形式来证明要简洁得多。
(S3). 由(A.1),得
![](//html.hanspub.org/file/5-2580224x239_hanspub.png)
由
,得
(A.5)
即
![](//html.hanspub.org/file/5-2580224x242_hanspub.png)
则
![](//html.hanspub.org/file/5-2580224x243_hanspub.png)
![](//html.hanspub.org/file/5-2580224x244_hanspub.png)
![](//html.hanspub.org/file/5-2580224x245_hanspub.png)
因此
![](//html.hanspub.org/file/5-2580224x246_hanspub.png)
上式最后两个等式用到了性质(S2)的结果。从而有
![](//html.hanspub.org/file/5-2580224x247_hanspub.png)
在证明
时也可以利用矩阵化的方法来证明。由(A.5),有
![](//html.hanspub.org/file/5-2580224x249_hanspub.png)
则
![](//html.hanspub.org/file/5-2580224x250_hanspub.png)
从而有
![](//html.hanspub.org/file/5-2580224x251_hanspub.png)
上式最后一个等式用到了性质(S2)的结果。由此发现矩阵化可以大大简化证明。
(S4). 由数据资料阵
的样本相关矩阵的定义有
![](//html.hanspub.org/file/5-2580224x253_hanspub.png)
由(A.1),有
![](//html.hanspub.org/file/5-2580224x254_hanspub.png)
由(A.3),有
![](//html.hanspub.org/file/5-2580224x255_hanspub.png)
从而有
![](//html.hanspub.org/file/5-2580224x256_hanspub.png)
(S5). 由矩阵的样本相关矩阵的定义和(A.1)有
![](//html.hanspub.org/file/5-2580224x257_hanspub.png)
由(A.3)有
![](//html.hanspub.org/file/5-2580224x258_hanspub.png)
由
和(S2)的结论有
![](//html.hanspub.org/file/5-2580224x260_hanspub.png)
其实我们也可以利用(A.2)和(S2)的结论来证明
![](//html.hanspub.org/file/5-2580224x261_hanspub.png)
由此发现式(A.2)在求相关矩阵时非常有力,原因在于它使得我们可以利用已有的结论(S2)来简化证明。式(A.2)在(S6),(R4)-(R6)的证明中求相关矩阵时都会用到。从而
![](//html.hanspub.org/file/5-2580224x262_hanspub.png)
(S6). 由(A.3)有
![](//html.hanspub.org/file/5-2580224x263_hanspub.png)
由矩阵的样本相关矩阵的定义和(A.1)有
![](//html.hanspub.org/file/5-2580224x264_hanspub.png)
容易验证
![](//html.hanspub.org/file/5-2580224x265_hanspub.png)
由(S3)知
![](//html.hanspub.org/file/5-2580224x266_hanspub.png)
其实我们也可以利用(A.2)和(S1)-(S3)的结论来证明
![](//html.hanspub.org/file/5-2580224x267_hanspub.png)
易知
![](//html.hanspub.org/file/5-2580224x268_hanspub.png)
从而有
![](//html.hanspub.org/file/5-2580224x269_hanspub.png)
(S7). 由性质(S1)有
![](//html.hanspub.org/file/5-2580224x270_hanspub.png)
由性质(S2)有
![](//html.hanspub.org/file/5-2580224x271_hanspub.png)
由
有
![](//html.hanspub.org/file/5-2580224x273_hanspub.png)
A.3. 从R出发求主成分
证明:
(R1). 由(A.1)有
![](//html.hanspub.org/file/5-2580224x274_hanspub.png)
由
及性质(S4)有
![](//html.hanspub.org/file/5-2580224x276_hanspub.png)
从而有
![](//html.hanspub.org/file/5-2580224x277_hanspub.png)
(R2). 由(A.1)有
![](//html.hanspub.org/file/5-2580224x278_hanspub.png)
由于
,则
![](//html.hanspub.org/file/5-2580224x280_hanspub.png)
从而
![](//html.hanspub.org/file/5-2580224x281_hanspub.png)
(R3). 由(A.1)有
![](//html.hanspub.org/file/5-2580224x282_hanspub.png)
由于
![](//html.hanspub.org/file/5-2580224x283_hanspub.png)
从而
![](//html.hanspub.org/file/5-2580224x284_hanspub.png)
上式的最后一个等式在(R2)中已证明,从而由(R2)的结果有
![](//html.hanspub.org/file/5-2580224x285_hanspub.png)
从而
![](//html.hanspub.org/file/5-2580224x286_hanspub.png)
(R4). 由(A.3)有
![](//html.hanspub.org/file/5-2580224x287_hanspub.png)
由
及矩阵的样本相关阵的定义有
![](//html.hanspub.org/file/5-2580224x289_hanspub.png)
由性质(S4)有
![](//html.hanspub.org/file/5-2580224x290_hanspub.png)
由(A.4)有
![](//html.hanspub.org/file/5-2580224x291_hanspub.png)
其实我们也可以利用(A.2)和(R1)的结论来证明
![](//html.hanspub.org/file/5-2580224x292_hanspub.png)
从而对![](//html.hanspub.org/file/5-2580224x293_hanspub.png)
![](//html.hanspub.org/file/5-2580224x294_hanspub.png)
(R5). 由(A.3)有
![](//html.hanspub.org/file/5-2580224x295_hanspub.png)
由矩阵的样本相关阵的定义有
![](//html.hanspub.org/file/5-2580224x296_hanspub.png)
容易验证
![](//html.hanspub.org/file/5-2580224x297_hanspub.png)
由性质(R2)的结果有
![](//html.hanspub.org/file/5-2580224x298_hanspub.png)
其实我们也可以利用(A.2)和(R2)的结论来证明
![](//html.hanspub.org/file/5-2580224x299_hanspub.png)
从而
![](//html.hanspub.org/file/5-2580224x300_hanspub.png)
(R6). 由(A.3)有
![](//html.hanspub.org/file/5-2580224x301_hanspub.png)
由
,(A.4)和(A.1)有
![](//html.hanspub.org/file/5-2580224x303_hanspub.png)
由矩阵的样本相关阵的定义有
![](//html.hanspub.org/file/5-2580224x304_hanspub.png)
容易验证
![](//html.hanspub.org/file/5-2580224x305_hanspub.png)
再由性质(R3)的结果有
![](//html.hanspub.org/file/5-2580224x306_hanspub.png)
其实我们也可以利用(A.2)和(R1)-(R3)的结论来证明
![](//html.hanspub.org/file/5-2580224x307_hanspub.png)
易知
![](//html.hanspub.org/file/5-2580224x308_hanspub.png)
从而有
![](//html.hanspub.org/file/5-2580224x309_hanspub.png)
(R7). 由(R1)有
![](//html.hanspub.org/file/5-2580224x310_hanspub.png)
由(R2)有
![](//html.hanspub.org/file/5-2580224x311_hanspub.png)
由
有
![](//html.hanspub.org/file/5-2580224x313_hanspub.png)
A.4. 数值模拟
在这里给出例1和例2的详细的数值模拟结果。
下面我们举两个例子来验证(S1)-(S7)和(R1)-(R7)的正确性。
例1.
![](//html.hanspub.org/file/5-2580224x314_hanspub.png)
为重复本文的结果,我们在R软件中使用set.seed(1),此时
![](//html.hanspub.org/file/5-2580224x315_hanspub.png)
![](//html.hanspub.org/file/5-2580224x316_hanspub.png)
![](//html.hanspub.org/file/5-2580224x317_hanspub.png)
![](//html.hanspub.org/file/5-2580224x318_hanspub.png)
![](//html.hanspub.org/file/5-2580224x319_hanspub.png)
由于
的特征值全为正,故
。
(S1).
![](//html.hanspub.org/file/5-2580224x322_hanspub.png)
(S2).
![](//html.hanspub.org/file/5-2580224x323_hanspub.png)
(S3).
![](//html.hanspub.org/file/5-2580224x324_hanspub.png)
(S4).
![](//html.hanspub.org/file/5-2580224x325_hanspub.png)
(S5).
![](//html.hanspub.org/file/5-2580224x326_hanspub.png)
(S6).
![](//html.hanspub.org/file/5-2580224x327_hanspub.png)
(S7).
![](//html.hanspub.org/file/5-2580224x328_hanspub.png)
此时
![](//html.hanspub.org/file/5-2580224x329_hanspub.png)
![](//html.hanspub.org/file/5-2580224x330_hanspub.png)
![](//html.hanspub.org/file/5-2580224x331_hanspub.png)
由于
的特征值全为正,故
。
(R1).
![](//html.hanspub.org/file/5-2580224x334_hanspub.png)
(R2).
![](//html.hanspub.org/file/5-2580224x335_hanspub.png)
(R3).
![](//html.hanspub.org/file/5-2580224x336_hanspub.png)
(R4).
![](//html.hanspub.org/file/5-2580224x337_hanspub.png)
(R5).
![](//html.hanspub.org/file/5-2580224x338_hanspub.png)
(R6).
![](//html.hanspub.org/file/5-2580224x339_hanspub.png)
(R7).
![](//html.hanspub.org/file/5-2580224x340_hanspub.png)
由数值结果可以看出,(S1)-(S7)和(R1)-(R7)均是正确的。
下面给一个
且
的例子,即
和
都有1个0特征值,此时(S5),(S6),(R5)和(R6)是不成立的,但其余性质是成立的。
例2.
![](//html.hanspub.org/file/5-2580224x345_hanspub.png)
为重复本文的结果,我们在R软件中使用set.seed(1),此时
![](//html.hanspub.org/file/5-2580224x346_hanspub.png)
![](//html.hanspub.org/file/5-2580224x347_hanspub.png)
![](//html.hanspub.org/file/5-2580224x348_hanspub.png)
![](//html.hanspub.org/file/5-2580224x349_hanspub.png)
![](//html.hanspub.org/file/5-2580224x350_hanspub.png)
由于
,故
。
(S1).
![](//html.hanspub.org/file/5-2580224x353_hanspub.png)
(S2).
![](//html.hanspub.org/file/5-2580224x354_hanspub.png)
(S3).
![](//html.hanspub.org/file/5-2580224x355_hanspub.png)
(S4).
![](//html.hanspub.org/file/5-2580224x356_hanspub.png)
(S5).
![](//html.hanspub.org/file/5-2580224x357_hanspub.png)
(S6).
![](//html.hanspub.org/file/5-2580224x358_hanspub.png)
(S7).
![](//html.hanspub.org/file/5-2580224x359_hanspub.png)
此时
![](//html.hanspub.org/file/5-2580224x360_hanspub.png)
![](//html.hanspub.org/file/5-2580224x361_hanspub.png)
![](//html.hanspub.org/file/5-2580224x362_hanspub.png)
由于
,故
。
(R1).
![](//html.hanspub.org/file/5-2580224x365_hanspub.png)
(R2).
![](//html.hanspub.org/file/5-2580224x366_hanspub.png)
(R3).
![](//html.hanspub.org/file/5-2580224x367_hanspub.png)
(R4).
![](//html.hanspub.org/file/5-2580224x368_hanspub.png)
(R5).
![](//html.hanspub.org/file/5-2580224x369_hanspub.png)
(R6).
![](//html.hanspub.org/file/5-2580224x370_hanspub.png)
(R7).
![](//html.hanspub.org/file/5-2580224x371_hanspub.png)
由数值结果可以看出,除了(S5),(S6),(R5)和(R6)之外,(S1)-(S4),(S7)和(R1)-(R4),(R7)均是正确的。
期刊投稿者将享受如下服务:
1.投稿前咨询服务 (QQ、微信、邮箱皆可)
2.为您匹配最合适的期刊
3.24小时以内解答您的所有疑问
4.友好的在线投稿界面
5.专业的同行评审
6.知网检索
7.全网络覆盖式推广您的研究
投稿请点击:http://www.hanspub.org/Submission.aspx
期刊邮箱:sa@hanspub.org