jasonleee 发表于 2016-8-5 12:33

主成分分析函数 [pc,la,tent]=princomp(b)如何确定贡献值与原指标的对应关系

MATLAB中=princomp(b)函数得出结果如下:
a =    2.0280    0.5531    0.0003    2.1288    0.6265    0.0001    8.3973    0.5850    0.0003
>> b=zscore(a)
b =   -0.5911   -0.9542    0.3166   -0.5635    1.0402   -1.1200    1.1546   -0.0860    0.8034
>> =princomp(b)pc =    0.4810    0.7462   -0.4602   -0.5322    0.6657    0.5231    0.6967   -0.0067    0.7174la =    0.4440   -1.0784         0   -1.6049    0.2795         0    1.1609    0.7989         0tent =    2.0603    0.9397         0>> tents=sum(tent)tents =    3.0000>> gxl=tent/tentsgxl =    0.6868    0.3132         0
根据这些数据如何找出累积贡献值的对应指标?



页: [1]
查看完整版本: 主成分分析函数 [pc,la,tent]=princomp(b)如何确定贡献值与原指标的对应关系