Presentation is loading. Please wait.

Presentation is loading. Please wait.

>> [ax,mx,stdx]=auto(x); >> [scores,loads,ssq,res,reslm,tsqlm,tsq] = pca(ax,1,0,5); Percent Variance Captured by PCA Model Principal Eigenvalue % Variance.

Similar presentations


Presentation on theme: ">> [ax,mx,stdx]=auto(x); >> [scores,loads,ssq,res,reslm,tsqlm,tsq] = pca(ax,1,0,5); Percent Variance Captured by PCA Model Principal Eigenvalue % Variance."— Presentation transcript:

1

2 >> [ax,mx,stdx]=auto(x); >> [scores,loads,ssq,res,reslm,tsqlm,tsq] = pca(ax,1,0,5); Percent Variance Captured by PCA Model Principal Eigenvalue % Variance % Variance Component of Captured Captured Number Cov(X) This PC Total e e e e e e e e e e

3

4

5 >> plot(loads(:,2)) >> hline(0) >> text([1:20]',loads(:,2),namevarall);

6 >> plot(scores(:,2)) >> hline(0) >> text([1:22]',scores(:,2),lakenames(:,1:5));

7 >> plot(loads(:,1),loads(:,2),'+r') >> hline(0) >> vline(0) >> text(loads(:,1),loads(:,2),namevarall);

8 >> plot(scores(:,1),scores(:,2),'ob') >> hline(0) >> vline(0) >> text(scores(:,1),scores(:,2),lakenames(:,1:5));

9 >> nscores(:,1)=scores(:,1)/norm(scores(:,1)); >> nscores(:,2)=scores(:,2)/norm(scores(:,2)); >> plot(nscores(:,1),nscores(:,2),'ob') >> hline(0) >> vline(0) >> text(nscores(:,1),nscores(:,2),lakenames(:,1:5)); >> hold Current plot held >> plot(loads(:,1),loads(:,2),'+r') >> text(loads(:,1),loads(:,2),namevarall);

10 >> [b,ssq,p,q,w,t,u,bin] = pls(axv,ay,5,1); Percent Variance Captured by PLS Model -----X-Block Y-Block----- LV # This LV Total This LV Total Modelo de correlación entre HCB y variables/parámetros no-químicos

11 Modelo para 1 comp. PLS >> plot(b(1,:)') >> hline(0) >> text([1:8]',b(1,:)',namevarpar)

12 >> plot(w(:,1)) >> hline(0) >> text([1:8]',w(:,1),namevarpar)

13 vip_scores1 = vipr(t(:,1),p(:,1),w(:,1),b(1,:)',1,8,namevarpar);

14 >> plot(b(2,:)') >> hline(0) >> text([1:8]',b(2,:)',namevarpar)

15 >> plot(w(:,2)) >> hline(0) >> text([1:8]',w(:,2),namevarpar)

16 vip_scores2 = vipr(t(:,2),p(:,2),w(:,2),b(2,:)',1,8,namevarpar);

17 >> plot(b(3,:)') >> hline(0) >> text([1:8]',b(3,:)',namevarpar)

18 >> plot(w(:,3)) >> hline(0) >> text([1:8]',w(:,3),namevarpar)

19 vip_scores3 = vipr(t(:,3),p(:,3),w(:,3),b(3,:)',1,8,namevarpar);

20


Download ppt ">> [ax,mx,stdx]=auto(x); >> [scores,loads,ssq,res,reslm,tsqlm,tsq] = pca(ax,1,0,5); Percent Variance Captured by PCA Model Principal Eigenvalue % Variance."

Similar presentations


Ads by Google