Evolvfa: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Bob
No edit summary
imported>Jeremy
No edit summary
 
Line 5: Line 5:
===Synopsis===
===Synopsis===


:[egf,egr] = evolvfa(xdat,''plot'',''tdat'')
:[egf,egr] = evolvfa(xdat,''plots'',''tdat'')


===Description===
===Description===
Line 13: Line 13:
:[egf,egr] = evolvfa(xdat) calculates eigenvalues of sub-matrices of xdat and returns results of the forward analysis in egf and reverse analysis in egr.
:[egf,egr] = evolvfa(xdat) calculates eigenvalues of sub-matrices of xdat and returns results of the forward analysis in egf and reverse analysis in egr.


:[egf,egr] = evolvfa(xdat,''plot'') allows the user to control plotting options. When ''plot'' is set to 0 the plot of the results is suppressed. Setting ''plot'' equal to 1 {default} plots the results.
:[egf,egr] = evolvfa(xdat,''plots'') allows the user to control plotting options. When ''plots'' is set to 0 the plot of the results is suppressed. Setting ''plots'' equal to 1 {default} plots the results.


:[egf,egr] = evolvfa(xdat,''plot'',''tdat'') gives the routine an optional vector ''tdat'' to plot results against.
:[egf,egr] = evolvfa(xdat,''plots'',''tdat'') gives the routine an optional vector ''tdat'' to plot results against.


====Inputs====
====Inputs====
Line 23: Line 23:
====Optional Inputs====
====Optional Inputs====


* '''plot''' = [ 0 | {1} ] - 0 suppresses plotting
* '''plots''' = [ 0 | {1} ] - 0 suppresses plotting
* '''tdat''' = vector to plot results (<tt>egf</tt> and <tt>egr</tt>) against
* '''tdat''' = vector to plot results (<tt>egf</tt> and <tt>egr</tt>) against



Latest revision as of 12:29, 22 February 2013

Purpose

Evolving factor analysis (forward and reverse)..

Synopsis

[egf,egr] = evolvfa(xdat,plots,tdat)

Description

EVOLVFA calculates the singular values (square roots of the eigenvalues of the covariance matrix) of sub-matrices of xdat and returns results of the forward analysis in egf and reverse analysis in egr.

[egf,egr] = evolvfa(xdat) calculates eigenvalues of sub-matrices of xdat and returns results of the forward analysis in egf and reverse analysis in egr.
[egf,egr] = evolvfa(xdat,plots) allows the user to control plotting options. When plots is set to 0 the plot of the results is suppressed. Setting plots equal to 1 {default} plots the results.
[egf,egr] = evolvfa(xdat,plots,tdat) gives the routine an optional vector tdat to plot results against.

Inputs

  • xdat = input x-block (2D), either a double array or dataset object

Optional Inputs

  • plots = [ 0 | {1} ] - 0 suppresses plotting
  • tdat = vector to plot results (egf and egr) against

Outputs

  • egf = results of forward analysis
  • egr = results of reverse analysis


See Also

ewfa, pca, wtfa, mcr, mpca, pcaengine