Xycorrcoef

From Eigenvector Research Documentation Wiki
Revision as of 15:04, 16 December 2019 by Lyle (talk | contribs) (Created page with "===Purpose=== Calculates the correlation coefficients between the variables in the X-block and the variables the in Y-block. ===Synopsis=== :xycorrcoef(xblock, yblock) %pro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Calculates the correlation coefficients between the variables in the X-block and the variables the in Y-block.

Synopsis

xycorrcoef(xblock, yblock) %produces a plot of correlation coefficients
out = xycorrcoef(xblock, yblock); %produces a plot and returns a DataSet Object of correlation coefficients

Description

XYCORRCOEF produces a plot of (and if specified DataSet Object) of correlation coefficients between the variables in X-block and the variables in Y-block.

The inputs are the x-block data and y-block data of class "double" or "dataset".

For inputs of class "dataset", any excluded columns will still be used in the calculation but will be excluded in out. If the inputs are type "double" and the number of rows in X-block and Y-block do not match an error will be triggered. Any rows with NaN's will be removed.

The output is a DataSet Object. If no output is requested then only a PlotGUI figure of the correlation coefficients will appear.

See Also

autocor, crosscor, corrmap