求一个主成分拟合的程序
如果已知F1=0.3320X1+0.2741X2+0.3294X3+0.3309X4+0.0835X5+0.3321X6+0.3284X7+0.2561X8+0.3311X9+0.3042X10+0.3220X11F2=-0.0212X1+0.4424X2-0.1290X3+0.0007X4-0.8021X5+0.0630X6+0.1301X7+0.0104X8+0.0072X9-0.3385X10+0.0911X11
F3=0.1543X1-0.1275X2-0.0145X3+0.1909X4-0.0580X5+0.1023X6+0.1396X7-0.9097X8-0.0445X9+0.0739X10+0.2345X11
又知道Y的值,用以上三个主成分作为解释变量,以城乡收入比Y对其进行线性回归,回归方程为:Y=C+aF1+bF2+cF3+ε
如何编写MATLAB程序做主成分拟合 Y=[2.14 2.18 2.25 2.32 2.30 2.30 2.23]
[ 本帖最后由 sct_good 于 2012-1-7 23:54 编辑 ]